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

Adjust layout for larger screens to handle column text length #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all 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
29 changes: 29 additions & 0 deletions css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,33 @@ img {
margin-left:61.8%;
}

@media (min-width: 80em) {
#supp {
margin-left: 780px;
}
}

#main h1, #main h2, #main p, #main pre, #main ul, #main ol, #main dl, #supp ul, #supp h3, #supp ol, #supp p, form, .example, #supp #deck {
padding: 0 11.8%;
}

@media (min-width: 80em) {
#main {
width: auto;
}

#main h1, #main h2, #main p, #main pre, #main ul, #main ol, #main dl, #supp ul, #supp h3, #supp ol, #supp p, form, .example, #supp #deck {
max-width: 780px;
}

h1 span,
#toc li span,
.thumb
{
max-width: 92px;
}
}

h1 span, #supp span, #toc li span, .quote-from-book .ic, .thumb {
position: absolute;
text-align:right;
Expand Down Expand Up @@ -569,6 +592,12 @@ div.ex2-1-9 {
margin-left: 10em;
}

@media (min-width: 80em) {
.ex2-2-2 .basictext {
max-width: 505px !important;
}
}

.ex2-2-2 .sidenote {
width: 9.6em;
position: absolute;
Expand Down