Move padding from scss to Tailwind

This commit is contained in:
Tibor Leupold 2023-01-16 14:32:26 -08:00
Родитель db782a1efb
Коммит 1ecbdb113b
2 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -3,7 +3,7 @@
{% get_page_authors page as authors %}
<div
class="publication-hero-container tw-bg-gradient-to-b tw-from-gray-60 tw-to-gray-80 {% if size %} small {% endif %}"
class="publication-hero-container tw-bg-gradient-to-b tw-from-gray-60 tw-to-gray-80 {% if size == "small" %} small tw-pt-[7rem] tw-pb-[9rem] {% else %} tw-pt-[9rem] tw-pb-[12rem] {% endif %}"
{% if page.hero_image %}
{% image page.hero_image fill-1400x675 as bg_img %}
style='background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("{{ bg_img.url }}")'

Просмотреть файл

@ -11,15 +11,8 @@
}
.publication-hero-container {
padding-top: 137px;
padding-bottom: 184px;
background-size: cover;
&.small {
padding-top: 105px;
padding-bottom: 140px;
}
.publication-breadcrumb.tw-body-small a {
font-size: 16px;
color: $lightest-blue;