# HG changeset patch # User rougeronj # Date 1418208375 -3600 # Node ID f52a0abff76b1062c0be540d645274c728f1d516 # Parent 2ace68d1429b946484b4df3a62815ec1372687b0 update header css file name diff -r 2ace68d1429b -r f52a0abff76b src/hdalab/static/hdalab/css/head.css --- a/src/hdalab/static/hdalab/css/head.css Wed Dec 10 11:37:32 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,104 +0,0 @@ -#header { - background: url(../img/bg-header.jpg) center top no-repeat; - border-bottom: 1px solid #4f5451; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); -} -#header .top { - padding-bottom: 2px; - background-color: rgba(255, 255, 255, 0.3); -} -#header #logo { - padding: 20px 0 15px; -} -#header #logo img { - display: block; -} -#header nav { - padding: 15px 0; - background-color: #f8f8f8; - position: relative; - font-weight: 300; - font-family: 'FranklinGothic', Arial, Helvetica, sans-serif; - text-transform: uppercase; - background-color: rgba(248, 248, 248, 0.7); - -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); - box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); -} -#header nav:after { - content: ""; - width: 100%; - height: 2px; - top: 100%; - display: block; - left: 0; - position: absolute; - background-color: rgba(248, 248, 248, 0.5); -} -#header nav .profile { - float: right; -} -#menu { - float: left; - margin-top: 3px; -} -#menu:before, -#menu:after { - content: " "; - display: table; -} -#menu:after { - clear: both; -} -#menu li { - float: left; - color: #2d2b25; -} -#menu li:before { - content: "/"; - float: left; - margin-top: 2px; -} -#menu li:first-child:before { - content: ""; -} -#menu li:first-child a { - padding-left: 0; -} -#menu li.actif a { - font-weight: normal; -} -#menu a { - color: inherit; - padding: 0 8px; - font-size: 14.6px; - font-size: 1.46rem; -} -#subhead{ - margin:30px auto; - width: 810px; - font-family: "FranklinGothic",Arial,Helvetica,sans-serif; - font-weight: 300; - text-transform: uppercase; - position: relative; - -} -#subhead h3 { - font-weight: normal; - color: #2d2b25; - font-size: 13px; - font-size: 1.3rem; -} -#subhead h3:before { - content: "/"; - font-weight: bold; - margin-right: 3px; - position: relative; -} -.bg-wrap { - background-color: rgba(0, 0, 0, 0.15); - border-radius: 2px; - padding: 10px 10px; -} diff -r 2ace68d1429b -r f52a0abff76b src/hdalab/static/hdalab/css/header.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hdalab/static/hdalab/css/header.css Wed Dec 10 11:46:15 2014 +0100 @@ -0,0 +1,116 @@ +#header { + background: url(../img/bg-header.jpg) center top no-repeat; + border-bottom: 1px solid #4f5451; + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); +} +#header .top { + padding-bottom: 2px; + background-color: rgba(255, 255, 255, 0.3); +} +#header #logo { + padding: 20px 0 15px; +} +#header #logo img { + display: block; +} +#header nav { + padding: 15px 0; + background-color: #f8f8f8; + position: relative; + font-weight: 300; + font-family: 'FranklinGothic', Arial, Helvetica, sans-serif; + text-transform: uppercase; + background-color: rgba(248, 248, 248, 0.7); + -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); + box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); +} +#header nav:after { + content: ""; + width: 100%; + height: 2px; + top: 100%; + display: block; + left: 0; + position: absolute; + background-color: rgba(248, 248, 248, 0.5); +} +#header nav .profile { + float: right; +} +#menu { + float: left; + margin-top: 3px; +} +#menu:before, +#menu:after { + content: " "; + display: table; +} +#menu:after { + clear: both; +} +#menu li { + float: left; + color: #2d2b25; +} +#menu li:before { + content: "/"; + float: left; + margin-top: 2px; +} +#menu li:first-child:before { + content: ""; +} +#menu li:first-child a { + padding-left: 0; +} +#menu li.actif a { + font-weight: normal; +} +#menu a { + color: inherit; + padding: 0 8px; + font-size: 14.6px; + font-size: 1.46rem; +} +#subhead{ + margin:30px auto; + width: 810px; + font-family: "FranklinGothic",Arial,Helvetica,sans-serif; + font-weight: 300; + text-transform: uppercase; + position: relative; + +} +#subhead h3 { + font-weight: normal; + color: #2d2b25; + font-size: 13px; + font-size: 1.3rem; +} +#subhead h3:before { + content: "/"; + font-weight: bold; + margin-right: 3px; + position: relative; +} +.bloc h3 { + font-size: 15px; + margin-bottom: 7px; +} +#header .bloc{ + padding: 6px 8px 2px; + background-color: rgba(255, 255, 255, 0.9); + border-radius: 5px; +} +#header .bg-wrap { + background-color: rgba(0, 0, 0, 0.15); + border-radius: 5px; + padding: 10px 10px; +} +#menu li.external a { + color: #7cb0bd; +} diff -r 2ace68d1429b -r f52a0abff76b src/hdalab/templates/base.html --- a/src/hdalab/templates/base.html Wed Dec 10 11:37:32 2014 +0100 +++ b/src/hdalab/templates/base.html Wed Dec 10 11:46:15 2014 +0100 @@ -14,7 +14,7 @@ {% block css_import %} - + {% endblock %} @@ -24,9 +24,6 @@ {% block header %} -
- -