MediaWiki:QuestCard.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Quest Card: .quest-card { background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 107, 157, 0.1); border-radius: 20px; padding: 30px; margin: 25px 0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; position: relative; overflow: hidden; } .quest-card:hover::before { left: 100%; } .quest-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15); border-color: rgba(255, 107,..." |
No edit summary |
||
| Line 238: | Line 238: | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
html[data-theme="dark"] .quest-card { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) } | |||
html[data-theme="dark"] .quest-card:hover { box-shadow: 0 12px 36px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) } | |||
html[data-theme="dark"] .quest-header { border-bottom-color: rgba(159,208,255,.18) } | |||
html[data-theme="dark"] .quest-icon { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff; box-shadow: 0 4px 15px rgba(39,76,119,.25) } | |||
html[data-theme="dark"] .quest-title { color: #cfe6ff } | |||
html[data-theme="dark"] .quest-type { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff } | |||
html[data-theme="dark"] .quest-section { background: #141c2a; border: 1px solid rgba(159,208,255,.18) } | |||
html[data-theme="dark"] .quest-section::before { background: linear-gradient(90deg, #274c77, #1b2b41) } | |||
html[data-theme="dark"] .quest-section-title { color: #a8c6e8 } | |||
html[data-theme="dark"] .quest-section-content { color: #cfe6ff } | |||
html[data-theme="dark"] .quest-rewards { background: #141c2a; border: 1px solid rgba(159,208,255,.18) } | |||
html[data-theme="dark"] .quest-rewards-title { color: #cfe6ff } | |||
html[data-theme="dark"] .quest-reward-item { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff } | |||
html[data-theme="dark"] .quest-reward-item:hover { box-shadow: 0 8px 24px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) } | |||
html[data-theme="dark"] .quest-location-details { background: linear-gradient(135deg, rgba(255,193,7,.09), rgba(255,193,7,.04)); border: 1px solid rgba(255,165,0,.3); border-left-color: #ff9800; color: #cfe6ff } | |||
html[data-theme="dark"] .quest-drop-info { background: linear-gradient(135deg, rgba(40,167,69,.09), rgba(32,201,151,.04)); border: 1px solid rgba(40,167,69,.3); border-left-color: #28a745; color: #cfe6ff } | |||
/* ---------------------------------------------------------- */ | /* ---------------------------------------------------------- */ | ||
Revision as of 11:38, 3 December 2025
/* Quest Card */
.quest-card {
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 107, 157, 0.1);
border-radius: 20px;
padding: 30px;
margin: 25px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.quest-card:hover::before {
left: 100%;
}
.quest-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
border-color: rgba(255, 107, 157, 0.3);
}
/* Quest Header */
.quest-header {
display: flex;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid rgba(255, 107, 157, 0.1);
}
.quest-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #ff6b9d, #d63384);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
font-size: 24px;
color: white;
box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}
.quest-title {
font-size: 22px;
font-weight: 700;
color: #2d2d2d;
margin: 0;
}
.quest-type {
background: linear-gradient(135deg, #ff6b9d, #d63384);
color: white;
padding: 4px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-left: auto;
}
/* Quest Sections Grid */
.quest-sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 25px 0;
}
.quest-section {
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(255, 107, 157, 0.15);
border-radius: 16px;
padding: 25px 20px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.quest-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ff6b9d, #ff8fb0);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.quest-section:hover::before {
transform: scaleX(1);
}
.quest-section:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
border-color: #ff6b9d;
}
.quest-section-icon {
font-size: 2rem;
margin-bottom: 15px;
display: block;
}
.quest-section-title {
font-size: 14px;
font-weight: 600;
color: #666666;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 12px;
}
.quest-section-content {
font-size: 16px;
font-weight: 600;
color: #2d2d2d;
line-height: 1.4;
}
/* Special Badges */
.quest-badge {
display: inline-block;
background: linear-gradient(135deg, #28a745, #20c997);
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-left: 8px;
box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
/* Rewards Section */
.quest-rewards {
background: rgba(255, 255, 255, 0.9);
border: 1px solid rgba(255, 107, 157, 0.15);
border-radius: 16px;
padding: 25px;
margin: 25px 0;
position: relative;
overflow: hidden;
}
.quest-rewards::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ff6b9d, #ff8fb0);
}
.quest-rewards-title {
font-size: 18px;
font-weight: 700;
color: #2d2d2d;
margin-bottom: 15px;
display: flex;
align-items: center;
}
.quest-rewards-title::before {
content: '🎁';
margin-right: 10px;
font-size: 20px;
}
.quest-rewards-list {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.quest-reward-item {
background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(214, 51, 132, 0.05));
border: 1px solid rgba(255, 107, 157, 0.2);
border-radius: 12px;
padding: 8px 16px;
font-size: 14px;
font-weight: 600;
color: #2d2d2d;
transition: all 0.3s ease;
}
.quest-reward-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
border-color: #ff6b9d;
}
/* Location Details */
.quest-location-details {
background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 193, 7, 0.05));
border: 1px solid rgba(255, 165, 0, 0.3);
border-left: 5px solid #ff9800;
border-radius: 16px;
padding: 20px;
margin: 20px 0;
font-size: 14px;
color: #2d2d2d;
line-height: 1.5;
}
.quest-location-details::before {
content: '📍';
margin-right: 8px;
font-size: 16px;
}
/* Item Drop Info */
.quest-drop-info {
background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.05));
border: 1px solid rgba(40, 167, 69, 0.3);
border-left: 5px solid #28a745;
border-radius: 16px;
padding: 20px;
margin: 15px 0;
font-size: 14px;
color: #2d2d2d;
line-height: 1.5;
}
.quest-drop-info::before {
content: '💎';
margin-right: 8px;
font-size: 16px;
}
html[data-theme="dark"] .quest-card { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(123,187,255,.18) }
html[data-theme="dark"] .quest-card:hover { box-shadow: 0 12px 36px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) }
html[data-theme="dark"] .quest-header { border-bottom-color: rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-icon { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff; box-shadow: 0 4px 15px rgba(39,76,119,.25) }
html[data-theme="dark"] .quest-title { color: #cfe6ff }
html[data-theme="dark"] .quest-type { background: linear-gradient(135deg, #274c77, #1b2b41); color: #ffffff }
html[data-theme="dark"] .quest-section { background: #141c2a; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-section::before { background: linear-gradient(90deg, #274c77, #1b2b41) }
html[data-theme="dark"] .quest-section-title { color: #a8c6e8 }
html[data-theme="dark"] .quest-section-content { color: #cfe6ff }
html[data-theme="dark"] .quest-rewards { background: #141c2a; border: 1px solid rgba(159,208,255,.18) }
html[data-theme="dark"] .quest-rewards-title { color: #cfe6ff }
html[data-theme="dark"] .quest-reward-item { background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06)); border: 1px solid rgba(159,208,255,.18); color: #cfe6ff }
html[data-theme="dark"] .quest-reward-item:hover { box-shadow: 0 8px 24px rgba(123,187,255,.25); border-color: rgba(159,208,255,.35) }
html[data-theme="dark"] .quest-location-details { background: linear-gradient(135deg, rgba(255,193,7,.09), rgba(255,193,7,.04)); border: 1px solid rgba(255,165,0,.3); border-left-color: #ff9800; color: #cfe6ff }
html[data-theme="dark"] .quest-drop-info { background: linear-gradient(135deg, rgba(40,167,69,.09), rgba(32,201,151,.04)); border: 1px solid rgba(40,167,69,.3); border-left-color: #28a745; color: #cfe6ff }
/* ---------------------------------------------------------- */
/* Desktop médio: 992px - 1199px */
@media (max-width: 1199px) {
.quest-card {
padding: 25px;
margin: 20px 0;
}
.quest-sections {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 18px;
}
.quest-section {
padding: 20px 18px;
}
.quest-title {
font-size: 20px;
}
.quest-rewards {
padding: 20px;
}
}
/* Desktop pequeno: 768px - 991px */
@media (max-width: 991px) {
.quest-card {
padding: 20px;
margin: 18px 0;
border-radius: 16px;
}
.quest-header {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}
.quest-type {
margin-left: 0;
align-self: flex-end;
}
.quest-sections {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
}
.quest-section {
padding: 18px 16px;
}
.quest-title {
font-size: 18px;
}
.quest-section-content {
font-size: 15px;
}
.quest-rewards {
padding: 18px;
}
.quest-rewards-title {
font-size: 16px;
}
}
/* Tablet: 576px - 767px */
@media (max-width: 767px) {
.quest-card {
padding: 18px;
margin: 15px 0;
border-radius: 14px;
}
.quest-header {
margin-bottom: 18px;
padding-bottom: 12px;
}
.quest-icon {
width: 45px;
height: 45px;
font-size: 20px;
margin-right: 12px;
}
.quest-title {
font-size: 16px;
}
.quest-type {
font-size: 11px;
padding: 3px 10px;
}
.quest-sections {
grid-template-columns: 1fr;
gap: 14px;
margin: 20px 0;
}
.quest-section {
padding: 16px 14px;
}
.quest-section-icon {
font-size: 1.5rem;
margin-bottom: 12px;
}
.quest-section-title {
font-size: 13px;
margin-bottom: 10px;
}
.quest-section-content {
font-size: 14px;
}
.quest-rewards {
padding: 16px;
margin: 20px 0;
}
.quest-rewards-title {
font-size: 15px;
margin-bottom: 12px;
}
.quest-rewards-list {
gap: 10px;
}
.quest-reward-item {
padding: 6px 12px;
font-size: 13px;
}
.quest-location-details,
.quest-drop-info {
padding: 16px;
margin: 16px 0;
font-size: 13px;
}
}
/* Mobile: até 575px */
@media (max-width: 575px) {
.quest-card {
padding: 15px;
margin: 12px 0;
border-radius: 12px;
}
.quest-header {
margin-bottom: 15px;
padding-bottom: 10px;
}
.quest-icon {
width: 40px;
height: 40px;
font-size: 18px;
margin-right: 10px;
}
.quest-title {
font-size: 15px;
}
.quest-type {
font-size: 10px;
padding: 2px 8px;
}
.quest-sections {
gap: 12px;
margin: 18px 0;
}
.quest-section {
padding: 14px 12px;
}
.quest-section:hover {
transform: translateY(-2px) scale(1.01);
}
.quest-section-icon {
font-size: 1.3rem;
margin-bottom: 10px;
}
.quest-section-title {
font-size: 12px;
margin-bottom: 8px;
}
.quest-section-content {
font-size: 13px;
}
.quest-rewards {
padding: 14px;
margin: 18px 0;
}
.quest-rewards-title {
font-size: 14px;
margin-bottom: 10px;
}
.quest-rewards-title::before {
font-size: 16px;
margin-right: 8px;
}
.quest-rewards-list {
gap: 8px;
}
.quest-reward-item {
padding: 5px 10px;
font-size: 12px;
}
.quest-location-details,
.quest-drop-info {
padding: 14px;
margin: 14px 0;
font-size: 12px;
border-radius: 12px;
}
.quest-location-details::before,
.quest-drop-info::before {
font-size: 14px;
margin-right: 6px;
}
}