summaryrefslogtreecommitdiffhomepage
path: root/assets/scss/_styles_project.scss
blob: de91e67c2d425fe3091dfec2b0f089b6e5a6ccfc (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
47
48
49
50
51
52
53
// 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 {
    @media (max-width: 768px) {
        text-align: center;
    }
}
.td-default main section.td-cover-block h1 {
    padding-bottom: 5rem;
}
.td-default main section.td-cover-block {
    padding-top: 4rem;
    padding-bottom: 8rem;
}
.td-default main section.td-cover-block p.lead {
    @media (min-width: 768px) {
        width: 50%;
    }
    font-size: 2rem;
}
.td-default main section.td-cover-block p.lead strong {
    font-weight: bold;
}