-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustom.scss
More file actions
163 lines (139 loc) · 2.7 KB
/
Copy pathcustom.scss
File metadata and controls
163 lines (139 loc) · 2.7 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*-- scss:defaults --*/
// Background & body
$body-bg: #f5f0eb;
$body-color: #2c2c2c;
// Navbar
$navbar-bg: #2b3a4a;
$navbar-fg: #ffffff; // text/icons on navbar
$navbar-hl: #f0a500; // highlighted/active link color
// Sidebar
$sidebar-bg: #e8e2da;
$sidebar-fg: #2c2c2c;
$sidebar-hl: #2b3a4a;
// Links
$link-color: #2b3a4a;
// Fonts (optional — can also use Google Fonts via mainfont:)
$font-size-base: 1rem;
/*-- scss:rules --*/
// Any custom CSS goes here
.navbar-brand {
font-weight: 700;
letter-spacing: 0.03em;
}
// Style the book sidebar
.sidebar nav[role="doc-toc"] {
border-left: 3px solid $navbar-bg;
padding-left: 1rem;
}
// Code blocks
pre.sourceCode {
background-color: #1e1e2e;
border-radius: 6px;
}
#csf-table {
border-collapse: collapse;
width: 100%;
}
#csf-table,
#csf-table th,
#csf-table td {
border: 1px solid black;
}
.normal-trademark {
vertical-align: baseline; /* Pushes it down to the text line */
font-size: 1.5em; /* Forces it to match the surrounding text size */
line-height: 0.5; /* Fixes any inherited line height issues */
margin-top: 10px !important;
}
// Frequently Asked Questions
/* Shared layout (required for all styles) */
.faq-q,
.faq-a {
display: flex;
gap: 0.75rem;
align-items: baseline;
margin-bottom: 0.5rem;
}
.faq-q p,
.faq-a p {
margin: 0;
}
/* Style 1 — Filled circle */
.faq-q::before {
content: "Q";
}
.faq-a::before {
content: "A";
}
.faq-q::before,
.faq-a::before {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.5em;
height: 1.5em;
border-radius: 50%;
font-size: 0.75em;
font-weight: 700;
font-family: sans-serif;
line-height: 1;
margin-top: 0.1em;
}
.faq-q::before {
background: #185fa5;
color: #fff;
}
.faq-a::before {
background: #0f6e56;
color: #fff;
}
.faq img {
border: 2px solid #185fa5;
border-radius: 5px;
margin-left: auto;
margin-right: auto;
display: block;
}
/* Proteomics Tables */
/* Button containers */
.filter-group {
margin-bottom: 1rem;
}
.filter-label {
font-weight: 600;
margin-right: 0.5rem;
}
/* Filter buttons */
.wave-btn,
.wave-btn-2,
.type-btn {
border: 1px solid #6c757d;
background-color: white;
color: #333;
padding: 0.35rem 0.9rem;
margin-right: 0.25rem;
border-radius: 0.375rem;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.15s ease-in-out;
}
/* Hover */
.wave-btn:hover,
.wave-btn-2:hover,
.type-btn:hover {
background-color: #f0f0f0;
}
/* Selected button */
.wave-btn.active,
.wave-btn-2.active,
.type-btn.active {
background-color: #0d6efd;
border-color: #0d6efd;
color: white;
}
/* Slight spacing between groups */
#variable-table,
#variable-table2 {
margin-top: 1rem;
}