about summary refs log tree commit diff
path: root/web/homepage/static/tazjin.css
blob: bedb9f2617facdd06635d300db1216cd0c86da8a (plain) (blame)
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
/* Jetbrains Mono font from https://www.jetbrains.com/lp/mono/
   licensed under Apache 2.0. Thanks, Jetbrains! */
@font-face {
    font-family: jetbrains-mono;
    src: url(jetbrains-mono.woff2);
}

@font-face {
    font-family: jetbrains-mono;
    font-weight: bold;
    src: url(jetbrains-mono-bold.woff2);
}

@font-face {
    font-family: jetbrains-mono;
    font-style: italic;
    src: url(jetbrains-mono-italic.woff2);
}

@font-face {
    font-family: jetbrains-mono;
    font-weight: bold;
    font-style: italic;
    src: url(jetbrains-mono-bold-italic.woff2);
}

/* Generic-purpose styling */

body {
    margin: 40px auto;
    line-height: 1.6;
    font-size: 18px;
    padding: 0 10px;
    font-family: jetbrains-mono, monospace;
}

p, a :not(.uncoloured-link) {
    color: inherit;
}

h1, h2, h3 {
    line-height: 1.2
}

/* Homepage styling */

.dark {
    max-width: 800px;
    background-color: #181818;
    color: #e4e4ef;
}

.dark a {
    color: #96a6c8;
}

.entry-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.interblag-title {
    text-decoration: none;
}

.entry {
    width: 42%;
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border: 2px solid;
    border-radius: 5px;
    flex-grow: 1;
}

.misc {
    color: #268bd2;
    border-color: #268bd2;
}

.project {
    color: #9e95c7;
    border-color: #9e95c7;
}

.blog {
    color: #95a99f;
    border-color: #95a99f;
}

.entry-title {
    color: inherit !important;
    font-weight: bold;
    text-decoration: none;
}

.entry-date {
    font-style: italic;
}

/* Blog styling */

.light {
    max-width: 650px;
    color: #383838;
}

.blog-title {
    color: inherit;
    text-decoration: none;
}

.footer {
    text-align: right;
}

.date {
    text-align: right;
    font-style: italic;
    float: right;
}

.inline {
    display: inline;
}

pre {
    min-width: 100%;
    /* some code snippets escape to the side, but I don't want to wrap them */
    width: max-content;
}