File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,30 @@ a { text-decoration: underline; }
3939
4040}
4141
42+ .main-header {
43+ min-height : 60vh ;
44+ background-image : url (' /static/img/cover.jpg' );
45+ background-size : cover ;
46+ background-position : bottom ;
47+ position : relative ;
48+ margin : 0 ;
49+
50+ .absolute-center { width : 100% ; }
51+
52+ h1 , p {
53+ color : #fff ;
54+ span { color : $brand-primary ; }
55+ }
56+
57+ h1 { font-weight : bold ; }
58+ h2 {
59+ background-color : #1c3b56 ;
60+ padding : 10px 0 ;
61+ }
62+
63+ p { text-shadow : 0px 2px 2px $brand-primary ; }
64+ }
65+
4266.seção {
4367
4468 > * {
Original file line number Diff line number Diff line change 88@import " ./_base" ;
99
1010@import " ./page-specific/_index" ;
11+ @import " ./page-specific/_eventos" ;
Original file line number Diff line number Diff line change 1+
2+ #eventos-header {
3+ h2 {
4+ color : #fff ;
5+ font-weight : bold ;
6+ margin : 1em auto ;
7+ }
8+ }
Original file line number Diff line number Diff line change 11
22#index {
33
4- #main-header {
5- min-height : 60vh ;
6- background-image : url (' /static/img/cover.jpg' );
7- background-size : cover ;
8- background-position : bottom ;
9- position : relative ;
10- margin : 0 ;
11-
12- .absolute-center { width : 100% ; }
13-
14- h1 , p {
15- color : #fff ;
16- span { color : $brand-primary ; }
17- }
18-
19- h1 { font-weight : bold ; }
20-
21- p { text-shadow : 0px 2px 2px $brand-primary ; }
22- }
23-
244 #projetos , #agenda {
255 hr { margin-bottom : 4em }
266 }
Original file line number Diff line number Diff line change 3232 </ div >
3333 < div class ="collapse navbar-collapse ">
3434 < ul class ="nav navbar-nav navbar-right ">
35- < li > < a href ="/ "> Home</ a > </ li >
3635 < li > < a href ="{% url "eventos " %}"> Eventos</ a > </ li >
3736 < li > < a href ="/#social "> Contato/Social</ a > </ li >
3837 </ ul >
Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22
33{% block content %}
4-
4+
5+ {% include "partials/_eventos-header.html" %}
6+
57{% endblock %}
Original file line number Diff line number Diff line change 1+
2+ < div id ="eventos-header " class ="jumbotron seção main-header ">
3+ < div class ="container ">
4+ < div class ="absolute-center ">
5+ < div class ="text-center ">
6+ < h1 > {{ evento_atual.nome }}</ h1 >
7+ < h2 > {{ evento_atual.local }} - {{ evento_atual.cidade }}</ h2 >
8+ < div class ="clearfix "> </ div >
9+ < a href ="{{ evento_atual.meetup_link|default: "# " }}" class="btn btn-default btn-lg "> Inscreva-se</ a >
10+ </ div >
11+ </ div >
12+ </ div >
13+ </ div >
Original file line number Diff line number Diff line change 11
2- < div id =" main-header " class ="jumbotron seção ">
2+ < div class ="jumbotron seção main-header ">
33 < div class ="container ">
44 < div class ="absolute-center ">
55 < div class ="text-center ">
You can’t perform that action at this time.
0 commit comments