aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/hmno_main.scss
blob: 006de53c599f94ce1826ce39992a6ff3fb66523d (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
body {
    background-color: black;
    color: lightgray;
    font: {
        family: Helvetica, "Sans Seriff";
        size: 10pt;
    }
}

h1, h2, h3 {
    color: green;
}

#menu {
    text-align: center;

    ul {
        padding: 0;

        li {
            list-style: none;
            display: inline-block;
            background-color: darkgreen;

            padding: {
                left: 1em;
                right: 1em;
                top: 0.3em;
                bottom: 0.3em;
            }

            &.selected {
                background-color: green;
                font-weight: 600;
            }

            &:hover {
                background-color: green;
            }

            a {
                text-decoration: none;
                color: white;
            }
        }
    }
}

#page_container {
    margin: {
        left: 5em;
        right: 5em;
    }

    #page {
        position: relative;

        #left_sidebar, #right_sidebar {
            position: absolute;
            width: 10em;
            top: 0;
            border: 1px dotted lightgray;
            padding: 5px;
            height: 100%;
        }

        #right_sidebar {
            right: 0;
        }

        #body_content {
            margin: {
                left: 11em;
                right: 11em;
            }
            padding: {
                left: 0.5em;
                right: 0.5em;
            }
        }
    }
}

#left_img {
    float: left;
}

#right_img {
    float: right;
}