diff --git a/fn/common.php b/fn/common.php index 5c73c4c..3382de8 100644 --- a/fn/common.php +++ b/fn/common.php @@ -62,17 +62,18 @@ function query($action, $table, $conditions = [], $column = NULL) { } function displayIndex() { ?> -
+
+ *:not(table, pre), footer { max-width: 40rem; } +main > nav { + max-width: 30rem; +} + header, main > *, footer { margin-left: auto; margin-right: auto; } -code { - line-height: var(--font-size) + 6%; - font-size: var(--font-size); -} - -nav { - display: inline-block; -} - header { text-align: center; margin-top: 0.8rem; @@ -73,6 +68,10 @@ abbr { text-decoration: underline 0.2em dotted; } +pre { + margin: 0; +} + a { text-decoration: underline var(--svc-color) 0.2em; color: var(--foreground-color); diff --git a/public/index.php b/public/index.php index c1613af..3aaadab 100644 --- a/public/index.php +++ b/public/index.php @@ -1,28 +1,30 @@ -
-
-
- -
- -
-
- -
- - -
-
- -
- - -
-
- -
- -
+