feat: tweak font size for web app (#7329)

This commit is contained in:
Rukario
2025-11-02 09:52:54 -08:00
committed by GitHub
parent 78c50747cc
commit 50e0ffb910

View File

@@ -247,6 +247,7 @@ body {
font-family: font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
-webkit-text-size-adjust: none;
height: 100%; height: 100%;
margin: 0; margin: 0;
} }
@@ -513,7 +514,6 @@ a {
} }
.torrent-name { .torrent-name {
font-weight: bold;
grid-area: name; grid-area: name;
margin-bottom: 2px; margin-bottom: 2px;
margin-top: 2px; margin-top: 2px;
@@ -521,14 +521,13 @@ a {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
&.compact { &:not(.compact) {
font-size: 1em; font-weight: bold;
font-weight: normal;
} }
} }
.torrent-labels { .torrent-labels {
font-size: small; font-size: 12px;
font-weight: normal; font-weight: normal;
grid-area: labels; grid-area: labels;
margin-bottom: 2px; margin-bottom: 2px;
@@ -540,7 +539,6 @@ a {
&.compact { &.compact {
flex: 1; flex: 1;
font-size: small;
} }
} }
@@ -929,7 +927,6 @@ a {
border: 1px solid transparent; border: 1px solid transparent;
border-radius: 6px; border-radius: 6px;
color: var(--color-fg-primary); color: var(--color-fg-primary);
font-weight: 400;
} }
} }
@@ -990,10 +987,6 @@ a {
} }
} }
label {
font-weight: 500;
}
:not(.section-label) { :not(.section-label) {
// this section is not copied // this section is not copied
overflow-x: hidden; overflow-x: hidden;
@@ -1376,7 +1369,6 @@ a {
.context-menuitem { .context-menuitem {
font-size: 13px; font-size: 13px;
font-weight: 400;
list-style: none; list-style: none;
padding: 5px 15px; padding: 5px 15px;
@@ -1385,7 +1377,6 @@ a {
background-color: var(--color-bg-hover); background-color: var(--color-bg-hover);
border-radius: 6px; border-radius: 6px;
cursor: pointer; cursor: pointer;
font-weight: 500;
} }
&:disabled { &:disabled {