Sha256: 2d1bd5b8da8508237b59e43e942fb3cfa15c37ecd7578fbc51b89e76bc49d26e

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 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;
}

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;

    .post & {
        flex-basis: 60em;
    }

    a {
        color: $color-secondary;

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

        &:hover {
            color: $color-text;
        }
    }

    @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.3 _sass/app.scss