Commit 9f91bf40 authored by Vadim Makeev's avatar Vadim Makeev

another better way to hide slides

parent 226ebc35
...@@ -180,28 +180,25 @@ BODY { ...@@ -180,28 +180,25 @@ BODY {
} }
/* Shout */ /* Shout */
.slide.shout { .slide.shout SECTION:before {
z-index:1; display:none;
} }
.slide.shout SECTION:before { .slide.shout H2 {
display:none; position:absolute;
} top:50%;
.slide.shout H2 { left:0;
position:absolute; margin:-80px 0 0;
top:50%; width:100%;
left:0; text-align:center;
margin:-80px 0 0; line-height:1;
width:100%; font-size:150px;
text-align:center; }
line-height:1; .slide.shout H2 A {
font-size:150px; margin:0;
} }
.slide.shout H2 A { .slide.shout H2 A:after {
margin:0; content:'';
} }
.slide.shout H2 A:after {
content:'';
}
/* List /* List
---------------------------------------- */ ---------------------------------------- */
...@@ -299,12 +296,10 @@ BODY { ...@@ -299,12 +296,10 @@ BODY {
} }
.full .slide { .full .slide {
position:absolute; position:absolute;
top:-150%; visibility:hidden;
left:-150%;
} }
.full .slide:target { .full .slide:target {
top:0; visibility:visible;
left:0;
} }
.full .slide:after { .full .slide:after {
position:absolute; position:absolute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment