Skip to content

Commit

Permalink
Merged in feature/STDD-2 (pull request #8)
Browse files Browse the repository at this point in the history
STDD-2: Header Banner: Variation #1

Approved-by: Vladimir Zdravkovic
  • Loading branch information
lenamukhina authored and botanic committed Jul 5, 2023
2 parents 238fa1a + 9e4558f commit c1c875b
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 1 deletion.
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.

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

.su-hero {
.su-hero__card {
border: none;
box-shadow: none;
color: $st-color-white;

a {
color: $st-color-white;
text-decoration: none;

&:hover,
&:active {
text-decoration: underline;
}
}
}

.su-card__contents {
> h2 {
font-size: 1.3333em;
}

> p {
font-size: 1.6rem;
}

ul {
margin: 0;
padding: 0;
list-style-type: none;

a {
position: relative;
padding-right: 1.8rem;

&::after {
position: absolute;
margin-left: 0.8rem;
font-size: 3.2rem;
line-height: 1.8rem;
content: "\203A";
}
}
}
}

&.color--black .su-hero__card {
background-color: $st-color-black;
}

&.color--cardinal-red .su-hero__card {
background-color: $st-color-cardinal-red;
}

&.color--sky-blue .su-hero__card {
background-color: $st-color-sky-blue;
}

&.color--brick .su-hero__card {
background-color: $st-color-brick;
}

&.color--palo-verde .su-hero__card {
background-color: $st-color-palo-verde;
}
}
3 changes: 3 additions & 0 deletions src/scss/components/hero/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@charset "UTF-8";

@import "hero";
1 change: 1 addition & 0 deletions src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
// @import 'component-name/index';

@import "alert/index";
@import "hero/index";
1 change: 1 addition & 0 deletions src/scss/utilities/variables/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// define colors here in the format of:
//$abbreviation-color-pink: #ff0099; // like $saa-color-pink
$st-color-white: #fff;
$st-color-black: #2e2d29;
$st-color-cardinal-red: #8c1515;
$st-color-sky-blue: #016895;
Expand Down

0 comments on commit c1c875b

Please sign in to comment.