-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
189 lines (160 loc) · 4.46 KB
/
main.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
/* Imports */
@import url('normalize.css');
/*---------------------------------------------------------
Table of Contents
1. HTML Styles
2. Body Styles
3. Header Styles
4. Main Styles
5. Footer Styles
6. Phone/Tablet Media Query
7. Phone Media Query
8. Tablet/Desktop/Laptop Media Query
9. Tablet Media Query
10. Desktop/Laptop Media Query
-------------------------------------------------------- */
/*---------------------------------------------------------
1. HTML Styles
-------------------------------------------------------- */
/* CSS Variables */
:root {
/* || Background Colors */
--bg-color: #020202;
--bg-code-color: #262626;
/* || Border Colors */
/* || Text Colors */
--text-color: #fffffd;
/* || Link Colors */
--lk-color: #fffffd;
--lk-dec-color: #ff1605;
/* || Link Styles */
--lk-dec-style: dotted;
--lk-dec-thk: 0.13rem;
}
/* Set HTML line height */
html {
line-height: 1.5;
}
/* Set html and body properties */
html, body {
width: 100%;
height: 100%;
}
/*---------------------------------------------------------
2. Body Styles
-------------------------------------------------------- */
/* Body properties */
body {
background-color: var(--bg-color);
}
#body {
min-height: 100%;
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 100%;
grid-template-areas:
'header'
'main'
'footer';
}
/* Header, main, and footer properties */
#header, #main, #footer {
width: 90%;
margin-left: auto;
margin-right: auto;
}
/* Inline element font properties */
canvas, cite, data, datalist, del, dfn, em, i, ins, kbd, label, noscript,
q, ruby, s, samp, select, slot, small, strong, sub, sup, template,
textarea, time, var, video {
color: var(--text-color);
overflow-wrap: break-word;
}
/* Code properties */
code {
color: var(--text-color);
background: var(--bg-code-color);
}
pre {
color: var(--text-color);
overflow-wrap: break-word;
overflow: auto;
/* Firefox scrollbar properties */
scrollbar-width: auto;
scrollbar-color: white gray; /* Scroll thumb and track color */
}
.highlight {
background: var(--bg-code-color);
}
/* Block-Level element font properties */
address, blockquote, details, dialog, dd, dl, dt, fieldset, figcaption,
figure, form, h1, h2, h3, h4, h5, h6, hgroup, hr, li, ol, p, table, ul {
color: var(--text-color);
overflow-wrap: break-word;
}
/* Font family */
address, blockquote, details, dialog, dd, div, dl, dt, fieldset, figcaption,
figure, form, h1, h2, h3, h4, h5, h6, hgroup, hr, li, ol, p, table, ul {
font-family: sans-serif;
}
/* Font size */
p, li, dt, dd, pre {
font-size: 1.1rem;
}
/* Link properties */
a {
color: var(--lk-color);
text-decoration-style: var(--lk-dec-style);
text-decoration-color: var(--lk-dec-color);
text-decoration-thickness: var(--lk-dec-thk);
}
/*---------------------------------------------------------
3. Header Styles
-------------------------------------------------------- */
/*---------------------------------------------------------
4. Main Styles
-------------------------------------------------------- */
/*---------------------------------------------------------
5. Footer Styles
-------------------------------------------------------- */
/* Footer quote properties */
#footer_quote {
font-size: 1rem;
text-align: center;
}
/*---------------------------------------------------------
6. Phone/Tablet Media Query
-------------------------------------------------------- */
@media screen and (max-width: 50rem) {
a:active {
color: #ff1605;
text-decoration-style: solid;
}
}
/*---------------------------------------------------------
7. Phone Media Query
-------------------------------------------------------- */
@media screen and (max-width: 37.5rem) {
}
/*---------------------------------------------------------
8. Tablet/Desktop/Laptop Media Query
-------------------------------------------------------- */
@media screen and (min-width: 37.5rem) {
}
/*---------------------------------------------------------
9. Tablet Media Query
-------------------------------------------------------- */
@media screen and (min-width: 37.5rem) and (max-width: 50rem) {
}
/*---------------------------------------------------------
10. Desktop/Laptop Media Query
-------------------------------------------------------- */
@media screen and (min-width: 50rem) {
#header, #main, #footer {
max-width: 50rem;
}
a:hover {
color: #ff1605;
text-decoration-style: solid;
}
}