(21 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
#content {margin-left: 0px; margin-top: -9px; padding: 0px; width: 100%;} | #content {margin-left: 0px; margin-top: -9px; padding: 0px; width: 100%;} | ||
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {margin-bottom: 0px;} | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {margin-bottom: 0px;} | ||
+ | #globalWrapper{padding-bottom: 0 !important;} | ||
body {background-color: white;} | body {background-color: white;} | ||
Line 39: | Line 40: | ||
--second-txt-font: 'roboto', sans-serif; /* 'Ailerons-Typeface' didn't work. Figure out how to use font from ttf files? */ | --second-txt-font: 'roboto', sans-serif; /* 'Ailerons-Typeface' didn't work. Figure out how to use font from ttf files? */ | ||
− | + | /* --sectionTitle-txt-color: #f52153; */ /* poppy red */ | |
+ | --sectionTitle-txt-color: #e91b63; /* poppy pink */ | ||
--referenceLink-txt-color: #0C5798; /* grey blue */ | --referenceLink-txt-color: #0C5798; /* grey blue */ | ||
} | } | ||
Line 166: | Line 168: | ||
min-width: 160px; | min-width: 160px; | ||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
− | + | /* z-index: -1; */ | |
background-color: var(--navbar-div-color, #adaabe94); | background-color: var(--navbar-div-color, #adaabe94); | ||
} | } | ||
Line 335: | Line 337: | ||
height: 1000px; /* big enough to hold list of any size */ | height: 1000px; /* big enough to hold list of any size */ | ||
width: 15vw; | width: 15vw; | ||
+ | min-width: 200px; | ||
padding: 5px; | padding: 5px; | ||
padding-left: 2vw; | padding-left: 2vw; | ||
text-align: right; | text-align: right; | ||
+ | transition: .3s; | ||
} | } | ||
Line 353: | Line 357: | ||
.float-toc h6 { | .float-toc h6 { | ||
padding: 0; | padding: 0; | ||
+ | padding-top: 75px; /* anchor jump offset */ | ||
+ | margin-top: -75px; | ||
+ | |||
} | } | ||
Line 389: | Line 396: | ||
padding: calc((100vh - (150px + 84px) - 30px*9)/(4*9)) 1em; /* In Style of page, replace "9"s with number of items in list */ /* calc((viewportHeight - (spaceAboveFirstItem + footerHeight) - heightOfTextAndSpaces*numberOfItems)/(twoPaddings*numberOfItems)) */ | padding: calc((100vh - (150px + 84px) - 30px*9)/(4*9)) 1em; /* In Style of page, replace "9"s with number of items in list */ /* calc((viewportHeight - (spaceAboveFirstItem + footerHeight) - heightOfTextAndSpaces*numberOfItems)/(twoPaddings*numberOfItems)) */ | ||
background-color: #f11346; /* poppy red, darker */ | background-color: #f11346; /* poppy red, darker */ | ||
+ | background-color: #e91b63; /* poppy red, darker */ | ||
} | } | ||
Line 422: | Line 430: | ||
.scroll-to-top img { | .scroll-to-top img { | ||
− | width: calc( | + | width: calc(35px + (20 * ((100vw - 800px) / 800))); |
+ | padding: 10px; | ||
+ | margin: -10px; | ||
+ | opacity: 0.25; | ||
+ | transition: .3s; | ||
+ | } | ||
+ | |||
+ | .scroll-to-top img:hover { | ||
+ | opacity: 1; | ||
} | } | ||
Line 453: | Line 469: | ||
} | } | ||
− | + | .toc-body .flex-row { /* TODO: delete .flex-row.toc-width once confirmed first works */ | |
padding: 0 20%; | padding: 0 20%; | ||
} | } | ||
Line 465: | Line 481: | ||
} | } | ||
− | + | .toc-body .flex-col { | |
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
Line 649: | Line 665: | ||
color: white; | color: white; | ||
padding: 18px 20px; | padding: 18px 20px; | ||
− | width: | + | width: 20%; |
text-align: center; | text-align: center; | ||
text-decoration: none; | text-decoration: none; | ||
Line 662: | Line 678: | ||
.buttonnotebook2:hover { | .buttonnotebook2:hover { | ||
+ | background-color: #e91b63; | ||
+ | } | ||
+ | |||
+ | .buttonnotebook3 { | ||
+ | background-color: #464646; | ||
+ | color: white; | ||
+ | padding: 18px 20px; | ||
+ | width: 50%; | ||
+ | text-align: center; | ||
+ | text-decoration: none; | ||
+ | display: inline-block; | ||
+ | font-size: 16px; | ||
+ | -webkit-transition-duration: 0.4s; /* Safari */ | ||
+ | transition-duration: 0.4s; | ||
+ | cursor: pointer; | ||
+ | box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); | ||
+ | float: left; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | .buttonnotebook3:hover { | ||
+ | background-color: #e91b63; | ||
+ | } | ||
+ | |||
+ | .buttonnotebook4 { | ||
+ | background-color: #464646; | ||
+ | color: white; | ||
+ | padding: 18px 20px; | ||
+ | width: 25%; | ||
+ | text-align: center; | ||
+ | text-decoration: none; | ||
+ | display: inline-block; | ||
+ | font-size: 16px; | ||
+ | -webkit-transition-duration: 0.4s; /* Safari */ | ||
+ | transition-duration: 0.4s; | ||
+ | cursor: pointer; | ||
+ | box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); | ||
+ | float: left; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | .buttonnotebook4:hover { | ||
background-color: #e91b63; | background-color: #e91b63; | ||
} | } | ||
Line 958: | Line 1,016: | ||
/*===== SCREEN RESPONSIVENESS (MOBILE VERSION) =====*/ | /*===== SCREEN RESPONSIVENESS (MOBILE VERSION) =====*/ | ||
− | /* When the screen is less than x pixels wide, hide all navbar links. Show the link that should open and close the topnav (.menu-icon) */ | + | /* When the screen is less than x pixels wide, hide all navbar links. Show the link that should open and close the topnav (.menu-icon). If changing max-width, make sure to change JavaScript dropdown conditions in UCSC/NavBar as well! */ |
− | @media screen and (max-width: | + | @media screen and (max-width: 1150px) { |
.topnav .nav-logo { | .topnav .nav-logo { | ||
margin-left: 5px; | margin-left: 5px; | ||
Line 1,036: | Line 1,094: | ||
} | } | ||
+ | |||
+ | |||
+ | /*----- Tablet Sized Responsiveness ----*/ | ||
+ | @media screen and (max-width: 1300px) { | ||
+ | .toc-body .flex-row { | ||
+ | padding: 0 5% 0 calc(200px + 5%); | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
/* Responsive features of other page elements */ | /* Responsive features of other page elements */ | ||
Line 1,050: | Line 1,118: | ||
} | } | ||
− | .scroll- | + | .scroll-to-top { |
− | display: | + | display: block; |
} | } | ||
− | .float-toc, .float- | + | .float-toc, .float-page-list { |
display: inline; | display: inline; | ||
float: none; | float: none; | ||
Line 1,060: | Line 1,128: | ||
} | } | ||
− | .float- | + | .float-page-list { |
display: none; | display: none; | ||
} | } | ||
Line 1,108: | Line 1,176: | ||
.flex-col, .flex-row .flex-col.small-divide, .flex-row .flex-col.small-divide a { | .flex-col, .flex-row .flex-col.small-divide, .flex-row .flex-col.small-divide a { | ||
− | + | /* width: 90%; */ | |
− | padding: 0 | + | padding: 0 2.5% !important; |
margin: 5% 5%; | margin: 5% 5%; | ||
} | } | ||
Line 1,434: | Line 1,502: | ||
margin-right:2vh; | margin-right:2vh; | ||
} | } | ||
+ | |||
/*----------------------------------------------------------------------------------*/ | /*----------------------------------------------------------------------------------*/ | ||
+ | |||
+ | /**************** table **********************/ | ||
+ | table, th, td { | ||
+ | border: 1px solid black; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | th, td { | ||
+ | padding: 5px; | ||
+ | } | ||
+ | th { | ||
+ | text-align: left; | ||
+ | /*************************/ | ||
</style> | </style> |
Latest revision as of 18:17, 16 October 2018