Skip to content

Commit fc90ddc

Browse files
authored
build: ⬆️ get latest seedcase-theme (#126)
# Description This PR commits the changes from `just update-quarto-theme`. This PR needs a quick review. ## Checklist - [x] Added or updated tests - [x] Updated documentation - [x] Ran `just run-all` (except update-template)
1 parent 13b1ad0 commit fc90ddc

20 files changed

+8344
-94
lines changed
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
meta:
2+
name:
3+
full: Seedcase Project
4+
short: Seedcase
5+
description: |
6+
The Seedcase Project is an organisation dedicated to making an
7+
effective and open framework for building modern infrastructures
8+
for structured, standardised, and FAIR (findable, accessible,
9+
interoperable, and reusable) research data.
10+
link:
11+
home: https://seedcase-project.org
12+
github: https://github.com/seedcase-project
13+
14+
color:
15+
palette:
16+
logo-green: "#024639"
17+
dark-green: "#196440"
18+
vibrant-green: "#48DC76"
19+
light-grey: "#F8F9FA"
20+
primary: dark-green
21+
tertiary: vibrant-green
22+
light: light-grey
23+
24+
typography:
25+
fonts:
26+
- family: noto sans
27+
source: "bunny"
28+
# other weights are used for e.g., bold and table headers
29+
weight: [300, 500, 600]
30+
- family: poppins
31+
source: "bunny"
32+
weight: 400
33+
- family: roboto mono
34+
source: "bunny"
35+
base:
36+
family: noto sans
37+
weight: 300
38+
headings:
39+
family: poppins
40+
weight: 400
41+
monospace: roboto mono
42+
43+
defaults:
44+
bootstrap:
45+
defaults:
46+
mermaid-edge-color: "#8B8B8B"
47+
rules: |
48+
.cell-output pre code {
49+
white-space: pre-wrap;
50+
}
51+
52+
.navbar {
53+
border-bottom: rgba($toc-active-border, 0.3) 1px solid;
54+
}
55+
56+
svg {
57+
display: block;
58+
max-width: 100%;
59+
margin: 0 auto;
60+
height: auto !important;
61+
width: auto !important;
62+
}
63+
64+
li {
65+
margin: 5px 0;
66+
}
67+
68+
figcaption {
69+
text-align: center;
70+
}
71+
72+
.about-link {
73+
border: 2px solid $tertiary !important;
74+
border-radius: 50px !important;
75+
color: $primary !important;
76+
font-size: 20px !important;
77+
font-weight: bold;
78+
padding: 5px 15px !important;
79+
}
80+
81+
.about-link:hover {
82+
background-color: $tertiary !important;
83+
color: white !important;
84+
}
85+
86+
.about-links {
87+
justify-content: left !important;
88+
padding: 10px 0px 0px 0px !important;
89+
}
90+
91+
.landing-page-block {
92+
padding-top: 10px;
93+
padding-bottom: 10px;
94+
margin-left: 30px;
95+
margin-right: 30px;
96+
}
97+
98+
@media(min-width: 900px) {
99+
.landing-page-block {
100+
margin-left: 50px;
101+
margin-right: 50px;
102+
}
103+
}
104+
105+
@media (min-width: 1200px) {
106+
.landing-page-block {
107+
max-width: 900px;
108+
margin-left: auto;
109+
margin-right: auto;
110+
}
111+
}
112+
113+
.hero-banner {
114+
position: relative;
115+
background: $light;
116+
display: flex;
117+
justify-content: center;
118+
padding-bottom: 30px;
119+
}
120+
121+
.hero-banner .landing-page-block {
122+
display: flex;
123+
flex-direction: row;
124+
}
125+
126+
.hero-text>h2,
127+
.landing-page-block>h2 {
128+
margin-top: 0.5rem;
129+
border-bottom: none;
130+
}
131+
132+
.landing-page-card {
133+
border-radius: 12px;
134+
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
135+
background-color: rgba($light, 0.3);
136+
border: none;
137+
padding: 5px 20px 10px 20px;
138+
margin-bottom: 40px;
139+
justify-content: start !important;
140+
}
141+
142+
.navbar-logo {
143+
max-height: 38px;
144+
}
145+
146+
.callout-body {
147+
font-weight: 300 !important;
148+
}
149+
150+
/* Dropdown items on navbar default to 400 weight, but we want them to be lighter. */
151+
.dropdown-item {
152+
font-weight: 300 !important;
153+
}

_extensions/seedcase-project/seedcase-theme/_extension.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
title: seedcase-theme
22
author: Luke W. Johnston
3-
version: 1.0.0
3+
version: 0.1.0
44
quarto-required: ">=1.2.0"
55
contributes:
66
formats:
7+
common:
8+
shortcodes:
9+
- quarto-ext/fontawesome
710
html:
811
from: markdown+emoji
9-
theme:
10-
- cosmo
11-
- theme.scss
1212
toc: true
1313
toc-location: right
1414
toc-depth: 3
@@ -25,7 +25,7 @@ contributes:
2525
repo-actions: [edit, issue, source]
2626
search:
2727
location: navbar
28-
type: overlay
28+
type: textbox
2929
navbar:
3030
background: light
3131
logo: logos/navbar-logo-seedcase-project.svg
@@ -38,10 +38,12 @@ contributes:
3838
- text: "Code of Conduct"
3939
href: "https://github.com/seedcase-project/.github/blob/main/CODE_OF_CONDUCT.md"
4040
- text: "Contributing"
41-
href: "https://community.seedcase-project.org/guides/"
41+
href: "https://guidebook.seedcase-project.org/"
4242
- text: "Funded by the Novo Nordisk Foundation"
4343
href: https://seedcase-project.org/#acknowledgements
4444

4545
csl: vancouver.csl
4646

4747
format: seedcase-theme-html
48+
49+
brand: _brand.yml
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title: Font Awesome support
2+
author: Carlos Scheidegger
3+
version: 1.2.0
4+
quarto-required: ">=1.2.269"
5+
contributes:
6+
shortcodes:
7+
- fontawesome.lua

0 commit comments

Comments
 (0)