blob: e93fab43819aa5b5363888855a9f59ab9f6f4dd3 (
plain)
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
|
// colors
$background: #252422;
$background_light: #2e2d2c;
$foreground: #DCE1DE;
$accent1: #8B95C9;
$code-background: #171615;
// main styles and centering
html {
color-scheme: dark;
}
body {
margin: 3rem auto;
max-width: 55rem;
line-height: 1.3;
font-size: 1.2rem;
padding: 0 2rem;
background-color: $background;
color: $foreground;
font-family: "Courier New", Courier, monospace;
}
// general customizations
h1, h2, h3, h4 {
margin-bottom: 0.3rem;
}
ul {
margin-top: 0.3rem;
}
a {
color: $accent1;
}
h1 a {
text-decoration: none;
}
hr {
height: 0.25rem;
border-radius: 0.2rem;
border: none;
background-color: $background-light;
}
img {
width: 40rem;
display: block;
margin: 0 auto;
}
.youtube {
width: 40rem;
aspect-ratio: 16/9;
display: block;
margin: 0 auto;
}
// header
.header-title {
margin: 0;
font-size: 2.5rem;
}
.header-separator {
margin-top: -0.2rem;
}
// sections
.index-section {
background-color: $background-light;
padding: 0.7rem;
margin-top: 0.6rem;
border-radius: 0.4rem;
}
.index-section h2 {
margin-top: -0.3rem;
}
.index-section ul {
margin-bottom: 0.3rem;
}
// blog header
.subtitle {
margin: 0.5rem auto;
}
.blog-header {
display: flex;
justify-content: space-between;
}
.blog-header-left {
padding-right: 1rem;
flex: 1 1 auto;
max-width: 60%;
}
.blog-header-right {
flex: 0 0 auto;
white-space: nowrap;
text-align: right;
}
// project list styling
.project-section h2 {
text-align: center;
text-decoration: none;
}
// blog element styling
pre {
padding : 0.5rem;
border-radius: 0.3rem;
overflow: auto;
tab-size: 4;
font-family: monospace;
}
blockquote {
background: $code-background;
border-left: 0.7rem solid #F3E9DC;
margin: 1.5em 10px;
padding: 0.5em 10px;
}
blockquote p {
margin-top: 0.2rem;
margin-bottom: 0.2rem;
}
p code {
background: $code-background;
padding-left: 0.25rem;
padding-right: 0.25rem;
font-family: monospace;
}
// index
.footer-text {
text-align: center;
color: $background-light;
}
.footer-text a {
text-decoration: none;
padding: 0rem 0.5rem;
}
|