Commit 930fa08083f8446962a28e54897a709af9449953

Authored by Adabriand Furtado
1 parent 2fa1132c
Exists in master

Fixes projects and footer layout

pybossa/themes/default/static/css/theme.css
... ... @@ -46,6 +46,10 @@ footer a {
46 46 width: 100%;
47 47 }
48 48  
  49 +.wl-social-container {
  50 + text-align: center;
  51 +}
  52 +
49 53 @media (max-width: 768px) {
50 54 body {
51 55 margin: 0;
... ... @@ -76,6 +80,7 @@ footer a {
76 80 /* Projects */
77 81 .projects {
78 82 padding-top: 30px;
  83 + padding-bottom: 15px;
79 84 }
80 85  
81 86 a.title-brand:link {
... ... @@ -554,6 +559,12 @@ h6 small {
554 559 margin-left: 68px;
555 560 }
556 561  
  562 +@media screen and (min-width: 768px) {
  563 + .wl-social-container {
  564 + text-align: left;
  565 + }
  566 +}
  567 +
557 568 @media screen and (min-width: 992px) {
558 569 .wl-balloon.-green {
559 570 margin-right: -110px;
... ...
pybossa/themes/default/templates/_footer.html
... ... @@ -18,16 +18,18 @@
18 18 <br>
19 19 </div>
20 20 <div class="col-sm-5">
21   - <p><strong>WikiLibras</strong> é uma plataforma colaborativa para construção de um dicionário em LIBRAS.</p>
22   - <p class="social-buttons">
23   - <a href="{{ url_for('home.about')}}"><span class="icon icon-question-sign"></span></a>
24   - &nbsp;
25   - <a href="mailto:wikilibras@lavid.ufpb.br"><span class="icon icon-envelope"></span></a>
26   - &nbsp;
27   - <a href="https://www.youtube.com/channel/UCF94lq7TwAu5OmlwIu44qpA" target="_blank"><span class="icon icon-youtube"></span></a>
28   - &nbsp;
29   - <a href="https://www.facebook.com/vlibras" target="_blank"><span class="icon icon-facebook"></span></a>
30   - </p>
  21 + <div class="wl-social-container">
  22 + <p><strong>WikiLibras</strong> é uma plataforma colaborativa para construção de um dicionário em LIBRAS.</p>
  23 + <p class="social-buttons">
  24 + <a href="{{ url_for('home.about')}}"><span class="icon icon-question-sign"></span></a>
  25 + &nbsp;
  26 + <a href="mailto:wikilibras@lavid.ufpb.br"><span class="icon icon-envelope"></span></a>
  27 + &nbsp;
  28 + <a href="https://www.youtube.com/channel/UCF94lq7TwAu5OmlwIu44qpA" target="_blank"><span class="icon icon-youtube"></span></a>
  29 + &nbsp;
  30 + <a href="https://www.facebook.com/vlibras" target="_blank"><span class="icon icon-facebook"></span></a>
  31 + </p>
  32 + </div>
31 33 </div>
32 34 </div>
33 35 </div>
... ...
pybossa/themes/default/templates/projects/index.html
... ... @@ -9,7 +9,7 @@
9 9 <div class="container">
10 10  
11 11 {% if projects %}
12   - <div class="projects">
  12 + <div class="projects clearfix">
13 13 {% for project in projects %}
14 14 {{ helper.show_project(project, active_cat.short_name, current_user, upload_method) }}
15 15 {% endfor %}
... ... @@ -25,7 +25,7 @@
25 25 <script>
26 26 $( function() {
27 27 // init Isotope
28   - var $container = $('.projects').isotope({
  28 + /*var $container = $('.projects').isotope({
29 29 itemSelector: '.project-item',
30 30 layoutMode: 'fitRows',
31 31 getSortData: {
... ... @@ -37,7 +37,7 @@ $( function() {
37 37 progress: false,
38 38 activity: false,
39 39 }
40   - });
  40 + });*/
41 41  
42 42 // bind sort button click
43 43 $('#sorts').on( 'click', 'a', function() {
... ...