orgmode-to-gemini-blog/templates/styles/stats.css

209 lines
3.6 KiB
CSS

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: #333;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
h1 {
color: #2c3e50;
border-bottom: 3px solid #3498db;
padding-bottom: 10px;
}
h2 {
color: #34495e;
margin-top: 30px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin: 20px 0;
}
.stat-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.stat-card h3 {
margin: 0 0 10px 0;
font-size: 14px;
opacity: 0.9;
}
.stat-card .value {
font-size: 32px;
font-weight: bold;
margin: 10px 0;
}
.stat-card.blue {
background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
}
.stat-card.green {
background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}
.stat-card.orange {
background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
}
.stat-card.purple {
background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
}
.graph-container {
margin: 30px 0;
text-align: center;
}
.graph-container img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.graph-title {
font-weight: bold;
margin-bottom: 10px;
color: #34495e;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #3498db;
color: white;
}
tr:hover {
background-color: #f5f5f5;
}
.footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 2px solid #ddd;
color: #7f8c8d;
}
/* Styles pour les blogs combinés */
.blog-section {
margin-bottom: 40px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
background: #fafafa;
}
.blog-section h2 {
border-bottom: 2px solid #3498db;
padding-bottom: 10px;
margin-top: 0;
}
/* Styles pour les statistiques NaNoWriMo */
.nanowrimo-section {
margin: 30px 0;
padding: 20px;
background: #f9f9f9;
border-radius: 8px;
border-left: 4px solid #3498db;
}
.nanowrimo-month {
margin-bottom: 30px;
padding: 15px;
background: white;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nanowrimo-month h3 {
margin-top: 0;
color: #2c3e50;
}
.progress-container {
margin: 15px 0;
}
.progress-bar {
width: 100%;
height: 30px;
background-color: #e0e0e0;
border-radius: 15px;
overflow: hidden;
position: relative;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.progress-segment {
height: 100%;
float: left;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 12px;
transition: width 0.3s ease;
}
.progress-segment.blue {
background-color: #2196F3;
}
.progress-segment.blue-light {
background-color: #64B5F6;
}
.progress-segment.gray {
background-color: #bdbdbd;
}
.progress-segment.yellow {
background-color: #FFC107;
}
.progress-info {
margin-top: 10px;
font-size: 14px;
color: #555;
}
.progress-info strong {
color: #2c3e50;
}