WIP: formulaires à la racine

This commit is contained in:
Adrien Bourmault 2022-04-30 18:58:55 +02:00
parent 8fbfde6c10
commit edef86c240
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 5 additions and 119 deletions

View File

@ -8,9 +8,9 @@
<meta name='revisit-after' content="3 days"/> <meta name='revisit-after' content="3 days"/>
<title>Faire un don - Libre en Communs</title> <title>Faire un don - Libre en Communs</title>
<link rel="stylesheet" media="screen" href="../templates/styles.css" /> <link rel="stylesheet" media="screen" href="./templates/styles.css" />
<link rel="stylesheet" media="screen" href="form.css"/> <link rel="stylesheet" media="screen" href="./templates/form.css"/>
<link rel="shortcut icon" type="image/png" href="../templates/favicon.png" /> <link rel="shortcut icon" type="image/png" href="./templates/favicon.png" />
<link rel='me' type='text/html' href="https://toot.a-lec.org/@a_lec"/> <link rel='me' type='text/html' href="https://toot.a-lec.org/@a_lec"/>
<meta name='language' content="fr"/> <meta name='language' content="fr"/>
@ -28,7 +28,7 @@
<header id="a-lec_banner"> <header id="a-lec_banner">
<div id="a-lec_site-logo"> <div id="a-lec_site-logo">
<a href="/"> <a href="/">
<img src="../templates/logo_a-lec.svg" <img src="./templates/logo_a-lec.svg"
alt="Logo de Libre en Communs" alt="Logo de Libre en Communs"
title="Logo de Libre en Communs"/> title="Logo de Libre en Communs"/>
</a> </a>
@ -109,7 +109,7 @@
<nav id="a-lec_latest-posts"> <nav id="a-lec_latest-posts">
<h1 class="a-lec_latest-posts"></h1> <h1 class="a-lec_latest-posts"></h1>
<ul aria-label="Liste d'Articles"> <ul aria-label="Liste d'Articles">
<!--# include file="../templates/last-posts-list.html" --> <!--# include file="./templates/last-posts-list.html" -->
</ul> </ul>
</nav> </nav>
</div> </div>

View File

@ -1,114 +0,0 @@
/*
========================================================================
Description : CSS stylesheet
Author : neox
Website : https://a-lec.org
License : AGPL
========================================================================
*/
form {
margin-top: 20px;
display: table;
margin-left: auto;
margin-right: auto;
}
form *{
padding: 5px;
margin: 10px;
line-height: 20px;
text-justify: none;
}
form p {
display: table-row;
}
form label {
display: table-cell;
text-align: left;
}
input[type=radio] {
all: revert;
margin-top: 20px;
}
.input-symbol-euro {
position: relative;
}
.input-symbol-euro {
margin-left: -5px;
padding-top: 0px;
}
.input-symbol-euro::after {
position: absolute;
top: 0;
content:"€";
font-size: 120%;
}
form .mode {
display: table-cell;
}
form .renseignements {
display: table-cell;
border-bottom: 2px solid var(--a-lec_blue);
border-radius: 3px;
background-color: lightcyan;
padding: 5px;
color: black;
width: 100%;
}
form .renseignements:focus {
border-bottom: 2px solid var(--a-lec_red);
border-radius: 3px;
background-color: lightsalmon;
}
form select {
border-bottom: 2px solid var(--a-lec_blue);
border-radius: 3px;
background-color: lightcyan;
padding: 5px;
}
form .validation {
background-color: var(--a-lec_blue);
box-shadow: 3px 3px 5px grey;
color: white;
font-weight: bold;
border: none;
cursor: pointer;
float: right;
margin-bottom: -10px;
margin-top: 15px;
}
form .validation:focus {
display: table-cell;
background-color: var(--a-lec_red);
color: white;
font-weight: bold;
cursor: pointer;
box-shadow: none;
}
/*
========================================================================
LITTLE SCREENS
========================================================================
*/
@media screen and (max-width: 1100px) {
.mode_radio {
display: block;
}
.mode_radio span {
display: block;
}
}