-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
202 lines (175 loc) · 3.62 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
.roboto-slab {
font-family: "Roboto Slab", serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
}
.roboto {
font-family: "Roboto", serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
font-variation-settings: "wdth" 100;
}
:root {
--gunmetal: #253031;
--greengrey: #315659;
--blue: #2978a0;
--bone: #e7decd;
--ecru: #bcab79;
--paleblue: #c6e0ff;
}
html {
overflow: hidden;
height: 100%;
}
body {
overflow: auto;
height: 100%;
overscroll-behavior: none;
}
body {
background: var(--bone) url("tile.png") repeat left top;
color: var(--gunmetal);
font-family: "Roboto Slab", serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
}
main {
text-align: center;
}
main ol,
main ul {
text-align: initial;
}
#rainbow {
background-image: linear-gradient(
to left,
violet,
indigo,
blue,
green,
yellow,
orange,
red
);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
img {
max-width: 100%;
}
header {
position: sticky;
top: 0;
border-bottom: 4px solid var(--ecru);
box-shadow: 2px 0 5px 2px rgba(0, 0, 0, 0.7);
}
header menu {
text-align: center;
background-color: var(--gunmetal);
color: var(--bone);
padding: 1rem 0;
margin: 0;
}
header menu ul {
margin: 0;
padding: 0;
}
header menu li {
display: inline;
margin: 0 1rem;
}
header menu li a {
color: var(--bone);
text-decoration: none;
font-family: "Roboto", serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
font-variation-settings: "wdth" 100;
}
header menu li a:hover {
cursor: pointer;
text-decoration: wavy underline var(--bone) 2px;
transition: text-decoration 0.5s ease-in;
}
footer {
padding: 0.75rem 0;
font-size: 0.8rem;
background-color: var(--gunmetal);
color: var(--bone);
text-align: center;
border-top: 4px solid var(--ecru);
box-shadow: -2px 0 5px 2px rgba(0, 0, 0, 0.7);
}
/* **************************************************************** */
#main-content {
background-color: var(--bone);
display: inline-flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding: 0 2rem 1rem;
min-height: 100lvh;
}
#construction {
padding: 1rem 0;
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
margin-bottom: 1rem;
}
#construction h4 {
margin: 0;
}
#tile {
position: absolute;
top: calc(35px * 5);
left: 0;
/* outline: 2px solid pink; */
}
.paper {
background-color: #f2f0ef;
color: #333;
padding: 0 2rem;
box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 800px;
font-family: "Roboto", serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
font-variation-settings: "wdth" 100;
}
.paper > p {
text-align: left;
line-height: 1.3;
}
/* **************************************************************** */
/*#region tablet styles*/
/* Medium devices such as tablets (1024px or lesser) */
@media only screen and (max-width: 1024px) {
.paper {
width: 95%;
max-width: unset;
padding: 0 1rem;
}
#tile {
top: 0.5rem;
left: 0;
z-index: 2;
}
}
/*#endregion tablet styles*/
/*#region mobile styles*/
/* Small devices such as phones (768px or lesser) */
@media only screen and (max-width: 768px) {
.paper {
padding: 0 0.5rem;
}
}
/*#endregion mobile styles*/