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 00:57:11 +00:00
|
|
|
// Only show the logo in the header after scrolling down the page.
|
2019-04-01 00:18:04 +00:00
|
|
|
.td-navbar-cover .navbar-brand {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.td-navbar-cover.navbar-bg-onscroll .navbar-brand {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
2019-04-01 00:57:11 +00:00
|
|
|
// Left align the cover block and increase text size.
|
2019-04-01 00:18:04 +00:00
|
|
|
.td-default main section.td-cover-block h1 {
|
2019-04-01 00:59:43 +00:00
|
|
|
padding-bottom: 5rem;
|
2019-04-01 00:18:04 +00:00
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block {
|
|
|
|
padding-top: 4rem;
|
|
|
|
padding-bottom: 8rem;
|
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block p.lead {
|
|
|
|
width: 50%;
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
.td-default main section.td-cover-block p.lead strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|