Skip to content

Commit

Permalink
Improve font stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcparkyn committed Dec 24, 2023
1 parent 8a4964d commit 0a6aef2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
background-color: var(--col-bg);
}

@font-face {
font-family: 'System Mono';
src:
local('Consolas'),
local('Lucida Sans Typewriter'),
local('monaco'),
local('monospace');
}

main {
display: grid;
grid-template-columns: auto;
Expand Down Expand Up @@ -123,7 +132,7 @@ dialog > form {
.cell-selected::before {
font-size: 35px;
opacity: 0.6;
font-family: monospace;
font-family: 'System Mono';
text-align: center;
position: absolute;
width: var(--cell-size);
Expand Down Expand Up @@ -253,7 +262,7 @@ dialog > form {
}

.score-header {
font-family: monospace;
font-family: 'System Mono';
font-size: 1.5em;
}

Expand All @@ -275,7 +284,7 @@ dialog > form {

.bottom-action-buttons > button {
font-size: 1.8em;
font-family: Consolas, monospace;
font-family: 'System Mono';
padding: 8px 12px;
}

Expand Down

0 comments on commit 0a6aef2

Please sign in to comment.