diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-04-25 17:51:14 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-04-25 17:51:14 +0200 |
| commit | ec8ffec872a4b6dd35b309e4f5448cf7989d6652 (patch) | |
| tree | ba8286ac3e8032f1feb323c4431d90afa5140708 /templates | |
| parent | 183ac879a0ee74d7bdfabb11c51a29e4a64f1e7f (diff) | |
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/names_template.html | 8 | ||||
| -rw-r--r-- | templates/person_template.html | 13 |
2 files changed, 17 insertions, 4 deletions
diff --git a/templates/names_template.html b/templates/names_template.html index 03e617cd..9ebdd4fd 100644 --- a/templates/names_template.html +++ b/templates/names_template.html @@ -62,9 +62,15 @@ text-align: center; padding: 0; display: flex; - width: 600px; + max-width: 600px; margin: auto; } + + @media (max-width: 550px) { + .navbar ul { + display: block; + } + } a,a:active,a:hover { color: black; } diff --git a/templates/person_template.html b/templates/person_template.html index 7de07f53..d4cc049e 100644 --- a/templates/person_template.html +++ b/templates/person_template.html @@ -62,9 +62,16 @@ text-align: center; padding: 0; display: flex; - width: 600px; + max-width: 600px; margin: auto; } + + @media (max-width: 550px) { + .navbar ul { + display: block; + } + } + a,a:active,a:hover { color: black; } @@ -85,7 +92,7 @@ .person-list { display: flex; flex-direction: row; - width: 1200px; + max-width: 1200px; margin: auto; } .person { @@ -123,7 +130,7 @@ .parents { display: flex; flex-direction: row; - width: 1200px; + max-width: 1200px; margin: auto; } .parents .person { |
