Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix site layout #129

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,11 @@ section[view] h1 {

pre, code {
border-radius: 0.7em;
background: rgb(30,30,30);
}

pre > code {

}
code {
margin: 0 0.5em;
padding: 0 0.5em;
Expand All @@ -165,7 +167,10 @@ code {
pre {
overflow: scroll;
text-align: center;
margin: 0 6em 1.612em;
border-radius: 7.7em;
margin: 0 2em 1.612em;
background: rgb(30,30,30);
border: 30px double #3b3b3b;
}

section#installation pre em.comment
Expand Down Expand Up @@ -206,13 +211,12 @@ section#installation pre em.comment
/* HOLY GRAIL */

body { display: flex; flex-flow: column }
body > main, body > aside { flex: 1 }

@media (orientation: landscape) {

body { flex-flow: row wrap }
body > main { margin-left: 20vw; flex-basis: 55vw; max-width: 55vw; }
body > aside { flex-basis: 25vw }
body > aside { flex-basis: 24vw } /* This should be 25 WTF? */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is everything border-box? that can add some surprise outer size to things

body > nav {
top: 0;
left: 0;
Expand Down