Skip to content

Commit

Permalink
Merge pull request #113 from CodeWithAloha/subtsk-73-setting-base-typ…
Browse files Browse the repository at this point in the history
…eface

Subtask 73: setting base typeface
  • Loading branch information
yenhtran authored Feb 6, 2024
2 parents bd45c68 + df0486d commit 26a190d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<!-- Load Material icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

<!-- Typeface styling -->
<link href="https://api.fontshare.com/v2/css?f[]=red-hat-display@700&f[]=zodiak@400&display=swap" rel="stylesheet">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZTZX623WY7"></script>
<script>
Expand All @@ -50,7 +53,7 @@
<script src="scripts/map.js"></script>
</head>

<body class="helvetica">
<body>
<div id="map" class="vw-100 vh-100"></div>

<div class="pa3 shadow-1 dn bg-white" id="activeAreaCalculator"></div>
Expand Down
15 changes: 15 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
body {
padding: 0;
margin: 0;
font-family: 'Zodiak', serif;
font-size: 16px;
letter-spacing: 0.02em;
}
/* html, body, #map {
height: 100%;
width: 100vw;
} */

h2 {
font-family: 'Red Hat Display', sans-serif;
font-size: 20px;
letter-spacing: 0.03em;
}

#sidebar {
z-index: 999 !important;
position: absolute;
Expand Down Expand Up @@ -105,6 +114,12 @@ hr {
max-width: 450px !important;
}

#driver-popover-item * {
font-family: 'Zodiak', serif !important;
font-size: 16px !important;
letter-spacing: 0.02em;
}

.bb-dotted {
border-bottom: 1px dotted #333;
}

0 comments on commit 26a190d

Please sign in to comment.