_header.scss 1.44 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
.header {
Pat Kira's avatar
Pat Kira committed
2
3
4
5
    top: 30px;
    @media (max-width: $screen-sm-min) {
        top: 0;;
    }
Naomi Guyer's avatar
Naomi Guyer committed
6
7
8
9
10
11
12
13
    .site-logo{
        padding-top: 3px;
        float: left;
        padding-left: 5px;
        margin-top: 21px;
        a {
            float:left
        }
14
15
16
        img {
            max-height: 45px;
        }
Naomi Guyer's avatar
Naomi Guyer committed
17
18
        @media (min-width: 768px) {
            margin-top: 0;
Pat Kira's avatar
Pat Kira committed
19
            top: 0;
Naomi Guyer's avatar
Naomi Guyer committed
20
21
22
23
24
25
26
27
28
29
30
        }
    }

    .admin-title {
        display:none;
        position: absolute;
        height: 65px;
        top: 0;
        clear: none;
        line-height: 1em;
        margin-left: 25px;
Naomi Guyer's avatar
Naomi Guyer committed
31
        background-color: $admin-title-bg;
Naomi Guyer's avatar
Naomi Guyer committed
32
33
34
35
36
        padding: 25px 15px 5px 40px;
        @media (min-width: 768px) {
            display: inline-block;
        }
        a {
Naomi Guyer's avatar
Naomi Guyer committed
37
            color: $admin-title-color;
Naomi Guyer's avatar
Naomi Guyer committed
38
39
        }
        &:before {
Naomi Guyer's avatar
Naomi Guyer committed
40
            position: absolute;
Naomi Guyer's avatar
Naomi Guyer committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
            left: 0;
            top: 0px;
            content: "";
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 32.5px 0 32.5px 20px;
            border-color: transparent transparent transparent #fff;
        }

        &:after {
            position: absolute;
            right: -20px;
            top: 0px;
            content: "";
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 32.5px 0 32.5px 20px;
Naomi Guyer's avatar
Naomi Guyer committed
60
            border-color: transparent transparent transparent $admin-title-bg;
Naomi Guyer's avatar
Naomi Guyer committed
61
62
63
        }
    }
}