miracle/layouts/default.vue

112 lines
1.6 KiB
Vue
Raw Normal View History

2019-09-27 19:49:30 +00:00
<template>
<div>
2020-12-26 09:50:33 +00:00
<div>
2020-06-23 21:37:09 +00:00
<Header />
2020-12-26 09:50:33 +00:00
<nuxt />
<Footer />
2019-09-27 19:49:30 +00:00
</div>
</div>
</template>
2019-09-28 18:17:52 +00:00
<script>
2019-10-04 19:48:41 +00:00
// import FloatingYuriko from '~/components/FloatingYuriko'
import Header from '~/components/Header'
2019-09-28 18:17:52 +00:00
export default {
2019-10-04 19:48:41 +00:00
components: {
// FloatingYuriko
Header,
2019-09-28 18:17:52 +00:00
}
}
</script>
<style>
2020-06-23 21:37:09 +00:00
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
html {
@apply font-sans;
}
2020-12-26 09:50:33 +00:00
.main {
2020-06-23 21:37:09 +00:00
@apply px-4 py-4;
}
@screen md {
2020-12-26 09:50:33 +00:00
.main {
2020-06-23 21:37:09 +00:00
@apply px-8;
}
}
@screen lg {
2020-12-26 09:50:33 +00:00
.main {
2020-06-23 21:37:09 +00:00
@apply px-16;
}
}
@screen xl {
2020-12-26 09:50:33 +00:00
.main {
2020-06-23 21:37:09 +00:00
@apply px-32;
}
}
2020-12-26 09:50:33 +00:00
.page {
@apply w-full;
}
.main p {
2020-06-23 21:37:09 +00:00
@apply my-4;
}
2020-12-26 09:50:33 +00:00
.main h1 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-4xl font-light;
}
2020-12-26 09:50:33 +00:00
.main h2 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-3xl font-light;
}
2020-12-26 09:50:33 +00:00
.main h3 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-2xl font-light;
}
2020-12-26 09:50:33 +00:00
.main h4 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-xl font-light;
}
2020-12-26 09:50:33 +00:00
.main h5 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-lg font-light;
}
2020-12-26 09:50:33 +00:00
.main h6 {
2020-06-23 21:37:09 +00:00
@apply my-4 text-base font-light;
}
2020-12-26 09:50:33 +00:00
.main a {
2020-06-23 21:37:09 +00:00
@apply text-yuika-blue-700;
}
2020-12-26 09:50:33 +00:00
.main a:hover {
2020-06-23 21:37:09 +00:00
@apply underline;
}
2020-12-26 09:50:33 +00:00
.main ul {
2020-06-23 21:37:09 +00:00
@apply list-disc;
}
2020-12-26 09:50:33 +00:00
.main ul li p {
2020-06-23 21:37:09 +00:00
@apply my-0;
}
2020-12-26 09:50:33 +00:00
.main ol {
2020-06-23 21:37:09 +00:00
@apply list-decimal;
}
2020-12-26 09:50:33 +00:00
.main code {
2020-06-23 21:37:09 +00:00
@apply bg-gray-200 text-yuika-blue-700 whitespace-pre-wrap;
}
2020-12-26 09:50:33 +00:00
.main blockquote {
2020-06-23 21:37:09 +00:00
@apply border-l-4 border-yuika-blue-700 pl-8 py-2 my-8;
}
2020-12-26 09:50:33 +00:00
.main pre {
2020-06-23 21:37:09 +00:00
@apply bg-gray-200 text-yuika-blue-700 px-2 py-2 px-2 border border-yuika-blue-500 my-8;
}
blockquote {
@apply border-l-4 border-white pl-8 text-yuika-blue-500;
}
2020-08-05 14:38:23 +00:00
.gallery {
@apply flex flex-row flex-wrap items-center;
}
.gallery .gallery-image {
@apply w-full px-4 py-4;
}
</style>