diff options
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 { |
