Sha256: 895c442f9d996a56f65ec6c8362b50dc94310f152a1a21986a9f96a3274efdba

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

.bw-back {
    // Positioning
    position: fixed;

    /* This tells css to ensure that this
     * layer is in the back, regardless of
     * how it's included in the document.
     * It is exactly what it says, the
     * z-axis position of the element */
    z-index: 1;

    /* Back panel sizing. Fill vertically from
     * top to bottom. Horizontally, start at
     * left, be $desktop-menu-size wide*/
    top: 0%;
    left: 0%;
    bottom: 0%;
    width: $desktop-menu-size;
    max-width: 100%;

    // Styling
    background-color: $back-color;
    border-color: $white-color;
    color: $white-color;

    // Align text
    text-align: right;

    // Fill entire screen on mobile
    @include on-mobile {
        top: 0%;
        left: 0%;
        bottom: 0%;
        width: 100%;
    };

    // Container
    .bw-back-container {
        // Text align
        text-align: right;
        display: block;
        &.visible {
            display: block;
        }

        // Padding
        padding: $spacing-unit;
        margin: 0;
        @include on-mobile {
            margin-left: $spacing-unit;
            margin-right: $spacing-unit;
            display: none;
            &.visible {
                display: block;
            }
        }
    }

    // Backwhite footer
    .bw-footer {
        color: darken($white-color, 25%);
        text-align: justify;
        font-size: $small-font-size;
        p { text-align: justify; }
    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-backwhite-2.1.1 _sass/jekyll-theme-backwhite/_back.scss
jekyll-theme-backwhite-2.1.0 _sass/jekyll-theme-backwhite/_back.scss