Skip to content

Commit

Permalink
Adjust top banner styles (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwjdwjdw authored Mar 27, 2024
1 parent 463989f commit 27a5f0b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [First Step Subtheme](https://github.com/SU-SWS/first_step_subtheme)
##### Version: 1.0.1
##### Version: 1.0.2

Changelog: [Changelog.txt](CHANGELOG.txt)

Expand Down
2 changes: 1 addition & 1 deletion dist/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion first_step_subtheme.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: First Step Subtheme
type: theme
description: 'First Step Subtheme.'
package: Stanford
version: 1.0.1
version: 1.0.2
core_version_requirement: ^9 || ^10
base theme: stanford_basic
libraries:
Expand Down
10 changes: 9 additions & 1 deletion src/scss/components/top-banner/_top-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,18 @@
:first-child {
margin-top: 0;
}

h2,
h3,
h4,
.su-font-splash {
@include responsive-spacing('margin-bottom', -1);

font-family: 'Source Serif Pro';
}

h2 {
@include type-a;
font-family: 'Source Serif Pro';
}

p {
Expand Down

0 comments on commit 27a5f0b

Please sign in to comment.