-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (79 loc) · 1.32 KB
/
style.css
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/* Source: http://youtube.com/JSBangladesh */
/*-------------------------
Simple reset
--------------------------*/
* {
margin: 0;
padding: 0;
}
/*-------------------------
General Styles
--------------------------*/
html {
overflow: hidden;
}
body {
font: 15px/1.3 Arial, sans-serif;
color: #4f4f4f;
z-index: 1;
background: #2c3e50;
}
a,
a:visited {
outline: none;
color: #389dc1;
}
a:hover {
text-decoration: none;
}
section,
footer,
header,
aside {
display: block;
}
/*-------------------------
The clocks
--------------------------*/
#clock {
width: 370px;
padding: 40px;
margin: 100px auto 60px;
position: relative;
}
#clock:after {
content: '';
position: absolute;
width: 400px;
height: 20px;
border-radius: 100%;
left: 50%;
margin-left: -200px;
bottom: 2px;
z-index: -1;
}
#clock .display {
text-align: center;
padding: 30px;
border-radius: 6px;
position: relative;
height: 54px;
}
/*-------------------------
Dark color theme
--------------------------*/
#clock.dark {
background-color: #272e38;
color: #cacaca;
}
#clock.dark:after {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
#clock.dark .display {
background-color: #0f1620;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08) inset, 0 1px 1px #2d3642;
}
h1#time {
display: inline-block;
font-size: 36px;
}