Skip to content

Commit

Permalink
Show sidebar TOC starting at 1050px
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Jul 5, 2024
1 parent ffaa962 commit bb84ab4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions refgram/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,13 @@ table.conjunctionexamples th {
text-decoration: underline;
}

@media (min-width: 1200px) {
@media (min-width: 1050px) {
@media ( max-width: 1250px) {
.fixed-width > * {
padding: 0px 20px 0px 20px;
border: none;
}
}
.delta-refgram .toc {
position: fixed;
right: 0;
Expand All @@ -706,7 +712,8 @@ table.conjunctionexamples th {
display: block;
border-top: none;
border-bottom: none;
width: calc(min(15%, 250px));
width: 270px;
box-sizing: border-box;
overflow-y: hidden;
}
.toc-header {
Expand All @@ -716,7 +723,7 @@ table.conjunctionexamples th {
display: block;
}
.delta-refgram {
margin-left: calc(max(-15%, -250px));
padding-right: 270px;
position: relative;
}
}

0 comments on commit bb84ab4

Please sign in to comment.