-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
39 lines (39 loc) · 744 Bytes
/
styles.css
File metadata and controls
39 lines (39 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
body{
background: url("./clock.png");
}
.main{
background: #ccc;
width:400px;
height:175px;
margin: 100px auto;
position: relative;
padding: 30px;
border-radius:4px;
}
.badge{
background: #e66357;
border-radius:4px;
width: 96px;
position: absolute;
color: white;
font-weight: bold;
padding: 5px 10px;
font-family: sans-serif;
top: -15px;
left:40%;
}
.clock{
border-radius:4px;
background: #ebebeb;
font-size: 55px;
text-align: center;
height: 100%;
padding-top: 20px;
font-family: Orbitron;
}