1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

feat(core): Default theme - Moving to Tailwind CSS #356

This commit is contained in:
Awilum
2020-01-15 18:23:18 +03:00
parent 5d48a5f634
commit a81819e759
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
body {
font-family: 'Roboto', sans-serif;
@apply bg-white text-black text-base;
}

View File

@@ -1,4 +1,4 @@
{% extends "themes/default/templates/partials/base.html" %}
{% extends 'themes/' ~ registry.settings.theme ~ '/templates/partials/base.html' %}
{% block content %}
{{ entry.content|shortcode|raw}}

View File

@@ -51,8 +51,8 @@
border-black
border-b-2
hover:border-white
lg:mr-4
lg:inline-block
{% if loop.last %}lg:mr-0{% else %}lg:mr-4{% endif %}
{% if item.menu_item_url in entry.slug %}border-white{% endif %}">
{{ item.menu_item_title }}
</a>
@@ -63,7 +63,7 @@
</div>
</nav>
<main role="main" class="container">
<main class="container">
<section id="content" class="p-16">{% block content %}{% endblock %}</section>
<footer class="text-center pl-16 pr-16 pt-6 pb-16">
{% block footer %}