Skip to content

Commit 29f38bf

Browse files
committed
Add codefor.de font
1 parent fca41e2 commit 29f38bf

File tree

7 files changed

+26
-13
lines changed

7 files changed

+26
-13
lines changed

src/App.vue

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,31 @@
3434
</script>
3535

3636
<style lang="scss">
37+
@font-face {
38+
font-family: 'apercu-regular-pro';
39+
src: url('./fonts/apercu-regular-pro.eot');
40+
src: url('./fonts/apercu-regular-pro.eot?#iefix') format('embedded-opentype'),
41+
url('./fonts/apercu-regular-pro.woff2') format('woff2'),
42+
url('./fonts/apercu-regular-pro.woff') format('woff'),
43+
url('./fonts/apercu-regular-pro.ttf') format('truetype');
44+
font-weight: normal;
45+
font-style: normal;
46+
}
47+
3748
html,
3849
body {
3950
margin: 0;
4051
padding: 0;
41-
font-family: sans-serif;
52+
font-family: apercu-regular-pro, sans-serif;
53+
color: #212529;
4254
}
4355
.app {
4456
display: flex;
4557
min-height: 100vh;
4658
flex-direction: column;
4759
}
60+
a, a.focus, a.hover, a.visited {
61+
color: #212529;
62+
text-decoration: underline;
63+
}
4864
</style>

src/components/Info.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<p>
1111
Die aktuelle Karte zeigt <span v-html="map.options.attribution"></span>. Hinter dem Link gibt es mehr Informationen.
1212
</p>
13+
<p>
14+
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.
15+
</p>
1316
</div>
1417
</template>
1518

@@ -41,10 +44,6 @@
4144
4245
padding: 10px 20px 20px 20px;
4346
44-
a {
45-
text-decoration: none;
46-
}
47-
4847
pre {
4948
background-color: #333;
5049
color: white;
@@ -59,6 +58,7 @@
5958
6059
.close {
6160
float: right;
61+
text-decoration: none;
6262
}
6363
6464
:last-child {

src/components/Nav.vue

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,13 @@
134134
}
135135
}
136136
137-
a, a:hover, a:focus, a:visited {
138-
color: #333;
139-
text-decoration: none;
140-
}
141-
a:hover {
142-
opacity: 0.5;
143-
}
144-
145137
h1 {
146138
margin: 0;
139+
font-weight: normal;
140+
141+
a {
142+
text-decoration: none;
143+
}
147144
}
148145
149146
.info {

src/fonts/apercu-regular-pro.eot

126 KB
Binary file not shown.

src/fonts/apercu-regular-pro.ttf

126 KB
Binary file not shown.

src/fonts/apercu-regular-pro.woff

60.2 KB
Binary file not shown.

src/fonts/apercu-regular-pro.woff2

45.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)