Move padding from scss to Tailwind
This commit is contained in:
Родитель
db782a1efb
Коммит
1ecbdb113b
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче