Spaces:
Sleeping
Sleeping
File size: 2,073 Bytes
40518b9 | 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 | .main-nav {
margin-top: 15px;
}
.main-nav ul {
display: flex;
list-style: none;
justify-content: center;
gap: 25px;
}
.nav-link {
text-decoration: none;
color: #555;
font-weight: 500;
padding: 8px 15px;
border-radius: 5px;
transition: all 0.3s;
}
.nav-link:hover {
color: #3498db;
background-color: rgba(52, 152, 219, 0.1);
}
.nav-link.active {
color: #3498db;
border-bottom: 2px solid #3498db;
}
.dashboard-content {
display: flex;
flex-direction: column;
gap: 30px;
}
.stats-summary {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-between;
}
.stat-card {
flex: 1 1 200px;
background-color: white;
border-radius: 10px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
}
.stat-card:hover {
transform: translateY(-5px);
}
.stat-card h3 {
font-size: 1rem;
color: #777;
margin-bottom: 10px;
}
.stat-value {
font-size: 2.5rem;
font-weight: 700;
color: #3498db;
}
.charts-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.chart-card {
flex: 1 1 400px;
background-color: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.chart-card h3 {
font-size: 1.2rem;
color: #555;
margin-bottom: 15px;
text-align: center;
}
.recent-workouts {
background-color: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.recent-workouts h2 {
font-size: 1.5rem;
color: #3a3a3a;
margin-bottom: 15px;
}
.workout-table {
width: 100%;
border-collapse: collapse;
}
.workout-table th,
.workout-table td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #eee;
}
.workout-table th {
background-color: #f9f9f9;
color: #555;
font-weight: 500;
}
.workout-table tr:hover {
background-color: #f5f5f5;
}
@media (max-width: 768px) {
.stats-summary {
flex-direction: column;
}
.charts-container {
flex-direction: column;
}
.workout-table {
font-size: 0.9rem;
}
}
|