qi-men-analyzer / style.css
repele's picture
Build a responsive web application that analyzes a Chinese metaphysics / Qi Men–style hourly chart table like the one shown in the uploaded image.
f32cae0 verified
Raw History Blame Contribute Delete
1.37 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
font-family: 'Noto Sans SC', sans-serif;
}
.chart-cell {
min-height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 12px;
border-radius: 8px;
transition: all 0.2s ease;
}
.chart-cell:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.zhi-shi-cell {
background-color: #fef3c7;
border: 2px solid #f59e0b;
position: relative;
}
.zhi-shi-cell::after {
content: "值使";
position: absolute;
top: 4px;
right: 4px;
background-color: #f59e0b;
color: white;
font-size: 0.7rem;
padding: 2px 6px;
border-radius: 4px;
}
.calendar-day {
min-height: 100px;
border-radius: 8px;
transition: all 0.2s ease;
}
.calendar-day:hover {
background-color: #f9fafb;
}
.calendar-day.has-data {
background-color: #fef3c7;
border: 1px solid #f59e0b;
}
.calendar-day.has-data:hover {
background-color: #fde68a;
}
.calendar-day .zhi-shi-marker {
display: inline-block;
background-color: #f59e0b;
color: white;
font-size: 0.7rem;
padding: 2px 6px;
border-radius: 4px;
margin-top: 4px;
}
.pagination-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}