forked from hs-07/Clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
201 lines (191 loc) · 3.64 KB
/
about.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
* {
margin: 0;
padding: 0;
}
body {
top: 0;
left: 0;
width: 100%;
height: 750px;
background: linear-gradient(
45deg,
#8f1ee9,
#e91e63 50%,
#e91e63 50%,
#8f1ee9
)no-repeat;
}
.navigation {
display: flex;
align-items: center;
justify-content: left;
background-color: #36a2ef;
box-shadow: 0 4px 7px 0 rgb(0 0 0 / 40%);
z-index: 10;
}
.navigation ul {
display: flex;
align-items: center;
justify-content: left;
margin: 3px;
padding: 3px;
font-size: 20px;
text-shadow: 0.2px 0.2px 3px black;
}
.navigation label {
font-family: "Acme", sans-serif;
font-size: 40px;
}
.navigation ul li {
margin-top: 3px;
margin-bottom: 3px;
margin-left: 15px;
padding: 3px 5px;
list-style: none;
}
.navigation ul li a {
text-decoration: none;
font-family: "Fredoka One", cursive;
color: whitesmoke;
transition: color 0.3s;
}
.navigation ul li a.active {
text-decoration: none;
color: rgb(255, 0, 140);
}
.navigation ul li a:hover {
text-decoration: overline;
color: rgb(255, 0, 140);
}
.wrapper {
height: 12vh;
/*This part is important for centering*/
display: flex;
align-items: center;
justify-content: center;
margin: 10px;
}
.heading {
width: 10ch;
animation: typing 2s steps(22), blink 0.5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: "Acme", sans-serif;
font-size: 4em;
text-shadow: 0.2px 0.2px 3px black;
}
@keyframes typing {
from {
width: 0;
}
}
@keyframes blink {
50% {
border-color: transparent;
}
}
.container {
display: flex;
align-items: flex-start;
justify-content: center;
margin: 30px;
padding: 10px;
}
.analog{
width: 30%;
margin: 0px 140px;
background: radial-gradient(#ff000029, rgb(255 255 255 / 29%));
box-shadow: 0px 0px 20px 1px black;
border-radius: 12px;
}
.digital{
width: 30%;
margin: 0px 140px;
background: radial-gradient(#f700ff29, rgb(255 255 255 / 29%));
box-shadow: 0px 0px 20px 1px black;
border-radius: 12px;
height: 399px;
}
.subHead{
margin: 10px;
text-align: center;
font-family: 'Kaushan Script', cursive;
font-size: 22px;
}
.desc{
text-align: center;
font-family: "Acme", sans-serif;
margin: 21px;
padding: 0px 35px;
font-size: 20px;
}
@media(max-width:630px ){
nav.navigation {
width: 101%;
height: 60px;
box-shadow: 0 4px 19px 7px rgb(0 0 0 / 40%);
}
.navigation ul {
margin: auto;
font-size: 1.2rem;
align-items: center;
justify-self: center;
}
.navigation ul li {
margin-top: 3px;
margin-bottom: 3px;
padding: 3px 3px;
list-style: none;
}
.navigation label {
font-size: 2.5rem;
margin: 0px 13px 0px -2px;
}
.wrapper {
height: 100%;
width: 98%;
}
.heading {
font-size: 51px;
text-shadow: 0.2px 0.2px 3px black;
}
.container {
display: flex;
flex-direction: column;
width: 100%;
margin: 9px -15px;
align-items: center;
}
.analog {
height: fit-content;
width: 20rem;
border-radius: 23px;
margin-left: 9.5rem;
}
.subHead {
height: 40px;
font-size: 20px;
margin-block-start: 22px;
}
.digital {
width: 20rem;
margin-top: 70px;
border-radius: 23px;
margin-left: 9.5rem;
height: fit-content;
}
.digital .desc {
text-align: center;
padding: 0px;
margin: 16px 21px;
}
.digital .desc p {
font-size: 22px;
margin-block-start: 31px;
}
.analog .desc {
font-size: 22px;
margin: 24px -2px;
}
}