-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
163 lines (140 loc) · 2.5 KB
/
style.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
/*========================
Declare variables for page
=========================*/
:root {
/*color scheme*/
--page-background: #bbdefb; /*Pale Blue*/
--box-background: #fce4ec; /*Peach*/
--border: #7880b5; /*Lilac*/
--sub-border: #6bbaec; /*Turquoise*/
--text: #000; /*Dark*/
}
/*=====================
Basic Styles
======================*/
html,
body {
scroll-behavior: smooth;
margin: 0;
padding: 0;
font-size: 14px;
background: var(--page-background);
color: var(--text);
display: flex;
flex-flow: column nowrap;
align-items: center;
}
/*set global styles*/
body * {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
margin: 0;
}
/*=============
Text and fonts
===============*/
/*fallback fonts - never shall Times New Roman be seen again!!!*/
h1,
h3,
p,
a,
li {
font-family: Verdana, sans-serif;
}
h1 {
padding: 20px;
font-size: 3rem;
line-height: 4rem;
text-align: center;
}
h3 {
text-align: center;
font-size: 1.5rem;
line-height: 3rem;
text-decoration: underline;
}
p {
line-height: 2rem;
}
/*=====================
Layout and positioning
======================*/
/*single column layout centered - option to add aside to the sides later if needed for note highlights*/
.container {
width: 85%;
background: white;
border: 4px solid var(--border);
border-radius: 8px;
padding: 10px 25px;
display: flex;
flex-flow: column nowrap;
align-items: center;
}
.container section {
width: 85%;
margin: 10px;
border: 2px solid var(--sub-border);
border-radius: 8px;
padding: 10px 25px;
background: var(--box-background);
}
ul {
margin: 10px;
}
.list {
list-style: none;
}
.list li p {
padding-left: 15%;
}
.list li p:first-of-type {
font-weight: bold;
padding-left: 5%;
}
.list li p:last-of-type {
font-style: italic;
}
.example {
text-shadow: 2px 2px 3px var(--border);
}
/*=====================
Responsiveness
======================*/
@media screen and (max-width: 768px) {
h1 {
padding: 5px;
}
.container,
.container section {
width: 95%;
padding: 5px;
}
.list {
padding: 0;
}
}
/*==========================
Ye old timer printing view
===========================*/
@media print {
.container {
width: 100%;
border: none;
padding: none;
color: black;
}
.container section {
width: 100%;
margin: 0;
padding: 0;
border: none;
background: none;
}
h3 {
text-decoration: none;
}
.example {
text-shadow: 0 0 0 black;
}
}