diff --git a/css/style.css b/css/style.css index b1eb45c..1c028c8 100644 --- a/css/style.css +++ b/css/style.css @@ -38,6 +38,8 @@ header h1 { border-right: 0; } .navbar ul { padding-bottom: 0; } + .navbar li { + margin: 0; } .dropdown-menu { box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } @@ -53,6 +55,7 @@ ul.social { margin: auto; text-align: center; } ul.social li { + margin: 0; list-style: none; display: inline; } ul.social li a { diff --git a/scss/style.scss b/scss/style.scss index 86ce976..349025f 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -13,10 +13,16 @@ $border-size: 1px; border: $border-size solid rgba(0, 0, 0, 0.3) } -@mixin border-radius { +@mixin border-radius() { border-radius: $border-radius $border-radius $border-radius $border-radius; } +@mixin li-no-margin() { + li { + margin: 0; + } +} + #wrapper { background: #64b5f6 url('../img/background.png') center bottom repeat-x; } @@ -60,6 +66,7 @@ header h1 { ul { padding-bottom:0; } + @include li-no-margin(); } .dropdown-menu { @@ -81,6 +88,7 @@ ul.social { margin:auto; text-align:center; li { + margin:0; list-style: none; display: inline; a { @@ -279,9 +287,7 @@ a.list-group-item:hover { border: 0; background-color:#eeeeec; margin-bottom:1.2em; - li { - margin:0; - } + @include li-no-margin(); } /* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */