Skip to content

Commit

Permalink
Improve font size and overflow handling
Browse files Browse the repository at this point in the history
  • Loading branch information
roym899 committed Jun 4, 2024
1 parent d8e6565 commit a1a729d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ body {
align-items: center;
font-family: Open Sans,Arial;
color: #454545;
font-size: 100% !important;
max-width: 1000px;
max-width: min(1000px, 100vw);
margin: 0 auto;
padding: 1em;
line-height: 1.4;
Expand All @@ -15,6 +14,7 @@ body {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
font-size: min(3.2vw, 1em);
}
.last-updated {
font-size: 0.8em;
Expand All @@ -24,6 +24,7 @@ body {
display: flex;
flex-direction: column;
align-items: center;
max-width: 100%;
}
.header .title {
display: block;
Expand Down Expand Up @@ -54,6 +55,8 @@ body {
display: flex;
flex-direction: row;
justify-content: center;
max-width: 100%;
overflow-x: auto;
}
a.link {
display: flex;
Expand Down Expand Up @@ -84,6 +87,8 @@ a.link:active {
border-radius: 0.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
max-width: 100%;
overflow-x: auto;
}
.tab:first-child {
border-top-left-radius: 0.5em;
Expand Down Expand Up @@ -119,7 +124,7 @@ a.link:active {

.content {
display: flex;
max-width: 800px;
max-width: min(800px, 100%);
flex-direction: column;
align-items: stretch;
text-align: justify;
Expand Down Expand Up @@ -183,5 +188,4 @@ video {

button {
color: #454545;
font-size: 100% !important;
}

0 comments on commit a1a729d

Please sign in to comment.