Skip to content

Commit 185c457

Browse files
committed
Merge pull request #24 from OSMBrasil/homepage
Correções na página inicial
2 parents 1db34c7 + 23d2429 commit 185c457

File tree

2 files changed

+42
-22
lines changed

2 files changed

+42
-22
lines changed

css/main.css

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ a:visited { color: #205caa; }
4343
.container,
4444
.grid {
4545
margin: 0 auto;
46+
margin-bottom: 40px;
4647
}
4748
.container {
4849
padding-left: 30px;
@@ -120,27 +121,30 @@ a:visited { color: #205caa; }
120121
.site-footer .column { float: left; margin-bottom: 15px; }
121122

122123
.footer-col-1 {
123-
width: 270px; /*fallback*/
124-
width: -webkit-calc(35% - 10px);
125-
width: -moz-calc(35% - 10px);
126-
width: -o-calc(35% - 10px);
127-
width: calc(35% - 10px);
128-
margin-right: 10px
124+
width: 302px; /*fallback*/
125+
width: -webkit-calc(38% - 10px);
126+
width: -moz-calc(38% - 10px);
127+
width: -o-calc(38% - 10px);
128+
width: calc(38% - 10px);
129+
margin-right: 10px;
130+
text-align: center;
129131
}
130132
.footer-col-2 {
131133
width: 175px; /*fallback*/
132-
width: -webkit-calc(23.125% - 10px);
133-
width: -moz-calc(23.125% - 10px);
134-
width: -o-calc(23.125% - 10px);
135-
width: calc(23.125% - 10px);
136-
margin-right: 10px
134+
width: -webkit-calc(24% - 10px);
135+
width: -moz-calc(24% - 10px);
136+
width: -o-calc(24% - 10px);
137+
width: calc(24% - 10px);
138+
margin-right: 10px;
139+
text-align: center;
137140
}
138141
.footer-col-3 {
139-
width: 335px; /*fallback*/
140-
width: -webkit-calc(41.875%);
141-
width: -moz-calc(41.875%);
142-
width: -o-calc(41.875%);
143-
width: calc(41.875%);
142+
width: 302px; /*fallback*/
143+
width: -webkit-calc(38%);
144+
width: -moz-calc(38%);
145+
width: -o-calc(38%);
146+
width: calc(38%);
147+
text-align: left;
144148
}
145149

146150
.site-footer ul { list-style: none; }
@@ -196,7 +200,7 @@ a:visited { color: #205caa; }
196200
/* ----------------------------------------------------------*/
197201

198202
.hero {
199-
height: 200px;
203+
min-height: 200px;
200204
text-align: center;
201205
margin-top: 50px;
202206
}
@@ -421,6 +425,22 @@ a:visited { color: #205caa; }
421425
width: auto;
422426
float: none;
423427
clear: both;
428+
text-align: center;
429+
}
430+
431+
.hero {
432+
margin-top: 30px;
433+
margin-bottom: 30px;
434+
}
435+
436+
.hero h2 {
437+
line-height: 1.2em;
438+
margin-bottom: 20px;
439+
}
440+
441+
.grid {
442+
margin-top: 40px;
443+
margin-bottom: 20px;
424444
}
425445

426446
}

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
<section class="hero">
66
<h2>
7-
Conheça o OpenStreetMap, o mapa livre do mundo
7+
OpenStreetMap, o mapa mundial editável e livre
88
</h2>
99
<p>
10-
O OpenStreetMap é um projeto de produção colaborativa de dados geo-espaciais abertos. </br>
11-
Qualquer pessoa pode editar o <em><a href="http://www.openstreetmap.org/?locale=pt-BR#map=4/-15.19/-51.31" target="_blank">mapa</a></em> e os dados são redistribuídos sob uma <em><a href="http://www.openstreetmap.org/copyright?locale=pt-BR" target="_blank">licença aberta</a></em>.
10+
Um projeto de produção colaborativa de dados geo-espaciais abertos.</br>
11+
Qualquer pessoa pode editar o <a href="http://www.openstreetmap.org/?locale=pt-BR#map=4/-15.19/-51.31" target="_blank">mapa</a> e os dados são redistribuídos sob a licença <a href="http://www.openstreetmap.org/copyright?locale=pt-BR" target="_blank">ODbl</a>.
1212
</p>
1313
</section>
1414

@@ -20,13 +20,13 @@ <h3>
2020
</h3>
2121
<p>
2222
<a href="/aprenda/">
23-
Criar uma conta e comece a explorar o universo do OpenStreetMap →
23+
Crie uma conta e comece a explorar o universo do OpenStreetMap →
2424
</a>
2525
</p>
2626
</div>
2727
<div class="teaser col-1-2">
2828
<h3>
29-
Participe da comunidade
29+
Participe da comunidade!
3030
</h3>
3131
<p>
3232
<a href="/comunidade/">

0 commit comments

Comments
 (0)