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
- apt-get install rsync -y
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:
- release
@ -56,6 +56,6 @@ deploy-draft:
- chmod 644 ~/.ssh/known_hosts
- apt-get install rsync -y
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:
- main

View file

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