forked from harshjoeyit/Concise
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.css
283 lines (238 loc) · 4.51 KB
/
index.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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
* {
box-sizing: border-box
}
body {
font-family: 'PT Sans', sans-serif;
margin: 0
}
.main-content {
padding: 60px 10px 10px 10px;
/* background-color: tomato; */
}
.loader {
border: 10px solid #1dd3b0;
border-top: 10px solid #affc41;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1.2s linear infinite;
margin: 100px;
display: none;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.slideshow h3 {
text-align: center;
margin: 5px;
color: #086275;
}
.row {
margin-top: 20px;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 0 4px;
}
.column {
-ms-flex: 33.33%;
flex: 33.33%;
max-width: 33.33%;
padding: 0 4px;
}
.mySlides {
display: none
}
.slideshow img {
vertical-align: middle;
border-radius: 5px;
}
/* Slideshow container */
.slideshow {
min-width: 200px;
width: 65%;
margin: auto;
background: linear-gradient(to top, #086275, white);
padding: 5px 5px 8px 5px;
border-radius: 5px;
box-shadow: 1px 4px 5px 1px #08637542;
border-top: 2px solid #AFFC41;
}
.slideshow-container {
margin: auto;
position: relative;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: relative;
width: auto;
padding: 5px 5px 0 10px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 3px;
user-select: none;
}
/* Position the "next button" to the right */
.next {
left: 40%;
}
.prev {
right: 40%;
padding: 5px 10px 0 5px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: #086275;
}
/* Caption text */
.text {
color: #086275;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 0;
width: 100%;
text-align: center;
opacity: 0.8;
background-color: #AFFC41;
overflow-wrap: break-word;
border-radius: 0 0 5px 5px;
}
/* Number text (1/3 etc) */
.numbertext {
color: #ffffff;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 8px;
width: 8px;
margin: 0 2px;
background-color: white;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #AFFC41;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
@keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
button {
margin: 2px 2px;
padding: 8px 10px;
font-size: 15px;
border-radius: 3px;
border: none;
outline: none;
color: white;
background-color: #086375;
box-shadow: 1px 4px 5px 1px #08637542;
transition: 0.1s;
}
button:hover {
color: #086375;
background-color: #affc41;
box-shadow: 1px 3px 5px 1px #08637542;
}
button:active {
transform: scale(0.95);
}
/* search form*/
.main-content .search-form {
margin-top: 10px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.search-form input[type="text"] {
padding: 10px 0 10px 15px;
font-size: 17px;
border-radius: 3px;
border: none;
box-shadow: 1px 4px 5px 1px #08637542;
outline: none;
width: 100%;
color: #086375;
}
.search-form input[type="text"]:focus {
border-top: 1px solid #AFFC41;
box-shadow: 1px 3px 5px 1px #08637523;
}
.search-form button {
width: 40%;
padding: 10px 15px;
font-size: 17px;
margin-top: 10px;
}
footer {
min-height: 20px;
height: 20px;
background-color: #086275;
}
/* media queries */
@media (min-width: 450px) {
.search-form input[type="text"] {
width: 70%;
}
.search-form button {
width: 20%;
margin: 0;
margin-left: 10px;
}
}
@media (min-width: 900px) {
.search-form input[type="text"] {
width: 80%;
}
.search-form button {
width: 15%;
}
}
@media screen and (max-width: 600px) {
.column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
.slideshow {
width: 82%;
margin-bottom: 30px;
}
}