Challenges
This commit is contained in:
parent
6ca15f7242
commit
d810a44a98
3 changed files with 69 additions and 0 deletions
|
@ -623,6 +623,7 @@ ul#nav li a:hover .ul#nav li ul {
|
|||
border-radius: 10px;
|
||||
box-shadow: 10px 10px 38px 0px rgba(0, 0, 0, 0.25);
|
||||
margin: 2%;
|
||||
background-color: #ffffff
|
||||
}
|
||||
|
||||
.clients img {
|
||||
|
@ -676,6 +677,34 @@ ul#nav li a:hover .ul#nav li ul {
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Challenges tiles overlaping
|
||||
--------------------------------------*/
|
||||
|
||||
.challenges {
|
||||
margin-top:-60px;
|
||||
}
|
||||
|
||||
|
||||
/* Rank
|
||||
--------------------------------------*/
|
||||
.dots {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dots > * {
|
||||
display: inline-block;
|
||||
}
|
||||
.dots hr {
|
||||
border-top: dotted white 5px;
|
||||
border-bottom: dotted white 0px;
|
||||
}
|
||||
.dots .left {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
}
|
||||
|
||||
|
||||
/* Contact
|
||||
--------------------------------------*/
|
||||
|
|
17
templates/modular/challenges.html.twig
Normal file
17
templates/modular/challenges.html.twig
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% block content %}
|
||||
<section id="{{ page.slug }}">
|
||||
<div class="fullbar" style="background-color:{{ page.header.bgcolor }};">
|
||||
<div class="fullbar-content" style="color:{{ page.header.fontcolor }}; text-align:{{ page.header.text_align }};">
|
||||
<div class="clients challenges" >
|
||||
{% for item in page.header.clients %}
|
||||
<div class="client-item two columns">
|
||||
<h3>{{ item.title }}</h3>
|
||||
<p>{{ item.text }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
23
templates/modular/domains.html.twig
Normal file
23
templates/modular/domains.html.twig
Normal file
|
@ -0,0 +1,23 @@
|
|||
<div class="three-col" style="background-color:{{ page.header.bgcolor }};">
|
||||
<div class="three-col-content" style="color:{{ page.header.fontcolor }};">
|
||||
|
||||
{% block content %}
|
||||
<section id="{{ page.header.section_id }}" class="services">
|
||||
<div class="row">
|
||||
{% for item in page.header.services %}
|
||||
<div class="four columns">
|
||||
<div class="framed">
|
||||
<div class="service-logo"> <img src="http://disroot.lan/user/pages/11.Challenges/_domains/tresor.png"></div>
|
||||
<h2>{{ item.title }}</h2>
|
||||
<p class="service">{{ item.text }}</p>
|
||||
</a>
|
||||
<a href="{{ item.button }}"><img src="https://disroot.org/en/donate/_donate/pp_button.png" height="35"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
{{ page.content }}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue