digitalhealthhumanities-toolkit-theme 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/bio-card.html +21 -0
- data/_includes/head.html +2 -0
- data/_includes/heading.html +4 -4
- data/_sass/digitalhealthhumanities-toolkit-theme.scss +19 -8
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1378c75a4e01547d8879f560a807dbd8b4ee18b3d2765e754e454c5308a9e9c
|
|
4
|
+
data.tar.gz: d2a7f5e33377f82ce0e604f33cd133888ea32026f6d5c4a6ffa8e4149615d81c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 930dc547db2d04cfbab104f5c19d522b93fddf9e5183cf5553ffae90ea5f7c55adfb216b5a114fceccd2460db7ba3f821016b2e92b38e7d59d8549a749047289
|
|
7
|
+
data.tar.gz: b3da5148de632eb56dc772ace556456810e54f65e09ba5d9bb8d91ae2058ec1293a85bb8a1fc9f5083632c552c67393405f2b4ccc3bb3634c11ba79ff42b5744
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="card mb-3 bio">
|
|
2
|
+
<div class="row g-0">
|
|
3
|
+
{% if include.person.headshot != 'n/a' %}
|
|
4
|
+
<div class="col-md-4 col-lg-3">
|
|
5
|
+
<img src="{{ site.baseurl }}/assets/img/{{ include.person.headshot }}" class="headshot" alt="Headshot of {{ include.person.name }}">
|
|
6
|
+
</div>
|
|
7
|
+
{% endif %}
|
|
8
|
+
<div class="col-md-8 col-lg-9">
|
|
9
|
+
<div class="card-body">
|
|
10
|
+
<h4 class="card-title">{{ include.person.name }} - {{ include.person.association }}</h4>
|
|
11
|
+
<p class="card-text">
|
|
12
|
+
{% if include.person.title %}
|
|
13
|
+
{{ include.person.title }},
|
|
14
|
+
{% endif %}
|
|
15
|
+
{{ include.person.affiliation }}
|
|
16
|
+
</p>
|
|
17
|
+
<p class="card-text">{{ include.person.bio }}</p>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
data/_includes/head.html
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
<!-- Importing Bootstrap CSS -->
|
|
3
3
|
<meta charset="utf-8">
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
5
|
+
<meta name="docsearch:language" content="en">
|
|
6
|
+
<title>{{ include.title }}</title>
|
|
5
7
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet"
|
|
6
8
|
integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
|
|
7
9
|
|
data/_includes/heading.html
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
{% for item in site.menu %}
|
|
17
17
|
{% if item.sub %}
|
|
18
18
|
<li class='nav-item dropdown'>
|
|
19
|
-
<
|
|
20
|
-
data-bs-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
|
|
19
|
+
<button class='nav-link dropdown-toggle' type="button" id='dhht-{{ item.label | slugify }}-dropdown'
|
|
20
|
+
data-bs-toggle='dropdown' aria-haspopup='true' aria-expanded='false' aria-controls="#dhht-{{ item.label | slugify }}-dropdown-item">
|
|
21
21
|
{{ item.label }}
|
|
22
|
-
</
|
|
23
|
-
<ul class='dropdown-menu'
|
|
22
|
+
</button>
|
|
23
|
+
<ul class='dropdown-menu' id="dhht-{{ item.label | slugify }}-dropdown-item">
|
|
24
24
|
{% for sub in item.sub %}
|
|
25
25
|
<li>
|
|
26
26
|
<a class='dropdown-item' href='{{ sub.link | absolute_url }}'>{{ sub.label }}</a>
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
@media (min-width: 821px) {
|
|
86
|
+
|
|
86
87
|
#dhht-header {
|
|
87
88
|
padding: 1.0rem;
|
|
88
89
|
}
|
|
@@ -107,12 +108,24 @@
|
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
110
|
|
|
111
|
+
// General CSS
|
|
112
|
+
|
|
110
113
|
a {
|
|
111
|
-
color: #
|
|
114
|
+
color: #0F388A;
|
|
112
115
|
font-weight: 500;
|
|
113
116
|
|
|
114
117
|
}
|
|
115
118
|
|
|
119
|
+
.bio {
|
|
120
|
+
max-height: 300px;
|
|
121
|
+
overflow: scroll
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.headshot {
|
|
125
|
+
width: auto;
|
|
126
|
+
max-height: 300px
|
|
127
|
+
}
|
|
128
|
+
|
|
116
129
|
body {
|
|
117
130
|
font-family: "Helvetica Neue Light", Arial, sans-serif;
|
|
118
131
|
display: flex;
|
|
@@ -165,13 +178,11 @@ pre code {
|
|
|
165
178
|
}
|
|
166
179
|
|
|
167
180
|
.dhht-card {
|
|
181
|
+
a {
|
|
182
|
+
color: #000000
|
|
183
|
+
}
|
|
168
184
|
.card-header {
|
|
169
|
-
|
|
170
|
-
color: #ffffff;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
color: #ffffff;
|
|
174
|
-
background-color: #16A0AC;
|
|
185
|
+
background-color: #60D0DA;
|
|
175
186
|
}
|
|
176
187
|
}
|
|
177
188
|
|
|
@@ -228,5 +239,5 @@ pre code {
|
|
|
228
239
|
}
|
|
229
240
|
|
|
230
241
|
p>.term {
|
|
231
|
-
color: #
|
|
242
|
+
color: #0F388A
|
|
232
243
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: digitalhealthhumanities-toolkit-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UCSF Archives and Special Collections
|
|
@@ -39,6 +39,7 @@ files:
|
|
|
39
39
|
- README.md
|
|
40
40
|
- _config.yml
|
|
41
41
|
- _includes/authorshort.html
|
|
42
|
+
- _includes/bio-card.html
|
|
42
43
|
- _includes/blockquote.html
|
|
43
44
|
- _includes/definition.html
|
|
44
45
|
- _includes/footer.html
|