forked from open-y-subprojects/openy_docs
/
_styles_project.scss
69 lines (59 loc) · 1.19 KB
/
_styles_project.scss
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
YMCA Website Services style overrides.
*/
a.navbar-brand span + span {
display: none;
}
// Swap the sidebar nav and utility position
aside.d-xl-block {
@media (min-width: 1200px) {
display: grid!important;
}
.td-toc {
order: 1;
}
.td-page-meta {
font-size: 0.9rem;
order: 2;
}
}
// Increase contrast for ToC links.
.td-toc #TableOfContents a {
color: #5a5858;
}
figcaption {
font-style: italic;
font-size: 0.9rem;
padding-left: 1em;
margin-top: 0.25em;
}
figcaption, iframe {
@extend .td-max-width-on-larger-screens;
}
// Reset the reset for definition list description.
dd {
margin-left: revert;
}
@media (min-width: 768px) {
@supports (position: sticky) {
.td-sidebar-nav {
max-height: calc(100vh - 4rem);
padding-top: 15px;
}
}
}
// Override Bootstrap's kbd styles
kbd {
display: inline-block;
background: #f5f5f5;
border: solid 1px #b5c6d2;
border-bottom-color: #97afbf;
box-shadow: inset 0 -1px 0 #97afbf;
font-family: Monaco,Menlo,Consolas,"Roboto Mono","Courier New","Ubuntu Mono",monospace;
font-size: .8em;
padding: .25em .5em;
line-height: 1em;
vertical-align: middle;
border-radius: 3px;
color: inherit;
}