1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <script setup lang="ts">
- import PageFooter from './PageFooter.vue'
- import NextAndPrevLinks from './NextAndPrevLinks.vue'
- </script>
- <template>
- <main class="page">
- <div class="container">
- <slot name="top" />
- <Content class="content" />
- <PageFooter />
- <NextAndPrevLinks />
- <slot name="bottom" />
- </div>
- </main>
- </template>
- <style scoped>
- .page {
- padding-top: var(--header-height);
- }
- @media (min-width: 720px) {
- .page {
- margin-left: 16.4rem;
- }
- }
- @media (min-width: 960px) {
- .page {
- margin-left: 20rem;
- }
- }
- .container {
- margin: 0 auto;
- padding: 0 1.5rem 4rem;
- max-width: 48rem;
- }
- .content {
- padding-bottom: 1.5rem;
- }
- @media (max-width: 420px) {
- .content {
- /* fix carbon ads display */
- clear: both;
- }
- }
- </style>
|