fix
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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>
|
|
||||||
Reference in New Issue
Block a user