Skip to content

Commit e4e3103

Browse files
committed
Add custom CSS to project website
1 parent b736499 commit e4e3103

2 files changed

Lines changed: 124 additions & 0 deletions

File tree

docs/_quarto.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ project:
44
format:
55
html:
66
theme: flatly
7+
css:
8+
- styles.css
9+
- reference/_styles-quartodoc.css
710
toc: true
811
grid:
912
sidebar-width: 300px

docs/styles.css

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
.table a {
2+
text-underline-offset: 4px;
3+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
4+
color: inherit;
5+
font-weight: bold;
6+
font-size: 0.875em;
7+
word-break: initial;
8+
text-decoration-thickness: 2px;
9+
}
10+
11+
body {
12+
background-color: #FAFAFA;
13+
}
14+
15+
p a {
16+
color: black;
17+
text-underline-offset: 4px;
18+
}
19+
20+
.table td {
21+
padding-left: 0px;
22+
}
23+
24+
.sidebar-item-container {
25+
text-transform: uppercase;
26+
font-weight: bold;
27+
}
28+
29+
code {
30+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
31+
font-size: 0.875em;
32+
color: rgb(18, 18, 18);
33+
}
34+
35+
p,h1,h2,h3,#toc-title,#toc-function-reference,.nav-link,.table {
36+
font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
37+
}
38+
39+
[id^=validation-steps] td a:after {
40+
content: "()"
41+
}
42+
43+
[id^=column-selection] td a:after {
44+
content: "()"
45+
}
46+
47+
[id^=interrogation-and-reporting] td a:after {
48+
content: "()"
49+
}
50+
51+
#toc-title {
52+
font-size: 20px;
53+
}
54+
55+
#quarto-margin-sidebar nav ul {
56+
font-size: 16px;
57+
padding-top: 5px;
58+
}
59+
60+
#quarto-margin-sidebar nav ul li {
61+
padding-top: 3px;
62+
}
63+
64+
#navbarCollapse > ul.navbar-nav.navbar-nav-scroll.me-auto > li > a:hover {
65+
background-color: rgb(240, 112, 0);
66+
color: white;
67+
border-radius: 5px;
68+
}
69+
70+
#navbarCollapse > ul.navbar-nav.navbar-nav-scroll.me-auto > li > a {
71+
color: white;
72+
font-weight: bold;
73+
}
74+
75+
#api-reference > h1 {
76+
margin: 0;
77+
}
78+
79+
.navbar-title {
80+
font-family: Inter, Roboto, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif;
81+
font-weight: bold;
82+
color: white;
83+
border-style: solid;
84+
border-width: 2px;
85+
border-radius: 8px;
86+
padding-left: 10px;
87+
padding-right: 10px;
88+
padding-top: 3px;
89+
padding-bottom: 4px;
90+
}
91+
92+
#quarto-header > nav > div {
93+
margin-left: 5%;
94+
margin-right: 5%;
95+
}
96+
97+
.navbar {
98+
background: linear-gradient(-45deg, #04778b, #1c7ff0, #006c93, #05614c);
99+
background-size: 200% 100%;
100+
animation: gradient 20s ease infinite;
101+
}
102+
103+
@keyframes gradient {
104+
0% {
105+
background-position: 0% 50%;
106+
}
107+
50% {
108+
background-position: 100% 50%;
109+
}
110+
100% {
111+
background-position: 0% 50%;
112+
}
113+
}
114+
115+
#navbarCollapse > ul.navbar-nav.navbar-nav-scroll.ms-auto > li {
116+
padding-right: 5px
117+
}
118+
119+
.shrink-example .cell-output table {
120+
zoom: 60%;
121+
}

0 commit comments

Comments
 (0)