Disable core container, add own component
This commit is contained in:
parent
28e0ff6945
commit
1f519fb471
|
@ -32,6 +32,10 @@ blockquote {
|
||||||
|
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
|
||||||
|
.container {
|
||||||
|
@apply w-full max-w-5xl px-4 mx-auto
|
||||||
|
}
|
||||||
|
|
||||||
p.lead {
|
p.lead {
|
||||||
@screen md {
|
@screen md {
|
||||||
@apply text-lg
|
@apply text-lg
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'layout/navbar' %}
|
{% include 'layout/navbar' %}
|
||||||
|
|
||||||
<div class="container mt-24 px-4 mx-auto flex flex-col flex-1">
|
<div class="container mt-24 flex flex-col flex-1">
|
||||||
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
|
<main id="main-content" class="flex-1 wrap {{ page.layout == 'front' ? 'is-wide' : '' }}">
|
||||||
{% block page_title_wrapper %}
|
{% block page_title_wrapper %}
|
||||||
<h1 class="leading-tight mb-4">
|
<h1 class="leading-tight mb-4">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="bg-blue-500 border-b-3 border-blue-700 mb-6 w-full fixed top-0 z-20">
|
<div class="bg-blue-500 border-b-3 border-blue-700 mb-6 w-full fixed top-0 z-20">
|
||||||
<div class="w-full max-w-5xl px-4 mx-auto">
|
<div class="container">
|
||||||
<div class="block py-6 v-cloak-block">
|
<div class="block py-6 v-cloak-block">
|
||||||
<div class="text-sm">
|
<div class="text-sm">
|
||||||
<a href="/" class="font-semibold text-white" tabindex="-1">
|
<a href="/" class="font-semibold text-white" tabindex="-1">
|
||||||
|
|
|
@ -21,6 +21,9 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
corePlugins: {
|
||||||
|
container: false
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
require('tailwindcss-spaced-items')({ values: spacing }),
|
require('tailwindcss-spaced-items')({ values: spacing }),
|
||||||
require('tailwindcss-visuallyhidden')(),
|
require('tailwindcss-visuallyhidden')(),
|
||||||
|
|
Loading…
Reference in a new issue