Sablier/styles.css
2025-04-25 15:18:01 +02:00

71 lines
1.3 KiB
CSS

@page {
size: A4; /* Taille de la page */
margin: 2cm; /* Marges de la page */
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
}
#loading {
text-align: center;
font-size: 1.2rem;
color: #666;
margin-top: 2rem;
}
.page {
page-break-after: always; /* Force un saut de page après chaque élément */
break-after: page; /* Compatibilité avec les navigateurs modernes */
}
.clock-container {
page-break-inside: avoid; /* Empêche les sauts de page à l'intérieur d'une horloge */
break-inside: avoid; /* Compatibilité avec les navigateurs modernes */
}
.clock-image {
max-width: 80%;
max-height: 60vh;
object-fit: contain;
margin-bottom: 1.5rem;
}
.clock-title {
font-family: 'Playfair Display', serif;
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 0.5rem;
text-align: center;
}
.clock-details {
width: 80%;
border-top: 1px solid #ddd;
padding-top: 1rem;
}
.detail-row {
display: flex;
margin-bottom: 0.5rem;
}
.detail-label {
font-weight: bold;
min-width: 120px;
}
.detail-value {
flex-grow: 1;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
font-size: 0.8rem;
color: #666;
}