mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-30 12:01:50 +01:00
Move CSS imports to head (#90)
This commit is contained in:
parent
2b05efeb34
commit
c07715350d
@ -24,8 +24,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
|
|
||||||
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
|
|
||||||
* {
|
* {
|
||||||
font-family: "Open Sans", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
font-family: "Open Sans", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
}
|
}
|
||||||
|
@ -32,10 +32,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
|
|
||||||
@import url("https://cdn.materialdesignicons.com/4.4.95/css/materialdesignicons.min.css");
|
|
||||||
|
|
||||||
.material-holder {
|
.material-holder {
|
||||||
|
font-family: 'Material Design Icons', 'Material Icons', sans-serif;
|
||||||
color: #476582;
|
color: #476582;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
|
@ -3,6 +3,11 @@ module.exports = {
|
|||||||
description: 'Free and open source manga reader for Android.',
|
description: 'Free and open source manga reader for Android.',
|
||||||
dest: './public',
|
dest: './public',
|
||||||
head: [
|
head: [
|
||||||
|
['link', { rel: "preconnect", href: 'https://cdn.materialdesignicons.com/', crossorigin:""} , ''],
|
||||||
|
['link', { rel: "preconnect", href: 'https://fonts.gstatic.com', crossorigin:""} , ''],
|
||||||
|
['link', { rel: "stylesheet", href: 'https://cdn.materialdesignicons.com/4.4.95/css/materialdesignicons.min.css', crossorigin:""} , ''],
|
||||||
|
['link', { rel: "stylesheet", href: 'https://fonts.googleapis.com/css?family=Open+Sans'} , ''],
|
||||||
|
['link', { rel: "stylesheet", href: 'https://fonts.googleapis.com/icon?family=Material+Icons'} , ''],
|
||||||
['script', { src: 'https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js'} , ''],
|
['script', { src: 'https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js'} , ''],
|
||||||
['link', { rel: "stylesheet", type: "text/css", href: 'https://unpkg.com/flickity@2/dist/flickity.min.css'} , ''],
|
['link', { rel: "stylesheet", type: "text/css", href: 'https://unpkg.com/flickity@2/dist/flickity.min.css'} , ''],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user