aboutsummaryrefslogtreecommitdiff
path: root/assets/css/style.css
blob: 2db0c45e40694c4db3eb2bd8ac3674eaaddfd61fcc8d82f61539af5e6523e8f3 (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
/*
    hugo-theme-journal  Hugo theme for my journal
    Copyright (C) 2022  Nicholas Johnson

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

* {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

body {
    line-height: 1.4;
    background-color: black;
    color: lightgray;
    padding: 30px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto; /* remove default styling */
}

@media only screen and (min-width: 40em) {
    body {
        max-width: 40em;
    }
}

h1 { color: #ff0000; font-size: 22px; }
h2 { color: #66ff00; font-size: 20px; }
h3 { color: #ff007f; font-size: 18px; }
h4 { color: #ff007f; font-size: 18px; }
h5 { color: #ff007f; font-size: 18px; }
h6 { color: #ff007f; font-size: 18px; }

p {
    overflow-wrap: break-word;
}

a {
    color: #0091ea;
    text-decoration: none; /* remove default styling */
}

a:hover {
    color: black;
    background-color: #004eff;
}

pre {
    color: #ffffba;
    overflow: auto;
    line-height: normal;
}

body > header {
    margin-bottom: 2em;
}

#logo {
    line-height: normal;
}

body > footer {
    margin-top: 2em;
}

body > footer p {
    margin-bottom: 0em;
}

blockquote {
    padding: 0.5em;
    background-color: #272822;
    margin-left: 1.5em;
    margin-right: 1.5em;
    font-style: italic;
}

blockquote p {
    margin-bottom: 0em;
}

ol {
    list-style: decimal inside none;
}

ul {
    list-style: disc inside none;
}

p, main > pre, ul, ol, blockquote, .highlight {
    margin-bottom: 1.4em;
}

nav ul {
    list-style: none;
}

#return {
    margin-bottom: 2em;
}

@media (pointer: coarse) {
    .navlink {
        margin-bottom: 1em;
    }
}