mirror of
https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator.git
synced 2026-04-12 08:45:05 +02:00
98 lines
1.4 KiB
CSS
98 lines
1.4 KiB
CSS
:root {
|
|
font-family: Arial, FreeSans, sans-serif;
|
|
}
|
|
form {
|
|
max-width: 210mm; /* DIN-A 4 */
|
|
margin: 0 auto;
|
|
padding: 0 5mm 5mm;
|
|
border: 2px solid black;
|
|
border-radius: 0 8mm 0 8mm;
|
|
}
|
|
h1 {
|
|
color: #009682;
|
|
text-align: center;
|
|
}
|
|
#source {
|
|
font-size: small;
|
|
}
|
|
label {
|
|
font-weight: bold;
|
|
}
|
|
#header {
|
|
display: grid;
|
|
grid: auto-flow / 2fr 1fr 1fr;
|
|
gap: 1mm;
|
|
}
|
|
#l-month {
|
|
grid-column: 2;
|
|
text-align: center;
|
|
}
|
|
#i-name,
|
|
#i-department,
|
|
#mhhr {
|
|
grid-column: 2 / 4;
|
|
}
|
|
#gfub {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
}
|
|
#mhhr {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
#i-monthlyhours {
|
|
width: 6ch;
|
|
}
|
|
#l-hourlywage {
|
|
padding-left: 4ch;
|
|
}
|
|
#i-hourlywage {
|
|
width: 8ch;
|
|
}
|
|
#carry {
|
|
grid-column: 2 / 4;
|
|
display: flex;
|
|
justify-content: end;
|
|
align-items: baseline;
|
|
}
|
|
#table {
|
|
display: grid;
|
|
grid: auto-flow / 3fr 1fr 1fr 1fr 1fr 1fr;
|
|
border: 1px solid black;
|
|
margin: 4mm 0;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
#table > * {
|
|
border: 1px solid black;
|
|
padding: 1px;
|
|
}
|
|
#task {
|
|
grid-row: 1 / 3;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.i-task {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
.i-day {
|
|
width: 6ch;
|
|
}
|
|
.i-dur {
|
|
width: 8ch;
|
|
}
|
|
button {
|
|
display: block;
|
|
margin: 0 auto;
|
|
font-size: 1.5em;
|
|
}
|
|
#info.success {
|
|
color: #070;
|
|
}
|
|
#info.error {
|
|
color: #900;
|
|
}
|