diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-03-31 20:36:24 -0400 |
---|---|---|
committer | Adin Scannell <ascannell@google.com> | 2019-04-02 16:11:47 -0700 |
commit | d30086a33c691809ec3d5f8b0c20de70bc31cf30 (patch) | |
tree | ced0fe423870c5120de2b5a9dcb3950465fe5892 /assets/scss/_styles_project.scss | |
parent | 9288f50ee371b6bfc96c5ca7ef208be955e7314c (diff) |
Rename custom_styles to styles_project
Diffstat (limited to 'assets/scss/_styles_project.scss')
-rw-r--r-- | assets/scss/_styles_project.scss | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss new file mode 100644 index 000000000..874fe0203 --- /dev/null +++ b/assets/scss/_styles_project.scss @@ -0,0 +1,43 @@ +// Custom styles. + +// 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; +} + +.td-navbar-cover .navbar-brand { + display: none; +} +.td-navbar-cover.navbar-bg-onscroll .navbar-brand { + display: inherit; +} + +// Cover block. +.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; +} + |