Skip to content

Commit 963aeb6

Browse files
committed
Add nice fonts
1 parent 16d748e commit 963aeb6

6 files changed

+54
-13
lines changed

CooperHewitt.otf

87.9 KB
Binary file not shown.

LeagueSpartan.otf

24.7 KB
Binary file not shown.

index.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
<body>
1212
<div id="header">
1313
<div id="header-content">
14-
<img src="https://placehold.it/600x200" alt="Logo">
15-
<div class="subtitle">
16-
2nd May
14+
<div class="logo">
15+
<div class="sub">York vs Lancaster</div>
16+
<div class="main">Roses Revival App Jam</div>
17+
<div class="sub">2nd May</div>
1718
</div>
1819
<div class="buttons">
19-
<button>Register your interest</button>
20-
<button>Join the Slack workspace</button>
20+
<a href="https://forms.gle/2STG4312ACxVKa5i9">
21+
<button>Register your interest</button>
22+
</a>
2123
</div>
2224
</div>
2325
</div>

style.css

+18-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.scss

+28-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ $background: #F3F2F4;
55
$logo-image-width: 600px;
66
$content-width: 900px;
77

8+
$heading-font: LeagueSpartan;
9+
$subheading-font: CooperHewitt;
10+
11+
@font-face {
12+
font-family: $heading-font;
13+
src: url("LeagueSpartan.otf") format("opentype");
14+
}
15+
16+
@font-face {
17+
font-family: $subheading-font;
18+
src: url("CooperHewitt.otf") format("opentype");
19+
}
20+
821
* {
922
font-family: 'Open Sans', sans-serif;
1023
}
@@ -29,11 +42,23 @@ html, body {
2942
#header-content {
3043
width: 600px;
3144

32-
.subtitle {
33-
font-size: 2em;
45+
.logo {
46+
width: 100%;
3447
color: white;
35-
margin: 0 auto;
48+
font-size: 3em;
3649
text-align: center;
50+
margin-bottom: 20px;
51+
text-transform: uppercase;
52+
53+
div {
54+
font-family: $heading-font, sans-serif;
55+
margin: 10px 0;
56+
}
57+
58+
.sub {
59+
font-family: $subheading-font, sans-serif;
60+
font-size: 0.8em;
61+
}
3762
}
3863

3964
.buttons {

0 commit comments

Comments
 (0)