1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-22 04:43:42 +02:00

footers for landings, portfolios, longforms...

This commit is contained in:
José Luis Antúnez
2017-03-27 15:58:39 +02:00
committed by GitHub
parent 4096c85f83
commit b9454480b0

View File

@@ -742,15 +742,11 @@ li .browser {margin-bottom: 0;
font-size: 1.6rem; font-size: 1.6rem;
} }
} }
.browser img { .browser img {
width: 100%; width: 100%;
margin-top: 3.2rem; margin-top: 3.2rem;
} }
/*=== 1.4. Basic Grid (Flexible blocks) /*=== 1.4. Basic Grid (Flexible blocks)
Auto-fill & Equal height === */ Auto-fill & Equal height === */
@@ -1211,7 +1207,6 @@ img[class*="text-pull-"],figure[class*="text-pull-"] {
font-family: "San Francisco", helvetica, arial, sans-serif; font-family: "San Francisco", helvetica, arial, sans-serif;
} }
/* Ultra Light */ /* Ultra Light */
@font-face { @font-face {
@@ -1220,7 +1215,6 @@ img[class*="text-pull-"],figure[class*="text-pull-"] {
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2"); src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2");
} }
/* Thin */ /* Thin */
@font-face { @font-face {
@@ -1238,7 +1232,6 @@ img[class*="text-pull-"],figure[class*="text-pull-"] {
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff2"); src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff2");
} }
/* Bold */ /* Bold */
@font-face { @font-face {
@@ -1247,7 +1240,6 @@ img[class*="text-pull-"],figure[class*="text-pull-"] {
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff2"); src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff2");
} }
/*========================================= /*=========================================
3. Header & Footer 3. Header & Footer
=========================================== */ =========================================== */
@@ -1273,20 +1265,24 @@ footer img {
height: 4rem; height: 4rem;
vertical-align: middle; vertical-align: middle;
} }
footer {
position: relative;
}
header, footer { header, footer {
position: absolute;
top: 0;
left: 0;
/* hover/visibility */ /* hover/visibility */
z-index: 3; z-index: 3;
} }
footer { header,.ws-ready footer {
position: absolute;
top: 0;
left: 0;
}
.ws-ready footer {
top: auto; top: auto;
bottom: 0; bottom: 0;
} }
/*=== Hide header[role=banner] === */ /*=== Hide header[role=banner] === */
/*Remove "opacity=0" if you want an unique, visible header on each slide*/ /*Remove "opacity=0" if you want an unique, visible header on each slide*/