Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
73 lines (70 loc) · 1.44 KB
/
Copy pathstyles.css
File metadata and controls
73 lines (70 loc) · 1.44 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@import url("https://fonts.googleapis.com/css?family=Orbitron|Open+Sans|Ubuntu|Indie+Flower");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: url("snowing_city_sm.jpeg") no-repeat;
background-position-x: 50%;
background-color: rgb(29, 29, 29);
}
/* Container section */
.container {
position: relative;
width: 500px;
height: 350px;
margin: 300px auto;
background: rgba(92, 92, 92, 0.7);
text-align: center;
color: #fff;
font-family: "Open Sans", sans-serif;
letter-spacing: 2px;
border-radius: 5px;
box-shadow: 1px 1px 5px rgb(77, 77, 77);
}
.container h1 {
position: absolute;
left: 31%;
top: -40px;
width: 180px;
height: 55px;
font-size: 2.5rem;
text-shadow: 1px 1px 1px black;
background: rgba(255, 65, 65, 0.75);
border-radius: 5px;
}
.container h2 {
padding-top: 20px;
font-size: 2.4rem;
text-shadow: 1px 1px 5px red;
font-weight: bold;
}
.container h3 {
text-transform: capitalize;
font-family: "Indie Flower", cursive;
padding-top: 30px;
font-size: 3.1rem;
color: rgb(247, 54, 40);
text-shadow: 2px 2px 5px rgb(40, 155, 40);
}
/* Clock section */
.clock {
padding-top: 25px;
}
.clock span {
letter-spacing: 8px;
font-family: "Ubuntu", sans-serif;
}
.clock #day,
.clock #hour,
.clock #minute,
.clock #second {
font-family: "Orbitron", sans-serif;
font-size: 2.8rem;
}
.clock .dan {
text-transform: uppercase;
color: rgb(36, 36, 36);
font-size: 3.3rem;
}