Improve the templates.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user