better mobile layout

This commit is contained in:
Jan Wolff 2022-11-26 13:58:02 +01:00
parent fd06881c6b
commit 83cbe179ac
2 changed files with 8 additions and 5 deletions

View file

@ -39,7 +39,7 @@ deploy:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- apt-get install rsync -y - apt-get install rsync -y
script: script:
- rsync -avz --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/new.janw.name/ - rsync -avz --delete --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/new.janw.name/
only: only:
- release - release
@ -56,6 +56,6 @@ deploy-draft:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- apt-get install rsync -y - apt-get install rsync -y
script: script:
- rsync -avz --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/draft.janw.name/ - rsync -avz --delete --rsh="ssh -p 17295" ./public/ janw-name@janw.name:/var/www/draft.janw.name/
only: only:
- main - main

View file

@ -14,7 +14,7 @@ body {
font-family: Catamaran, sans-serif; font-family: Catamaran, sans-serif;
max-width: 60em; max-width: 60em;
margin: auto; margin: auto;
padding: 1.5em; padding: 0.5rem;
hyphens: auto; hyphens: auto;
cursor: default; cursor: default;
} }
@ -36,7 +36,6 @@ header .subtitle {
.big-container { .big-container {
display: block; display: block;
padding: 1rem; padding: 1rem;
margin: 2rem;
} }
.sub-container { .sub-container {
@ -134,7 +133,7 @@ footer {
transition: opacity 0.2s; transition: opacity 0.2s;
} }
@media (max-width: 30em) { @media (max-width: 40rem) {
nav ul { nav ul {
float: none; float: none;
} }
@ -144,6 +143,10 @@ footer {
padding: 0; padding: 0;
margin: 0.2em 0; margin: 0.2em 0;
} }
ul.projecttoc li {
flex: 1 0 100%;
}
} }
a { a {