Skip to content

Commit

Permalink
split window, default larger font size, use accessible font
Browse files Browse the repository at this point in the history
  • Loading branch information
JRJurman committed Jan 28, 2024
1 parent 71b1954 commit cbee2e7
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion a11y_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,29 @@
}
</STYLE>

<!-- accessibility styling -->

<!-- include Atkinson Hyperlegible font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap" rel="stylesheet">

<style>
/* set window to be split into left right columns of equal size */
#body_0 {
display:grid;
grid-template-columns: 1fr 1fr;
}

/* make font large, and use atkinson hyperlegible font */
[pico-readout] {
font-family: "Atkinson Hyperlegible", sans-serif;
font-size: 3em;
}
</style>

<!-- end accessibility styling -->

</head>

<body style="padding:0px; margin:0px; background-color:#222; color:#ccc">
Expand All @@ -1020,7 +1043,7 @@
<!-- Add any content above the cart here -->


<div id="p8_frame_0" style="max-width:800px; max-height:800px; margin:auto;"> <!-- double function: limit size, and display only this div for touch devices -->
<div id="p8_frame_0" style="max-width:800px; max-height:800px;"> <!-- double function: limit size, and display only this div for touch devices -->
<div id="p8_frame" style="display:flex; width:100%; max-width:95vw; aspect-ratio: 1/1; max-height:95vh; margin:auto;">

<div id="p8_menu_buttons_touch" style="position:absolute; width:100%; z-index:10; left:0px;">
Expand Down

0 comments on commit cbee2e7

Please sign in to comment.