vanillajs-deck/css/style.css

155 lines
2.0 KiB
CSS
Raw Normal View History

2019-11-22 19:28:19 +00:00
body {
padding: 5px;
2019-11-23 01:09:42 +00:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 3vh;
2019-11-23 01:09:42 +00:00
}
2019-11-26 20:05:41 +00:00
br {
clear: both;
}
label {
display: block;
}
label > div, input {
float: left;
width: 40vw;
}
button, input {
font-size: 3vh;
2019-11-23 21:04:33 +00:00
}
2019-11-26 20:05:41 +00:00
input {
padding: 1px;
}
2019-11-23 21:04:33 +00:00
pre {
background-color: black;
overflow-x: auto;
word-break: normal;
word-wrap: normal;
white-space: pre;
border: solid 1px gray;
padding: 0.5em;
color: lightgreen;
font-family: "consolas", sans-serif
}
video {
height: 40vh;
max-width: 90vw;
display: block;
margin-left: auto;
margin-right: auto;
}
2019-11-23 21:04:33 +00:00
slide-deck img {
display: block;
max-height: 60vh;
2019-11-23 21:04:33 +00:00
margin-left: auto;
margin-right: auto;
2019-11-23 01:09:42 +00:00
}
slide-deck img.expandable:hover {
margin-top: -20vh;
max-height: 80vh;
}
2019-11-23 01:09:42 +00:00
@media only screen and (max-width: 800px) {
body {
font-size: 14px;
}
2019-11-26 20:05:41 +00:00
button, input {
2019-11-23 01:09:42 +00:00
font-size: 14px;
}
2019-11-26 20:05:41 +00:00
label > div, input {
width: 90vw;
}
2019-11-23 01:09:42 +00:00
}
@media only screen and (max-width: 1200px) {
body {
font-size: 2vh;
2019-11-23 01:09:42 +00:00
}
2019-11-26 20:05:41 +00:00
button, input {
font-size: 2vh;
2019-11-23 01:09:42 +00:00
}
2019-11-22 19:28:19 +00:00
}
h1, h2, h3 {
text-align: center;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
.appear {
display: none;
}
2019-11-23 00:37:45 +00:00
.footer {
float: left;
height: 15vh;
vertical-align: middle;
width: 32vw;
2019-11-22 19:28:19 +00:00
}
2019-11-23 00:37:45 +00:00
.right {
text-align: right;
2019-11-22 19:28:19 +00:00
}
2019-11-23 00:37:45 +00:00
.left {
text-align: left;
2019-11-22 19:28:19 +00:00
}
2019-11-23 00:37:45 +00:00
.center {
text-align: center;
}
2019-11-26 20:05:41 +00:00
slide-deck > div {
2019-11-23 00:37:45 +00:00
height: 80vh;
padding: 1em;
}
2019-11-23 01:09:42 +00:00
@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;
}
2019-11-26 20:05:41 +00:00
slide-deck > div {
2019-11-23 01:09:42 +00:00
height: 75vh;
}
}
2019-11-23 00:37:45 +00:00
slide-controls {
2019-11-22 19:28:19 +00:00
height: 15vh;
2019-11-23 00:37:45 +00:00
width: 33vw;
text-align: center;
float: left;
2019-11-22 19:28:19 +00:00
}
2019-11-23 20:07:22 +00:00
nextslide, transition {
2019-11-22 19:28:19 +00:00
display: none;
}