Commit be2f3952 authored by theo lem's avatar theo lem
Browse files

cutting index text blocks into polygons

parent ac3e9590
Pipeline #403311 passed with stage
in 55 seconds
......@@ -6,6 +6,7 @@ Status: hidden
Slug: index-par-1
Lang: fr
Class: alt-paragraph
Id: index-par-1
BTarget: ./pages/getting-started.html
BText: Explorer Yakforms
BIcon: plane
......
......@@ -3,6 +3,15 @@
color: white;
}
.text-content:not(.alert-info, .yakforms-footer, #index-par-1) {
padding: 50px;
clip-path: polygon(50% 100%, 100% 90%, 100% 0, 0 0, 0 90%);
}
#index-par-1 {
clip-path: polygon(50% 100%, 100% 97%, 100% 0, 0 0, 0 97%);
}
#frontpage-stats {
text-align: left;
padding-left: 50px;
......
......@@ -38,6 +38,7 @@
{% block content %}
{% for par in paragraphs %}
<div class="text-content {{ par.class }}" {% if par.id %}id="{{ par.id }}"{% endif %}>
{{ par.content }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment