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 { body h2{
font-family: Futura Book font; font-family: 'Roboto', sans-serif;
}
body p{
font-family: 'Roboto', sans-serif;
} }
.act-link { .act-link {

View File

@@ -1,5 +1,5 @@
<template> <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> <br>
<br> <br>

View File

@@ -3,6 +3,8 @@
<head> <head>
${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> </head>
<body ${bodyAttrs}> <body ${bodyAttrs}>
@@ -10,8 +12,8 @@
<script> <script>
// Add dark / light detection that runs before Vue.js load. Borrowed from overreacted.io // Add dark / light detection that runs before Vue.js load. Borrowed from overreacted.io
// for this starter, i used the code from gridsome.org // for this starter, i used the code from gridsome.org
(function() { (function () {
window.__onThemeChange = function() {}; window.__onThemeChange = function () { };
function setTheme(newTheme) { function setTheme(newTheme) {
@@ -25,18 +27,18 @@
var preferredTheme; var preferredTheme;
try { try {
preferredTheme = localStorage.getItem('theme'); preferredTheme = localStorage.getItem('theme');
} catch (err) {} } catch (err) { }
window.__setPreferredTheme = function(newTheme) { window.__setPreferredTheme = function (newTheme) {
setTheme(newTheme); setTheme(newTheme);
try { try {
localStorage.setItem('theme', newTheme); localStorage.setItem('theme', newTheme);
} catch (err) {} } catch (err) { }
} }
var darkQuery = window.matchMedia('(prefers-color-scheme: dark)'); var darkQuery = window.matchMedia('(prefers-color-scheme: dark)');
darkQuery.addListener(function(e) { darkQuery.addListener(function (e) {
window.__setPreferredTheme(e.matches ? 'dark' : 'light'); window.__setPreferredTheme(e.matches ? 'dark' : 'light');
}); });

View File

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

View File

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