Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
133 lines (110 loc) · 2.37 KB
/
Copy pathstyle.css
File metadata and controls
133 lines (110 loc) · 2.37 KB
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
/*
Table of Contents
1. Defining Variables
2. Element Styles
3. Class Styles
3.1 Utility Classes
3.2 Component Classes
4. Idk
*/
/* Defining Variables */
:root {
--color-white: white;
--color-primary: #123456;
--color-primary--dark: hsl(200, 100%, 20%);
--spacing: 1rem;
--spacing-one-and-a-half: calc(var(--spacing) * 1.5);
--spacing-double: calc(var(--spacing) * 2);
--spacing-triple: calc(var(--spacing) * 3);
--spacing-half: calc(var(--spacing) * 0.5);
--line-height: 1.8;
--line-height-small: 1.1;
--border-style: solid;
--border-size: 4px;
--border-color: var(--color-primary);
--border: var(--border-size) var(--border-style) var(--border-color);
--border-large: calc(var(--border-size) * 1.5) var(--border-style) var(--border-color);
}
*,
*::after,
*::before {
box-sizing: border-box;
}
/* Type Styling */
body {
margin: 0;
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: var(--line-height);
}
h1,
h2,
h3 {
font-style: bold;
line-height: var(--line-height-small);
}
header {
background-color: hsl(200, 100%, 20%);
color: white;
margin-top: auto;
padding-top: 8px;
padding-bottom: 8px;
}
h1 {
padding: var(--spacing-one-and-a-half);
font-size: clamp(2rem, 8vw, 6rem);
margin-block: var(--spacing);
color: var(--color-white);
background-color: var(--color-primary--dark);
}
footer {
background: rgb(41, 44, 33);
color: white;
padding-block: var(--spacing-double);
}
header {
display: flex;
gap: var(--spacing);
}
header nav ul,
footer nav ul {
display: flex;
gap: var(--spacing);
list-style: none;
padding: 0;
margin: 0;
flex-wrap: wrap;
}
footer nav ul {
justify-content: center;
}
/* Class Styling */
/* Utility Classes */
.container {
width: 100%;
max-width: 960px;
margin-inline: auto;
}
.padding-horizontal {
padding-inline: var(--spacing);
}
/* Component Classes */
.quote {
background-color: #D3D3D3;
font-style: italic;
margin-block: var(--spacing-triple);
padding-inline: var(--spacing-one-and-a-half);
padding-block: var(--spacing);
border-inline-start: var(--border);
}
.author {
font-style: italic;
}
.bottom-menu {
/* text-align: center; */
}
/* Idk what to call ts */
nav ul li a:link,
nav ul li a:visited {
color: white;
text-decoration: none;
}