Skip to content

Commit

Permalink
limit content width
Browse files Browse the repository at this point in the history
  • Loading branch information
ading2210 committed May 25, 2023
1 parent 3b9eea4 commit 6938f49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ <h1>Defog Your Chromebook</h1>
</a>
</div>

<div style="height:170vh">
<div id="spacer" style="height: 30px;">
<script>document.getElementById("spacer").style.height = "170vh"</script>
</div>

<div class="description" id="instructions">
Expand Down
5 changes: 3 additions & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ body {
padding: 12px;
margin-top: 64px;
z-index: 1;
width: 100%
}
#content h1 {
margin-bottom: 4px;
Expand All @@ -66,7 +65,7 @@ body {
align-items: center;
}
.description > * {
max-width: 80%;
max-width: min(80%, 800px);
}
.description p {
font-size: 17px;
Expand Down Expand Up @@ -105,6 +104,8 @@ body {

pre {
font-family: monospace;
word-wrap: break-word;
white-space: pre-wrap;
}

button2 {
Expand Down

0 comments on commit 6938f49

Please sign in to comment.