Browse Source

Eventos - estrutura inicial

master
Henrique Caetano de Barros 3 years ago
parent
commit
4430201ca6
6 changed files with 120 additions and 22 deletions
  1. +54
    -2
      css/eventos.css
  2. +4
    -5
      css/extincoes.css
  3. +6
    -7
      css/parques-naturais.css
  4. +49
    -1
      paginas/eventos.html
  5. +3
    -3
      paginas/extincoes.html
  6. +4
    -4
      paginas/parques-naturais.html

+ 54
- 2
css/eventos.css View File

@ -18,8 +18,60 @@ h1 {
footer { footer {
position: absolute;
position: fixed;
bottom: 50px; bottom: 50px;
text-align: center; text-align: center;
margin-inline: 20px; margin-inline: 20px;
}
}
.table-content {
display: flex;
justify-content: center;
margin-top: 80px;
min-height: 585px;
}
.table-content table {
min-width: 700px;
}
th, tr:nth-child(odd) {
background-color: #eee;
}
.table-content table, .table-content th, .table-content td {
border-collapse: collapse;
border: 1px solid #999;
border-inline: none;
text-align: left;
}
[colspan] {
font-weight: bold;
width: 100%;
text-align: center;
padding-left: 0;
}
.table-content tr {
height: 35px;
}
.caption {
display: flex;
justify-content: center;
font-weight: bold;
font-size: 25px;
margin-bottom: 10px;
}
@media (max-width: 750px) {
.table-content th, .table-content td {
padding-inline: 10px;
}
.table-content table {
min-width: 0;
width: 90vw;
}
}

+ 4
- 5
css/extincoes.css View File

@ -36,19 +36,18 @@ footer {
.table-content table, .table-content th, .table-content td { .table-content table, .table-content th, .table-content td {
border-collapse: collapse; border-collapse: collapse;
border: 1px solid black;
border: 1px solid #999;
border-inline: none; border-inline: none;
text-align: center; text-align: center;
border-color: #999
} }
.table-content tr { .table-content tr {
height: 35px; height: 35px;
} }
.tr-color {
background-color: #eee;
}
th, tr:nth-child(odd) td {
background-color: #eee;
}
.caption { .caption {
display: flex; display: flex;


+ 6
- 7
css/parques-naturais.css View File

@ -33,19 +33,18 @@
min-width: 700px; min-width: 700px;
} }
.tr-color {
background-color: #eee;
}
th, tr:nth-child(odd) {
background-color: #eee;
}
.table-content table, .table-content th, .table-content td { .table-content table, .table-content th, .table-content td {
border-collapse: collapse; border-collapse: collapse;
border: 1px solid black;
border: 1px solid #999;
border-inline: none; border-inline: none;
text-align: left; text-align: left;
border-color: #999
} }
.colspan {
[colspan] {
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
text-align: center; text-align: center;


+ 49
- 1
paginas/eventos.html View File

@ -30,8 +30,56 @@
</nav> </nav>
<h1>Eventos</h1>
<div class="table-content">
<div>
<caption><a class="caption">Eventos</a></caption>
<table>
<tr>
<th>Título</th>
<th>Data</th>
<th>Capacidade</th>
<th>Preço</th>
<th>Categoria</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</div>


+ 3
- 3
paginas/extincoes.html View File

@ -35,7 +35,7 @@
<div> <div>
<caption><a class="caption">Animais em extinção</a></caption> <caption><a class="caption">Animais em extinção</a></caption>
<table> <table>
<tr class="tr-color">
<tr>
<th>Animal</th> <th>Animal</th>
<th>Quantidade</th> <th>Quantidade</th>
</tr> </tr>
@ -43,7 +43,7 @@
<td>Lobo-guará</td> <td>Lobo-guará</td>
<td>23000</td> <td>23000</td>
</tr> </tr>
<tr class="tr-color">
<tr>
<td>Onça-pintada</td> <td>Onça-pintada</td>
<td>10000</td> <td>10000</td>
</tr> </tr>
@ -51,7 +51,7 @@
<td>Panda-gigante</td> <td>Panda-gigante</td>
<td>2500</td> <td>2500</td>
</tr> </tr>
<tr class="tr-color">
<tr>
<td>Arara-azul-de-lear</td> <td>Arara-azul-de-lear</td>
<td>1200</td> <td>1200</td>
</tr> </tr>


+ 4
- 4
paginas/parques-naturais.html View File

@ -34,7 +34,7 @@
<div> <div>
<caption><a class="caption">Parques naturais</a></caption> <caption><a class="caption">Parques naturais</a></caption>
<table> <table>
<tr class="tr-color">
<tr>
<th>Nome</th> <th>Nome</th>
<th>Área (m2)</th> <th>Área (m2)</th>
<th>Local</th> <th>Local</th>
@ -44,7 +44,7 @@
<td>1.291.000.000</td> <td>1.291.000.000</td>
<td>Piauí</td> <td>Piauí</td>
</tr> </tr>
<tr class="tr-color">
<tr>
<td>Parque Estadual de Dois Irmãos</td> <td>Parque Estadual de Dois Irmãos</td>
<td>3.874.000</td> <td>3.874.000</td>
<td rowspan="2">Pernambuco</td> <td rowspan="2">Pernambuco</td>
@ -53,7 +53,7 @@
<td>Parque Ecológico da Serra Negra</td> <td>Parque Ecológico da Serra Negra</td>
<td>32.400</td> <td>32.400</td>
</tr> </tr>
<tr class="tr-color">
<tr>
<td>Parque Nacional de Ubajara</td> <td>Parque Nacional de Ubajara</td>
<td>5.630.000</td> <td>5.630.000</td>
<td>Ceará</td> <td>Ceará</td>
@ -63,7 +63,7 @@
<td>913.000.000</td> <td>913.000.000</td>
<td>Bahia</td> <td>Bahia</td>
</tr> </tr>
<tr class="colspan tr-color">
<tr>
<td colspan="3">Somatório das áreas: 2.213.536.400 m2</td> <td colspan="3">Somatório das áreas: 2.213.536.400 m2</td>
</tr> </tr>
</table> </table>


Loading…
Cancel
Save