tests: move font-face to layout

This commit is contained in:
Pooya Parsa 2017-08-30 18:59:32 +04:30
parent 5c2f4715e6
commit 32ef99a96c
2 changed files with 14 additions and 12 deletions

View File

@ -1,15 +1,3 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(../assets/roboto.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
body {
font-family: 'Roboto';
}
.global-css-selector {
color: red;
}

View File

@ -4,3 +4,17 @@
<nuxt/>
</div>
</template>
<style>
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(~/assets/roboto.woff2) format('woff2');
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
body {
font-family: 'Roboto';
}
</style>