Add motivational training challenges and shared club goals
This commit is contained in:
1 parent
27dcbd92aa
commit
694aba5f3d
11 files changed
+799
-13
No files matched your search
@@ -217,6 +217,116 @@ button {
|
||||
font-size: clamp(1.15rem, 4vw, 1.65rem);
|
||||
}
|
||||
|
||||
.profile-motivation-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
|
||||
gap: 12px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.profile-credit-card,
|
||||
.profile-challenge-card {
|
||||
padding: 17px;
|
||||
}
|
||||
|
||||
.profile-credit-card {
|
||||
background:
|
||||
radial-gradient(circle at 92% 8%, rgba(67, 213, 139, 0.2), transparent 42%),
|
||||
color-mix(in srgb, var(--surface) 94%, transparent);
|
||||
}
|
||||
|
||||
.profile-credit-card > p,
|
||||
.profile-challenge-card > p {
|
||||
margin: 7px 0 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.profile-credit-card ul {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.profile-credit-card li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.profile-credit-card li > span {
|
||||
display: grid;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: 50%;
|
||||
background: rgba(67, 213, 139, 0.16);
|
||||
color: var(--green);
|
||||
font-family: Orbitron, sans-serif;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.profile-challenges {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.profile-challenge {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
gap: 8px;
|
||||
padding: 9px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background: rgba(255, 255, 255, 0.025);
|
||||
}
|
||||
|
||||
.profile-challenge > span {
|
||||
display: grid;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 8px;
|
||||
background: rgba(241, 42, 36, 0.16);
|
||||
color: #ff8f89;
|
||||
font-family: Orbitron, sans-serif;
|
||||
font-size: 0.58rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.profile-challenge > div {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.profile-challenge strong,
|
||||
.profile-challenge small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.profile-challenge small {
|
||||
margin: 2px 0 7px;
|
||||
color: var(--muted);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.profile-challenge .profile-progress {
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
.profile-challenge.is-complete {
|
||||
border-color: color-mix(in srgb, var(--green) 48%, var(--line) 52%);
|
||||
}
|
||||
|
||||
.profile-challenge.is-complete > span {
|
||||
background: rgba(67, 213, 139, 0.16);
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.profile-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
|
||||
@@ -633,6 +743,14 @@ button {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.profile-motivation-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.profile-challenges {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.profile-performance-stats {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user