forked from junaid-secondary/TDL
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstyles.css
222 lines (182 loc) · 3.47 KB
/
styles.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/* Include the padding and border in an element's total width and height */
@import url('https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@200&family=Silkscreen&display=swap');
* {
box-sizing: border-box;
font-family: 'Silkscreen', cursive;
}
body {
background-color: #1c1c5d;
}
#divunder{
padding-top: 10px;
padding: 50px;
margin: 0 auto;
width: 50%;
border-radius: 0px 0px 30px 30px;
background-color: #FFE3E1;
}
/* Remove margins and padding from the list */
ul {
margin: 2rem;
padding: 0;
}
/* Style the list items */
ul li {
margin-top: 1rem;
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
background: rgb(39, 31, 120);
font-size: 18px;
transition: 0.2s;
color: #d9d9d9;
border-radius: 5px;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Set all odd list items to a different color (zebra-stripes) */
ul li:nth-child(odd) {
background: #202584;
color: #d9d9d9;
}
/* Darker background-color on hover */
ul li:hover {
background: rgb(10, 7, 7);
}
/* When clicked on, add a background color and strike out text */
ul li.checked {
background: rgb(0, 0, 0);
color: rgb(163, 65, 65);
text-decoration: line-through;
font-weight: 800;
}
/* Add a "checked" mark when clicked on */
ul li.checked::before {
content: "";
position: absolute;
border-color: #fff;
border-style: solid;
border-width: 0 2px 2px 0;
top: 10px;
left: 16px;
transform: rotate(45deg);
height: 15px;
width: 7px;
}
/* Style the close button */
.close {
position: absolute;
right: 0;
top: 0;
padding: 12px 16px 12px 16px;
}
.close:hover {
background-color: #FF9494;
color: white;
}
/* Style the header */
.header {
display: flex;
justify-content: center;
align-items: center;
background-color: #0b0b0b;
padding: 90px 40px;
color: white;
text-align: center;
border-radius: 5px;
}
.header span input {
float: left;
}
/* Clear floats after the header */
.header:after {
content: "";
display: table;
clear: both;
}
/* Style the input */
#myInput {
margin-left: 150px ;
border: none;
border-radius: 0;
width: 45%;
padding: 10px;
float: left;
font-size: 16px;
}
/* Style the "Add" button */
.addBtn {
padding: 10px;
width: 5%;
background: #d9d9d9;
color: #555;
float: left;
text-align: center;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
border-radius: 0;
}
.addBtn:hover {
background-color: rgb(47, 47, 108);
color: #888;
}
.container #myInput {
width: 20rem;
display: flex;
justify-content: center;
align-items: center;
}
.addBtn {
margin-left: 2vw;
}
/*************************** BLINKING EFFECT******************* */
.container h1 {
position: relative;
font-size: 5vw;
letter-spacing: 15px;
color: #0e3742;
text-transform: uppercase;
width: 100%;
text-align: center;
-webkit-box-reflect: above 1px linear-gradient(transparent, #0008);
line-height: 0.75em;
outline: none;
animation: animate 3s linear infinite;
}
@keyframes animate {
0%,
18%,
20%,
50.1%,
60%,
65.1%,
80%,
90.1%,
92% {
color: #0e3742;
box-shadow: none;
}
18.1%,
20.1%,
30%,
50%,
60.1%,
65%,
80.1%,
90%,
90.2%,
100% {
color: #fff;
box-shadow: 0 0 10px #03bcf4,
0 0 20px #03bcf4,
0 0 40px #03bcf4,
0 0 60px #03bcf4,
0 0 160px #03bcf4,
;
}
}
/********************************************** */