-
Notifications
You must be signed in to change notification settings - Fork 0
/
shared.css
238 lines (202 loc) · 3.93 KB
/
shared.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Quicksand", sans-serif;
}
body {
background: aliceblue;
}
/* main container */
.container {
/* max-width: 1000px;
width: 98%;
height: auto;
margin: 10px auto; */
width: 100%;
height: 100%;
background: white;
border: 1px solid gainsboro;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}
/* main header */
.main-header {
background: #8c52ff;
display: flex;
justify-content: space-between;
align-items: center;
/* align-items: center;
align-content: center; */
padding: 25px;
}
/* search holder */
.search-holder form > input[type="search"] {
border: 1px solid gainsboro;
/* border-color: linear-gradient(
130deg,
#ff7a18,
#af002d 41.07%,
#319197 76.05%
); */
padding: 10px;
border-radius: 0 0 0 5px;
}
.search-holder form > button[type="submit"] {
background: black;
color: white;
padding: 11px;
border: 0;
margin-left: -5px;
border-radius: 0 5px 0 0;
}
/* main menu */
.main-menu {
background: black;
color: white;
}
.main-menu > ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
justify-content: center;
}
.main-menu > ul > li > a {
color: white;
text-decoration: none;
padding: 15px;
display: inline-block;
}
.main-menu > ul > li > a:hover {
background: orange;
}
/* dropdown menu */
.drop-down {
padding: 0;
margin: 0;
list-style: none;
position: absolute;
display: none;
}
.drop-down > li > a {
background: teal;
color: white;
text-decoration: none;
padding: 15px;
display: inline-block;
width: 100%;
}
.drop-down > li > a:hover {
background: orange;
}
.main-menu > ul > li:hover .drop-down {
display: block;
}
.lSPager {
margin-top: -25px !important;
}
/* content holder */
.content-holder {
display: flex;
justify-content: space-between;
background: linear-gradient(90deg, #ffa9d9, #fff7ad);
border-bottom: 1px solid gainsboro;
}
.content-holder .content {
padding: 25px;
background: white;
width: 80%;
}
.content-holder .content h1 ~ h2 {
font-size: 1em;
color: darkgray;
}
.sidebar {
padding: 25px;
width: 20%;
}
.sidebar .widget ul,
.footer-widget ul {
padding: 0;
margin: 0;
list-style: none;
}
.sidebar .widget ul > li > a {
color: black;
text-decoration: none;
}
.sidebar .widget ul > li > a:hover,
.footer-widget ul > li > a:hover {
color: orange;
}
/* footer */
.footer-widget-holder {
display: flex;
background: #8c52ff;
/* background: linear-gradient(90deg, #fff7ad, #ffa9d9); */
color: #fff;
justify-content: space-around;
}
.footer-widget {
padding: 25px;
font-size: small;
}
.footer-widget ul > li > a {
color: white;
text-decoration: none;
}
.site-footer {
background: #262626;
color: white;
padding: 25px;
text-align: center;
}
.site-footer p {
margin: 0;
}
/* mobile-menu */
.mobile-menu {
display: none !important;
}
/* Responsive design */
@media screen and (max-width: 750px) {
.main-header {
display: flex;
flex-direction: column;
text-align: center;
}
.mobile-menu {
display: flex !important;
justify-content: space-between !important;
}
.main-menu > ul:nth-of-type(2) {
flex-direction: column;
border-top: 1px solid gainsboro;
}
.drop-down > li > a {
display: block;
width: auto;
}
#adaptive img {
width: 100%;
}
.content-holder {
flex-direction: column;
}
.content-holder .content,
.content-holder .sidebar {
width: auto;
}
.footer-widget-holder {
flex-direction: column;
}
.footer-widget-holder .footer-widget {
padding: 10px 25px;
}
}
/* @media screen and (min-width: 750px) {
.main-menu > ul {
display: inline-block;
}
} */
/* Responsive design */