_header.scss 1.68 KB
Newer Older
1
2
3
4
5
.header {
    top: 30px;
    background-image: url(../images/header-bkgd.png);
    background-repeat: repeat-x;
    background-position: left top;
6
    height: 124px;
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
    
    @media (max-width: $screen-sm-min) {
        top: 0;
    }
    .site-logo{
        padding-top: 3px;
        float: left;
        padding-left: 5px;
        margin-bottom: 10px;
        margin-top: 0;
        
        @media (min-width: 768px) {
            top: 0;
        }
        
        a {
            float:left;
            
            @media (max-width: $screen-xs-min) {
                width: 23px;
                overflow-x: hidden;
            }
        }
        
        img {
            max-height: 45px;
            
            @media (max-width: $screen-xs-min) {
                width: 150px;
                max-width: 150px;
            }
        }
    }

    .admin-title {
        display:none;
        position: absolute;
        line-height: 65px;
        top: 0;
        clear: none;
        margin-left: 25px;
        font-family: $font-family-serif;
        font-size: $font-size-large;
50

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
        @media (min-width: 768px) {
            display: inline-block;
        }
        a {
            color: $mahara-green;
            &:hover {
                text-decoration: none;
                color: darken($mahara-green, 5%);
            }
            &.narbar-brand {
                color: $mahara-green;
            }
        }
    }

    + .container {
        // if container is directly after header, then it will need a margin
68
69
        margin-top: 75px;

70
        @media (max-width: $screen-sm-min) {
71
72
73
74
75
            margin-top: -20px;
        }

        h1 {
            padding-top: 10px;
76
77
78
        }
    }
}