Commit a81557b8 authored by Simon Daron's avatar Simon Daron
Browse files

Display compact news on Homepage

parent 146bf603
......@@ -33,8 +33,6 @@ img {max-width:100%;}
h1, h2, h3, h4, h5{
font-family: 'RegloBold';
}
h1, h2, h3{
text-transform: uppercase;
}
h1 { font-size: 6em;}
......
......@@ -425,6 +425,8 @@ body{
.episode.inline .content {
padding-left: 5em;
}
/****************************************************/
/**** News ****/
.list.news li {
display:block;
......@@ -450,14 +452,17 @@ body{
.list.news .num-1 .logo{
max-width:100% !important;
float:none;
border:0px !important;
margin: 0 0 0 0 !important;
border-width:2px 0 2px 0 !important;
margin: 0 0 1em 0 !important;
}
.list.news .num-1 .title{
}
}
@media (max-width: 800px) {
.list.news .special .logo {
float:right;
max-width:50%;
margin:0 0 1em 1em;
}
}
......@@ -492,14 +497,34 @@ body{
.news.detail .description{
margin-top:1em;
}
/****************************************************/
/**** Home ****/
@media screen and (max-width:800px){
#Home .news .logo{
max-width:100px;
}
}
@media screen and (max-width:600px){
#Home .news .logo{
max-width:50px;
}
}
/****************************************************/
/**** PROGRAM ****/
#Program .tabs nav ul li{
display:table-cell;
width:14%;
text-align:center;
}
.program .dateBloc {
float:left;
padding-top:1em;
margin-right:2em;
}
/****************************************************/
/**** GRILLE ****/
#Grid #Main {}
#Grid th{
......@@ -533,13 +558,7 @@ body{
color:white !important;
}
/**** PROGRAMME ****/
#Program .tabs nav ul li{
display:table-cell;
width:14%;
text-align:center;
}
/**** COLOR VARIANTS ****/
......
......@@ -10,12 +10,10 @@
<ul class="custom inline ellipsis">
{% for content in newsImaged %}
<li class="item">
<a class="inBlock news" href="{% url 'news-view' slug=content.slug %}">
<a class="inBlock news" href="{% url 'news-view' slug=content.slug %}">
{% if content.image %}
<img class="logo" src="{{ content.image|thumbnail:'120x120' }}"/>
{% endif %}
<img class="logo" src="{{ content.image|thumbnail:'150x150' }}"/>
{% endif %}
</a>
</li>
{% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment