Added initial hello-world module.

This commit is contained in:
Lewin Probst 2020-12-22 18:39:57 +01:00
parent 7e85f8a1a0
commit 04d445534f
5 changed files with 151 additions and 0 deletions

22
css/000-modulewrapper.css Normal file
View file

@ -0,0 +1,22 @@
.modulewrapper {
position: relative;
width: 100%;
padding: 1em 0;
}
.modulewrapper::before, .modulewrapper::after {
content: "";
width: 100%;
height: 1px;
background: lightgray;
position: absolute;
left: 0;
}
.modulewrapper::before {
top: 0;
}
.modulewrapper::after {
bottom: 0;
}

37
css/001-main.css Normal file
View file

@ -0,0 +1,37 @@
table {
position: relative;
width: 80ch;
margin: 2em 0;
}
thead::after {
content: "";
width: 100%;
height: 1px;
position: absolute;
background: black;
}
td, tr, th {
margin: 0;
padding: .2em;
position: relative;
}
th:first-child {
width: 30%;
}
th:last-child {
width: 70%;
}
td:last-child::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 1px;
height: calc(100% + .4em);
background: black;
}