Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Jul 1, 2024
2 parents 0de1cd9 + 2e89993 commit 5b0ef6a
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions src/scss/components/card/_basic-card.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
@charset "UTF-8";

.ptype-stanford-card {

// Card display
.su-card {
border: none;
box-shadow: none;

.image {
img,
figure {
display: block;
min-height: 397px;
width: 100%;
object-fit: cover;
}
}

section.su-card__contents {
padding: 4rem 0 0 0;

div.su-card__superhead {
@include slab;

font-size: 1.9rem;
font-weight: 400;
margin-bottom: 0;
line-height: 120%;
}

p {
padding: 1.8rem 0;
}


h2,
h3 {
@include thub-type-b;

margin-bottom: 0;
}

.su-link--action {
font-size: 1.9rem;
margin-top: 1.8rem;
}

.su-card__button {
margin-top: 1.8rem;
}
}
}

}
5 changes: 5 additions & 0 deletions src/scss/components/card/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@charset "UTF-8";

// Card Roll Up

@import 'basic-card';
1 change: 1 addition & 0 deletions src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// @import 'component-name/index';

@import 'brand-bar/index';
@import 'card/index';
@import 'hero-banner/index';
@import 'local-footer/index';
@import 'main-nav/index';
Expand Down
35 changes: 19 additions & 16 deletions src/scss/components/local-footer/_local-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,30 @@

background-color: $su-color-white;

.thub-gradient-divider {
@include centered-column;
.su-local-footer__columns,
.su-local-footer__header {
max-width: none;
}

.thub-gradient-divider {
width: calc(100% - 200px);
margin: 0 auto;
background: $thub-gradient-lagunita-to-ochre-to-red;
height: 3px;
border-radius: 1.5px;
}


.su-local-footer__header {
.su-link--internal {
@include thub-button--gradient;

border: none;

&::after {
background-color: $su-color-black;
}

&:hover,
&:focus,
&:active {
Expand All @@ -32,7 +38,7 @@
}
}
}

.su-local-footer__columns {
@include responsive-spacing('padding-top', 7);

Expand Down Expand Up @@ -83,7 +89,7 @@
.organization {
@include thub-type-e;

display: block;
display: block;
}
}

Expand All @@ -105,7 +111,7 @@
}

a {
@include thub-type-d;
@include thub-type-e;
@include responsive-spacing('margin-left', 2);
@include responsive-spacing('margin-right', 2);

Expand All @@ -125,7 +131,7 @@

h2 {
@include thub-type-d;

@include grid-media-min('md') {
@include thub-type-c;
}
Expand All @@ -134,26 +140,23 @@
h3 {
@include thub-type-d;
}

h4 {
@include thub-type-e;
}

h5 {
@include thub-type-f;
}
}

.su-signup-form {
#signup-email {
@include responsive-spacing('margin-top', 1);
@include responsive-spacing('margin-bottom', 1);

padding: 1.6rem 2.2rem 1.8rem 2.2rem;
border-radius: 6px;
min-height: 5.7rem;
margin-top: 2rem;
margin-bottom: 2.7rem;
margin-bottom: 1.2rem;
margin-top: 1.8rem;
}

.su-wysiwyg-text {
Expand Down

0 comments on commit 5b0ef6a

Please sign in to comment.