Skip to content

Commit

Permalink
Add codefor.de font
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Aug 7, 2022
1 parent fca41e2 commit 29f38bf
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
18 changes: 17 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,31 @@
</script>

<style lang="scss">
@font-face {
font-family: 'apercu-regular-pro';
src: url('./fonts/apercu-regular-pro.eot');
src: url('./fonts/apercu-regular-pro.eot?#iefix') format('embedded-opentype'),
url('./fonts/apercu-regular-pro.woff2') format('woff2'),
url('./fonts/apercu-regular-pro.woff') format('woff'),
url('./fonts/apercu-regular-pro.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
font-family: apercu-regular-pro, sans-serif;
color: #212529;
}
.app {
display: flex;
min-height: 100vh;
flex-direction: column;
}
a, a.focus, a.hover, a.visited {
color: #212529;
text-decoration: underline;
}
</style>
8 changes: 4 additions & 4 deletions src/components/Info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<p>
Die aktuelle Karte zeigt <span v-html="map.options.attribution"></span>. Hinter dem Link gibt es mehr Informationen.
</p>
<p>
Die Bilder stammen aus dem <a href="https://www.stadtentwicklung.berlin.de/geoinformation/">Geoportal Berlin</a>, das von der Senatsverwaltung für Stadtentwicklung, Bauen und Wohnen des Landes Berlin betriben wird.
</p>
</div>
</template>

Expand Down Expand Up @@ -41,10 +44,6 @@
padding: 10px 20px 20px 20px;
a {
text-decoration: none;
}
pre {
background-color: #333;
color: white;
Expand All @@ -59,6 +58,7 @@
.close {
float: right;
text-decoration: none;
}
:last-child {
Expand Down
13 changes: 5 additions & 8 deletions src/components/Nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,13 @@
}
}
a, a:hover, a:focus, a:visited {
color: #333;
text-decoration: none;
}
a:hover {
opacity: 0.5;
}
h1 {
margin: 0;
font-weight: normal;
a {
text-decoration: none;
}
}
.info {
Expand Down
Binary file added src/fonts/apercu-regular-pro.eot
Binary file not shown.
Binary file added src/fonts/apercu-regular-pro.ttf
Binary file not shown.
Binary file added src/fonts/apercu-regular-pro.woff
Binary file not shown.
Binary file added src/fonts/apercu-regular-pro.woff2
Binary file not shown.

0 comments on commit 29f38bf

Please sign in to comment.