mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(mobile): make the title smaller
This commit is contained in:
parent
57c9e0477e
commit
89db97e97d
@ -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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user