-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
76 lines (65 loc) · 1.55 KB
/
stylesheet.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* CSS do main e canvas */
main {
display: flex;
flex-direction: column; /* Garante que os elementos dentro do main fiquem em coluna */
align-items: center; /* Centraliza os itens horizontalmente */
justify-content: flex-start; /* Alinha os itens ao topo */
height: 100vh; /* Faz o main ocupar a altura total da tela */
}
#canvas {
width: 600px;
height: 300px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px; /* Espaçamento entre o canvas e a tabela */
margin-top: 200px;
z-index: 1; /* Garante que o canvas fique acima */
}
/* CSS da tabela de ranking */
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
color: #333;
margin: 0;
}
.ranking-container {
width: 80%;
max-width: 800px;
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
margin-top: 100px;
margin-bottom: 200px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
z-index: 0; /* Garante que o ranking-container fique abaixo do canvas */
}
h1 {
text-align: center;
color: #6a0dad;
}
.ranking-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.ranking-table th, .ranking-table td {
padding: 12px;
text-align: left;
}
.ranking-table th {
background-color: #6a0dad;
color: #ffffff;
}
.ranking-table tr:nth-child(even) {
background-color: #f9f9f9;
}
.ranking-table tr:nth-child(odd) {
background-color: #f2f2f2;
}
.ranking-table tr:hover {
background-color: #ddd;
}
#space{
padding: 2%;
}