MediaWiki:GuardianTypes.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Guardian Types Styling */
.guardian-selector {
background: var(--bg-1);
border-radius: 15px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 5px 20px var(--shadow-soft);
}
.selector-header {
text-align: center;
margin-bottom: 20px;
}
.difficulty-slider-container {
margin: 30px 0;
position: relative;
}
.difficulty-labels {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.difficulty-labels span {
font-size: 0.9em;
color: var(--text-muted);
position: relative;
}
.difficulty-slider {
width: 100%;
height: 10px;
border-radius: 5px;
background: var(--primary);
outline: none;
appearance: none;
}
.guardian-preview-image {
margin: 20px auto;
max-width: 600px;
}
/* Comparison Table Styling */
.guardian-comparison-table-container {
margin: 40px 0;
}
.comparison-title {
text-align: center;
margin-bottom: 20px;
font-size: 1.8em;
color: var(--heading);
}
.guardian-comparison-table table {
width: 100%;
border-collapse: collapse;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px var(--shadow-soft);
}
.guardian-comparison-table th {
background: var(--primary);
color: var(--text-strong);
padding: 15px;
text-align: left;
}
.guardian-comparison-table td {
padding: 15px;
border-bottom: 1px solid var(--border);
}
.guardian-comparison-table tr:last-child td {
border-bottom: none;
}
.guardian-comparison-table tr:nth-child(even) {
background-color: var(--bg-1);
}
.guardian-comparison-table tr:nth-child(odd) {
background-color: var(--bg-1);
}
.difficulty-meter {
height: 10px;
background-color: var(--bg-1);
border-radius: 5px;
margin-bottom: 5px;
overflow: hidden;
}
.difficulty-fill {
height: 100%;
border-radius: 5px;
}
.regular-row .difficulty-fill {
background-color: var(--positive);
}
.mighty-row .difficulty-fill {
background-color: var(--primary);
}
.legendary-row .difficulty-fill {
background-color: var(--primary-hover);
}
.superior-row .difficulty-fill {
background-color: var(--danger);
}
.accomplished-row .difficulty-fill {
background-color: var(--primary);
}
/* Accordion Styling */
.guardian-types-accordion {
margin: 40px 0;
}
.detailed-info-title {
text-align: center;
margin-bottom: 10px;
font-size: 1.8em;
color: var(--heading);
}
.detailed-info-subtitle {
text-align: center;
margin-bottom: 30px;
color: var(--text-muted);
}
.guardian-accordion {
background-color: var(--surface);
color: var(--text);
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
border-radius: 10px;
margin-bottom: 10px;
font-size: 1.2em;
font-weight: 600;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px var(--shadow-soft);
}
.guardian-accordion:hover {
background-color: var(--bg-1);
}
.guardian-accordion.active {
border-radius: 10px 10px 0 0;
margin-bottom: 0;
}
.guardian-panel {
padding: 0 18px;
background-color: var(--bg-1);
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
border-radius: 0 0 10px 10px;
margin-bottom: 10px;
box-shadow: 0 2px 10px var(--shadow-soft);
}
.guardian-type-detail {
padding: 20px 0;
}
/* Color coding for accordion buttons */
.regular-accordion {
border-left: 5px solid var(--positive);
}
.mighty-accordion {
border-left: 5px solid var(--primary);
}
.legendary-accordion {
border-left: 5px solid var(--primary-hover);
}
.superior-accordion {
border-left: 5px solid var(--danger);
}
.accomplished-accordion {
border-left: 5px solid var(--primary);
}
/* Difficulty tags */
.difficulty-tag {
font-size: 0.7em;
padding: 5px 10px;
border-radius: 20px;
color: var(--text-strong);
}
.easy-tag {
background-color: var(--positive);
}
.moderate-tag {
background-color: var(--primary);
color: var(--text);
}
.challenging-tag {
background-color: var(--primary-hover);
}
.very-hard-tag {
background-color: var(--danger);
}
.extreme-tag {
background-color: var(--primary);
}
/* Decision Helper Styling */
.decision-helper {
background: var(--bg-1);
border-radius: 15px;
padding: 25px;
margin: 40px 0;
box-shadow: 0 5px 20px var(--shadow-soft);
text-align: center;
}
.decision-questions {
margin: 30px 0;
}
.decision-question {
margin-bottom: 20px;
}
.decision-options {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin-top: 10px;
}
.option {
padding: 10px 15px;
background-color: #f1f1f1;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.option:hover {
background-color: #e0e0e0;
}
.option.selected {
background-color: #e91e63;
color: white;
}
.decision-result {
margin-top: 30px;
padding: 15px;
font-size: 1.1em;
font-weight: bold;
}
.guardian-accordion.recommended {
background-color: #f8e8ff;
border-left: 5px solid #9c27b0;
animation: pulse 2s infinite;
}
#recommendedType {
color: #e91e63;
font-weight: 700;
}