Sha256: 8041ef0a0b65487e3e1c0c6d622190af503ff4e31a65def3876b1fd715a683ad

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

@import "constants";
@import "fonts";

.cover-text {
    h1 {
        color: $primary-highlight;
        margin: 0;
    }
    h6 {
        text-transform: uppercase;
        font-size: .9rem;
        color: $text-colour-light;
    }
    a {
        color: $primary-highlight;
        :hover {
            color: lighten($primary-highlight, 24%);
        }
    }
}

#open-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.open-button-container {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.cover {
    height: 100%;
    width: 100%;
    display: flex;
    top: 0;
    position: fixed;
    z-index: 9999;
    background: $sidebar-colour;
    color: $text-colour-light;
    transition: all .25s ease;
}

/* vertical layout */
@media only screen and (max-width: calc(2 * #{$sidebar-width - 1})), (orientation: portrait) {
    #cover {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
    }

    .cover-text {
        display: flex;
        flex-direction: column;
    }
}

/* horizontal layout */
@media only screen and (min-width: calc(2 * #{$sidebar-width})) and (orientation: landscape) {
    #cover {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arco-0.4.0 _sass/cover.scss
arco-0.3.2 _sass/cover.scss
arco-0.3.1 _sass/cover.scss
arco-0.3.0 _sass/cover.scss