This commit is contained in:
2021-02-18 17:41:57 +02:00
parent 68b9b252ae
commit b691684c09
5 changed files with 15 additions and 22 deletions

View File

@@ -11,8 +11,12 @@ blockquote {
}
}
body h2 {
font-family: Futura Book font;
body h2{
font-family: 'Roboto', sans-serif;
}
body p{
font-family: 'Roboto', sans-serif;
}
.act-link {

View File

@@ -1,5 +1,5 @@
<template>
<section class="pb-20 px-4 bg-cover text-center" :style="cta.img">
<section class="pb-20 px-4 bg-cover text-center" :style="img">
<br>
<br>
<br>

View File

@@ -3,6 +3,8 @@
<head>
${head}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
</head>
<body ${bodyAttrs}>
@@ -10,8 +12,8 @@
<script>
// Add dark / light detection that runs before Vue.js load. Borrowed from overreacted.io
// for this starter, i used the code from gridsome.org
(function() {
window.__onThemeChange = function() {};
(function () {
window.__onThemeChange = function () { };
function setTheme(newTheme) {
@@ -25,18 +27,18 @@
var preferredTheme;
try {
preferredTheme = localStorage.getItem('theme');
} catch (err) {}
} catch (err) { }
window.__setPreferredTheme = function(newTheme) {
window.__setPreferredTheme = function (newTheme) {
setTheme(newTheme);
try {
localStorage.setItem('theme', newTheme);
} catch (err) {}
} catch (err) { }
}
var darkQuery = window.matchMedia('(prefers-color-scheme: dark)');
darkQuery.addListener(function(e) {
darkQuery.addListener(function (e) {
window.__setPreferredTheme(e.matches ? 'dark' : 'light');
});

View File

@@ -78,11 +78,6 @@ query {
<style>
@font-face {
font-family: Futura Book font;
src: url('../assets/Futura_Book_font.ttf');
font-weight: normal;
}
body {
font-family: Futura Book font,

View File

@@ -212,11 +212,3 @@ export default {
},
};
</script>
<style scoped>
h2 {
font-family: Futura Book font !important;
}
p {
font-family: Futura Book font !important;
}
</style>