Sha256: a66b60fe44154f4c5c1abd686ec3c34bf655059e8431016e7c37ea52b5b66b53

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

nav {
    @extend %bg-white;
    @extend %central;
    clear: both;
    display: block;
    text-align: center;
    width: 100%;
    z-index: 10;

    .current-page {
        background: $colour-lightgrey;
        border-bottom: 2px solid $colour-highlight;
        margin-bottom: -2px;
    }

    a {
        border: none;
        display: inline-block;
        padding: 0.5em;
        width: 5.3em;
        &:hover {
            background-color: $colour-highlight;
            color: $colour-lightgrey;
        }
    }
    li {
        display: inline;
        position: relative;
        padding: 0;
    }
    ul.main-menu {
        display: block;
        list-style: none;
        margin: 0;
        padding-left: 0;
    }
    ul {
        ul {
            display: none;
            float: left;
            margin: 0;
            padding-top: 0.5em;
            position: absolute;
            top: 100%;
            left: -90%;
            width: 100%;
            z-index: 99999;
            ul {
                left: 75%;
                top: -1.025em;
            }
            li { width: 12em; }
            a { background-color: $colour-lightgrey; }
        }
        li {
            a {
                &:hover { border: 0; margin: 0; }
            }
        }
    }
    ul li:hover > ul { display: block; }
    &::after { @extend %divider-gradient-top; }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-perry-0.1.16 _sass/theme/_navigation.scss
jekyll-theme-perry-0.1.15 _sass/theme/_navigation.scss
jekyll-theme-perry-0.1.14 _sass/theme/_navigation.scss
jekyll-theme-perry-0.1.13 _sass/theme/_navigation.scss
jekyll-theme-perry-0.1.12 _sass/theme/_navigation.scss