From 756c9d2aaad357087dbdd4337ff2e5c97e5db350 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Sun, 8 Jun 2014 11:46:46 +0200 Subject: [PATCH] renommage fichier --- index.html | 2 +- style.css | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 style.css diff --git a/index.html b/index.html index c5f666b..7110b1c 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + diff --git a/style.css b/style.css new file mode 100644 index 0000000..ed06f8b --- /dev/null +++ b/style.css @@ -0,0 +1,55 @@ +/* La page id-libre.org : l'accueil */ + +body { + padding-top: 2em; +} + +#accueil { + margin: 0px auto; + max-width: 60%; +} + +a { + text-decoration: none; + padding-top: 35%; +} + +.entree { + margin: 1em; + width: 25%; + height: 0px; + padding-bottom: 25%; + overflow: hidden; + text-align: center; + background-color: rgba(34, 34, 34, .8); + color: rgba(231, 231, 231, .7); + font-size: 200%; + float: left; + vertical-align: middle; + border-radius: 3px; +} + +@media (max-width: 1000px) { + .entree { + width: 35%; + padding-bottom: 35% + } +} + +.entree:hover { + text-decoration: none; + color: rgba(231, 231, 231, 1); + background-color: rgba(34, 34, 34, .5); +} + +.entree a { + display: block; + width: 100%; + height: 100%; + color: rgba(231, 231, 231, .7); +} + +.entree:hover a { + text-decoration: none; +} +