Links
diff --git a/wp-content/themes/blankslate-child/modules/meta--languages-single.php b/wp-content/themes/blankslate-child/modules/meta--languages-single.php
index 8d78e5d..cb491a2 100644
--- a/wp-content/themes/blankslate-child/modules/meta--languages-single.php
+++ b/wp-content/themes/blankslate-child/modules/meta--languages-single.php
@@ -17,8 +17,8 @@
$links = [
'ethnologue' => $ethnologue,
'glottolog' => $glottolog,
- 'OLAC' => $olac,
- 'wikipedia' => $wikipedia,
+ 'Open Language Archives Community' => $olac,
+ 'English Wikipedia Article' => $wikipedia,
];
?>
diff --git a/wp-content/themes/blankslate-child/single-fellows.php b/wp-content/themes/blankslate-child/single-fellows.php
index 5bc5de3..b58d58b 100644
--- a/wp-content/themes/blankslate-child/single-fellows.php
+++ b/wp-content/themes/blankslate-child/single-fellows.php
@@ -7,6 +7,8 @@
$fellow_language = get_field('fellow_language');
$fellow_location = get_field('fellow_location');
$fellow_language_preferred_name = get_field('fellow_language_preferred_name');
+$categories = get_the_terms(get_the_ID(), 'fellow-category');
+$category_names = implode(', ', array_map('esc_html', wp_list_pluck($categories, 'name')));
$social_links = [
'email' => ['url' => get_field('email'), 'icon' => 'fa-brands fa-square-email'],
'facebook' => ['url' => get_field('facebook'), 'icon' => 'fa-brands fa-square-facebook'],
diff --git a/wp-content/themes/blankslate-child/stylus/main.css b/wp-content/themes/blankslate-child/stylus/main.css
index bd29170..72be1e7 100644
--- a/wp-content/themes/blankslate-child/stylus/main.css
+++ b/wp-content/themes/blankslate-child/stylus/main.css
@@ -1727,7 +1727,7 @@ body .wt_single-languages__contents#wt_single-languages__resources .wt_content-b
margin-bottom: 16px;
}
.wt_meta--languages-single ul li {
- margin-bottom: 1.5rem;
+ margin-bottom: 1.2rem;
}
.wt_meta--languages-single ul li a:hover {
text-decoration: underline;
@@ -1762,9 +1762,8 @@ body .wt_single-languages__contents#wt_single-languages__resources .wt_content-b
color: #3814a5;
}
.wt_meta--languages-single a.official-link {
- padding: 8px 12px;
+ padding: 4px 8px;
border-left: 2px solid #3814a5;
- margin-bottom: 16px;
font-weight: bold;
}
.wt_meta--languages-single a.official-link:hover {
@@ -2362,18 +2361,20 @@ text
font-size: 4rem;
margin-bottom: 16px;
}
+.wt_fellow__meta .head div.name h1,
+.wt_fellow__meta .head div.name .info > * {
+ margin-left: 8px !important;
+}
.wt_fellow__meta .head .info {
display: inline-block;
}
.wt_fellow__meta .head .info a.language {
- border: 2px solid #3814a5;
- border-radius: 8px 0 8px 0;
+ border-bottom: 2px solid #3814a5;
text-decoration: none;
display: flex;
font-size: 1.6rem;
- padding: 8px 16px;
+ padding: 4px 12px;
margin-right: 8px;
- margin-bottom: 8px;
float: left;
align-items: flex-end;
width: fit-content;
@@ -2405,6 +2406,10 @@ text
line-height: 2;
font-size: inherit;
}
+.wt_fellow__meta .head .info a.language p span.identifier,
+.wt_fellow__meta .head .info a.language p p {
+ color: #fffcef;
+}
.wt_fellow__meta .head .info > p {
font-family: 'Graphik Web';
font-weight: 400;
@@ -2415,6 +2420,9 @@ text
color: #101010;
margin-bottom: 0.8rem;
}
+.wt_fellow__meta .head .info p.categories {
+ font-weight: bold;
+}
.wt_fellow__meta .head .info a.cohort {
width: 100%;
display: block;
@@ -2425,7 +2433,7 @@ text
font-size: 1.6rem;
line-height: 1.3;
color: #3814a5;
- margin: 0 0 3.2rem 0;
+ margin: 0 0 1.6rem 0;
text-decoration: none;
font-weight: bold;
}
@@ -3366,16 +3374,21 @@ text
float: left;
margin-top: 16px;
}
+.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata h3 {
+ display: flex;
+ align-items: flex-end;
+ width: 100%;
+ margin-bottom: 4px;
+}
.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata span {
width: 100%;
display: flex;
justify-content: space-between;
+ margin-top: 4px;
+ float: left;
}
-.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata h3 {
- display: flex;
- align-items: flex-end;
- width: 100%;
- margin-bottom: 8px;
+.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata span p:first-of-type {
+ margin-right: 8px;
}
.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata h3,
.custom-gallery.fellows .gallery-container .gallery-list .gallery-item .fellow-metadata p {
diff --git a/wp-content/themes/blankslate-child/stylus/require/gallery.styl b/wp-content/themes/blankslate-child/stylus/require/gallery.styl
index 6940df3..2386cb5 100644
--- a/wp-content/themes/blankslate-child/stylus/require/gallery.styl
+++ b/wp-content/themes/blankslate-child/stylus/require/gallery.styl
@@ -171,16 +171,22 @@ $aspect-ratio = 16/9
float left
margin-top 16px
+ h3
+ display flex
+ align-items flex-end
+ width 100%
+ margin-bottom 4px
+
span
width 100%
display flex
justify-content space-between
+ margin-top 4px
+ float left
- h3
- display flex
- align-items flex-end
- width 100%
- margin-bottom 8px
+ p
+ &:first-of-type
+ margin-right 8px
h3,
p
diff --git a/wp-content/themes/blankslate-child/stylus/require/meta--fellows-single.styl b/wp-content/themes/blankslate-child/stylus/require/meta--fellows-single.styl
index a1d8615..7eed3d9 100644
--- a/wp-content/themes/blankslate-child/stylus/require/meta--fellows-single.styl
+++ b/wp-content/themes/blankslate-child/stylus/require/meta--fellows-single.styl
@@ -34,22 +34,24 @@
font-size 4rem
margin-bottom 16px
+ h1, .info > *
+ margin-left 8px !important
+
.info
display inline-block
a.language
- border 2px solid $blue
- border-radius 8px 0 8px 0
+ border-bottom 2px solid $blue
text-decoration none
display flex
font-size 1.6rem
- padding 8px 16px
+ padding 4px 12px
margin-right 8px
- margin-bottom 8px
float left
align-items flex-end
width fit-content
+
&:last-of-type
margin-right 0
@@ -70,15 +72,21 @@
line-height 2
font-size inherit
+ span.identifier, p
+ color $parchment
+
> p
text--body($black)
margin-bottom .8rem
+ p.categories
+ font-weight bold
+
a.cohort
width 100%
display block
text--body($blue)
- margin 0 0 3.2rem 0
+ margin 0 0 1.6rem 0
text-decoration none
font-weight bold
diff --git a/wp-content/themes/blankslate-child/stylus/require/meta--languages-single.styl b/wp-content/themes/blankslate-child/stylus/require/meta--languages-single.styl
index ea1be6a..9a747bc 100644
--- a/wp-content/themes/blankslate-child/stylus/require/meta--languages-single.styl
+++ b/wp-content/themes/blankslate-child/stylus/require/meta--languages-single.styl
@@ -27,7 +27,7 @@
border-bottom 1px solid $lightPurple
margin-bottom 16px
li
- margin-bottom 1.5rem
+ margin-bottom 1.2rem
a
&:hover
text-decoration underline
@@ -43,10 +43,10 @@
text--body($blue)
&.official-link
- padding 8px 12px
+ padding 4px 8px
border-left 2px solid $blue
- margin-bottom 16px
font-weight bold
+
&:hover
text-decoration underline