-
Notifications
You must be signed in to change notification settings - Fork 748
/
achievements.css
147 lines (131 loc) · 2.79 KB
/
achievements.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* Global Styling */
body {
font-family: Arial, sans-serif;
background-color: #ffebef; /* Light pink background */
color: #333;
margin: 0;
padding: 20px;
}
.container {
max-width: 1200px;
margin: auto;
padding: 30px;
background-color: rgba(
255,
255,
255,
0.9
); /* White with slight transparency */
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
h1 {
text-align: center;
color: #d04e5b; /* Deep red color */
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: bold;
}
/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #ffe8ec; /* Soft pink */
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
th,
td {
padding: 20px;
text-align: center;
font-size: 18px;
color: #333;
font-weight: 600; /* Slightly bolder font for cell text */
border: 1px solid #f5a6b5; /* Light pink border for structure */
transition: background-color 0.3s ease, transform 0.2s ease;
}
th {
background: linear-gradient(
135deg,
#f38181,
#f28b8b
); /* Gradient for headers */
color: white;
font-weight: bold;
}
td {
background: #ffe8ec; /* Soft pink for cells */
background: linear-gradient(
135deg,
#fff0f4,
#ffe8ec
); /* Subtle gradient in cells */
}
tr:nth-child(even) td {
background: linear-gradient(
135deg,
#ffd9df,
#ffebef
); /* Slightly darker pink for even rows */
}
tr:hover td {
background-color: #ffd1d8; /* Highlighted row background */
transform: scale(1.03); /* Slight scale-up on hover */
}
/* Badge Image Styling */
.badge-img {
width: 100px;
height: 100px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Prompt and Button Styling */
.prompt {
text-align: center;
margin-top: 30px;
padding: 15px;
background-color: #ffe4e1; /* Very light pink */
border-radius: 8px;
font-size: 1.1rem;
color: #5e1f1f;
}
#loginButton {
background-color: #d04e5b; /* Deep red */
color: #fff;
border: none;
padding: 12px 25px;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
margin-top: 15px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
#loginButton:hover {
background-color: #a94040; /* Darker red */
transform: scale(1.05);
}
@media (max-width: 768px) {
.container {
padding: 15px;
overflow-x: auto;
}
table {
width: 100%;
font-size: 0.9rem; /* Slightly smaller font for smaller screens */
}
th,
td {
padding: 10px; /* Reduce padding to fit content */
}
table,
th,
td {
font-size: 0.7rem;
}
.badge-img {
width: 70px;
height: 70px;
}
}