2019-04-01 00:18:04 +00:00
|
|
|
// Custom styles.
|
|
|
|
|
2019-04-01 00:57:11 +00:00
|
|
|
// Apply the link-color to blocks with white background to improve
|
|
|
|
// accessibility.
|
|
|
|
a, .td-box--secondary p > a, .td-box--white p > a {
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
|
2019-04-01 00:18:04 +00:00
|
|
|
// The table anchor for syscall references so that entries referenced
|
|
|
|
// directly by an anchor aren't buried underneath the header.
|
|
|
|
a.doc-table-anchor {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
top: -75px;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Adjust the width of the svg logo in the header. For smaller svg
|
|
|
|
// files the width is too large.
|
|
|
|
.td-navbar .navbar-brand .navbar-logo svg {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2019-04-01 02:19:43 +00:00
|
|
|
// Only show the navbar after scrolling down the page.
|
2019-04-01 00:18:04 +00:00
|
|
|
.td-navbar-cover .navbar-brand {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-04-01 02:19:43 +00:00
|
|
|
.td-navbar-cover .td-navbar-nav-scroll {
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.td-navbar-cover.navbar-bg-onscroll .navbar-brand, .td-navbar-cover.navbar-bg-onscroll .td-navbar-nav-scroll {
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-04-01 00:18:04 +00:00
|
|
|
}
|
|
|
|
|
2019-04-01 02:19:43 +00:00
|
|
|
// Show an inner navbar as part of the cover block
|
|
|
|
.cover-content nav {
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 3rem;
|
|
|
|
float: right;
|
|
|
|
}
|
2019-04-01 00:57:11 +00:00
|
|
|
// Left align the cover block and increase text size.
|
2019-04-01 01:05:39 +00:00
|
|
|
.td-default main section.td-cover-block {
|
2019-04-01 02:19:43 +00:00
|
|
|
@media (max-width: 767px) {
|
2019-04-01 01:05:39 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2019-04-01 00:18:04 +00:00
|
|
|
.td-default main section.td-cover-block h1 {
|
2019-04-01 02:19:43 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
padding-top: 0.5rem; // match padding for .nav-link
|
|
|
|
padding-bottom: 8rem;
|
|
|
|
}
|
2019-04-01 00:18:04 +00:00
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block {
|
2019-04-01 02:19:43 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 10rem;
|
|
|
|
}
|
2019-04-01 00:18:04 +00:00
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block p.lead {
|
2019-04-01 01:05:39 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2019-04-04 02:33:28 +00:00
|
|
|
font-size: $h1-font-size;
|
2019-04-01 00:18:04 +00:00
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block p.lead strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-06-14 02:14:41 +00:00
|
|
|
|
|
|
|
.td-page,.td-section {
|
|
|
|
main a.header-link {
|
|
|
|
color: inherit;
|
|
|
|
font-size: 60%;
|
|
|
|
}
|
|
|
|
}
|