aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style/style.scss
blob: 908950d7e8238e24c01cb5e2eabf687da59f5762 (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
@import "./syntax";
@import "./badge";

$primary: #C93312;
$warning-invert: #FFFFFF;
$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif, 'Font Awesome 5 Free', 'Font Awesome 5 Brands' !default;
@import "../node_modules/bulma/sass/utilities/_all";
@import "../node_modules/bulma/sass/base/_all";
@import "../node_modules/bulma/sass/grid/_all";
@import "../node_modules/bulma/sass/elements/_all";
@import "../node_modules/bulma/sass/components/_all";
@import "../node_modules/bulma/sass/layout/_all";

html, body {
    height: 100%;
}

body > div {
    min-height: 100%;
}

#sidebar {
    background-color: #eee;
    border-right: 1px solid #c1c1c1;
    box-shadow: 0 0 20px rgba(50, 50, 50, .2) inset;
    padding: $column-gap + 1rem;

    .brand {
        padding: 1rem 0;
        text-align: center;
    }
}

#main {
    padding: 3rem;
}

.example {
    .highlight {
        margin: 0;
    }
    .path {
        font-style: italic;
        width: 100%;
        text-align: right;
    }
    margin-bottom: 1em;
}

code {
    color: #1a9f1a;
    font-size: 0.875em;
    font-weight: normal;
}

.content {
    h2 {
        padding-top: 1em;
        border-top: 1px solid #c0c0c0;
    }
}

h1, h2, h3, h4, h5, h6 {
    .anchor {
        display: inline-block;
        width: 0;
        margin-left: -1.5rem;
        margin-right: 1.5rem;
        transition: all 100ms ease-in-out;
        opacity: 0;
    }
    &:hover .anchor {
        opacity: 1;
    }
    &:target {
        color: $primary;
        .anchor {
            opacity: 1;
            color: $primary
        }
    }
}

.footnotes p {
    display: inline;
}

figure.has-border img {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}