IT4C.dev/docs/.vuepress/layouts/BlankLayout.vue
Ulf Gebhardt d6be15ce0d
feat(other): eslint & prettier (#302)
* eslint

* eslint fixes

* fix footer

* install prettier

* fix prettier
2025-03-20 20:11:16 +01:00

83 lines
1.5 KiB
Vue

<template>
<div class="theme-container blank-layout">
<Content />
<VPFooter />
</div>
</template>
<script>
export default {
name: 'BlankLayout',
}
</script>
<style>
@layer theme, base, components, utilities;
@import 'tailwindcss/theme.css' layer(theme);
@import 'tailwindcss/preflight.css' layer(base);
@import 'tailwindcss/utilities.css' layer(utilities);
@custom-variant dark (&:where([data-theme="dark"], [data-theme="dark"] *));
/* Conflicts with vuepress */
@layer base {
.vp-sidebar {
box-sizing: content-box;
}
.vp-nav-logo {
display: inline;
}
.theme-hope-content p {
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
.theme-hope-content ul {
list-style: unset;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
.theme-hope-content figure {
margin: inherit;
padding: inherit;
}
}
.blank-layout {
--content-width: 1160px;
}
.blank-layout h1,
.blank-layout h2,
.blank-layout h3,
.blank-layout h4,
.blank-layout h5,
.blank-layout h6 {
font-family: var(--font-family-heading);
}
.blank-layout h1,
.blank-layout h2 {
border-bottom: none;
padding-bottom: 2rem;
font-weight: bold;
}
.blank-layout .content-width {
max-width: var(--content-width);
margin: 0 auto;
padding: 0 2.5rem;
@media (max-width: 768px) {
padding: 0 1.75rem;
}
@media (max-width: 400px) {
padding: 0 1rem;
}
}
</style>