1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-19 00:18:09 +00:00

change font size

This commit is contained in:
Nebel 2022-09-07 20:46:43 +09:00
parent 624566a6d0
commit e8883d1ef4
4 changed files with 14 additions and 8 deletions

View file

@ -1,5 +1,5 @@
:root { :root {
font-size: 12px; font-size: 14px;
--nc-font-sans: sans-serif; --nc-font-sans: sans-serif;
--nc-font-mono: monospace; --nc-font-mono: monospace;
--nc-lk-1: #1875d1; --nc-lk-1: #1875d1;
@ -9,11 +9,13 @@
} }
body { body {
padding-inline: 1rem; padding-inline: 0.75rem;
max-inline-size: 80rem; max-inline-size: 80rem;
} }
header { header {
padding-block: 1.25rem;
margin-bottom: 0.75rem;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-evenly; justify-content: space-evenly;
@ -21,6 +23,7 @@ header {
header h1 { header h1 {
margin: 0; margin: 0;
font-size: 1.85rem;
} }
header h1 > :is(a, a:hover) { header h1 > :is(a, a:hover) {
@ -28,7 +31,7 @@ header h1 > :is(a, a:hover) {
} }
header nav > * { header nav > * {
font-size: 1.55rem; font-size: 1.25rem;
} }
a[href^="/"] { a[href^="/"] {

View file

@ -1,6 +1,7 @@
.card { .card {
margin: unset; margin: unset;
padding: 1rem; padding: 0.25rem 0.75rem;
font-size: 0.75rem;
aspect-ratio: 1; aspect-ratio: 1;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
@ -13,6 +14,7 @@
} }
.card h2 { .card h2 {
margin: unset;
padding: unset; padding: unset;
font-size: unset; font-size: unset;
} }

View file

@ -1,7 +1,7 @@
.cards { .cards {
display: grid; display: grid;
gap: 1rem; gap: 0.75rem;
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
} }
.cards > a:hover::after { .cards > a:hover::after {

View file

@ -1,5 +1,6 @@
.editor { .editor {
padding: 1rem; padding: 0.75rem;
font-size: 1rem;
box-sizing: border-box; box-sizing: border-box;
background-color: var(--nc-bg-2); background-color: var(--nc-bg-2);
color: var(--nc-tx-2); color: var(--nc-tx-2);
@ -11,7 +12,7 @@
.editor :is(h1, h2, h3, h4, h5, h6) { .editor :is(h1, h2, h3, h4, h5, h6) {
padding: unset; padding: unset;
font-size: unset; font-size: 1.25rem;
} }
.editor p { .editor p {