Skip to content

Commit

Permalink
Use more consistent font sizing throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Oct 2, 2024
1 parent 67506e4 commit 8ecce6f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 0 additions & 2 deletions ui/frontend/ConfigElement.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.name {
flex: 1;
font-size: 13px;
}

.notDefault {
Expand Down Expand Up @@ -46,7 +45,6 @@
padding: 0 1em;
color: #777;
font-weight: 600;
font-size: 11px;
text-align: center;
text-transform: uppercase;

Expand Down
2 changes: 1 addition & 1 deletion ui/frontend/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

.container {
font-size: 12px;
font-size: var(--secondary-font-size);
padding: 1.25em 0;
justify-content: space-between;
}
2 changes: 1 addition & 1 deletion ui/frontend/MenuGroup.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
border-bottom: 1px solid var(--header-main-border);
padding-bottom: 10px;
font-weight: 700;
font-size: 11px;
font-size: var(--secondary-font-size);
text-transform: uppercase;
}

Expand Down
2 changes: 1 addition & 1 deletion ui/frontend/PopButton.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $arrow-width: 20px;

.container {
z-index: 10;
font-size: 12px;
font-size: var(--secondary-font-size);

& button:enabled {
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion ui/frontend/Stdin.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

.buttons {
font-size: 11px;
font-size: var(--secondary-font-size);
}

.menu {
Expand Down
4 changes: 3 additions & 1 deletion ui/frontend/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
:root {
/* Fonts */
--primary-font: 'Open Sans', sans-serif;
--primary-font-size: 18px;
--secondary-font-size: calc(0.75 * var(--primary-font-size));

/* Header */
--header-transition: 0.2s ease-in-out;
Expand Down Expand Up @@ -212,7 +214,7 @@ body {
padding: 0 1em;
font-family: var(--primary-font);
font-optical-sizing: auto;
font-size: 18px;
font-size: var(--primary-font-size);
}

/* stylelint-disable-next-line selector-class-pattern */
Expand Down
1 change: 0 additions & 1 deletion ui/frontend/shared.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

.-menuItemTitle {
font-weight: 600;
font-size: 13px;
}

.-menuItemFullButton {
Expand Down

0 comments on commit 8ecce6f

Please sign in to comment.