Statistik backend and favicon

This commit is contained in:
2025-09-04 17:27:45 +02:00
parent eb1d713942
commit 1f82c98646
12 changed files with 361 additions and 0 deletions

View File

@@ -326,6 +326,121 @@ body {
margin: 5% auto;
width: 95%;
}
.page-stats-grid {
grid-template-columns: 1fr;
}
.link-stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Page Statistics Styles */
.page-stats-section {
background: white;
border-radius: 10px;
padding: 25px;
margin: 20px 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.page-stats-section h2 {
color: #1e3c72;
margin-bottom: 20px;
font-size: 1.5em;
}
.page-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.page-stat-card {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
border-left: 4px solid #1e3c72;
}
.page-stat-card h3 {
color: #1e3c72;
margin-bottom: 15px;
font-size: 1.2em;
}
.page-stats-content {
font-size: 0.9em;
line-height: 1.6;
}
.page-stats-content .page-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid #e9ecef;
}
.page-stats-content .page-item:last-child {
border-bottom: none;
}
.page-stats-content .page-name {
font-weight: 500;
color: #495057;
}
.page-stats-content .page-count {
background: #1e3c72;
color: white;
padding: 4px 8px;
border-radius: 12px;
font-size: 0.8em;
font-weight: bold;
}
/* Link Statistics Styles */
.link-stats-section {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
margin-top: 20px;
}
.link-stats-section h3 {
color: #1e3c72;
margin-bottom: 15px;
font-size: 1.3em;
}
.link-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}
.link-stat-card {
text-align: center;
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.link-stat-number {
font-size: 2em;
font-weight: bold;
color: #1e3c72;
margin-bottom: 8px;
}
.link-stat-label {
color: #6c757d;
font-size: 0.9em;
font-weight: 500;
}
@media (max-width: 480px) {