Improve the templates.

This commit is contained in:
2016-08-25 01:26:17 +02:00
parent 398b84cd75
commit 207b0e5a18
4 changed files with 23 additions and 13 deletions

View File

@@ -5,21 +5,21 @@ body {
}
#body {
width: 40em;
padding: 0.5em;
width: 600px;
padding: 20px;
margin: 0 auto;
}
/* BEGIN HACK */
#body-behind {
margin: 0 auto;
width: calc(41em + (100% - 41em) / 3);
width: calc(640px + (100% - 640px) / 3);
}
#body-behind > div {
position: fixed;
top: 0;
width: calc(41em + (100% - 41em) / 3);
width: calc(640px + (100% - 640px) / 3);
height: 100%;
z-index: -1;
transform: skewX(-2deg);
@@ -30,7 +30,7 @@ body {
header {
background-color: #FF00D3;
padding: 0.5em;
padding: 20px;
}
header a, header a:visited {
@@ -40,17 +40,22 @@ header a, header a:visited {
.video-section {
background-color: #2EE2FF;
margin-top: 1em;
padding: 0.5em;
margin-top: 20px;
padding: 20px;
}
.video-section > div {
text-align: center;
height: [thumbnail_height]px
}
.video-showing {
background-color: #FF8C00;
margin-top: 1em;
padding: 0.5em;
margin-top: 20px;
padding: 20px;
position: absolute;
left: calc((100% - 58em) / 2);
width: 57em;
left: calc((100% - 800px) / 2);
width: 760px;
}
p.signature {