summaryrefslogtreecommitdiffstats
path: root/blog/_assets/stylesheets/main.scss
blob: 605b353132489a58c3ed20a952d0ea4bafab218d (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
@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: 1cm;

    @include round-corners;

    #body {
        float: left;
        width: 16cm;
    }

    #side-body {
        float: right;
        width: 8cm;
        padding: 2mm;
        background: {
            color: $side-bar-background
        }
    }

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

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

#sponsor-pos-1,
#sponsor-pos-2 {
    text-align: center;
    .sponsor-logos {
        .logo {
            display: inline-block;
            width: 250px;
            vertical-align: middle;
            img {
                vertical-align: middle;
                padding-top: 2mm;
                padding-bottom: 2mm;
            }
            &:hover {
                background-color: $nav-link-hover-bg;
            }
        }
    }
}