/******************************************** * Personnalisation du thème html5up_txt * *Seuil des responsives * - 1680px * - 1280px * - 980px * - 840px * - 736px * - 480px * **********************************************/ /* Correctif html5up_TXT - SPIP -----------------------------------------------*/ /* open-sans-300 - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: url('#CHEMIN{polices/open-sans-v35-latin-300.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* open-sans-300italic - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: italic; font-weight: 300; src: url('#CHEMIN{polices/open-sans-v35-latin-300italic.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* open-sans-500 - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: normal; font-weight: 500; src: url('#CHEMIN{polices/open-sans-v35-latin-500.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* open-sans-500italic - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: italic; font-weight: 500; src: url('#CHEMIN{polices/open-sans-v35-latin-500italic.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* open-sans-700 - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: url('#CHEMIN{polices/open-sans-v35-latin-700.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* open-sans-700italic - latin */ @font-face { font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-family: 'Open Sans'; font-style: italic; font-weight: 700; src: url('#CHEMIN{polices/open-sans-v35-latin-700italic.woff2}') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* Force les margin du body à 0 */ body { margin:0 } /* Surchage l'image de fond de la bannière */ #banner { background-image: url("[(#FICHIER|image_reduire{2000}|extraire_attribut{src})][(#CHEMIN{images/banner.jpg})]"); background-size:cover; background-position: center; } /* Choix couleur du thème (par défaut #b1ddab */ [ .button, #nav li.current a, #titleBar .toggle:before { background: (#CONFIG{html5up_txt/couleur}); } ] [ #main { border-top: solid 5px (#CONFIG{html5up_txt/couleur}); } @media screen and (max-width: 1280px) { #main { border-top-width: 20px; border-bottom-width: 10px; } } @media screen and (max-width: 980px) { #main { border-top-width: 0; } } @media screen and (max-width: 736px) { #main { padding: 3em 0; } } ] /* Eclaicie le fond de la bannière */ #banner .content { background-color: rgba(21, 28, 23, 0.50); } /* Classe incolore */ #banner .incolore { background-color: inherit; background-image: none; } /* Barre admin spip */ #spip-admin {bottom: 0;top: auto; z-index: 1001;} /* Formulaire de recherche et Newsletter */ .formulaire_recherche * { display: block; } .formulaire_newsletter label, .formulaire_recherche label { display:none } /* Forum */ /* Plugin sociaux */ ul.choix_mots li { display: inline-block; } ul.choix_mots { margin: 0; } /* Formulaire SPIP */ .formulaire_spip input, select, textarea { -moz-appearance: auto; /* -webkit-appearance: none; */ -ms-appearance: auto; appearance: auto; } .formulaire_spip fieldset { margin: 0; padding: 0; } form input[type="search"] { line-height: 3em; padding: 0 1em; } form input[type="search"]{ -webkit-appearance: none; display: block; width: 100%; border-radius: 8px; border: solid 1px #eee; } /* Footer */ .footer-titre { text-transform: uppercase; font-weight: 700; letter-spacing: 0.065em; font-size: 0.9em; color: #ddd; } #footer a { text-decoration: none; } #footer ul { list-style: none; } /* Sidebar */ .sidebar a { text-decoration: none; } .sidebar ul { list-style: none; } /* Surcharge la feuille de style Typo */ .box { margin: 0; padding: 0 0 1em 0; border: none; } /* Plugin newsletters */ #newsletter { text-align: center; padding: 2em 0 ; } #newsletters h2.major { margin: 0 0 1em 0; } #newsletters h2.major span { background: #f2f5f3; } .formulaire_newsletter { padding: 0em 0 0 0; text-align: center; } .formulaire_newsletter form { margin: 0 auto; width: 10% } @media screen and (max-width: 1680px) { .formulaire_newsletter form { margin: 0 auto; width: 20% } } @media screen and (max-width: 1280px) { .formulaire_newsletter form { margin: 0 auto; width: 30% } } @media screen and (max-width: 980px) { .formulaire_newsletter form { margin: 0 auto; width: 50% } } @media screen and (max-width: 736px) { .formulaire_newsletter form { margin: 0 auto; width: 70% } } @media screen and (max-width: 360px) { .formulaire_newsletter form { margin: 0 auto; width: 90% } } /* Plugin sociaux */ ul.sociaux-list li { display: inline-block; } div.sociaux span { font-weight: bold; } /* la police "Open Sans" n'existe pas en 400 => modification en 300 */ body, input, textarea, select { font-family: 'Open Sans', sans-serif; font-weight: 300; color: #6b7770; font-size: 12pt; line-height: 1.75em; } /* les squelettes SPIP utilisent h1 (et non h2) => h1 reprend les valeur de h2 quand on en a besoin */ h1 { font-size: 1.65em; } .box.page-content h1 { font-size: 3em; margin: 0 0 0.5em 0; } #banner .content h1 { color: #fff; font-size: 2.75em; margin: 0 0 0.5em 0; } /* Large */ @media screen and (max-width: 1280px) { #banner .content h1 { margin: 0 0 0.65em 0; } } * Small */ @media screen and (max-width: 736px) { h1 { font-size: 1.25em; } .box.page-content h1 { font-size: 2em; } #banner .content h1 { font-size: 2em; } } /* les squelettes SPIP utilisent h1 (et non h2) => h2 reprend les valeur de P pour le sous-titre de l'article */ .box.page-content h2 { font-size: 1.65em; margin: 0 0 0.5em 0; color: #c1cac5; } @media screen and (max-width: 736px){ .box.page-content h2 { font-size: 1.25em; } } /* Le portfolio */ #documents_portfolio a {margin:0; padding:0; border:0 !important; box-shadow:none; text-decoration:none } #documents_portfolio ul { list-style: none; padding: 0; }