public/app.vue

90 lines
1.4 KiB
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
2023-01-28 15:59:29 -05:00
<style lang="scss">
2023-01-28 16:42:39 -05:00
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;600;700;800;900&display=swap");
2022-07-21 22:03:35 -04:00
* {
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
2023-01-28 15:59:29 -05:00
.prose {
2022-12-31 20:27:53 -05:00
/*
override default tailwind styles
these have a default specificity of 0, 4, 0 so !important is basically the only way
*/
2023-01-28 15:59:29 -05:00
h2,
h3,
h4,
h5,
h6 {
& > a {
2023-01-28 16:49:20 -05:00
font-weight: bold;
2023-01-28 15:59:29 -05:00
text-decoration: none !important;
}
}
2022-12-31 20:27:53 -05:00
}
2023-01-28 15:59:29 -05:00
.prose article {
2023-01-28 16:42:39 -05:00
h1,
2023-01-28 15:59:29 -05:00
h2,
h3,
h4,
h5,
h6 {
2023-01-28 16:42:39 -05:00
font-family: Bitter, ui-sans-serif, system-ui, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue",
sans-serif;
2023-01-28 15:59:29 -05:00
& > a:hover {
@apply hover:text-blue-700 dark:hover:text-blue-400;
&::before {
content: "#";
position: absolute;
opacity: 0.5;
left: -2rem;
font-style: italic;
}
}
2023-01-28 16:49:20 -05:00
& > a {
font-weight: 800;
}
2023-01-28 15:59:29 -05:00
}
a:hover {
@apply hover:text-blue-700 dark:hover:text-blue-400;
}
2023-01-28 16:49:20 -05:00
p,
li {
font-family: "Source Serif Pro", serif;
line-height: 1.8;
color: #111;
font-size: 1.25rem;
}
2022-12-31 20:27:53 -05:00
}
2022-07-21 22:03:35 -04:00
</style>