vanillajs-deck/css/style.css
2019-11-22 17:09:42 -08:00

98 lines
1.3 KiB
CSS

body {
padding: 5px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 5vh;
}
button {
font-size: 5vh;
}
@media only screen and (max-width: 800px) {
body {
font-size: 14px;
}
button {
font-size: 14px;
}
}
@media only screen and (max-width: 1200px) {
body {
font-size: 3vh;
}
button {
font-size: 14px;
}
}
h1, h2, h3 {
text-align: center;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
.footer {
float: left;
height: 15vh;
vertical-align: middle;
width: 32vw;
}
.right {
text-align: right;
}
.left {
text-align: left;
}
.center {
text-align: center;
}
slide-deck div {
height: 80vh;
padding: 1em;
background: lightgray;
}
@media only screen and (max-width: 960px) {
.footer {
float: none;
width: 100%;
height: auto;
margin-top: 2px;
}
.right {
text-align: center;
}
.left {
text-align: center;
}
slide-deck div {
height: 75vh;
}
}
slide-controls {
height: 15vh;
width: 33vw;
text-align: center;
float: left;
}
nextslide {
display: none;
}