Séparer en deux parties les services libres d'accès et les autres;

This commit is contained in:
Benjamin Bouvier 2018-06-04 12:14:55 +02:00
parent ea50ec934d
commit 292e02e079
2 changed files with 40 additions and 32 deletions

View File

@ -50,17 +50,17 @@ footer a {
color: #f5f5f5; color: #f5f5f5;
} }
#services h2 { .services h2 {
border-bottom: 2px solid black; border-bottom: 2px solid black;
margin-bottom: .5em; margin-bottom: .5em;
} }
#services ul { .services ul {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
padding: 0; padding: 0;
} }
#services ul li { .services ul li {
background-color: #5c6bc0; background-color: #5c6bc0;
position: relative; position: relative;
height: 230px; height: 230px;
@ -69,33 +69,33 @@ footer a {
text-align: center; text-align: center;
width: 33%; width: 33%;
} }
#services ul li:hover { .services ul li:hover {
box-shadow: 1px 1px 4px black; box-shadow: 1px 1px 4px black;
} }
#services ul li:nth-child(6n+2) { .services ul li:nth-child(6n+2) {
background-color: #e84e40; background-color: #e84e40;
} }
#services ul li:nth-child(6n+3) { .services ul li:nth-child(6n+3) {
background-color: #ec407a; background-color: #ec407a;
} }
#services ul li:nth-child(6n+4) { .services ul li:nth-child(6n+4) {
background-color: #ab47bc; background-color: #ab47bc;
} }
#services ul li:nth-child(6n+5) { .services ul li:nth-child(6n+5) {
background-color: #7e57c2; background-color: #7e57c2;
} }
#services ul li:nth-child(6n+6) { .services ul li:nth-child(6n+6) {
background-color: #738ffe; background-color: #738ffe;
} }
#services ul li a { .services ul li a {
display: block; display: block;
height: 100%; height: 100%;
} }
#services ul li img { .services ul li img {
margin: 1em; margin: 1em;
max-width: 150px; max-width: 150px;
} }
#services ul li span { .services ul li span {
color: white; color: white;
display: block; display: block;
position: absolute; position: absolute;
@ -103,23 +103,23 @@ footer a {
text-decoration: none; text-decoration: none;
width: 100%; width: 100%;
} }
#services ul li .name { .services ul li .name {
bottom: 30px; bottom: 30px;
font-size: 1.1em; font-size: 1.1em;
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
} }
#services ul li .url { .services ul li .url {
bottom: 5px; bottom: 5px;
} }
@media (max-width: 700px) { @media (max-width: 700px) {
#services ul li { .services ul li {
width: 49%; width: 49%;
} }
} }
@media (max-width: 399px) { @media (max-width: 399px) {
#services ul li { .services ul li {
width: 100%; width: 100%;
} }
} }

View File

@ -43,16 +43,11 @@
</p> </p>
</section> </section>
<section id="services"> <h1>Services</h1>
<h2>Services proposés</h2>
<section class="services">
<h2>Proposés en accès libre</h2>
<ul> <ul>
<li>
<a href="https://tutut.delire.party/">
<img src="img/mastodon.png" alt="Logo de Mastodon" />
<span class="name">Mastodon</span>
<span class="url">tutut.delire.party</span>
</a>
</li>
<li> <li>
<a href="https://steroids.delire.party/"> <a href="https://steroids.delire.party/">
<img src="img/wekan.png" alt="Logo de Wekan" /> <img src="img/wekan.png" alt="Logo de Wekan" />
@ -60,13 +55,6 @@
<span class="url">steroids.delire.party</span> <span class="url">steroids.delire.party</span>
</a> </a>
</li> </li>
<li>
<a href="https://nuage.delire.party/">
<img src="img/nextcloud.png" alt="Logo de NextCloud" />
<span class="name">NextCloud</span>
<span class="url">nuage.delire.party</span>
</a>
</li>
<li> <li>
<a href="https://plaisir.delire.party/"> <a href="https://plaisir.delire.party/">
<img src="img/wallabag.png" alt="Logo de Wallabag" /> <img src="img/wallabag.png" alt="Logo de Wallabag" />
@ -88,6 +76,26 @@
<span class="url">colle.delire.party</span> <span class="url">colle.delire.party</span>
</a> </a>
</li> </li>
</ul>
</section>
<section class="services">
<h2>Restreints (nous demander pour l'inscription)</h2>
<ul>
<li>
<a href="https://tutut.delire.party/">
<img src="img/mastodon.png" alt="Logo de Mastodon" />
<span class="name">Mastodon</span>
<span class="url">tutut.delire.party</span>
</a>
</li>
<li>
<a href="https://nuage.delire.party/">
<img src="img/nextcloud.png" alt="Logo de NextCloud" />
<span class="name">NextCloud</span>
<span class="url">nuage.delire.party</span>
</a>
</li>
<li> <li>
<a href="https://osef.delire.party/"> <a href="https://osef.delire.party/">
<img src="img/mattermost.png" alt="Logo de Mattermost" /> <img src="img/mattermost.png" alt="Logo de Mattermost" />