Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (90 loc) · 1.67 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (90 loc) · 1.67 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.site-header {
border-bottom: 4px solid #007acc; /* blue line */
padding: 16px;
}
.logo-container {
display: flex;
align-items: center;
gap: 12px;
}
.logo-container img {
height: 80px;
}
.logo-container h1 {
font-size: 1.8rem;
margin: 0; /* remove default h1 margin */
}
.blurb h3{
text-align: center;
}
h3 {
text-align: center;
}
.blurb p {
text-align: center;
}
ul {
display: inline-block; /* Makes the list width match the text */
text-align: left; /* Keeps bullets next to the text */
}
.blurb {
text-align: center;
}
/* Ensure the page takes up the full height of the screen */
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
}
main {
flex: 1; /* This grows to fill all space, pushing footer down */
}
.horizontal-footer {
display: flex;
justify-content: center;
gap: 20px;
padding: 20px;
border-top: 1px solid #ccc;
}
table {
width: 90%;
max-width: 2300px;
margin: 40px auto;
border-collapse: collapse;
font-family: sans-serif;
}
.laptop-ranking {
width: 50vw;
}
.gold td {
color: #d4af37;
font-weight: bold;
}
.silver td {
color: #8a8a8a;
font-weight: bold;
}
.bronze td {
color: #cd7f32;
font-weight: bold;
}
th {
padding: 15px 20px;
text-align: center; /* Centers the headings */
vertical-align: middle;
border: 1px solid #ddd;
background-color: #f4f4f4;
font-weight: bold;
}
td {
padding: 15px 20px;
text-align: left; /* Left-justifies the data cells */
vertical-align: middle;
border: 1px solid #ddd;
}
tr:nth-child(even) {
background-color: #fafafa;
}