-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
125 lines (104 loc) · 1.98 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
*,
*::before,
*::after {
box-sizing: border-box;
}
:root {
--background-color: #e8e8e3;
--text-color: #101010;
}
html {
scroll-behavior: smooth; /* Enable smooth scrolling for the whole page */
scroll-padding-top: 20px; /* Add padding to prevent header overlap */
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #101010;
--text-color: #b7ab98;
}
}
body {
font-size: 16px;
margin: 2em auto;
max-width: 800px;
padding: 1em;
line-height: 1.4;
hyphens: auto;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
background-color: var(--background-color);
color: var(--text-color);
@media (max-width: 768px) {
padding-left: 15px;
padding-right: 15px;
}
}
.lighter-weight {
font-weight: 200;
}
.light-weight {
font-weight: 300;
}
.normal-weight {
font-weight: normal;
}
.bold-weight {
font-weight: bold;
}
.no-margin-top {
margin-top: 0;
}
.no-margin-bottom {
margin-bottom: 0;
}
.inline-block {
display: inline;
}
.heading-link {
opacity: 0;
text-decoration: none;
transition: opacity 0.2s;
color: var(--text-color);
font-weight: bold;
font-size: 1.2em;
}
.some-margin-top {
margin-top: 5em;
}
.active {
opacity: 1 !important;
}
.heading-link-activator:hover .heading-link {
opacity: 0.7;
}
.new-anchor {
all: unset;
text-decoration: underline;
cursor: pointer;
}
.italic {
font-style: italic;
}
.author {
display: block;
padding: 1em;
}
.auto-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1em;
padding: 1rem;
justify-items: center;
align-items: center;
justify-content: space-around;
align-content: space-around;
}
.auto-grid-2 {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
padding: 0 !important;
justify-items: start !important;
align-items: start !important;
}
.contact-wrapper {
text-align: center;
}