_header.scss 1.2 KB
Newer Older
1
2
3
4
.header {
    background-image: url(../images/header-bkgd.png);
    background-repeat: repeat-x;
    background-position: left top;
5
    background-color: #FFFFFF;
6
    top: 0;
Evonne Cheung's avatar
Evonne Cheung committed
7

8
9
    .logo-area {
        margin-top: 10px;
10
        margin-bottom: 10px;
Evonne Cheung's avatar
Evonne Cheung committed
11

12
        .logo {
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
            @media (max-width: $screen-xs-min) {
                width: 23px;
                overflow-x: hidden;
            }
        }
        img {
            @media (max-width: $screen-xs-min) {
                width: 150px;
                max-width: 150px;
            }
        }
    }

    .admin-title {
        font-family: $font-family-serif;
        font-size: $font-size-large;
Evonne Cheung's avatar
Evonne Cheung committed
29
        margin-top: 8px;
Evonne Cheung's avatar
Evonne Cheung committed
30

31
32
        @media (max-width: $screen-sm-min) {
            display: none;
33
        }
34

35
        a {
36
            color: $theme-primary-color;
37
38
            &:hover {
                text-decoration: none;
39
                color: darken($theme-primary-color, 5%);
40
41
            }
        }
42
43
44
45
46
    }

    + .container {
        // resets margin if there are no site-messages
        margin-top: 0;
Evonne Cheung's avatar
Evonne Cheung committed
47

48
49
50
        @media (max-width: $screen-sm-min) {
            // resets margin as site-messages are hidden
            margin-top: 0 !important;
51
        }
52
53
    }
}