This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
256 lines (235 loc) · 5.8 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
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
/*══════════════════*/
/* Fonts and colors */
/*══════════════════*/
h1, h2, h3, h4, h5, h6, header {
font-family: 'Yeseva One', sans-serif;
}
h1 {
color: orangered;
font-size: 48px;
font-weight: bold;
text-shadow: 0 0 0.2em coral;
margin: 36px 0 18px;
}
h2 {
color: orangered;
font-size: 36px;
font-weight: bold;
margin: 30px 0 15px;
}
h3 {
font-size: 24px;
font-weight: bold;
margin: 24px 0 12px;
}
h4 {
font-size: 20px;
font-weight: normal;
margin: 18px 0 9px;
}
p {
font-size: 20px;
line-height: 1.25;
}
em {
}
strong {
}
ul {
margin: 0;
}
li {
}
a {
color: orangered;
text-shadow: 0 0 0.15em coral;
text-decoration-style: double;
line-height: 1.25;
}
a:visited {
color: palevioletred;
}
a:hover {
color: orange;
text-shadow: 0 0 0.25em gold;
text-decoration-style: wavy;
}
pre {
font-family: monospace;
}
/*════════════════════*/
/* Primary containers */
/*════════════════════*/
main {
background-color: ivory;
background-image: url("images/sandpaper.png");
background-size: 10em 10em;
height: 100%;
display: flex;
flex-direction: row;
}
header {
background-color: ivory;
background-image: url("images/sandpaper.png");
background-size: 10em 10em;
font-family: 'Josefin Sans', serif;
height: auto;
padding: 0 20px 0 20px;
border-bottom: 2px solid lightgray;
transition: border-bottom-color 1s ease;
}
body {
font-family: 'Josefin Sans', serif;
background-color: #262626;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='80' height='80'%3E%3Cpath fill='%23000000' fill-opacity='1' d='M14 16H9v-2h5V9.87a4 4 0 1 1 2 0V14h5v2h-5v15.95A10 10 0 0 0 23.66 27l-3.46-2 8.2-2.2-2.9 5a12 12 0 0 1-21 0l-2.89-5 8.2 2.2-3.47 2A10 10 0 0 0 14 31.95V16zm40 40h-5v-2h5v-4.13a4 4 0 1 1 2 0V54h5v2h-5v15.95A10 10 0 0 0 63.66 67l-3.47-2 8.2-2.2-2.88 5a12 12 0 0 1-21.02 0l-2.88-5 8.2 2.2-3.47 2A10 10 0 0 0 54 71.95V56zm-39 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm40-40a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM15 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm40 40a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'%3E%3C/path%3E%3C/svg%3E");
display: flex;
flex-direction: column;
box-shadow: 0px 0px 100px 20px;
}
article {
background-color: ivory;
background-image: url("images/sandpaper.png");
background-size: 10em 10em;
flex: 2;
overflow-y: auto;
padding: 30px 20px 0 20px;
}
aside {
flex: 1;
background-color: ivory;
background-image: url("images/sandpaper.png");
background-size: 10em 10em;
overflow-y: auto;
padding: 30px 20px 0 20px;
}
footer {
border-top: 2px solid #E5E5D8;
background-color: ivory;
background-image: url("images/sandpaper.png");
background-size: 10em 10em;
height: auto;
padding: 10px 20px 0 20px;
border-top: 2px solid lightgray;
transition: border-top-color 1s ease;
vertical-align: center;
}
.footer-item {
display:inline-block;
}
/*═════════════════════════════════*/
/* Extra header from holberton.css */
/*═════════════════════════════════*/
header ul {
list-style: none;
margin: 0;
padding: 0;
}
header li {
display: inline;
vertical-align: center;
}
header li:first-child {
margin: 0;
}
header li a {
margin: 0;
}
.heading-splitter {
display: flex;
flex-direction: row;
}
header .right {
float: right;
margin: 0 10px 15px;
padding-top:20px;
display: block;
}
/*══════════════════════════════════════════════*/
/* OBJECTIVE: Overwrite existing holberton.css. */
/* Here I assume that I cannot disable that css */
/* You will find that these echo above classes. */
/*══════════════════════════════════════════════*/
aside p {
border: 1px solid #bbb;
background: #ddd;
color: black;
}
header a {
color: orangered;
text-shadow: 0 0 0.15em coral;
text-decoration-style: double;
}
footer a {
color: orangered;
text-shadow: 0 0 0.15em coral;
text-decoration-style: double;
}
header li {
display: block;
}
/* I've created a nice list of self-declared classes, used for the dropdown lists. */
/* Please note that
https://www.w3schools.com/howto/howto_css_dropdown.asp
was a brilliant source for this. */
/* The container <div> - needed to position the dropdown content */
/* NOTE: the requirements made me use a <ul> instead of a <div>. */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Button ~ NOTE: this is a <li> now due to requiremnts */
.drop-button {
padding: 20px 10px 0px 10px;
text-align: center;
width: auto;
cursor: default;
}
.head-button {
padding: 20px 10px 0px 10px;
text-align: center;
width: auto;
cursor: pointer;
}
/* Dropdown Content (Hidden/"none" by Default) ~ NOTE: is a <ul> */
.drop-entity {
display: none;
position: absolute;
text-align: left;
background-color: ivory;
background-image: url(images/sandpaper.png);
width: auto;
padding: 10px 10px 5px 10px;
box-shadow: 0px 8px 16px 0px rgba(1, 1, 1, .5);
z-index: 1;
}
/* Links inside the dropdown */
.drop-entity a {
display: block;
}
/* Change color of dropdown links on hover */
.drop-entity a:hover {
}
/* Show the dropdown menu on hover */
.dropdown:hover .drop-entity {
display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .drop-button {
}
/*═══════════*/
/*some extras*/
/*═══════════*/
.logo {
position: relative;
display: inline-block;
margin: 15px 15px 0 5px;
}
img.small {
width: 30px;
}
img.small:hover {
cursor: pointer;
}
img.big:hover {
cursor: pointer;
}