logo

blog

Unnamed repository; edit this file 'description' to name the repository.
commit 5acb73b56ff50e2709b5d323dce016d443faa4fe
parent eab7b4f025a11f0eb1eecf938259de082506aa71
Author: lanodan <lanodan.delta@free.fr>
Date:   Fri, 25 Jul 2014 05:39:32 +0200

sort CSS

Diffstat:
css/index.css | 26+++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/css/index.css b/css/index.css @@ -17,17 +17,17 @@ a { } a:hover {text-decoration: underline;} article { + border-radius: 0.5em; box-shadow: 0 0 0.5em 0; - padding: 0.5em; margin: 0.5em; - border-radius: 0.5em; + padding: 0.5em; } code { background-color: #222222; color: #C4C4C4; display: table; - text-align: left; font: monospace; + text-align: left; } strong.bold {display: block;} table, tr, td, th { @@ -39,11 +39,11 @@ ul,ol {margin-left: 2em;} nav { background-color: #B80000; background-image: linear-gradient(0deg, #900, #D00); + box-shadow: 0 0 0.5vh; color: #222222; + display: block; font-size: larger; font-weight: bold; - display: block; - box-shadow: 0 0 0.5vh; margin-bottom: 1vh; } nav * { @@ -56,12 +56,12 @@ nav a { padding: 0.5vw 0.5vh; } nav ul { - list-style: none; display: inline-block; + list-style: none; } nav ul li { - transition: 0.5s; display: inline-table; + transition: 0.5s; } nav li:hover { background-color: #AB0000; @@ -73,20 +73,20 @@ nav li:active { } nav ul li:hover > ul {display: block;} nav ul ul { + background: #900; + box-shadow: 0.3vw 0.3vw 0.3vw 0; display: none; font-size: 16px; position: absolute; - background: #900; - box-shadow: 0.3vw 0.3vw 0.3vw 0; } nav ul ul li {display: block;} nav ul ul li:hover {background: #B00;} nav ul ul li:active {background: #E00;} nav ul ul ul { - position: absolute; + font-size: 14px; left: 100%; + position: absolute; top: 0; - font-size: 14px; } nav ul.right {float: right;} nav li.expand_down:after {content: " ▿";} @@ -95,10 +95,10 @@ nav li.expand_right:after {content: " ▻";} footer { background-color: #B80000; background-image: linear-gradient(0deg, #900, #D00); - display: block; box-shadow: 0 0 0.5vh; + display: block; margin-top: 1vh; + padding: 0.5vw 0.5vh; text-align: center; - padding: 5px 0px; width: 100%; }