Sha256: 2a36e87b12c5091cc959ba66ff34403f21fcf43832de78f218560245a3c282de

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

html, body {
    width: 100%;
    height: 100%;
    background: $color-bg-primary;
    color: $color-text;
    display: flex;

    @include media-tablet {
        flex-direction: column;
    }

    h1 {
        text-transform: uppercase;
        font-size: 1.5em;
    }

    .body {
        flex: 1;    
        padding: 1em;
        
        @include media-desktop {
            margin-left: 6em;
        }
    }

    nav.list {
        display:flex;
        flex-direction: row-reverse;
        flex-wrap: wrap-reverse;
        justify-content: center;
        align-content: flex-start;
        align-items: flex-start;

        a {
            flex-grow: 0;
            flex-shrink: 0;
            @include media-desktop {
                flex-basis: 50%;
            }

            color: inherit;
            text-decoration: none;

            h1 {
                font-size: 1.5em;
            }

            &:hover .card {
                background-color: $color-primary;
            }
        }
    }
    
    article {
        background-color: $color-bg-secondary;
        padding: 1em;
        flex-basis: 60em;

        a {
            color: $color-secondary;

            &:visited {
                color: $color-primary;
            }
        }

        @include media-mobile {
            margin-top: 2em;
        }
        @include media-tablet {
            margin-top: 2em;
        }

        @include media-desktop {
            margin-left: 1em;
            margin-right: 1em;
        }
    }

    main {
        width: 100%;
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        align-items: flex-start;

        &.jumbotron {
            text-align: center;
            align-content: center;
            align-items: center;
            font-size: 6em;
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voppe-jekyll-theme-0.2.1 _sass/app.scss