🎨 Fix inline style color for page visit count

- Changed inline style color from #1e3c72 to #00d4ff
- Page visit count now matches cyan accent color theme
- Consistent with other statistics numbers
This commit is contained in:
2025-09-08 22:13:45 +02:00
parent 117e75fcfe
commit c2188b862a
2 changed files with 5 additions and 5 deletions

View File

@@ -124,7 +124,7 @@ body {
} }
.card h3 { .card h3 {
color: #1e3c72; color: #00d4ff;
margin-bottom: 15px; margin-bottom: 15px;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -421,7 +421,7 @@ body {
.page-stats-content .page-count { .page-stats-content .page-count {
background: #00d4ff; background: #00d4ff;
color: #0a0a0f; color: #00d4ff;
padding: 4px 8px; padding: 4px 8px;
border-radius: 12px; border-radius: 12px;
font-size: 0.8em; font-size: 0.8em;
@@ -430,14 +430,14 @@ body {
/* Link Statistics Styles */ /* Link Statistics Styles */
.link-stats-section { .link-stats-section {
background: #f8f9fa; background: #1a1a2f;
border-radius: 8px; border-radius: 8px;
padding: 20px; padding: 20px;
margin-top: 20px; margin-top: 20px;
} }
.link-stats-section h3 { .link-stats-section h3 {
color: #1e3c72; color: #00d4ff;
margin-bottom: 15px; margin-bottom: 15px;
font-size: 1.3em; font-size: 1.3em;
} }

View File

@@ -140,7 +140,7 @@ function displayPageStats(containerId, stats) {
const mainPageStat = stats.find(stat => stat.page === 'main_page_visit'); const mainPageStat = stats.find(stat => stat.page === 'main_page_visit');
const count = mainPageStat ? mainPageStat.count : 0; const count = mainPageStat ? mainPageStat.count : 0;
container.innerHTML = `<div style="font-size: 1.5em; font-weight: bold; color: #1e3c72;">${count}</div>`; container.innerHTML = `<div style="font-size: 1.5em; font-weight: bold; color: #00d4ff;">${count}</div>`;
} }
function getPageDisplayName(page) { function getPageDisplayName(page) {