about summary refs log tree commit diff
path: root/pkgs/profpatsch/profpatsch.de/main.css.nix
blob: 3ee6ac4dfccda6f63b969e21f7a2e6155e278671 (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
{ fontsQuattrocentoLatin, fontsOpenSansLatin }:
''
/* latin */
@font-face {
    font-family: 'Quattrocento';
    font-style: normal;
    font-weight: 400;
    src: local('Quattrocento'), url(${fontsQuattrocentoLatin}) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    /* use system font until font is loaded */
    font-display: swap;
}
/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(${fontsOpenSansLatin}) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    /* use system font until font is loaded */
    font-display: swap;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

main {
    margin: 0 auto;
    width: 500px;
}

#title {
    text-align: center;
}
#title h1 {
    font-size: 4em;
    font-weight: 300;
    margin-bottom: 0em;
}
#title h2 {
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 0;
}
#title h2 a {
    color: #000;
    text-decoration: none;
}
#title h2 a:hover {
    color: #333;
}
#title hr {
    width: 100px;
    border: 1px solid grey;
    margin-bottom: 2em;
}

p {
    font-family: 'Quattrocento', serif;
    text-align: justify;
    line-height: 1.5em;
}

#codeblock {
    text-align: center;
    font-family: monospace;
    font-size: 16px;
}
''