mobile friendly

This commit is contained in:
Gabriel 2024-01-21 00:18:09 -05:00
parent 9f3107b6e7
commit 1a8ce154b6

View file

@ -35,8 +35,19 @@ header {
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
@media screen and (orientation:portrait) {
header img {
display: none
}
header {
font-size: 14px;
line-height: 18px;
}
}
a { a {
color: var(--theme-accent); color: var(--theme-accent);
word-wrap: break-word;
} }
header a { header a {
@ -46,6 +57,7 @@ header a {
header>* { header>* {
margin-left: 0.25rem; margin-left: 0.25rem;
margin-right: 0.25rem; margin-right: 0.25rem;
border: 0 transparent;
} }
header nav { header nav {
@ -89,6 +101,13 @@ article {
max-width: 90vw; max-width: 90vw;
} }
@media screen and (orientation:portrait) {
article {
font-size: 16px;
line-height: 19px;
}
}
article h3, article h3,
section h3, section h3,
article h4, article h4,
@ -160,8 +179,7 @@ article code>span {
} }
code, code,
pre, pre {
a {
word-wrap: break-word; word-wrap: break-word;
white-space: break-spaces; white-space: break-spaces;
} }