You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
369 lines
5.2 KiB
SCSS
369 lines
5.2 KiB
SCSS
/* Site specific */
|
|
$headerHeight: 84px;
|
|
|
|
strong{
|
|
font-weight:bold;
|
|
}
|
|
|
|
.section{
|
|
padding:1.75rem 1.24rem;
|
|
margin:1.75rem auto;
|
|
background: $white;
|
|
}
|
|
.section--no-bg{
|
|
padding:0; /*1.24rem*/
|
|
background: none;
|
|
}
|
|
nav a{
|
|
color: $black;
|
|
&:hover, &:visited:hover{
|
|
color:$primary;
|
|
border-bottom:1px solid $primary;
|
|
}
|
|
&:visited{
|
|
color: $black;
|
|
}
|
|
}
|
|
main{
|
|
margin-top:$headerHeight;
|
|
background:$background;
|
|
}
|
|
.hero--image{
|
|
background-size:cover;
|
|
background-position-x:center;
|
|
background-position-y:top;
|
|
}
|
|
a.button--hero{
|
|
border-color:$white;
|
|
background:$offWhite;
|
|
color:$primary;
|
|
font-size:1.5rem;
|
|
margin-top:1.2rem;
|
|
&:hover{
|
|
background:$white;
|
|
color:$black;
|
|
}
|
|
}
|
|
.section h2{
|
|
border-bottom:1px solid $lightWhite;
|
|
padding-bottom:1.4rem;
|
|
margin-bottom:1.4rem;
|
|
}
|
|
.hero-m .hero-content{
|
|
top:auto;
|
|
transform:translate(-50%, 0);
|
|
bottom: 50px;
|
|
h1{
|
|
font-size:3.8rem;
|
|
}
|
|
h2{
|
|
font-size:2.6rem;
|
|
}
|
|
}
|
|
|
|
details{
|
|
margin-bottom: 1rem;
|
|
}
|
|
details summary,
|
|
details .detail__body{
|
|
background: $white;
|
|
}
|
|
|
|
.header{
|
|
height: $headerHeight;
|
|
/*
|
|
background:#39897B;
|
|
*/
|
|
}
|
|
.header--scroll{
|
|
height:auto;
|
|
}
|
|
.mobile-nav{
|
|
top:$headerHeight;
|
|
}
|
|
main{
|
|
/*
|
|
background:#C8BDB4;
|
|
*/
|
|
}
|
|
nav > a{
|
|
padding:.7rem;
|
|
}
|
|
.fundraiser-container{
|
|
display:grid;
|
|
grid-template-columns: repeat(1,minmax(0,1fr));
|
|
@media(min-width:360px){
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
@media(min-width: 768px){
|
|
grid-template-columns: repeat(4,minmax(0,1fr));
|
|
}
|
|
}
|
|
.fundraiser{
|
|
/*
|
|
float:left;
|
|
width:25%;
|
|
*/
|
|
|
|
border-bottom:1px solid $lighterWhite;
|
|
text-align:center;
|
|
padding-bottom:1rem;
|
|
|
|
display:flex;
|
|
flex-direction: column;
|
|
|
|
img{
|
|
align-items:center;
|
|
width:100%;
|
|
height:auto;
|
|
/*
|
|
flex: 1 0 auto;
|
|
*/
|
|
}
|
|
|
|
p{
|
|
padding-top:.6rem;
|
|
margin-bottom:auto;
|
|
}
|
|
|
|
&:nth-child(odd){
|
|
border-bottom:1px solid $lightWhite;
|
|
}
|
|
&:hover{
|
|
border-bottom:1px solid $primary;
|
|
}
|
|
}
|
|
|
|
p + p {
|
|
margin-top:1rem;
|
|
}
|
|
p + .button {
|
|
margin-top:2rem;
|
|
}
|
|
.footer{
|
|
border-top:1px solid $lightBlack;
|
|
background: lighten($primary,10);
|
|
padding:1.6rem 0;
|
|
padding-bottom: 2.4rem;
|
|
}
|
|
.footer *{
|
|
color: $white;
|
|
}
|
|
.footer__sub{
|
|
margin-top:2rem;
|
|
}
|
|
.footer__title,{
|
|
font-weight:bold;
|
|
font-size:1.85rem;
|
|
margin-bottom:1rem;
|
|
margin-top:.8rem;
|
|
}
|
|
.footer__logo__container{
|
|
display:flex;
|
|
gap: 1.6rem;
|
|
align-items: center;
|
|
margin-bottom:1rem;
|
|
.footer__title{
|
|
margin:0;
|
|
}
|
|
}
|
|
.footer__logo{
|
|
border-radius: 9999px;
|
|
}
|
|
a.footer__link{
|
|
color: $white;
|
|
&:hover{
|
|
color: $black;
|
|
}
|
|
}
|
|
.subfooter{
|
|
border-top:1px solid $lighterBlack;
|
|
background: $primary;
|
|
padding:.8rem 0;
|
|
}
|
|
.subfooter *{
|
|
color: $white;
|
|
}
|
|
.subfooter a{
|
|
color: $white;
|
|
text-decoration:underline;
|
|
&:hover{
|
|
color:$lighterWhite;
|
|
}
|
|
}
|
|
.footer__container{
|
|
display:flex;
|
|
flex-wrap: wrap;
|
|
gap:3rem;
|
|
}
|
|
a.footer__icon{
|
|
width:32px;
|
|
height:32px;
|
|
display:inline-block;
|
|
}
|
|
.siteby{
|
|
text-align:right;
|
|
}
|
|
|
|
.section summary h2{
|
|
font-size:1.6rem;
|
|
border:none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.card__content{
|
|
background:$white;
|
|
padding:1rem;
|
|
}
|
|
.team-grid{
|
|
display:grid;
|
|
grid-template-columns: repeat(1,minmax(0,1fr));
|
|
@media(min-width:700px){
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
@media(min-width:1000px){
|
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
|
}
|
|
|
|
& .card{
|
|
width:100%;
|
|
height:auto;
|
|
background: $white;
|
|
position:relative;
|
|
}
|
|
}
|
|
|
|
.card__image{
|
|
width:100%;
|
|
height:auto;
|
|
}
|
|
.flip-card{
|
|
margin:0;
|
|
position:relative;
|
|
height:286px;
|
|
width:100%;
|
|
&:hover{
|
|
.flip-card__front{
|
|
display: block; // Overwrite of _cards
|
|
@media(min-width:320px){
|
|
.card__content{
|
|
display:none;
|
|
}
|
|
}
|
|
}
|
|
.flip-card__back{
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
.flip-card__front{
|
|
position:relative;
|
|
}
|
|
.flip-card__front .card__content{
|
|
@media(min-width:320px){
|
|
position:absolute;
|
|
bottom:0;
|
|
max-width:85%;
|
|
}
|
|
background: $primary;
|
|
background: rgba($primary, .8);
|
|
*{color:$white;}
|
|
|
|
h2{
|
|
border:0;
|
|
padding:0;
|
|
}
|
|
h3{
|
|
font-size:1.6rem;
|
|
}
|
|
}
|
|
.flip-card__back{
|
|
display:block;
|
|
@media(min-width:320px){
|
|
display:none;
|
|
.card__content{
|
|
position:relative;
|
|
& p{
|
|
position:relative;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.flip-card__back .card__content{
|
|
@media(min-width:320px){
|
|
position:absolute;
|
|
top:0;
|
|
left:0;
|
|
width:100%;
|
|
height:100%;
|
|
background: $primary;
|
|
background: rgba($primary, .8);
|
|
|
|
& p{
|
|
padding:1rem;
|
|
position:absolute;
|
|
top:50%;left:50%;
|
|
transform:translate(-50%, -50%);
|
|
width:100%;
|
|
color:$white;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.donate-container{
|
|
display:grid;
|
|
gap:1rem;
|
|
grid-template-columns: repeat(1,minmax(0,1fr));
|
|
@media(min-width:720px){
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
|
|
section{
|
|
padding:1rem;
|
|
h3{
|
|
border-bottom:1px solid $lightWhite;
|
|
padding-bottom:1rem;
|
|
margin-bottom:1rem;
|
|
}
|
|
a.button{
|
|
display:block;
|
|
}
|
|
}
|
|
}
|
|
.contact-container{
|
|
display:grid;
|
|
gap:1rem;
|
|
margin:0 auto;
|
|
margin-top:1rem;
|
|
gap:1rem;
|
|
grid-template-columns: repeat(1,minmax(0,1fr));
|
|
@media(min-width:720px){
|
|
grid-template-columns: repeat(2,minmax(0,1fr));
|
|
}
|
|
@media(min-width:960px){
|
|
grid-template-columns: repeat(3,minmax(0,1fr));
|
|
}
|
|
a, a:visited{
|
|
display:block;
|
|
background:lighten($primary,10);
|
|
padding:1rem;
|
|
text-align:center;
|
|
color:$white;
|
|
&:hover{
|
|
background:lighten($primary,15);
|
|
}
|
|
|
|
&:nth-child(odd){
|
|
background:$primary;
|
|
&:hover{
|
|
background:lighten($primary,15);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|