Skip to content

Commit

Permalink
THUB-36 THUB-38 THUB-37: texual format edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Jul 16, 2024
1 parent 85e9c81 commit 59de526
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions src/scss/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,26 @@ h4 {
h5 {
@include thub-type-f;
}

// Overide for Stanford Basic's
// headings with a link.
[class^="su-type"],
h1,
h2,
h3,
h4,
h5 {
a {
font-weight: 500;
}
}

a.su-link--external {
text-decoration: none;

&:hover,
&:active,
&:focus {
text-decoration: underline;
}
}
2 changes: 1 addition & 1 deletion src/scss/components/teaser/_basic-page-teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
h2,
h3 {
a {
@include thub-type-d;
@include thub-type-c;
@include link-icon(arrow-right, 18px, right);

background: $thub-gradient-lagunita-to-ochre;
Expand Down
14 changes: 14 additions & 0 deletions src/scss/theme/_front.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@charset "UTF-8";

.front {
@include grid-media-min('xl') {
.layout--layout-paragraphs-two-column {
max-width: calc(100vw - 400px);
}
}
@media screen and (min-width: 1700px) {
.layout--layout-paragraphs-two-column {
max-width: calc(100vw - 500px);
}
}
}
8 changes: 8 additions & 0 deletions src/scss/theme/_wysiwyg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@ main {

width: fit-content;
}

h3,
h4,
h5 {
a.su-link--external {
font-weight: 500;
}
}
}
}
1 change: 1 addition & 0 deletions src/scss/theme/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
@import 'button';
@import 'card';
@import 'cta';
@import 'front';
@import 'links';
@import 'wysiwyg';

0 comments on commit 59de526

Please sign in to comment.