Projet

Général

Profil

« Précédent | Suivant » 

Révision c05618e9

Ajouté par Guillaume Denis il y a environ 9 ans

homepage layout1 improvements

Voir les différences:

ckanext/ozwillo_theme/fanstatic/ozwillo.css
311 311
  position: relative;
312 312
}
313 313

  
314
@media (min-width: 992px) {
315
  .homepage.layout-1 .row1 .col2, .homepage.layout-1 .row2 .col2 {
316
    float: right;
317
  }
314
.homepage.layout-1 .row1 .col1 {
315
  margin-top: 30px;
318 316
}
319 317

  
320 318
@media (max-width: 830px) {
......
324 322
}
325 323

  
326 324
@media (max-width: 767px) {
327
  .module-content, .module-content:first-child, .module-content:last-child {
325
  .row1 .col1 {
328 326
    margin-bottom: 20px;
329 327
  }
330 328
}
331 329

  
330
/*@media (max-width: 767px) {
331
  .module-content, .module-content:first-child, .module-content:last-child {
332
    margin-bottom: 20px;
333
  }
334
}*/
335

  
332 336
@media (min-width: 980px) and (min-width: 1199px) {
333 337
  .primary.span12 {
334 338
    width: 940px;
ckanext/ozwillo_theme/templates/home/layout1.html
1
<div role="main" class="hero">
2
  <div class="container">
3
    <div class="row row1">
4
      <div class="span5 col1">
5
        {% block search %}
6
          {% snippet 'home/snippets/search.html' %}
7
        {% endblock %}
8
      </div>
9
      <div class="span6 offset1 col2">
10
        {% block promoted %}
11
          {% snippet 'home/snippets/promoted.html' %}
12
        {% endblock %}
13
      </div>
14
    </div>
15
  </div>
16
</div>
17
<div role="main">
18
  <div class="container">
19
    <div class="row row2">
20
      <div class="span5 col1">
21
        {% block featured_group %}
22
          {% snippet 'home/snippets/featured_group.html' %}
23
        {% endblock %}
24
      </div>
25
      <div class="span6 offset1 col2">
26
        {% block featured_organization %}
27
          {% snippet 'home/snippets/featured_organization.html' %}
28
        {% endblock %}
29
      </div>
30
    </div>
31
  </div>
32
</div>

Formats disponibles : Unified diff