Skip to content

Commit 704ddab

Browse files
Merge pull request #50 from berkeley-cdss/updates-from-template
Updates from template
2 parents 45f711e + 2f9f5f0 commit 704ddab

5 files changed

Lines changed: 17 additions & 5 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ group :jekyll_plugins do
1616
gem 'jekyll-redirect-from'
1717
gem 'jekyll-sitemap'
1818
gem 'jemoji'
19-
gem 'just-the-docs', '0.10.0'
19+
gem 'just-the-docs', '0.12.0'
2020
gem 'jekyll-target-blank'
2121
end
2222

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ GEM
128128
html-pipeline (~> 2.2)
129129
jekyll (>= 3.0, < 5.0)
130130
json (2.7.2)
131-
just-the-docs (0.10.0)
131+
just-the-docs (0.12.0)
132132
jekyll (>= 3.8.5)
133133
jekyll-include-cache
134134
jekyll-seo-tag (>= 2.0)
@@ -271,7 +271,7 @@ DEPENDENCIES
271271
jekyll-sitemap
272272
jekyll-target-blank
273273
jemoji
274-
just-the-docs (= 0.10.0)
274+
just-the-docs (= 0.12.0)
275275
kramdown-parser-gfm
276276
rack
277277
rackup

_includes/nav_footer_custom.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!-- This file adds links at the bottom of the sidebar on the left. -->
22

33
{% if site.class_archive_path %}
4-
<section class="site-footer py-1" aria-label="Footer: site archive">
4+
<section class="py-2" aria-label="Footer: site archive"></section>
55
<a href="{{ site.class_archive_path }}"
66
target="_blank" rel="noopener nofollow">View all course offerings
77
</a>
88
</section>
99
{% endif %}
1010

1111
{% if site.hide_color_scheme_toggle != 'true' %}
12-
<div class="site-footer m-1">
12+
<div class="m-1 py-4">
1313
{% include toggle-color-scheme.html %}
1414
</div>
1515
{% endif %}

_sass/berkeley/berkeley.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ summary {
103103
a[target="_blank"]:not(.btn)::after {
104104
font-family: 'Font Awesome 6 Free';
105105
font-weight: 900;
106+
font-size: 0.8em;
106107
content: "\f08e";
108+
vertical-align: 0.15em;
107109
padding: 0 0.25rem;
108110
}
109111

_sass/custom/custom.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,13 @@ div.highlighter-rouge div.highlight {
2424

2525
// Place all of your course-specific CSS here.
2626
@import './course_overrides';
27+
28+
// fix Note block colors for dark mode
29+
p.note, blockquote.note {
30+
border-left-color: #7253ed;
31+
32+
}
33+
p.note::before {
34+
color: #7253ed;
35+
font-weight: bold;
36+
}

0 commit comments

Comments
 (0)