feat: mobile support

This commit is contained in:
Barrett Ruth 2025-06-02 11:06:58 -05:00
parent 23267c98a2
commit bd9511ff65
4 changed files with 52 additions and 0 deletions

View file

@ -74,3 +74,13 @@ pre {
"liga" 0,
"calt" 0;
}
@media (max-width: 768px) {
header {
font-size: 0.9em;
}
footer {
font-size: 0.9em;
}
}

View file

@ -71,3 +71,13 @@ ul {
width: 100%;
right: 0;
}
@media (max-width: 768px) {
.topics {
font-size: 1.8em;
}
.posts {
font-size: 1.2em;
}
}

View file

@ -150,3 +150,16 @@ pre * {
font-weight: normal;
}
@media (max-width: 768px) {
.post-title {
font-size: 1.8em;
}
.post-meta {
font-size: 1.2em;
}
.post-article {
font-size: 1em;
}
}

View file

@ -135,4 +135,23 @@ const promptText = topic ? `barrett@ruth:~$ ${topic}` : "barrett@ruth:~$";
margin-left: 25px;
text-decoration: none;
}
@media (max-width: 768px) {
header {
flex-direction: column;
align-items: flex-start;
}
.header-links {
align-self: flex-end;
display: flex;
flex-direction: column;
text-align: right;
gap: 5px;
}
.header-links a {
margin-left: 0;
}
}
</style>