From 2e77a552dcccd05be5d7e03673ca7e5b80c97676 Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 16 Nov 2026 13:44:19 +0100 Subject: =?UTF-8?q?nouveau=20d=C3=A9p=C3=B4t=20sans=20les=20clients,=20lan?= =?UTF-8?q?cer=20curl.php=20apr=C3=A8s=20clonage=20du=20d=C3=A9p=C3=B4t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.css | 221 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 main.css (limited to 'main.css') diff --git a/main.css b/main.css new file mode 100644 index 0000000..d9d7328 --- /dev/null +++ b/main.css @@ -0,0 +1,221 @@ +body +{ + font-size: 100%; + font-family: sans; + /* pour enlever la bande de la couleur du fond en haut et en bas de la page */ + margin: 0; + background-color: #F0EC41; +} + +#bloc_page +{ + max-width: 1200px; + /* la largeur max indiquée sert à réduire la variété des largeurs d'écran à prendre en compte */ + margin: auto; + padding: 0 20px 30px 20px; + background-color: white; +} + +h1 +{ + font-weight: normal; + display: inline-block; + margin: 5px; + border: 2px #008100 solid; + border-radius: 12px; + padding: 3px; + background-color: #F4F02D; + font-size: 120%; +} + +p +{ + margin: 10px; +} + +a +{ + color: black; + /* les liens déjà cliqués restent noirs */ +} + +a:hover /* liens survolés par la souris */ +{ + color: #004F00; +} + +a:hover +{ + font-weight: bold; +} + +/* En-tête. */ +header +{ + background-color: white; + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 20px; +} + +header div, header p +{ + margin-top: 5px; +} + +#logohaut +{ + width: 200px; + + /* cacher petit logo */ + display: none; +} + +#logotitre +{ + height: 90px; +} + +/* Menu de navigation. */ +nav +{ + position: fixed; + z-index: 2; /* pour être dessus des prestations */ + text-align: center; +} + +nav a +{ + display: inline-block; /* menu horizontal */ + border: 2px #008100 solid; + border-radius: 12px; + padding: 3px; + margin: 2px; + background-color: #F4F02D; + font-size: 110%; + text-decoration: none; +} + +/* "vous êtes ici" */ +#actuelle +{ + color: #004F00; + border: 3px #004F00 solid; +} + +/* Corps de page. */ +article +{ + margin-left: 20px; +} + +.photo +{ + border: 2px #008100 solid; + border-radius: 10px; +} + +h3 +{ + margin: 10px; + border: 2px #008100 solid; + border-radius: 12px; + padding: 3px; + text-align: center; + font-size: 100%; + background-color: white; +} + +h3 a +{ + text-decoration: none; +} + + +caption span +{ + font-size: 110%; + text-decoration: underline; +} + +caption i +{ + font-size: 90%; +} + +pre +{ + font-family: sans-serif; + font-size: 90%; + white-space: pre-wrap; + margin: 0 10px 10px 10px; + padding: 4px; + background-color: #f0f0f0; +} + +a img +{ + border: none; + /* retire la bordure bleue sur certains navigateurs */ +} + +/* lien fixe en bas */ +footer +{ + display: flex; + flex-direction: column; + align-items: center; +} + +footer h1 +{ + position: fixed; + bottom: 0; + margin: 2px; /* de 5 par défaut */ + text-align: center; +} +footer a +{ + text-decoration: none; +} + +/* design responsive */ +@media screen and (max-width: 710px) +{ + nav a + { + font-size: 100%; + } + + h1 + { + font-size: 110%; + } + + textarea + { + width: 400px; + height: 150px; + } +} + +@media screen and (max-width: 500px) +{ + #logohaut + { + /* afficher petit logo */ + display: inline; + } + #logotitre + { + /* cacher grand logo */ + display: none; + } + + textarea + { + width: 270px; + height: 100px; + } +} -- cgit v1.2.3