-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (82 loc) · 1.36 KB
/
style.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
html {
font-family: sans-serif;
}
body {
margin: 0;
}
.header{
display: block;
background-color: brown;
}
#title {
color: white;
text-align: center;
letter-spacing: 2px;
padding: 8px 0px;
margin-top: 0;
}
.container{
display: block;
text-align: center;
}
#caption {
font-weight: 600;
font-size: 18px;
}
#choose-title{
margin-top: 4px;
font-size: 48px;
}
.photos{
display: table;
text-align: center;
height: 100%;
width: 100%;
}
#left,
#right {
width: 450px;
height: 500px;
object-fit: cover;
}
#left:hover,
#right:hover {
cursor: pointer;
}
#or{
display: table-cell;
vertical-align: middle;
}
/* Leaderboard styles */
.leaderboard {
margin-top: 20px;
text-align: center;
}
.leaderboard h2 {
font-size: 24px;
margin-bottom: 10px;
}
.leaderboard ul {
list-style-type: none;
padding: 0;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.leaderboard ul li {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.leaderboard img {
width: 50px;
height: 50px;
object-fit: cover;
margin-right: 10px;
border-radius: 50%; /* Makes images circular, remove if not desired */
}
/* Adjustments for accessibility and visual alignment */
.leaderboard span {
font-size: 16px;
}