Add basic styles
This commit is contained in:
parent
2c9f1388c3
commit
dba005e8c1
@ -10,7 +10,7 @@ Wirklich auf den Punkt!
|
||||
|
||||
@content
|
||||
* Stichpunkt 1
|
||||
* Stichpunkt 2
|
||||
* Stichpunkt 3
|
||||
* Stichpunkt 4
|
||||
* ^in Stichpunkt 2
|
||||
* ^in Stichpunkt 3
|
||||
* ^in In Stichpunkt 4 ... <strong>geht es hübsch weiter</strong>
|
||||
|
||||
|
||||
@ -1,10 +1,4 @@
|
||||
@slide(layout=titlepage)
|
||||
|
||||
@title
|
||||
Wirklich auf den Punkt!
|
||||
|
||||
@content
|
||||
* Stichpunkt 1
|
||||
* Stichpunkt 2
|
||||
* Stichpunkt 3
|
||||
* Stichpunkt 4
|
||||
Ende
|
||||
50
test/styles/style.css
Normal file
50
test/styles/style.css
Normal file
@ -0,0 +1,50 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
font-size: 16pt;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
.fragment {
|
||||
opacity: 0;
|
||||
transition: .3s opacity ease-in-out;
|
||||
}
|
||||
|
||||
.fragment.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
body {
|
||||
background: black;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
article {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
background: white;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
article:target {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
@ -1,33 +0,0 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
|
||||
body {
|
||||
background: black;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
article {
|
||||
display: none;
|
||||
background: white;
|
||||
position: absolute;
|
||||
border: 1px solid red;
|
||||
}
|
||||
|
||||
article:target {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user