More accessible font sizes

This commit is contained in:
James Lyne 2020-12-15 22:12:57 +00:00
parent e23842574d
commit 1147b46c4b
3 changed files with 18 additions and 4 deletions

View File

@ -70,6 +70,7 @@ export default defineComponent({
flex-direction: column; flex-direction: column;
padding: 1rem; padding: 1rem;
width: 23rem; width: 23rem;
font-size: 1.5rem;
will-change: transform; will-change: transform;
pointer-events: none; pointer-events: none;

View File

@ -4,6 +4,7 @@
margin: 0; margin: 0;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: hidden;
font-size: 1.5rem;
a, button { a, button {
@extend %button; @extend %button;
@ -65,17 +66,17 @@
padding: 0.5rem 1.5rem; padding: 0.5rem 1.5rem;
.value { .value {
font-size: 1.6rem;
line-height: 1; line-height: 1;
font-family: monospace; font-family: monospace;
white-space: pre; white-space: pre;
font-size: 2rem;
&[data-label]:before { &[data-label]:before {
content: attr(data-label); content: attr(data-label);
display: block; display: block;
line-height: 1; line-height: 1;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-size: 1.4rem; font-size: 1.25rem;
font-family: Raleway, sans-serif;; font-family: Raleway, sans-serif;;
} }
@ -152,6 +153,7 @@
.leaflet-bottom { .leaflet-bottom {
padding-bottom: 1rem; padding-bottom: 1rem;
align-items: stretch;
&.leaflet-left .leaflet-control + .leaflet-control { &.leaflet-left .leaflet-control + .leaflet-control {
margin-left: 1rem; margin-left: 1rem;

View File

@ -65,7 +65,8 @@
} }
html { html {
font-size: .625em; font-size: 62.5%;
font: -apple-system-body;
} }
body { body {
@ -73,7 +74,6 @@ body {
color: $global-text-color; color: $global-text-color;
text-shadow: 0.1rem 0.1rem #000000; text-shadow: 0.1rem 0.1rem #000000;
letter-spacing: 0.02rem; letter-spacing: 0.02rem;
font-size: 1.2em;
} }
html, body { html, body {
@ -488,3 +488,14 @@ div.statusmessage {
.pinnedloginbutton { .pinnedloginbutton {
margin-right: 201px; margin-right: 201px;
} }
.leaflet-container {
font-family: inherit;
font-size: 1.5rem;
font-weight: inherit;
line-height: 1;
}
.leaflet-players-pane {
z-index: 600;
}