Rewrite courses page style

parent a5d2a9e3
Pipeline #426 passed with stage
in 1 minute and 28 seconds
......@@ -5,6 +5,8 @@
justify-content: center;
padding-left: 50px;
padding-right: 50px;
max-width: 1600px;
margin: 0 auto;
a {
text-decoration: none;
......
......@@ -15,17 +15,15 @@ title: Corsi POuL
</div>
</div>
<div class="bg-blueish-gray">
<div class="container" style="max-width: 1600px">
<div class="courses-list">
{% for course in page.courses %}
<a class="no-decoration" href="./{{ course.slug }}/">
<div class="card bg-darker">
<div class="image"><img src="{{ course.logo | relative_url }}" alt="course logo"/></div>
<div class="description">{{ course.description | markdownify }}</div>
</div>
</a>
{% endfor %}
</div>
<div class="courses-list">
{% for course in page.courses %}
<a class="no-decoration" href="./{{ course.slug }}/">
<div class="card bg-darker">
<div class="image"><img src="{{ course.logo | relative_url }}" alt="course logo"/></div>
<div class="description">{{ course.description | markdownify }}</div>
</div>
</a>
{% endfor %}
</div>
</div>
<div class="bg-yellow">
......
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