More actions
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
text-shadow: 0 0 5px rgba(139, 111, 53, 0.8); | text-shadow: 0 0 5px rgba(139, 111, 53, 0.8); | ||
} | } | ||
/* Style for collapsed sections */ | /* Style for collapsed sections */ | ||
.accordion-section.mw-collapsed .mw-headline { | .accordion-section.mw-collapsed .mw-headline { | ||
background-color: #e0e0e0; /* Gray | background-color: #e0e0e0; /* Gray when collapsed */ | ||
font-weight: normal; | font-weight: normal; | ||
padding: | padding: 10px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
cursor: pointer; | cursor: pointer; | ||
display: block; | |||
width: 100%; /* Full width for easier clicking */ | |||
box-sizing: border-box; /* Includes padding in width */ | |||
} | } | ||
Line 56: | Line 64: | ||
background-color: #d0ffd0; /* Light green when expanded */ | background-color: #d0ffd0; /* Light green when expanded */ | ||
font-weight: bold; | font-weight: bold; | ||
padding: | padding: 10px; | ||
border: 1px solid #00cc00; | border: 1px solid #00cc00; | ||
cursor: pointer; | cursor: pointer; | ||
display: block; | |||
width: 100%; /* Full width for easier clicking */ | |||
box-sizing: border-box; | |||
} | } | ||
Line 66: | Line 77: | ||
padding: 10px; | padding: 10px; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
width: 100%; /* Matches header width */ | |||
box-sizing: border-box; | |||
} | } | ||
/* | /* Hide default [show]/[hide] links */ | ||
.mw-collapsible-toggle { | .mw-collapsible-toggle { | ||
display: none; | display: none; | ||
} | } |
Revision as of 07:48, 29 March 2025
/* CSS placed here will be applied to all skins */ /* Base table styling */ .hover-table { font-family: 'Arial', sans-serif; /* Fallback; ideally use a custom font below */ } /* Header styling */ .hover-table caption { font-size: 32px; font-weight: bold; text-shadow: 1px 1px 2px #8B6F35; padding-bottom: 15px; } /* Cell styling */ .hover-table td { transition: all 0.3s ease; padding: 10px; } /* Text styling for links */ .hover-table td a { font-size: 18px; color: #E0C882; font-weight: 600; text-shadow: 0 0 3px rgba(139, 111, 53, 0.5); text-decoration: none; /* Removes underline for a cleaner look */ } /* Hover effect for the whole cell */ .hover-table td:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(224, 200, 130, 0.7); border-radius: 5px; background-color: rgba(224, 200, 130, 0.1); } /* Optional: Brighten text on hover */ .hover-table td:hover a { color: #FFD700; /* Slightly brighter gold for emphasis */ text-shadow: 0 0 5px rgba(139, 111, 53, 0.8); } /* Style for collapsed sections */ .accordion-section.mw-collapsed .mw-headline { background-color: #e0e0e0; /* Gray when collapsed */ font-weight: normal; padding: 10px; border: 1px solid #ccc; cursor: pointer; display: block; width: 100%; /* Full width for easier clicking */ box-sizing: border-box; /* Includes padding in width */ } /* Style for expanded sections */ .accordion-section:not(.mw-collapsed) .mw-headline { background-color: #d0ffd0; /* Light green when expanded */ font-weight: bold; padding: 10px; border: 1px solid #00cc00; cursor: pointer; display: block; width: 100%; /* Full width for easier clicking */ box-sizing: border-box; } /* Content styling */ .accordion-section .mw-collapsible-content { border: 1px solid #ccc; padding: 10px; background-color: #f9f9f9; width: 100%; /* Matches header width */ box-sizing: border-box; } /* Hide default [show]/[hide] links */ .mw-collapsible-toggle { display: none; }