summaryrefslogtreecommitdiffstats
path: root/blog/_assets/stylesheets/main.scss
blob: af5d134192149a22ca271200e609b9f2a5fe0a74 (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
112
113
114
115
116
117
118
119
@import "config";
@import "common";
@import "header";
@import "navbar";

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 {
    font-size: 20pt;
}

#page-container {
    position: relative;
    width: 28cm;
    margin: {
        top: 10mm;
        left: auto;
        right: auto;
    }
    footer {
        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;

        header {
            date {
                font-size: 10pt;
            }
            h1 {
                font: {
                    size: 13pt;
                    weight: bold;
                }
                margin: {
                    bottom: 5mm;
                    top: 0;
                }
                a {
                    text-decoration: none;
                }
            }
        }

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