Sha256: 1d4503ec9286e4883ccd73ccf0caf4d2e6384f4a00d7a48f1743bfcd9f8d274d
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
.c-hero { overflow: hidden; background-position: center; background-repeat: no-repeat; background-size: cover; margin: auto; display: flex; height: calc( 100vh - var(--db-header-height) ); flex-direction: column; align-items: center; justify-content: center; text-align: center; @media #{$medium-screen} { height: 40rem; } @media #{$large-screen} { height: 44rem; } @media #{$wide-screen} { height: 48rem; } &__title { width: 80%; font-size: 5rem; line-height: 8rem; color: var(--db-background-color); text-shadow: 0 0 0.25rem rgb(var(--db-overlay-color-rgb), 30%); } &__description { width: 80%; font-size: 1.25rem; line-height: 2rem; color: var(--db-background-color); text-shadow: 0 0 0.25rem rgb(var(--db-overlay-color-rgb), 30%); } &__links { width: 80%; font-size: 1.25rem; line-height: 2rem; color: var(--db-background-color); text-shadow: 0 0 0.25rem var(--db-control-shadow-color); margin-top: 2rem; a[type="button"] { padding: .4rem 1rem; border: 2px solid var(--db-background-color); border-radius: $border-radius-control; &:hover { box-shadow: 0 0 .25rem var(--db-control-shadow-color); } } } } .l-hero { //border-bottom: 1px solid var(--db-border-color); box-shadow: 0 .5rem .5rem -.5rem var(--db-control-shadow-color); background-color: var(--db-surface-color); &--overflow .c-hero { margin-top: calc( 0px - var(--db-header-height) ); padding-top: var(--db-header-height); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
databook-theme-0.1.2 | _sass/components/_hero.scss |