mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-07-04 19:21:55 +00:00
191 lines
3.1 KiB
SCSS
191 lines
3.1 KiB
SCSS
/******************************************************************************
|
|
* Main container wrap
|
|
*******************************************************************************/
|
|
.wrap {
|
|
max-width: calc(#{$width-max} + #{$width-padding} * 2);
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding-left: $width-padding;
|
|
padding-right: $width-padding;
|
|
}
|
|
|
|
.pad {
|
|
padding-top: 96px;
|
|
padding-bottom: 96px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
padding-top: 64px;
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.pad-b {
|
|
padding-bottom: 96px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
padding-bottom: 64px;
|
|
}
|
|
}
|
|
|
|
/******************************************************************************
|
|
* Above the fold
|
|
*******************************************************************************/
|
|
.banner {
|
|
@include flex-cols();
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 32px;
|
|
background: $jambonz;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: $navi-index + 1;
|
|
text-align: center;
|
|
|
|
a {
|
|
@include ms();
|
|
color: $white;
|
|
font-family: $font-medium;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
@media (max-width: $width-mobile) {
|
|
@include mxs();
|
|
}
|
|
}
|
|
|
|
// Effects .navi @see _navi.scss
|
|
& + .navi {
|
|
.navi__mobile {
|
|
padding-top: 32px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.latest {
|
|
text-align: center;
|
|
|
|
&--tadhack {
|
|
.latest__headline {
|
|
max-width: 840px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
max-width: 760px;
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
max-width: 330px;
|
|
}
|
|
}
|
|
|
|
.latest__subtext {
|
|
max-width: 740px;
|
|
|
|
@media (max-width: 400px) {
|
|
max-width: 300px;
|
|
}
|
|
|
|
div {
|
|
@media (max-width: $width-small) {
|
|
display: inline;
|
|
}
|
|
}
|
|
|
|
div:last-child {
|
|
@media (max-width: $width-small) {
|
|
padding-left: 6px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__wrap {
|
|
@include flex-cols();
|
|
}
|
|
|
|
&__headline {
|
|
color: $jambonz;
|
|
}
|
|
|
|
&__subtext {
|
|
margin-top: 16px;
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hero {
|
|
text-align: center;
|
|
|
|
&--home {
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
&--why {
|
|
.hero__subtext {
|
|
max-width: 870px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
max-width: 740px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&--pricing {
|
|
padding-bottom: 0;
|
|
|
|
.hero__wrap {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.hero__subtext {
|
|
max-width: 770px;
|
|
}
|
|
}
|
|
|
|
&--privacy, &--terms {
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
&__wrap {
|
|
@include flex-cols();
|
|
}
|
|
|
|
&__subtext {
|
|
margin-top: 16px;
|
|
margin-bottom: 32px;
|
|
|
|
> div {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
/******************************************************************************
|
|
* Classes for extra markdown styling
|
|
*******************************************************************************/
|
|
.video-wrap {
|
|
position: relative;
|
|
padding-bottom: 56.25%;
|
|
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
} |