Line 379: | Line 379: | ||
padding: 5px; | padding: 5px; | ||
padding-right: 1vw; | padding-right: 1vw; | ||
− | text-align: | + | text-align: center; |
} | } | ||
Line 398: | Line 398: | ||
} | } | ||
− | .float-toc | + | .float-toc h3 { |
padding: 0; | padding: 0; | ||
padding-top: 75px; /* anchor jump offset */ | padding-top: 75px; /* anchor jump offset */ | ||
margin-top: -75px; | margin-top: -75px; | ||
− | + | background-color: #DDDDDD; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 417: | Line 413: | ||
display: block; | display: block; | ||
/* padding: calc((100vh - 150px - 20px*10)/(2*11)) 1em; */ | /* padding: calc((100vh - 150px - 20px*10)/(2*11)) 1em; */ | ||
− | padding: calc((100vh - (150px + 84px) - 30px* | + | padding: calc((100vh - (150px + 84px) - 30px*10)/(2*10)) 1em; /* In Style of page, replace "9"s with number of items in list */ /* calc((viewportHeight - (spaceAboveFirstItem + footerHeight) - heightOfTextAndSpaces*numberOfItems)/(twoPaddings*numberOfItems)) */ |
border-radius: 7px; | border-radius: 7px; | ||
/* background-color: var(--main-div-color, #545454); */ | /* background-color: var(--main-div-color, #545454); */ |
Revision as of 17:23, 20 September 2018