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

body {
    background-color: black;
    color: $text-color;

    background: {
        image: image_url("{% asset_path background %}");
        repeat: no-repeat;
        attachment: fixed;
        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: $huge-font-size;
}

#page-container {
    position: relative;
    max-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;
    line-height: 170%;

    font-size: $base-font-size;
    background-color: $body-bg;

    @media screen and (min-width: 28cm) {
        padding: 1cm;
    }

    @include round-corners;

    #body {
    }

    #side-body {
    }

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

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

#sponsor-pos-1,
#sponsor-pos-2 {
    text-align: center;
    margin: {
      left: auto;
      right: auto;
    }
    height: 500px;
    width: 3*(250px + 4mm);
    .sponsor-logos {
        float: left;
        width: 250px;
        display: inline-block;
        .logo {
            display: block;
            vertical-align: middle;
            img {
                vertical-align: middle;
                padding-top: 2mm;
                padding-bottom: 2mm;
            }
            &:hover {
                background-color: $nav-link-hover-bg;
            }
        }
        &:after {
          content: ".";
          visibility: hidden;
          clear: both;
        }
    }
}