-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Women-Coding-Community#205 from WomenCodingCommuni…
…ty/revert-202-revert-195-update-colours-homepage chore: Use new layout colours and figma re-design - Step 1
- Loading branch information
Showing
28 changed files
with
1,034 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<header class="container hero"> | ||
<div class="row"> | ||
<div class="col-12 col-md-5 col-xl-4 hero-body"> | ||
<h1>Women Coding Community</h1> | ||
<hr> | ||
<p>Empowering Women in Their Tech Careers</p> | ||
</div> | ||
<div class="col-12 col-md-7 col-xl-8 hero-media"> | ||
<div class="hero-image"></div> | ||
</div> | ||
</div> | ||
</header> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<header class="page-header"> | ||
<h1>{{ page.title }}</h1> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,266 @@ | ||
// TEMPORARY: To be refactored to not only apply to homepage | ||
|
||
.home { | ||
.card { | ||
padding: 0; | ||
height: 100%; | ||
border: 1px solid $border-color; | ||
|
||
.btn { | ||
max-width: fit-content; | ||
} | ||
} | ||
|
||
.card, | ||
.card-deck > .card:first-child, | ||
.card-deck > .card:last-child { | ||
border-radius: $border-radius; | ||
} | ||
|
||
.card-deck { | ||
> * { | ||
height: 100%; | ||
} | ||
} | ||
|
||
.card-date { | ||
color: $text-secondary; | ||
font-size: $font-label-m; | ||
} | ||
|
||
.card-s { | ||
.card-title { | ||
font-size: 1.3rem; | ||
margin-bottom: 0.25rem; | ||
} | ||
|
||
.card-subtitle { | ||
font-weight: 400; | ||
margin-top: 0; | ||
margin-bottom: 0.6rem; | ||
font-size: 1.1rem; | ||
} | ||
|
||
p { | ||
font-size: $font-body-m; | ||
} | ||
|
||
.card-img-top { | ||
border-radius: 100%; | ||
} | ||
|
||
.card-body { | ||
padding: map-get($spacers, 3); | ||
display: flex; | ||
height: 100%; | ||
flex-direction: column; | ||
} | ||
} | ||
|
||
.card-m { | ||
.card-body { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 2rem 2rem 3rem 2rem; | ||
} | ||
|
||
.card-title { | ||
@include font-headline-l; | ||
text-align: center; | ||
} | ||
|
||
p { | ||
@include font-body; | ||
text-align: center; | ||
} | ||
} | ||
|
||
.card-l { | ||
.card-title { | ||
font-size: $font-display-s; | ||
} | ||
|
||
.card-body { | ||
justify-content: center; | ||
padding: map-get($spacers, 5); | ||
} | ||
|
||
p { | ||
@include font-body; | ||
text-align: left; | ||
} | ||
} | ||
|
||
.card-horizontal { | ||
display: flex; | ||
flex-direction: row; | ||
border-radius: $border-radius; | ||
|
||
.card-title { | ||
text-align: left; | ||
} | ||
|
||
.card-body { | ||
display: flex; | ||
flex-direction: column; | ||
text-align: left; | ||
flex: none; | ||
} | ||
|
||
.card-media { | ||
flex: none; | ||
padding-left: 0; | ||
|
||
img { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
border-radius: 0 $border-radius $border-radius 0; | ||
} | ||
} | ||
} | ||
|
||
@include media-breakpoint-up(sm) { | ||
.card-deck { | ||
.card-horizontal { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.card-horizontal { | ||
.card-media { | ||
img { | ||
max-height: 100%; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.announcements { | ||
.card-deck { | ||
margin-right: auto; | ||
margin-left: auto; | ||
flex-direction: column; | ||
} | ||
|
||
.card-horizontal { | ||
border: none; | ||
background: transparent; | ||
margin: 0 1rem; | ||
&:not(:only-child) { | ||
margin-bottom: map-get($spacers, 5); | ||
} | ||
|
||
p { | ||
font-size: $font-body-m; | ||
} | ||
|
||
.card-media { | ||
img { | ||
border-radius: 0; | ||
} | ||
} | ||
} | ||
|
||
.card-body { | ||
padding: 0 map-get($spacers, 3); | ||
} | ||
|
||
.card-title { | ||
margin: map-get($spacers, 1) 0 map-get($spacers, 3) 0; | ||
} | ||
} | ||
|
||
.mission { | ||
.card-horizontal { | ||
.card-media { | ||
img { | ||
border-radius: 0; | ||
} | ||
} | ||
.card-title { | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
|
||
.programmes { | ||
.card-deck { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.card { | ||
border: none; | ||
margin: 0 0 map-get($spacers, 3) 0; | ||
padding: map-get($spacers, 3); | ||
|
||
figure { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
|
||
.support { | ||
.card-l { | ||
border: none; | ||
.card-body { | ||
padding: 0; | ||
} | ||
} | ||
} | ||
|
||
@include media-breakpoint-down(sm) { | ||
.mission { | ||
.card-horizontal { | ||
flex-direction: column; | ||
.card-body { | ||
padding: map-get($spacers, 3) 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include media-breakpoint-up(md) { | ||
.mission { | ||
.card-horizontal { | ||
.card-body { | ||
padding: map-get($spacers, 3); | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include media-breakpoint-up(lg) { | ||
.announcements { | ||
.card-body { | ||
flex: 1 1 auto; | ||
} | ||
|
||
.card-deck { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.announcements { | ||
.card { | ||
img { | ||
max-height: 100%; | ||
} | ||
} | ||
|
||
.card-body { | ||
padding: 0 map-get($spacers, 5) 0 map-get($spacers, 3); | ||
} | ||
} | ||
|
||
.mission { | ||
.card-horizontal { | ||
.card-body { | ||
padding-left: map-get($spacers, 4); | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.