File tree Expand file tree Collapse file tree
commons/static/commons/css Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11@import ' apps/commons/static/commons/css/base' ;
22
3- @import ' ./about-us' ;
43@import ' ./allies' ;
5- @import ' ./faq' ;
Original file line number Diff line number Diff line change 77{% block body_class %}faq-index{% endblock %}
88
99{% block content %}
10- < h1 class ="title "> FAQ</ h1 >
11- < div class ="intro ">
12- < p > Bienvenido a nuestra sección de respuestas a preguntas frecuentes</ p >
13- </ div >
1410
15- {% for faq in faqs %}
16- < article class ="anchor " id ="{{ faq.question|slugify }} ">
17- < div class ="message-header dyn-anchor-heading ">
18- {{ faq.question }}
19- < a class ="dyn-anchor-link " href ="#{{ faq.question|slugify }} "> < i class ="fas fa-link "> </ i > </ a >
20- </ div >
21- < div class ="faq-answer ">
22- < p > {{ faq.answer|as_markdown }}</ p >
23- </ div >
24- </ article >
25- {% endfor %}
11+ < div class ="content box ">
12+ < h1 class ="title "> FAQ</ h1 >
13+ {% for faq in faqs %}
14+ < article class ="anchor " id ="{{ faq.question|slugify }} ">
15+ < div class ="message-header dyn-anchor-heading ">
16+ {{ faq.question }}
17+ < a class ="dyn-anchor-link " href ="#{{ faq.question|slugify }} "> < i class ="fas fa-link "> </ i > </ a >
18+ </ div >
19+ < div class ="message-body ">
20+ {{ faq.answer|as_markdown }}
21+ </ div >
22+ </ article >
23+ {% endfor %}
24+ </ div >
2625
2726{% endblock content %}
Original file line number Diff line number Diff line change 1414 < a href ="{% url 'about:join' %} " class ="link button is-link is-medium is-outlined "> Forma parte de la asociación</ a >
1515</ div >
1616
17- < article class ="message " id ="intro ">
18- < a id ="intro "> </ a >
17+ < article class ="anchor " id ="intro ">
1918 < div class ="message-header dyn-anchor-heading ">
2019 Introducción
2120 < a class ="dyn-anchor-link " href ="#intro "> < i class ="fas fa-link "> </ i > </ a >
3130 </ div >
3231</ article >
3332
34- < article class ="message " id ="whypython ">
35- < a id ="whypython "> </ a >
33+ < article class ="anchor " id ="whypython ">
3634 < div class ="message-header dyn-anchor-heading ">
3735 ¿Por qué Python?
3836 < a class ="dyn-anchor-link " href ="#whypython "> < i class ="fas fa-link "> </ i > </ a >
4240 </ div >
4341</ article >
4442
45- < article class ="message " id ="fiscal ">
46- < a id ="fiscal "> </ a >
43+ < article class ="anchor " id ="fiscal ">
4744 < div class ="message-header dyn-anchor-heading ">
4845 Datos fiscales
4946 < a class ="dyn-anchor-link " href ="#fiscal "> < i class ="fas fa-link "> </ i > </ a >
6360 </ div >
6461</ article >
6562
66- < article class ="message " id ="board ">
67- < a id ="board "> </ a >
63+ < article class ="anchor " id ="board ">
6864 < div class ="message-header dyn-anchor-heading ">
6965 Junta directiva
7066 < a class ="dyn-anchor-link " href ="#board "> < i class ="fas fa-link "> </ i > </ a >
8278 </ div >
8379</ article >
8480
85- < article class ="message " id ="docs ">
86- < a id ="docs "> </ a >
81+ < article class ="anchor " id ="docs ">
8782 < div class ="message-header dyn-anchor-heading ">
8883 Documentación
8984 < a class ="dyn-anchor-link " href ="#docs "> < i class ="fas fa-link "> </ i > </ a >
Original file line number Diff line number Diff line change 4040 }
4141 }
4242
43- @include from ($desktop ){
43+ @include from ($desktop ) {
4444 padding : 2rem 0rem 5rem 0rem ;
4545 }
4646
5353 }
5454}
5555
56-
5756.footer-page {
5857 background-color : $footer-bg ;
5958 position : relative ;
@@ -71,14 +70,12 @@ body {
7170 .footer-column {
7271 color : #ebebeb ;
7372 padding-top : 2rem ;
74-
7573 }
7674
7775 h1 ,
7876 h2 {
7977 color : whitesmoke ;
8078 }
81-
8279}
8380
8481/* Error class for Django Forms https://bit.ly/3vidyK2 */
9693 width : 100% ;
9794 z-index : 1 ;
9895
99-
10096 & .notification {
10197 width : $notification-width ;
10298 margin-left : auto ;
@@ -106,7 +102,7 @@ body {
106102 }
107103}
108104.message {
109- scroll-margin-top : $header-height + 1rem ;
105+ scroll-margin-top : $header-height + 1rem ;
110106}
111107
112108.container {
Original file line number Diff line number Diff line change 1313 }
1414 }
1515}
16+
1617.anchor {
17- scroll-margin-top : $header-height + 1rem ;
18+ scroll-margin-top : $header-height + 1rem ;
19+ }
20+
21+ .message-header {
22+ .dyn-anchor-link i :hover {
23+ color : tomato ;
24+ }
1825}
Original file line number Diff line number Diff line change 2020 }
2121}
2222
23-
2423.message.is-info .message-body {
2524 border-color : #c8dfec ;
2625}
2928 background-color : #f3f3f7 ;
3029}
3130
32- .collapsable--close {
31+ .collapsable--close {
3332 display : none ;
3433}
3534
36- .nav-menu {
37- display :flex ;
35+ .nav-menu {
36+ display : flex ;
3837 justify-content : center ;
39- align-items : center ;
40- }
38+ align-items : center ;
39+ }
4140
42- .navbar-dropdown {
41+ .navbar-dropdown {
4342 background-color : $header-bg ;
4443}
4544
46- .navbar-burger {
45+ .navbar-burger {
4746 color : $header-fg ;
4847}
4948
5049.navbar {
51-
5250 .navbar-brand {
5351 background : $header-bg ;
5452 .navbar-item {
5553 padding : 0.35rem 1rem ;
56-
54+
5755 .logo {
5856 margin-top : 2px ; // offset logo
5957 max-height : $header-height ;
@@ -113,3 +111,15 @@ hr {
113111 }
114112}
115113
114+ .message-body {
115+ p {
116+ text-align : justify ;
117+ }
118+ p :not (:last-child ) {
119+ padding-bottom : 0.5rem ;
120+ }
121+ }
122+
123+ article {
124+ margin-bottom : 1rem ;
125+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ <h1 class="title">Ofertas de empleo</h1>
1919 </ div >
2020 </ div >
2121 {% for job in jobs %}
22- < div class ="card " id ="job{{ job.id }} ">
22+ < div class ="card anchor " id ="job{{ job.id }} ">
2323 < div class ="card-header job-title ">
2424 < a href ="#job{{ job.id }} " class ="subtitle card-header-title is-centered has-text-white ">
2525 {{ job }} ({{ job.created|date:"d/m/Y" }})
You can’t perform that action at this time.
0 commit comments