-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lucas Rodrigues
committed
Nov 7, 2018
1 parent
494cd55
commit 73d82af
Showing
14 changed files
with
1,406 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Projeto final - Eleições 2014</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style type="text/css"> | ||
|
||
div.tooltip { | ||
position: absolute; | ||
text-align: center; | ||
width: auto; | ||
height: auto; | ||
padding: 4px 10px; | ||
font: 16px Helvetica, Arial, sans-serif; | ||
font-weight: lighter; | ||
background: #FFF; | ||
border: 0px; | ||
border-radius: 2px; | ||
pointer-events: none; | ||
white-space: nowrap; | ||
} | ||
|
||
h1 { | ||
position: absolute; | ||
top:0; | ||
left:0; | ||
width: auto; | ||
height: auto; | ||
margin-left:20px; | ||
font: 24px Helvetica, Arial, sans-serif; | ||
font-weight: lighter; | ||
} | ||
|
||
.legend { | ||
font-size: 12px; | ||
} | ||
rect { | ||
stroke-width: 2; | ||
} | ||
|
||
.boundary { | ||
fill: none; | ||
stroke: #E9E8E8; | ||
stroke-linejoin: round; | ||
} | ||
body { | ||
margin:0; | ||
padding:0; | ||
background-color:#F2F2F6; | ||
} | ||
|
||
#legenda { | ||
font-family: Helvetica, Arial, sans-serif; | ||
position: absolute; | ||
top:50px; | ||
left:0; | ||
} | ||
|
||
#legenda p { | ||
margin: 0 0 0 20px; | ||
} | ||
|
||
#legenda a { | ||
font-weight: bold; | ||
color: #F90; | ||
text-decoration: none; | ||
} | ||
#legenda a:hover { | ||
color: #C60; | ||
text-decoration: underline; | ||
} | ||
.porcentagem { | ||
font: 2px Helvetica, Arial, sans-serif; | ||
font-weight: bold; | ||
} | ||
|
||
.boundary-br { | ||
fill: none; | ||
stroke: #bdbdbd; | ||
stroke-linejoin: round; | ||
} | ||
p.tamanho { | ||
font-size: 10px; | ||
width: 90px; | ||
} | ||
#verturno{ | ||
padding-top: 10px; | ||
} | ||
#voltar{ | ||
display:none; | ||
padding-top: 20px; | ||
} | ||
#voltar a, #verturno a { | ||
background: #FFF; | ||
border-radius: 5px; | ||
padding: 5px 10px; | ||
} | ||
#voltar a:hover, #verturno a:hover { | ||
background: #EEE; | ||
text-decoration: none; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
|
||
<h1>Eleições 2014: 1º Turno</h1> | ||
<div id="legenda"> | ||
<p id="verturno"><a href="eleicoes2turno.html">Ver 2º turno →</a></p> | ||
<img src="img/legenda1turno.png"><br> | ||
<p class="tamanho">O tamanho dos círculos representa o total de votos.</p> | ||
<p id="voltar"><a href="#">← Ver mapa</a></p> | ||
</div> | ||
|
||
<div id="map"> | ||
</div> | ||
|
||
<script src="https://d3js.org/d3.v4.min.js"></script> | ||
<script src="https://d3js.org/topojson.v1.min.js"></script> | ||
|
||
<script type="text/javascript"> | ||
turno=1; | ||
</script> | ||
<script src="js/eleicoes.js"></script> | ||
<script src="js/mapa2d-brasil.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Projeto final - Eleições 2014</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<style type="text/css"> | ||
|
||
div.tooltip { | ||
position: absolute; | ||
text-align: center; | ||
width: auto; | ||
height: auto; | ||
padding: 4px 10px; | ||
font: 16px Helvetica, Arial, sans-serif; | ||
font-weight: lighter; | ||
background: #FFF; | ||
border: 0px; | ||
border-radius: 2px; | ||
pointer-events: none; | ||
white-space: nowrap; | ||
} | ||
|
||
h1 { | ||
position: absolute; | ||
top:0; | ||
left:0; | ||
width: auto; | ||
height: auto; | ||
margin-left:20px; | ||
font: 24px Helvetica, Arial, sans-serif; | ||
font-weight: lighter; | ||
} | ||
|
||
.legend { | ||
font-size: 12px; | ||
} | ||
rect { | ||
stroke-width: 2; | ||
} | ||
|
||
.boundary { | ||
fill: none; | ||
stroke: #E9E8E8; | ||
stroke-linejoin: round; | ||
} | ||
body { | ||
margin:0; | ||
padding:0; | ||
background-color:#F2F2F6; | ||
} | ||
|
||
#legenda { | ||
font-family: Helvetica, Arial, sans-serif; | ||
position: absolute; | ||
top:50px; | ||
left:0; | ||
} | ||
|
||
#legenda p { | ||
margin: 0 0 0 20px; | ||
} | ||
|
||
#legenda a { | ||
font-weight: bold; | ||
color: #F90; | ||
text-decoration: none; | ||
} | ||
#legenda a:hover { | ||
color: #C60; | ||
text-decoration: underline; | ||
} | ||
.porcentagem { | ||
font: 2px Helvetica, Arial, sans-serif; | ||
font-weight: bold; | ||
} | ||
|
||
.boundary-br { | ||
fill: none; | ||
stroke: #bdbdbd; | ||
stroke-linejoin: round; | ||
} | ||
p.tamanho { | ||
font-size: 10px; | ||
width: 90px; | ||
} | ||
#verturno{ | ||
padding-top: 10px; | ||
} | ||
#voltar{ | ||
display:none; | ||
padding-top: 20px; | ||
} | ||
#voltar a, #verturno a { | ||
background: #FFF; | ||
border-radius: 5px; | ||
padding: 5px 10px; | ||
} | ||
#voltar a:hover, #verturno a:hover { | ||
background: #EEE; | ||
text-decoration: none; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
|
||
<h1>Eleições 2014: 2º Turno</h1> | ||
<div id="legenda"> | ||
<p id="verturno"><a href="eleicoes1turno.html">Ver 1º turno →</a></p> | ||
<img src="img/legenda2turno.png"> | ||
<p class="tamanho">O tamanho dos círculos representa o total de votos.</p> | ||
<p id="voltar"><a href="#">← Ver mapa</a></p> | ||
</div> | ||
|
||
<div id="map"> | ||
</div> | ||
|
||
<script src="https://d3js.org/d3.v4.min.js"></script> | ||
<script src="https://d3js.org/topojson.v1.min.js"></script> | ||
|
||
<script type="text/javascript"> | ||
turno=2; | ||
</script> | ||
<script src="js/eleicoes.js"></script> | ||
<script src="js/mapa2d-brasil.js"></script> | ||
|
||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.