feat[style.css dark.js] Better visibility

Decreased maximum website width.
Increased font size on light/dark selector.
This commit is contained in:
Judah Sotomayor 2023-10-15 18:37:22 -04:00
parent af33766176
commit 5c0e8d9d4f
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ body {
line-height: 1.5em;
font-size: 2.1em;
color: #222;
max-width: 90%;
max-width: 70%;
padding: 2rem;
margin: auto;
background: #fafafa;

View File

@ -5,7 +5,7 @@
// license: PD
// Author: Judah Sotomayor
// Date: 2023-10-15
// When: <2023-10-15 Sun 14:26>
// When: <2023-10-15 Sun 18:37>
/* For gwern.net, the default white-black */
/* scheme is 'light', and it can be flipped to a 'dark' scheme fairly easily by inverting it; the main visual problem is */
@ -288,9 +288,9 @@ function injectModeSelector() {
margin: 0;
line-height: 1;
font-family: Lucida Sans Unicode, Source Sans Pro, Helvetica, Trebuchet MS, sans-serif;
font-size: 0.75rem;
font-size: 0.99rem;
text-align: center;
color: #777;
color: #000;
position: relative;
}
#mode-selector button:hover,