zips/css/style.css

321 lines
4.6 KiB
CSS

@font-face {
font-family: robotolight;
src: url('../assets/fonts/Roboto-Light-webfont.woff') format('woff');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: robotoregular;
src: url('../assets/fonts/Roboto-Regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: robotomedium;
src: url('../assets/fonts/Roboto-Medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body, body > section {
margin: 0 auto;
padding: 1.5rem 0 3rem;
}
body {
font-family: 'robotoregular',Arial,Helvetica Neue,Helvetica,sans-serif;
color: #212529;
line-height: 1.5;
max-width: 1140px;
font-size: 16px;
}
body > section {
max-width: 83.33333%;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.875rem 0 1rem;
}
h1, h2, h3, h4 {
font-family: 'robotolight',Arial,Helvetica Neue,Helvetica,sans-serif;
line-height: 1.5;
font-weight: 100;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2.125rem;
}
h3 {
font-size: 1.625rem;
}
h3 code {
font-size: 1.5rem;
}
h4 {
font-size: 1.5rem;
}
h4 code {
font-size: 1.35rem;
}
h5, h6 {
font-family: 'robotomedium',Arial,Helvetica Neue,Helvetica,sans-serif;
line-height: 1.6;
}
h5 {
font-size: 1.125rem;
}
h6 {
font-size: 1rem;
}
blockquote {
margin: 0 1rem 1rem 1rem;
padding: 0;
overflow-x: auto;
}
p, ul, ol, li, table {
margin-top: 0;
}
p {
margin-bottom: 1rem;
}
li {
margin-bottom: 0.2rem;
}
li ul {
margin-top: 0.625rem;
}
ul, ol, table {
margin-bottom: calc( 0.5rem + 0.5ex );
}
p, ul, ol, dl, table {
font-size: 1.125rem;
line-height: 1.625;
}
pre {
display: block;
overflow-x: auto;
overflow-y: hidden;
border: 1px solid #e6e7e8;
padding: 0.625rem;
font-size: 0.9375rem;
}
span.reserved {
color: #606060;
}
span.math {
transform: scale(1, 1.03);
-moz-transform: scale(1, 1.03);
-ms-transform: scale(1, 1.03);
-webkit-transform: scale(1, 1.03);
-o-transform: scale(1, 1.03);
font-size: 0.97rem;
}
div.math {
display: block;
overflow-x: auto;
overflow-y: hidden;
margin: 0 1rem 1rem 1rem;
text-align: center;
padding: 0;
font-size: 0.75rem;
}
a, a:visited {
color: #0097c1;
text-decoration: none;
}
a:hover, a.reserved:hover {
color: #00556c;
text-decoration: underline;
}
a.reserved, a.reserved:visited {
color: #606060;
text-decoration: none;
}
span.section-anchor {
opacity: 0;
}
span.section-anchor:hover {
opacity: 1;
}
span.section-heading:hover + span {
opacity: 1;
}
a.footnote_reference::before {
content: "[";
}
a.footnote_reference::after {
content: "]";
}
strong, b {
font-family: 'robotomedium',Arial,Helvetica Neue,Helvetica,sans-serif;
font-weight: normal;
}
hr {
border-top: 1px solid #e6e7e8;
margin: 1.875rem 0;
}
table {
border-collapse: collapse;
border: 0 none transparent;
}
th, td {
border: 1px solid #212529;
}
#index-of-zips table tr:hover {
background-color: #eff1f2;
}
th, td {
padding-left: 0.7rem;
padding-right: 0.75rem;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
vertical-align: top;
}
td:first-child {
text-align: center;
}
#index-of-zips table td:first-child + td {
padding: 0;
}
#index-of-zips table a {
display: block;
padding-left: 0.7rem;
padding-right: 0.75rem;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
#references table, #references th, #references td {
border: 0 none transparent;
font-size: 1.125rem;
}
#references table {
margin-bottom: 0;
}
#references th::before {
content: "[";
}
#references th::after {
content: "]";
}
@media (max-width: 576px) {
table:not(.footnote) {
display: block;
}
pre, div.math {
font-size: 0.5rem;
}
table {
font-size: 0.6rem;
}
}
@media (min-width: 576px) {
body > section {
max-width: initial;
width: 510px;
}
pre, div.math {
font-size: 0.5rem;
}
table {
font-size: 0.6rem;
}
}
@media (min-width: 768px) {
body > section {
width: 690px;
}
pre, div.math {
font-size: 0.55rem;
}
table {
font-size: 0.7rem;
}
}
@media (min-width: 992px) {
body > section {
width: 770px;
}
pre, div.math {
font-size: 0.6rem;
}
table {
font-size: 0.8rem;
}
}
@media (min-width: 1200px) {
body > section {
max-width: initial;
width: 920px;
}
pre, div.math {
font-size: 0.68rem;
}
table {
font-size: 0.85rem;
}
}
@media (min-width: 1390px) {
body > section {
max-width: initial;
width: 1200px;
}
pre, div.math {
font-size: 0.75rem;
}
table {
font-size: 1rem;
}
}