digitalhealthhumanities-toolkit-theme 0.1.9 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edabe4fa797de8bf65289ddbb79cec9bfe2979bd8c22232ee0b4b28b24c14b1d
4
- data.tar.gz: a60c17073229bfd5aca78e1d1c2805674f618aeb357457d2739c8e7503c12c1c
3
+ metadata.gz: 7d0e3c340ac2ceae74843ef02316b2f99445ead73d58dc4c1794e1b7ca8424bc
4
+ data.tar.gz: d9225b0f25a93a0c78f6dba8d396f16e2d2c80030c5d5d6a9c71965df1085923
5
5
  SHA512:
6
- metadata.gz: 2641621383a6f38e94bab2f95d1f192b4cb880732ac431f0da58439086c9e64ee13e2563374a46f816738ecbfa80f2ed4ffde2e58bf0391b5ff90c0b41d6820b
7
- data.tar.gz: bf439e54405bc2b936051b63bbc4093168b2bee059d3a600973918acbafb1ddde33fdc0123ad4ce7564ffa24ef34cd256e3a247c18f925f440e2ae8e90489620
6
+ metadata.gz: 470be5afd4e2c88169f3de39d6112e6a471839e8daeef741bf2c31cf99c5d0e76ec145292e02ae480823a669abde58bbd60fe16575148f98d84af1f459c82fab
7
+ data.tar.gz: 6e03c2f0dda51f22845bb71ef7728bb51f8de317231c267bfe920c002e7b63392630bab3b18ad5de977194984b4d52700f21e2a24fbe11e9e598367db63d14a5
@@ -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>
@@ -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
114
  color: #16A0AC;
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;
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.9
4
+ version: 0.2.0
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