summaryrefslogtreecommitdiffhomepage
path: root/assets/scss/_styles_project.scss
blob: 99b16b4bb8e3d08066e15b3a2a5faf5e9ef54231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Custom styles.

// 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;
}

// 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;
}

// Only show the logo in the header after scrolling down the page.
.td-navbar-cover .navbar-brand {
    display: none;
}
.td-navbar-cover.navbar-bg-onscroll .navbar-brand {
    display: inherit;
}

// Left align the cover block and increase text size.
.td-default main section.td-cover-block h1 {
    padding-bottom: 6rem;
}
.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;
}