summaryrefslogtreecommitdiff
path: root/extras/html/themes/default/style.css
blob: 35d93f549de10d0e0fabbd871fe832d177ab96a7 (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
151
@font-face {
    font-family: 'text';
    src: url("./text.ttf") format("truetype");
}

@font-face {
    font-family: 'heading';
    src: url("./heading.ttf") format("truetype");
}

@font-face {
    font-family: 'code';
    src: url("./code.ttf") format("truetype");
}

@font-face {
    font-family: 'handnotes';
    src: url("./handnotes.ttf") format("truetype");
}

html {
    background-color: #dde3ee;
}

body {
    font-family: text, sans-serif;
    background: #ffffff;
    color: #1e1e2e;
    line-height: 1.75;
    max-width: 1100px;
    padding: 0 52px 40px 52px;
    margin: 40px auto;
    border: 1px solid #c4cad8;
    border-top: none;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    word-wrap: break-word;
}

p.header {
    background: #2e1065;
    color: #e0e0e0;
    font-family: code, monospace;
    font-size: 0.9rem;
    margin: 0 -52px 1.5rem -52px;
    padding: 0.7rem 52px;
    border-radius: 20px 20px 0 0;
}

p.header a {
    color: #a5b4fc;
    font-family: code, monospace;
}

p.header a:hover {
    color: #ffffff;
}

h1 {
    font-family: heading, serif;
    color: #2e1065;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    padding-bottom: 0.15em;
    border-bottom: 2px solid #e0e4f0;
}

h2, h3 {
    font-family: heading, serif;
    color: #3730a3;
    margin-top: 1.5em;
    margin-bottom: 0.15em;
}

a {
    font-family: text, sans-serif;
    text-decoration: none;
    color: #4f46e5;
}

a:hover {
    text-decoration: underline;
    color: #3730a3;
}

a.textlink:before {
    content: "⇒ ";
}

.quote {
    font-style: italic;
    color: #4a4a6a;
    border-left: 4px solid #a5b4fc;
    padding-left: 14px;
    margin-left: 0;
}

.quote:before {
    content: "« ";
    padding-left: 2px;
}

.quote:after {
    content: " »";
    padding-right: 2px;
}

ul {
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
}

li {
    margin-bottom: 0.25em;
}

li:before {
    content: "›";
    padding-right: 6px;
    color: #4f46e5;
    font-weight: bold;
    font-size: 1.1em;
}

img {
    max-width: 90%;
    display: block;
    margin: 1.2em auto;
    border-radius: 14px;
    border: 1px solid #c4cad8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

pre {
    font-family: code, monospace;
    background: #f3f4f9;
    color: #1e1e2e;
    padding: 18px 20px;
    border-left: 4px solid #4f46e5;
    border-radius: 14px;
    white-space: pre-wrap;
}

span.inlinecode {
    font-family: code, monospace;
    background: #eef0f8;
    border: 1px solid #bcc2d8;
    border-radius: 8px;
    padding: 1px 5px;
}