width:100%;
font-size: 90%;
}
-#metaNav ul{
+#metaNav ul {
+ margin-left: 300px;
+ @media screen and (max-width: $mobile-limit) {
+ margin-left: 0;
+ }
}
+
#metaNav ul li{
float: left;
padding: 0 1em;
white-space: nowrap;
text-overflow: ellipsis;
overflow:hidden;
- &:first-child {
- margin-left: 300px;
- }
}
#metaNav ul li#nav-search {
padding: 0.2em 0 0 1em;
}
div#Changing {
- margin: 0 5px;
+ margin: 0;
}
}
@media screen and (max-width:400px){
font-size: 60px;
padding: 0;
padding-top: 10px;
- text-align: center;
}
#specialHome .leftPart h1.top {
display: none;
width: 100%;
max-width: 1400px;
margin: 0 auto;
+ @media screen and (max-width: $mobile-limit) {
+ padding: 0 5px;
+ }
}
#mainHeader {
@media screen and (max-width: $mobile-limit) {
#backgroundBox {
- background-position: center 30px;
+ background-position: center 0px;
background-size: 130px;
}
#All h1.top#radio {
margin-top: 0;
margin-bottom:1.5em;
margin-left: 280px;
+ @media screen and (max-width: $mobile-limit) {
+ margin-left: 0;
+ }
}
.emission .contacts {
.episode.detail .logo.right{
max-width:50%;
+ @media screen and (max-width: $mobile-limit) {
+ max-width: 100%;
+ clear: none;
+ }
}
.episode.resume .date .day, .emission-detail .date .day {
&:hover {
background-position: -286px 0px;
}
+ @media screen and (max-width: $mobile-limit) {
+ display: none;
+ }
}
{% load i18n %}
<nav class="contextual-menu">
<ul>
+ <li class="mobile-only {% if sectionName == "Home" %}active{% endif %}"><a href="{% url 'home' %}">
+ <span class="nav-icon icon-home resymbol"></span>
+ <span class="iconLabel">{% trans 'Home' %}</span>
+ </a></li>
<li class="{% if sectionName == "Emissions" %}active{% endif %}"><a title="Les émissions, le programme de la semaine" href="{% url 'program' %}">
<span class="nav-icon icon-calendar resymbol" ></span>
<span class="iconLabel">{% trans 'Program' %}</span>