Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and apply header component #2002

Merged
Merged
Prev Previous commit
Next Next commit
add about page link styling
  • Loading branch information
arghmatey committed Jul 23, 2021
commit 129683e7fb1fc80c79a42e95d2c032acf91ed94f
16 changes: 16 additions & 0 deletions _sass/components/_about.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
/* This page is built using a mobile first method. Plain tags apply to mobile. Breakpoints below for larger sizes. */

.header-link--about {
text-decoration: none;
font-weight: 700;

&:link,
&:visited {
color: $color-black;
}

&:hover,
&:active,
&:focus {
color: $color-red;
}
}

.donation-gif-box-shadow {
box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
}
Expand Down
8 changes: 4 additions & 4 deletions pages/about/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<!-- Header banner -->
<div class="header-container flex-container">
<div class="header-text">
<h1 class="header-title title1">About Us</h1>
<p class="header-p">We bring together civic-minded volunteers to build digital products,
<h1 class="title1">About Us</h1>
<p>We bring together civic-minded volunteers to build digital products,
programs and services with community partners and local government to address issues in our LA region.
</p>
<p class="header-p">
Hack for LA is a project of <a href="https://www.codeforamerica.org/" target="_blank">Code for America</a> and its official Los Angeles chapter.
<p>
Hack for LA is a project of <a class="header-link--about" href="https://www.codeforamerica.org/" target="_blank">Code for America</a> and its official Los Angeles chapter.
</p>
</div>
<img class="header-hero-image"src="/assets/images/about/about-us-header.svg" alt="" />
Expand Down