227 lines
3.2 KiB
CSS
227 lines
3.2 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: darkgray;
|
|
}
|
|
|
|
#overlay {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background-color: rgba(20,20,20,0.7);
|
|
z-index: 2;
|
|
display: none;
|
|
}
|
|
|
|
.box {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: 15%;
|
|
width: auto;
|
|
height: auto;
|
|
min-width: 25%;
|
|
min-height: 25%;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
#import {
|
|
position: absolute;
|
|
top:0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
}
|
|
|
|
hr {
|
|
border-top: 1px solid black;
|
|
}
|
|
|
|
td {
|
|
height: 1.5em;
|
|
word-break: break-word;
|
|
}
|
|
|
|
table.week {
|
|
layout: fixed;
|
|
width: 100%;
|
|
height: 80%;
|
|
}
|
|
|
|
table.week th {
|
|
height: 2em;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
table.week tbody:nth-child(odd) tr:nth-child(odd) {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
table.week tbody:nth-child(even) tr:nth-child(even) {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
table.week thead th:nth-last-child(-n+2) {
|
|
width: 10%;
|
|
font-size: 80%;
|
|
}
|
|
|
|
table.week td:nth-last-child(-n+2) {
|
|
text-align: center;
|
|
}
|
|
|
|
table.week tbody:last-child tr:last-child td:first-child {
|
|
text-align: right;
|
|
}
|
|
|
|
.vtable {
|
|
width: 1em;
|
|
}
|
|
|
|
.vertical {
|
|
writing-mode: vertical-lr;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.sign {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 15%;
|
|
}
|
|
|
|
.sign table {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.sign table, .sign table td {
|
|
border: 1px solid black;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.sign td {
|
|
width: 50%;
|
|
}
|
|
|
|
.sign tr:last-child td {
|
|
height: 90%;
|
|
text-align: center;
|
|
vertical-align: bottom;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.page {
|
|
position: relative;
|
|
margin: auto;
|
|
margin-bottom: 0.25cm;
|
|
width: 21cm;
|
|
height: 29.7cm;
|
|
display: grid;
|
|
grid-template-rows: 2cm auto 2cm;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.page:nth-child(odd) {
|
|
grid-template-columns: 2.41cm auto 0.81cm;
|
|
}
|
|
|
|
.page:nth-child(even) {
|
|
grid-template-columns: 0.81cm auto 2.42cm;
|
|
}
|
|
|
|
.pg-head {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-row: 1 / 2;
|
|
grid-column: 2 / 3;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.pg-head .flex {
|
|
position: absolute;
|
|
top: 1cm;
|
|
text-align: center;
|
|
}
|
|
|
|
.pg-head img {
|
|
position: absolute;
|
|
top: .5cm;
|
|
height: .5cm;
|
|
}
|
|
|
|
.page:nth-child(odd) .pg-head img {
|
|
right: 0;
|
|
}
|
|
|
|
.pg-content {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-row: 2 / 3;
|
|
grid-column: 2 / 3;
|
|
}
|
|
|
|
.pg-footer {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-row: 3 / 4;
|
|
grid-column: 2 / 3;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
white-space: pre;
|
|
}
|
|
|
|
div.sticky {
|
|
position: sticky;
|
|
position: -webkit-sticky;
|
|
align-self: flex-start;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.flex {
|
|
width: 100%;
|
|
display: flex;
|
|
white-space: pre;
|
|
}
|
|
|
|
.eightyw {
|
|
width: 80%;
|
|
}
|
|
|
|
.halfw {
|
|
width: 50%;
|
|
}
|
|
|
|
.quarterw {
|
|
width: 25%;
|
|
}
|
|
|
|
.tenw {
|
|
width: 10%;
|
|
}
|
|
|
|
.halfh {
|
|
height: 50%;
|
|
}
|
|
|
|
@media print {
|
|
body, .page {
|
|
margin: none;
|
|
}
|
|
.sticky, button {
|
|
display: none;
|
|
}
|
|
}
|