add background color
This commit is contained in:
parent
74da4f8d20
commit
ef86a0d3f6
@ -95,7 +95,9 @@ And we’re aiming for new heights. The People’s Internet will turn into a DAO
|
||||
|
||||
{% end %}
|
||||
|
||||
{% row(style="center narrow") %}
|
||||
|
||||
{% row(bgColor="#70dfc9" style="center narrow") %}
|
||||
|
||||
|
||||
## **START THE INTERNET <br> REVOLUTION**
|
||||
|
||||
|
@ -41,7 +41,6 @@ Parameters:
|
||||
{% set row_class = row_class ~ " lg:m-20" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endif %}
|
||||
|
||||
<!-- makes row full screen width and adds background img -->
|
||||
@ -50,6 +49,11 @@ Parameters:
|
||||
{% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover" %}
|
||||
{% set row_class = row_class ~ "w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20 lg:py-40 p-8 sm:p-12 md:p-16 lg:p-20" %}
|
||||
{% endif %}
|
||||
{% if bgColor %}
|
||||
{% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %}
|
||||
{% set row_class = row_class ~ "w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20 lg:py-40 p-8 sm:p-12 md:p-16 lg:p-20" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
<div class="{{row_class}}" style="{{styles}}">
|
||||
|
Reference in New Issue
Block a user