Sha256: 5b14219762449337104f14bf05b37ca919ef7bc3e3931ccb94418cf6db4884cb

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 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 {
    height: 50px;
    width: 200px;
    border: 2px solid white;
    border-radius: 5px;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: $sidebar-colour;
    color: white;
    &:hover, &:focus {
        background-color: white;
        color: $sidebar-colour
    }
}

.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

1 entries across 1 versions & 1 rubygems

Version Path
arco-0.2.0 _sass/cover.scss