-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
138 lines (138 loc) · 2.54 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: -webkit-linear-gradient(to right, #3c1053, #ad5389); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #3c1053, #ad5389); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
height: 100vh;
font-family: 'Open Sans', sans-serif;
}
.container {
background-color: transparent;
max-width: 90%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 35px 50px;
border-radius: 100px;
outline: 21px solid #fa6ac1;
}
@media (max-width: 767px) {
.container {
padding: 20px 27px;
outline: 15px solid #fa6ac1
}
}
.box {
max-width: 95%;
margin: auto;
display: flex;
align-items: center;
justify-content: space-evenly;
background-color: #511D5D;
box-shadow: inset 0px 1px 4px 1px #140936;
border-radius: 7px;
padding: 0 15px 15px;
position: relative;
overflow: hidden;
}
.box::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(200, 200, 200, 0.1);
z-index: 0;
}
.box div {
color: #FFFFFF;
font-size: 70px;
position: relative;
}
@media (max-width: 767px) {
.box div {
font-size: 38px
}
}
.dots {
font-size: 45px;
color: #898787;
margin: 0 5px;
}
@media (max-width: 767px) {
.dots {
font-size: 32px
}
}
.box div::after {
content: attr(data-text);
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
color: #898787;
margin-bottom: 5px
}
@media (max-width: 767px) {
.box div::after {
font-size: 9px
}
}
.am-pm {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%)
}
@media (max-width: 767px) {
.am-pm {
right: 8px
}
}
.am, .pm {
color: rgb(199 194 194);
text-transform: uppercase;
font-size: 12px;
font-weight: 700;
position: relative;
}
@media (max-width: 767px) {
.am,
.pm {
font-size: 9px
}
}
.am {
margin-bottom: 5px;
}
.am-pm span {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #afafaf38;
position: absolute;
top: 50%;
right: 25px;
transform: translateY(-50%)
}
@media (max-width: 767px) {
.am-pm span {
width: 5px;
height: 5px;
right: 17px;
}
}
.active {
background-color: white !important;
box-shadow: 1px 1px 15px 4px;
}