~laumann/laumann.xyz

ref: 11511da9c1d8cccee5f7fa913cf0921d26b97210 laumann.xyz/css/main.scss -rw-r--r-- 2.3 KiB
11511da9Thomas Bracht Laumann Jespersen Fix up some styling 8 months ago
                                                                                
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
---
---

html, body {
    overflow-x: hidden;
    background-color: white;
    font-family: sans-serif;
    vertical-align: baseline;
}

h1 {
    margin: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    padding-left: 2rem;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;

    a {
        color: #1569C7;
    }

    a:visited {
        color: purple;
    }

    h3 {
        margin-top: 1rem;
        margin-bottom: 0.3rem;
    }

    sup {
        color: #1569C7;
        ::before {
            content: '[';
        }
        ::after {
            content: ']';
        }
        a {
            text-decoration: none;
        }
    }


    .page-title {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .content {
        grid-column-start: 1;

        .tag::before {
            content: '#'
        }
    }

    .sidebar {
        grid-column-start: 2;
        padding-left: 2rem;

        .external-links {
            .external-link {
                font-size: 0.8rem;
            }
        }

        a {
            color: dimgray;
        }

        #identicon {
            text-align: center;
        }

        a.button {
            display: block;
            padding: 0.2rem 0;
            text-align: center;
            border: 2px solid lightgray;
            text-decoration: none;
            margin-bottom: 0.3rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            transition-duration: 0.1s;
        }

        a.button:hover {
            background-color: lightgray;
            color: #111111
        }
    }

    div.subtitle-stuff {
        color: grey;
        font-size: 0.8rem;
    }

    code {
        font-family: monospace;
    }

    p {
        margin: 1rem 0;
    }

    .inlist {
        columns: 1rem 3;
    }

    @media (max-width: 768px) {
        display: block;

        .sidebar {
            padding-left: 0;
        }
    }
}