Spaces:
Running
Running
File size: 1,153 Bytes
2d04ced 32161b7 2d04ced 32161b7 2d04ced 32161b7 2d04ced 32161b7 2d04ced 32161b7 2d04ced 32161b7 2d04ced | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /* Custom Styles for WeBalance Website */
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Custom Font Settings */
body {
font-family: 'Kanit', sans-serif;
}
/* Animation Classes */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
/* Table Styles for Responsive View */
@media (max-width: 640px) {
table, thead, tbody, th, td, tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr { border: 1px solid #ccc; margin-bottom: 10px; }
td {
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
}
td:before {
position: absolute;
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
font-weight: bold;
}
}
/* Accordion Marker adjustments */
details > summary {
list-style: none;
}
details > summary::-webkit-details-marker {
display: none;
}
/* Utility for images to prevent layout shift */
img {
max-width: 100%;
height: auto;
} |