diff --git a/portail_citoyen/static/portail_citoyen/css/style.css b/portail_citoyen/static/portail_citoyen/css/style.css index ee3b1b5..4c92a3e 100644 --- a/portail_citoyen/static/portail_citoyen/css/style.css +++ b/portail_citoyen/static/portail_citoyen/css/style.css @@ -68,7 +68,7 @@ div#top h1 { padding-left: 2em; margin-left: 20px; font-size: 120%; - font-weight: bold; + font-weight: normal; } div#top h1 a { @@ -272,8 +272,6 @@ br.clear { } div#single-title { - border: 1px solid #a5a7aa; - border-width: 1px 0px; font-size: 110%; text-align: center; padding: 10px 0; @@ -771,26 +769,31 @@ h1#logo img:hover { #nav { margin: 0 auto; padding: 0px 0; - width: 180px; margin: 17px auto; font-size: 110%; - float: left; - position: relative; - z-index: 1000; + z-index: 1500; + width: 100%; + text-align: center; } #nav ul { margin: 0; padding: 0; list-style: none; + border: 1px solid #a5a7aa; + padding: 1ex; + border-width: 1px 0px; } #nav li { margin: 1ex 0; - padding: 1ex; - border: 1px solid #a5a7aa; - border-width: 1px 0px; + padding: 1.5ex 1ex; text-align: center; + display: inline; +} + +#nav li:after { + content: " /"; } #nav a { @@ -937,7 +940,6 @@ div#registration input[type="submit"] { } #real-content { - padding-left: 200px; text-align: justify; margin-top: 1em; } @@ -991,6 +993,44 @@ p.fullname { margin-right: 1.5em; } +#contact-us { + z-index: 500; + position: absolute; + top: 100px; + left: 300px; + background: #37a7da; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + color: white; + text-decoration: none; + -webkit-transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; +} + +#contact-us:hover { + -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .9); + -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .9); + border: none; + +} +#contact-us a { + padding: 8px 12px; + display: block; + color: white; +} + +#contact-us a:hover { + text-decoration: none; +} + +iframe { + border: 1px solid #aaa; +} + @media screen and (max-width: 760px) { body.narrow-page div.right { clear: none; @@ -1024,7 +1064,10 @@ p.fullname { left: 0; width: 98%; } - + #contact-us { + left: auto; + right: 10px; + } } @media screen and (max-width: 400px) { diff --git a/portail_citoyen/templates/base.html b/portail_citoyen/templates/base.html index 3a419a7..cd49823 100644 --- a/portail_citoyen/templates/base.html +++ b/portail_citoyen/templates/base.html @@ -15,7 +15,7 @@
-
Portail citoyen
- {% block menu %}