Skip to content

Commit

Permalink
font sizing compromise + border homogeneity cross-browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Papel committed Dec 3, 2023
1 parent 89e4bcf commit 1d6872d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
20 changes: 13 additions & 7 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

--hover-color: #2d364e;

font-size: .9em;
font-size: 1em;
}

*.material-icons-round {
Expand Down Expand Up @@ -53,11 +53,23 @@ button, input, select, option, textarea, summary {
margin: .75%;
background-color: var(--secondary-color);
border-color: var(--primary-border-color);
border-style: solid;
border-width: .13rem;
color: white;
font-size: 1rem;
padding: 0.13rem 0.25rem;
}
button, summary {
cursor: default;
border-bottom-color: black;
border-right-color: black;
background-color: var(--primary-color);
white-space: nowrap;
}
input, select, option, textarea {
border-top-color: black;
border-left-color: black;
}

:has(input):focus-within > button.clear {
display: block;
Expand Down Expand Up @@ -87,12 +99,6 @@ button:disabled, input:disabled, select:disabled, option:disabled, textarea:disa
opacity: 0.5;
box-shadow: 0 0 100vmax #55555555 inset;
}
button, summary {
cursor: default;
border-style: outset;
background-color: var(--primary-color);
white-space: nowrap;
}
summary {
text-align: left;
padding-left: 0.5rem;
Expand Down
4 changes: 3 additions & 1 deletion client/src/menu/anchor.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
box-shadow: 0 0 .5rem #0007;

border-radius: 0.4rem;
border-style: outset;
border-style: solid;
padding: .5rem;
background-color: var(--secondary-color);
border-color: var(--primary-border-color);
border-bottom-color: black;
border-right-color: black;
border-width: .13rem;
color: white;

Expand Down

1 comment on commit 1d6872d

@vercel
Copy link

@vercel vercel bot commented on 1d6872d Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mafia-game – ./

mafia-game-git-00x-main-itssammym.vercel.app
mafia-game.vercel.app
mafia-game-itssammym.vercel.app

Please sign in to comment.