Skip to content

Commit

Permalink
make website work better on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
dz4k committed Jul 9, 2024
1 parent a16d0fa commit eac3af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions www/build_web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const HypermediaSystems = new Book("Hypermedia Systems",
{
lang: "en",
htmlHead: `
<meta charset=utf8 name=viewport content=width_device-width>
<link rel="stylesheet" href="/style.css">
<script type="module" src="/color-customizer.js"></script>
<header class="book-header">
Expand Down
3 changes: 2 additions & 1 deletion www/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ label {

#sidebar, #important, #html-note {
font-size: .8em;
line-height: 1.5em;
padding: 0 1em;
display: flow-root;
font-family: var(--secondary);
Expand Down Expand Up @@ -444,8 +445,8 @@ label {

.quote-attribution {
margin-block-start: -1.3em;
padding-inline-start: 1em;
text-align: right;
font-size: .8em;
border-inline-start: 1px dotted var(--line-color);
}

Expand Down

0 comments on commit eac3af3

Please sign in to comment.