about summary refs log tree commit diff
path: root/web/homepage/static/tazjin.css
blob: 396c4ecf4a93ba50529aaaa72ae444c97e38eda5 (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
/* 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;
    max-width: 650px;
    line-height: 1.6;
    font-size: 18px;
    padding: 0 10px;
    font-family: jetbrains-mono, monospace;
}

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

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

.entry {
    
}

/* Light theme (used for the blog) */

.light {
    color: #383838;
}

/* Dark theme (used for the homepage) */

.dark {
    background-color: #181818;
    color: #e4e4ef;
}

.dark a {
    color: #96a6c8;
}

h1, h2, h3 {
    line-height: 1.2
}
.footer {
    text-align: right;
}
.unstyled-link {
    text-decoration: none;
}
.uncoloured-link {
    color: inherit;
}
.date {
    text-align: right;
    font-style: italic;
    float: right;
}
.inline {
    display: inline;
}