summaryrefslogtreecommitdiffstats
path: root/blog/_assets/stylesheets/main.scss
blob: fbf13e547967f85c5206d6467f48c206c15a5a4a (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
@import "config";
@import "common";
@import "header";
@import "navbar";
@import "pagination";
@import "post";

body {
    background-color: black;
    color: $text-color;
    line-height: 135%;

    background: {
        image: image_url("background.jpg");
        repeat: no-repeat;
        position: center top;
        color: black;
    }
}

a {
    color: $link-color;
    &:hover {
        color: $link-hover-color;
    }
}

h1, h2, h3, h4, h5, h6 {
    color: $heading-color;
}

h1 {
    font-size: 20pt;
}

#page-container {
    position: relative;
    width: 28cm;
    margin: {
        top: 10mm;
        left: auto;
        right: auto;
    }
    footer {
        border: {
            top: 1px solid $dimmed-text-color;
        }
        color: $dimmed-text-color;
        clear: both;
    }
}

#body-content {
    position: relative;
    min-height: 700px;

    padding: 1em;
    @include round-corners;

    #body {
        padding-right: 20em;
    }

    #side_body {
        position: absolute;
        width: 244px;
        bottom: 1em;
        right: 1em;
        top: 1em;
        overflow: auto;
        .inner {
            padding: 10px;
        }
        background: {
            color: $side-bar-background
        }
        @include round-corners;

        h1 {
            font: {
                size: 20px;
                weight: bold;
            }
        }

        h2 {
            font: {
                size: 16px;
                weight: bold;
            }
        }

        h3 {
            font: {
                size: 12px;
                weight: bold;
            }
        }
    }

    #news, #links {
        width: 8.55cm;
        float: left;
        margin-right: 5mm;

        &.wide {
            width: 100%;
            float: none;
        }
    }
}