style: horizontal navigation (#4795)
This commit is contained in:
parent
71c5255d1e
commit
b38f308cd1
|
@ -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) {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<div id="page">
|
||||
<div id="header">
|
||||
<div id="top">
|
||||
<h1 id="logo"><a href="/"><img src="{% static "portail_citoyen/img/logo.png" %}" alt="Entr'ouvert"/></a></h1>
|
||||
<h1 id="logo"><a href="/"><img src="{% static "portail_citoyen/img/logo.png" %}" alt="Entr'ouvert"/></a>Portail citoyen</h1>
|
||||
<div class="region-header">
|
||||
{% if user.is_authenticated %}
|
||||
<div id="toplinks">
|
||||
|
@ -33,12 +33,12 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="contact-us"><a href="mailto:info@entrouvert.com">Contactez-nous</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- header -->
|
||||
<div id="main-content-wrapper">
|
||||
|
||||
<div id="single-title">Portail citoyen</div>
|
||||
|
||||
{% block menu %}
|
||||
<div id="nav">
|
||||
<ul>{% show_menu_below_id "top-page" 0 0 100 100 "top-menu.html" %}</ul>
|
||||
|
|
Reference in New Issue