Scaling tweaks
This commit is contained in:
parent
519f8a77d9
commit
ec52e33b0d
|
@ -87,6 +87,7 @@ body:has(.bytemd-fullscreen) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
|
font-size: 1rem;
|
||||||
color: var(--editor-text);
|
color: var(--editor-text);
|
||||||
background-color: var(--editor-bg);
|
background-color: var(--editor-bg);
|
||||||
}
|
}
|
||||||
|
@ -133,3 +134,11 @@ body:has(.bytemd-fullscreen) {
|
||||||
--editor-bg: var(--note-color, hsl(0 0% 80%));
|
--editor-bg: var(--note-color, hsl(0 0% 80%));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.bytemd {
|
||||||
|
.CodeMirror {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -75,10 +75,9 @@
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.note-list {
|
.note-list {
|
||||||
--note-width: 350px;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(0, var(--note-width)));
|
grid-template-columns: repeat(auto-fill, minmax(0, calc(var(--note-height, 385px) * 0.92)));
|
||||||
grid-auto-rows: var(--note-height, calc(var(--note-width) * 1.1));
|
grid-auto-rows: var(--note-height, 385px);
|
||||||
gap: var(--note-gap, 1rem);
|
gap: var(--note-gap, 1rem);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: var(--scroll-height, auto);
|
height: var(--scroll-height, auto);
|
||||||
|
|
|
@ -57,10 +57,10 @@
|
||||||
|
|
||||||
&__tag,
|
&__tag,
|
||||||
&__textbox input {
|
&__textbox input {
|
||||||
font-size: 0.8rem;
|
font-size: 1rem;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0 0.4rem;
|
padding: 0 0.5em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
&__tag {
|
&__tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.3rem;
|
gap: 0.4em;
|
||||||
border: 1px solid hsl(0 0% 0% / 0.4);
|
border: 1px solid hsl(0 0% 0% / 0.4);
|
||||||
border-radius: 0.8em;
|
border-radius: 0.8em;
|
||||||
}
|
}
|
||||||
|
@ -99,4 +99,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.note-tags {
|
||||||
|
&__tag,
|
||||||
|
&__textbox input {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
time {
|
time {
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
|
text-align: right;
|
||||||
color: hsl(0 0% 0% / 0.5);
|
color: hsl(0 0% 0% / 0.5);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue