www.chapril.org-spip/css/ajout.css
2022-02-03 18:14:59 +01:00

242 lines
4.6 KiB
CSS

/*******************************************************
* Ajout
*******************************************************/
.modele-sousrubrique-bouton.bouton-utilise {
max-width: 480px;
}
.modele-sousrubrique-bouton img {
margin-right: 16px;
}
.modele-sousrubrique-bouton > span {
color: white;
font-weight: normal;
font-size: small;
text-transform: none;
font-style: italic;
}
.modele-sousrubrique-bouton > span > i {
color: white;
font-size: large;
font-style: initial;
text-shadow: -2px 2px 0px black;
}
.modele-sousrubrique-bouton.bouton-utilise {
display: flex;
align-items: center;
text-align: left;
}
.modele-rubrique-soustitre {
font-style: italic;
}
.modele-sousrubrique-liste {
margin-top: 30px;
}
.modele-grosbouton {
display: inline-block;
}
.modele-sousrubrique-bouton > span {
color: white;
font-weight: normal;
font-size: small;
text-transform: none;
font-style: italic;
}
@media screen and (max-width: 1240px) {
.spip_documents_right img {
width: 160px;
height: auto;
}
}
@media screen and (max-width: 980px) {
.spip_documents_right img {
width: 120px;
height: auto;
}
}
@media screen and (max-width: 760px) {
.spip_documents_right img {
width: 100px;
height: auto;
}
}
@media screen and (max-width: 640px) {
.spip_documents_right img {
width: 80px;
height: auto;
}
}
@media screen and (max-width: 512px) {
.spip_documents_right img {
width: 60px;
height: auto;
}
}
.spip_documents_right {
margin-left: 5px;
display: block;
}
.spip_documents_center {
display: block;
margin-top: 15px;
margin-bottom: 15px;
text-align: center;
clear: both;
}
/*************************
* Surcharges particulières
**************************/
.contenu-texte .suitedarticles ul.spip strong {
margin: 0;
display: inline;
}
/*************************
* Classes introduites par le plugin media
**************************/
.media_image img {
max-width: 100%;
height: auto;
}
/*************************
* formulaires
* ***********************/
.formulaire_spip.formulaire_abomailman_mini_une_liste legend {
display: none;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste fieldset {
border: 0;
line-height: 1.5;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste ul {
list-style: none;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste .abonnement {
display: flex;
max-width: 400px;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste .abonnement > div {
flex-grow: 1;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste input[type="text"],
.formulaire_spip.formulaire_abomailman_mini_une_liste .boutons input{
display: block;
width: 100%;
line-height: 1.8;
padding: 0.3rem 0.6rem;
border-radius: 10px 0 0 10px;
border: 0;
box-sizing: border-box;
box-shadow: 0 0 1px 0px rgba(0,81,132,0.5);
}
.formulaire_spip.formulaire_abomailman_mini_une_liste .boutons {
text-align: right;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste input[type="submit"] {
width: auto;
background-color: #2e5281;
box-shadow: 0 0 5px 0px rgba(0,81,132,0.5);
color: white;
border-radius:0 10px 10px 0;
cursor: pointer;
}
.formulaire_spip.formulaire_abomailman_mini_une_liste input[type="submit"]:hover {
background-color: #ff5e00;
}
.reponse_formulaire_erreur {
color: #ee5d5d;
}
.reponse_formulaire_ok {
color: #005184;
}
/**************************
* liste preésentation des services (accueil)
* ************************/
.presentation article ul {
list-style: none;
column-count: 2;
padding: 0;
margin: 0 0 2em;
}
.presentation article ul li {
margin-bottom: 0.3em;
}
.presentation article ul li a {
display: flex;
align-items: center;
}
.presentation article ul a .fa {
color: #7DBDFD;
width: 30px;
padding: 0 0.5em 0 0;
text-align: center;
font-size: 1.3em;
}
.presentation article ul a:hover .fa {
color: #ff5e00;
}
.presentation article li:first-child a::before {
content: 'NOUVEAU !';
background-color: yellow;
position: absolute;
color: black;
margin-top: -5em;
padding: 0.2em 1em;
font-size: 0.8em;
border-radius: 5px;
margin-left: -3em;
transform: rotate(-8deg);
}
@media screen and (max-width: 1280px) {
.presentation article ul {
column-count: 1;
}
}
@media screen and (max-width: 760px) {
.presentation article ul {
column-count: 2;
}
}
@media screen and (max-width: 540px) {
.presentation article ul {
column-count: 1;
}
}