diff options
Diffstat (limited to 'project/assets/css')
| -rw-r--r-- | project/assets/css/default.css | 18 | ||||
| -rw-r--r-- | project/assets/css/kompsos.css | 20 |
2 files changed, 38 insertions, 0 deletions
diff --git a/project/assets/css/default.css b/project/assets/css/default.css index 287f03b..709ca7a 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -126,6 +126,24 @@ a.external { +div.header { + display: flex; + width: 100%; + align-items: center; +} + +div.header h2 { + flex-grow: 4; +} + +div.header a { + margin: 1em 1em 1em 1em; + height: 30px; /* For some reason needed to get the anchor to match the image. */ +} + + + + /* Display the navbar like a table to make it horizontal and evenly spaced. */ diff --git a/project/assets/css/kompsos.css b/project/assets/css/kompsos.css new file mode 100644 index 0000000..625330e --- /dev/null +++ b/project/assets/css/kompsos.css @@ -0,0 +1,20 @@ + + +table { + margin: 2em auto 2em auto; + border: 1px solid gray; +} + +table th { + padding: 0.5em 1em 0.5em 1em; + border: 1px solid gray; + text-align: center; +} + +table td { + padding: 0.5em 1em 0.5em 1em; + border: 1px solid gray; + text-align: right; +} + + |
