summaryrefslogtreecommitdiff
path: root/sass/_partial/_header.scss
blob: 8a942654f27af194d78b823efe3a261b0e79e3c1 (plain)
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
.header {
    display: flex;
    margin: 0 auto;
    padding: 1em;
    padding-bottom: 0.5em;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    .blog-title .logo {
        font-family: 'Source Serif Pro', 'Noto Serif SC', serif;
        color: #000;
        font-size: 1.2em;
        text-decoration: none;
    }
    .blog-title {
        height: 26.5;
    }
    .menu {
        margin: 0 auto;
        vertical-align: text-top;
        padding-left: 0;
        .menu-item {
            display: inline-block;
            padding: 0.25em;
        }
        .menu-item-link {
            color:  #818181;
            text-decoration: none;
            font-size: 1em;
            &:hover {
                color: #111;
            }
        }
        .current-menu-item-link {
            color: #111;
            text-decoration: none;
        }
    }

    @media screen and (max-width: 320px) {
        .menu {
            display: inline-flex;
        }
    }
}