-
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 #20 from WISVCH/basic-style
Basic style into banner and timeline changes
- Loading branch information
Showing
23 changed files
with
262 additions
and
34 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 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
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
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,32 @@ | ||
import { h, FunctionalComponent } from "preact"; | ||
|
||
import * as style from "./style.scss"; | ||
|
||
|
||
|
||
|
||
/** | ||
* Renders the about section. | ||
*/ | ||
export const Numbers: FunctionalComponent = () => ( | ||
<section class={style.numbers}> | ||
<div class={style.columns}> | ||
|
||
<div class={style.column}> | ||
<h2>120</h2> | ||
<h3>attendees</h3> | ||
</div> | ||
|
||
<div class={style.column}> | ||
<h2>3</h2> | ||
<h3>cases</h3> | ||
</div> | ||
|
||
<div class={style.column}> | ||
<h2>24</h2> | ||
<h3>hours</h3> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
); |
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,78 @@ | ||
@import "./src/mixins"; | ||
@import "./src/variables"; | ||
|
||
.numbers { | ||
margin-bottom: 64px; | ||
|
||
|
||
h2 { | ||
color: $secondary-color; | ||
font-family: "Audiowide"; | ||
font-size: 96px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: normal; | ||
text-align: center; | ||
margin: 0; | ||
padding-left: 2px; | ||
} | ||
|
||
h3 { | ||
font-family: "Krona-One"; | ||
font-size: 32px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: normal; | ||
text-align: center; | ||
margin: 0; | ||
padding-left: 2px; | ||
} | ||
|
||
.columns { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
} | ||
|
||
.column { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
text-align: left; | ||
padding: 20px; | ||
justify-content: flex-start; | ||
} | ||
|
||
|
||
div { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
|
||
a { | ||
margin: 8px 16px; | ||
padding: 0.6em 1.6em; | ||
border-radius: 6px; | ||
white-space: nowrap; | ||
text-decoration: none; | ||
cursor: pointer; | ||
|
||
svg { | ||
display: inline-block; | ||
vertical-align: middle; | ||
} | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@include breakpoint(sm) { | ||
.numbers { | ||
div { | ||
flex-direction: row; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.