-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylecabo.css
101 lines (88 loc) · 1.67 KB
/
stylecabo.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
99
100
101
.header {
align-items: center;
width: 100%;
background-position: center;
background-size: cover;
position: relative;
margin-bottom: -5%;
}
nav {
display: flex;
padding: 1% 4.5%;
justify-content: space-between;
align-items: center;
}
.nav-links {
flex: 1;
text-align: center;
}
.nav-links ul li {
list-style: none;
display: inline-block;
padding: 10px 30px 0px;
position: relative;
}
.nav-links ul li a {
font-family: "IBM Plex Mono", monospace;
font-weight: 300;
font-style: normal;
color: #333;
text-decoration: none;
font-size: 100%;
position: relative;
display: inline-block;
transition: transform 0.8s, color 0.5s;
/* Add transition for smooth effect */
}
.nav-links ul li a:hover {
transform: scale(2);
/* Scale the link up by 2 times */
color: rgb(148, 0, 27);
font-weight: 500;
}
@media(max-width:700px) {
.nav-links ul li a {
font-size: 70%;
}
.nav-links ul li {
padding: 10px 10px 25px;
}
}
@media (max-width: 700px) {
.container {
max-width: 100%;
padding: 10px;
margin: 20px auto;
}
h1 {
font-size: 40px;
}
h2 {
font-size: 18px;
}
.score-section {
flex-direction: column;
margin: 10px 20px;
}
.player {
margin-bottom: 20px;
}
.name {
font-size: 20px;
}
.score {
font-size: 80px;
}
.image-container img {
max-height: 200px;
width: 100%;
}
nav ul {
padding: 0;
text-align: center;
}
nav ul li {
display: block;
margin: 10px 0;
}
}