Skip to content

Commit

Permalink
Increase font size on narrow screens
Browse files Browse the repository at this point in the history
Improves readability on mobile devices.
  • Loading branch information
dl8dtl committed Jun 9, 2024
1 parent 0a444f3 commit b7806da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,14 @@ a:hover {
.toplogo { display: none; }
.row .col .logo { flex: 1 1 100%; }

/* For narrow screens (mobile devices), put logo on top instead. */
/* For narrow screens (mobile devices), put logo on top instead,
and increase font size. */
@media screen and (max-width : 1000px){
.row [class*="logo"] { display: none; }
.toplogo { display: block; }
.row [class*="col"] { width: 100%; padding: 0 0.6rem; }

body {
font-size: 20pt;
}
}

0 comments on commit b7806da

Please sign in to comment.