forked from NIH-ODSS/fhir-for-research
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.scss
144 lines (120 loc) · 3 KB
/
custom.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/*-- scss:defaults --*/
$primary: #20558a !default;
$navbar-bg: #20558a !default;
$code-color: #7920a7 !default;
/*-- scss:rules --*/
// This is the column type in RMarkdown data frame output, which does not have
// enough contrast by default.
//
// Same for the "info" at the bottom of the RMarkdown data frame output.
// And "NA" cells.
.pagedtable-header-type, .pagedtable-info, .pagedtable-na-cell {
color: #747474 !important;
opacity: inherit !important; // for the "NA" cells, which default to 0.3 opacity
}
.even .pagedtable-na-cell {
color: #6e6e6e !important; // darker for zebra stripe columns
}
.panel-caption,.figure-caption,figcaption {
color: $gray-600;
}
.fancybox-figure {
padding: 0;
border: thin silver solid;
cursor: pointer;
}
.fancybox-figure > div {
margin: 0;
}
.fancybox-figure img {
margin: 0;
}
.fancybox-figure figure {
display: table !important;
}
.fancybox-figure figcaption {
display: table-caption !important;
caption-side: top !important;
padding: 0.4em;
margin-top: 0;
margin-bottom: 0.5em;
margin-left: 75%;
width: 25%;
text-align: center;
font-style: italic;
font-size: large;
color: black !important;
background-color: lightgray;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
}
.blockquote {
color: var(--bs-body-color);
}
/* Make the TOC title slightly bold */
#toc-title {
font-weight: 500;
}
// Fake the section title in the left navbar
.sidebar-menu-container .sidebar-item:first-child .sidebar-item-container {
font-weight: bold;
border-bottom: 1px solid #ddd;
margin-bottom: 0.5em;
}
.sidebar-menu-container .sidebar-item-section .sidebar-item-container {
// Reset back to normal for sub-sections
font-weight: normal !important;
border-bottom: none !important;
}
// Highlight the currently open page in the sidebar
.sidebar-item-text.sidebar-link.active {
font-weight: bold;
}
// Make sure citation popovers are not bolded even if the citation itself is bolded
.citation div[data-tippy-root] {
font-weight: normal;
}
// Make the table of contents dark enough to meet a11y guidelines
.header-section-number {
color: #6e7378;
}
// Fancy, Bootstrap-like button
.btn-success {
display: inline-block;
font-weight: 400;
text-align: center;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
color: #fff;
background-color: #198754;
text-decoration: none;
user-select: none;
}
.btn-success:hover {
background-color: #157347;
border-color: #146c43;
text-decoration: none;
}
.btn-role {
display: inline-block;
text-align: center;
text-decoration: none;
vertical-align: middle;
user-select: none;
padding: .25rem .5rem;
font-size: .875rem;
border-radius: .2rem;
color: #6c757d;
border: #6c757d 1px solid;
}
.btn-role:hover {
background-color: #6c757d;
color: #fff;
text-decoration: none;
}