1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-18 10:51:28 +02:00
This commit is contained in:
Antonio Laguna
2017-05-31 20:41:29 +02:00
parent b2b761f5b1
commit a2100eabdb
6 changed files with 17 additions and 12 deletions

View File

@@ -4,11 +4,11 @@
text-align: left; text-align: left;
width: 100%; width: 100%;
li:hover { &:hover {
transform: translateY(-.2rem); transform: translateY(-.2rem);
} }
li:after { &:after {
bottom: -2.4rem; bottom: -2.4rem;
content: ''; content: '';
display: block; display: block;
@@ -16,7 +16,7 @@
position: relative; position: relative;
} }
li:before { &:before {
content: counter(list)'.'; content: counter(list)'.';
font-size: 6.4rem; font-size: 6.4rem;
line-height: 1; line-height: 1;
@@ -24,13 +24,14 @@
} }
@media (min-width: 768px) { @media (min-width: 768px) {
li { padding-left: 8.8rem; padding-left: 8.8rem;
/* You need two digits? (1-10)*/ /* You need two digits? (1-10)*/
/*padding-left: 12rem; */ /*padding-left: 12rem; */
}
li:before { &:before {
left: 2.4rem; left: 2.4rem;
position: absolute; position: absolute;
} }
} }
} }

View File

@@ -36,12 +36,14 @@
font-size: 1.6rem; font-size: 1.6rem;
line-height: 2.4rem; line-height: 2.4rem;
} }
/* Mobile: video full width */ /* Mobile: video full width */
.text-pull.embed { .text-pull.embed {
margin-left: -2.4rem; margin-left: -2.4rem;
margin-right: -2.4rem; margin-right: -2.4rem;
padding-bottom: 60.6%; padding-bottom: 60.6%;
} }
@media (min-width: 1280px) { @media (min-width: 1280px) {
[class*='text-pull-'] { [class*='text-pull-'] {
max-width: 32%; max-width: 32%;

View File

@@ -61,6 +61,7 @@
} }
} }
} }
/* --- Header CTA --- */ /* --- Header CTA --- */
.cta-cover { .cta-cover {
display: table; display: table;

View File

@@ -15,6 +15,7 @@ blockquote {
} }
} }
} }
/* -- Interviews dl.text-interview -- */ /* -- Interviews dl.text-interview -- */
dd blockquote p:last-child { dd blockquote p:last-child {
margin-bottom: 0; margin-bottom: 0;
@@ -33,9 +34,9 @@ cite {
cite span { cite span {
display: block; display: block;
} }
/* -- A big Blockquote -- */ /* -- A big Blockquote -- */
/* .wall will be deprecated soon. Use .text-quote ;) */ /* .wall will be deprecated soon. Use .text-quote ;) */
.text-quote, .text-quote,
.wall { .wall {
/* Versatility: blockquote, p, h2... */ /* Versatility: blockquote, p, h2... */

View File

@@ -17,7 +17,6 @@ section .dark {
} }
/*=== Section = Slide === */ /*=== Section = Slide === */
section, section,
.slide { .slide {
display: flex; display: flex;
@@ -36,17 +35,20 @@ section,
padding-top: 12rem; padding-top: 12rem;
} }
} }
/*slide with no padding (full card, .embed youtube video...) */ /*slide with no padding (full card, .embed youtube video...) */
.fullscreen { .fullscreen {
padding: 0 padding: 0;
/* Fixed/Visible header? /* Fixed/Visible header?
padding:8.2rem 0 0 0; padding:8.2rem 0 0 0;
*/ */
} }
/* slide alignment - top */ /* slide alignment - top */
.slide-top { .slide-top {
justify-content: flex-start; justify-content: flex-start;
} }
/* slide alignment - bottom */ /* slide alignment - bottom */
.slide-bottom { .slide-bottom {
justify-content: flex-end; justify-content: flex-end;
@@ -54,7 +56,6 @@ section,
/*== 5.1. Mini container width:50% /*== 5.1. Mini container width:50%
Aligned items [class*="content-"]=== */ Aligned items [class*="content-"]=== */
[class*='content-'] { [class*='content-'] {
position: relative; position: relative;
text-align: left; text-align: left;

View File

@@ -1,7 +1,6 @@
/*========================================= /*=========================================
8. Work/Resumé/CV <ul class="work"> 8. Work/Resumé/CV <ul class="work">
=========================================== */ =========================================== */
.work { .work {
clear: both; clear: both;
display: flex; display: flex;
@@ -24,7 +23,7 @@
p { p {
margin-bottom: 0; margin-bottom: 0;
transition: .3s transition: .3s;
} }
li a { li a {