public/app.vue

57 lines
901 B
Vue
Raw Normal View History

2022-07-21 16:50:03 -04:00
<template>
2022-07-21 22:03:35 -04:00
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
2022-07-21 16:50:03 -04:00
</template>
2022-07-21 22:03:35 -04:00
<style>
* {
box-sizing: border-box;
/* for that cool wave dark mode effect */
z-index: 1;
position: relative;
}
html,
body,
div#__nuxt {
height: 100%;
width: 100%;
}
:root {
--text-color: #243746;
--bg: #f1e7d0;
}
.dark {
--text-color: #ebf4f1;
--bg: #091a28;
}
2022-12-31 20:27:53 -05:00
.prose h2 > a,
.prose h3 > a,
.prose h4 > a,
.prose h5 > a,
.prose h6 > a {
/*
override default tailwind styles
these have a default specificity of 0, 4, 0 so !important is basically the only way
*/
@apply font-bold no-underline !important;
}
article .prose h2 > a:hover::before,
article .prose h3 > a:hover::before,
article .prose h4 > a:hover::before,
article .prose h5 > a:hover::before,
article .prose h6 > a:hover::before {
2022-12-31 20:27:53 -05:00
content: "#";
position: absolute;
left: -2rem;
opacity: 0.5;
font-style: italic;
}
2022-07-21 22:03:35 -04:00
</style>