feat(mobile): make the title smaller

This commit is contained in:
Elian Doran 2025-02-08 10:27:22 +02:00
parent 57c9e0477e
commit 89db97e97d
No known key found for this signature in database
2 changed files with 10 additions and 2 deletions

View File

@ -45,7 +45,7 @@ kbd {
background: none; background: none;
border: none; border: none;
cursor: pointer; cursor: pointer;
font-size: 1.5em; font-size: 1.25em;
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
color: var(--main-text-color); color: var(--main-text-color);

View File

@ -18,13 +18,21 @@ const TPL = `
} }
.note-title-widget input.note-title { .note-title-widget input.note-title {
font-size: 180%; font-size: 110%;
border: 0; border: 0;
margin: 2px 0px; margin: 2px 0px;
min-width: 5em; min-width: 5em;
width: 100%; width: 100%;
} }
body.mobile .note-title-widget input.note-title {
padding: 0;
}
body.desktop .note-title-widget input.note-title {
font-size: 180%;
}
.note-title-widget input.note-title.protected { .note-title-widget input.note-title.protected {
text-shadow: 4px 4px 4px var(--muted-text-color); text-shadow: 4px 4px 4px var(--muted-text-color);
} }