another better way to hide slides

This commit is contained in:
Vadim Makeev 2011-07-17 23:12:53 +04:00
parent 226ebc35ff
commit 9f91bf40db
1 changed files with 18 additions and 23 deletions

View File

@ -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%;
left:0;
margin:-80px 0 0;
width:100%;
text-align:center;
line-height:1;
font-size:150px;
}
.slide.shout H2 A {
margin:0;
} }
.slide.shout H2 { .slide.shout H2 A:after {
position:absolute; content:'';
top:50%;
left:0;
margin:-80px 0 0;
width:100%;
text-align:center;
line-height:1;
font-size:150px;
}
.slide.shout H2 A {
margin:0;
} }
.slide.shout H2 A:after {
content:'';
}
/* List /* List
---------------------------------------- */ ---------------------------------------- */
@ -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;