MediaWiki:Common.css: Difference between revisions

From CoraTO Wiki - Official Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 422: Line 422:
/* Mw Placeholder*/
/* Mw Placeholder*/


html[data-theme="dark"] mw-file-description {
html[data-theme="dark"] .mw-file-description {
   color: #9fd0ff !important;
   color: #9fd0ff !important;
   background: rgba(61,97,146,.22) !important;
   background: rgba(61,97,146,.22) !important;
Line 430: Line 430:
}
}


html[data-theme="dark"] mw-file-description:hover {
html[data-theme="dark"] .mw-file-description:hover {
   color: #cfe6ff !important;
   color: #cfe6ff !important;
   background: rgba(61,97,146,.32) !important;
   background: rgba(61,97,146,.32) !important;

Revision as of 21:47, 10 December 2025

/* [DESTAQUE CARDS] HOLOGRAMSIE SERVICE CARDS */
.destaques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px auto;
  padding: 0 20px;
  max-width: 1200px;
  width: 100%;
}

.destaque-card {
  background: #ffffff;
  border: 2px solid rgba(255, 107, 157, 0.18);
  border-radius: 15px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
}

.destaque-card[data-link],
.destaque-card[data-tab-trigger] {
  cursor: pointer;
}

.destaque-card[data-link]:hover,
.destaque-card[data-tab-trigger]:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(255, 107, 157, 0.25);
  border-color: rgba(255, 111, 163, 0.7);
}

.destaque-card[data-link] .destaque-text h3,
.destaque-card[data-tab-trigger] .destaque-text h3 {
  color: #ff6b9d;
}

.destaque-card[data-link]:hover .destaque-text h3,
.destaque-card[data-tab-trigger]:hover .destaque-text h3 {
  color: #d63384;
}

.destaque-card[data-link] *,
.destaque-card[data-tab-trigger] * {
  pointer-events: none;
}

.destaque-image {
  width: 100%;
  max-width: 180px;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.destaque-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.destaque-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.destaque-text h3 {
  color: #ff6b9d;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.destaque-text p {
  color: #ff6b9d;
  font-size: 0.9em;
  line-height: 1.4;
  margin: 0;
  opacity: 0.8;
}

.destaque-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: #ff6b9d;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.destaque-card:hover::before {
  opacity: 0.1;
}

.destaque-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(255, 107, 157, 0.25);
  border-color: rgba(255, 111, 163, 0.7);
}

html[data-theme="dark"] .destaque-card {
  background: linear-gradient(135deg, rgba(39,76,119,.12), rgba(39,76,119,.06));
  border: 1px solid rgba(159,208,255,.18);
  border-left: 4px solid #7bbbff;
  box-shadow: 0 6px 24px rgba(123,187,255,.18);
  color: #cfe6ff;
}
html[data-theme="dark"] .destaque-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(123,187,255,.25);
  border-color: rgba(159,208,255,.35);
}
html[data-theme="dark"] .destaque-card::before {
  background: linear-gradient(135deg, #7bbbff, #a2d3ff);
}
html[data-theme="dark"] .destaque-card:hover::before { opacity: 0.12 }
html[data-theme="dark"] .destaque-text h3 {
  color: #cfe6ff;
}
html[data-theme="dark"] .destaque-text p {
  color: #a8c6e8;
}
html[data-theme="dark"] .destaque-text li { color: #a8c6e8 }





/*------------------------------------ Hero Section ------------------------------------ */
.hero {
  background: rgba(255,255,255,0.85);
  border: 2px solid rgba(255, 111, 163, 0.18);
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto 16px auto;
  box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
  
}

.hero-inner {
  padding: clamp(18px, 3vw, 36px);
  text-align: center;
}

.hero-title {
  margin: 8px 0 4px 0;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, #ff4f91, #d02f72);
  
  background-clip: text;
  
}

.hero-subtitle {
  color: #666;
  font-size: clamp(14px, 2.2vw, 18px);
}

.status-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff4f91, #d02f72);
  animation: fadeInOut 2s ease-in-out infinite;
}



/* ------------------------------------ Buttons ------------------------------------ */
.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *),
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):not(button.nested-tab) {
  background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover,
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.3) !important;
}

/*------------------------------------      ------------------------------------*/
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, "Noto Sans", sans-serif !important;
  line-height: 1.6 !important;
  color: #2d2d2d !important;
  background: linear-gradient(135deg, #fff0f6, #ffd9e9 40%, #ffb3cf) !important;
  background-attachment: fixed !important;
  margin: 0 !important;
  padding: clamp(18px, 3vw, 36px);  
  min-height: 100vh !important;
}

#content.mw-body.ve-init-mw-desktopArticleTarget-targetContainer { min-width: 450px }



/* ------------------------------------ TYPOGRAPHY ------------------------------------ */

/* [TYPOGRAPHY] TEXT STYLING
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  color: #ff6b9d !important;
  font-weight: 700 !important;
  font-style: italic;
  margin-bottom: 16px !important;
  margin-top: 24px !important;
}

h1, h2 {
  background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%) !important;
  border-bottom: 2px solid #ff4f91;
  background-clip: text !important;
  font-size: 2.5em !important;
}

h4 {
  font-size: 2em !important;
}

h5 {
  text-decoration: underline;
}

.section-header {
  text-align: center;
  margin-bottom: max(12px, min(2.5vw, 24px));
}

.section-header h2 {
  margin: 0;
  font-size: max(20px, min(3vw, 28px));
  color: #222;
  display: inline-block;
  padding-bottom: 6px;
}

.section-lead {
  margin-top: 6px;
  color: #666;
  font-size: max(13px, min(2vw, 16px));
}

/*---------------------- Links -----------------------*/
#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) {
  color: #f70361 !important;
  display: inline-block !important;
  padding: 2px 4px !important;
  border-radius: 10px !important;
  border-left: 3px solid transparent !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
}

#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover {
  color: #ff6a9c !important;
  background: #fff5fb !important;
  border-left-color: #ff6b9d !important;
  padding-left: 8px !important;
}

.external-link {
  color: #ff6b9d;
  text-decoration: none;
  border-bottom: 1px dashed #ff6b9d;
  transition: all 0.3s ease;
  padding-right: 20px;
  position: relative;
}

.external-link::after {
  content: '↗';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.8em;
}

.external-link:hover {
  color: #d63384;
  border-bottom-color: #d63384;
}

a.external {
  background-image: none !important;
  padding-right: 0 !important;
}

a.external::after {
  display: none !important;
  content: none !important;
}


.mw-link-internal {
  color: #ff6b9d !important;
  text-decoration: none !important;
  transition: 0.3s ease !important;
  border-bottom: 1px dotted transparent !important;
}

.mw-link-internal:hover {
  color: #d63384 !important;
  border-bottom-color: #ff6b9d !important;
}

.mw-redirect {
  color: #ff8fb0 !important;
}






/* --------------------------------------------------------------THEME--------------------------------------------------------------------------------- */

/* THEME BASE */
:root { --theme-transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease }
html, body, #content, .mw-body, .hero, .highlights-section, .card.highlight, .card-media, .nav-tabs, .info-card, .wikitable-like, a, button, input, textarea, select { transition: var(--theme-transition) }

/* DARK THEME */
html[data-theme="dark"] { color-scheme: dark }
html[data-theme="dark"] body { background: linear-gradient(135deg, #0f1422, #171e2c 40%, #101625) !important; color: #cfe6ff !important }
html[data-theme="dark"] .section-header h2 { color: #cfe6ff !important; border-bottom-color: rgba(159,208,255,.35) !important }
html[data-theme="dark"] .section-lead { color: #a8c6e8 !important }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: #9fd0ff !important; background: none !important; border-bottom: 2px solid rgba(159,208,255,.35) !important }
html[data-theme="dark"] #mw-content-text a { color: #7bbbff !important; background: transparent !important; border-left-color: transparent !important }
html[data-theme="dark"] #mw-content-text a:hover { color: #a2d3ff !important; background: rgba(61,97,146,.22) !important; border-left-color: #7bbbff !important }
html[data-theme="dark"] .mw-link-internal { color: #9fd0ff !important }
html[data-theme="dark"] .mw-link-internal:hover { color: #cfe6ff !important }
html[data-theme="dark"] p,
html[data-theme="dark"] strong,
html[data-theme="dark"] b { color: #cfe6ff !important }
html[data-theme="dark"] .card p,
html[data-theme="dark"] .card strong,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .info-card strong,
html[data-theme="dark"] .quest-card p,
html[data-theme="dark"] .quest-card strong { color: #cfe6ff !important }

/* COMPONENTS */
html[data-theme="dark"] .hero { background: rgba(20,25,36,.92); border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(10, 15, 26, .4) }
html[data-theme="dark"] .status-pill { background: linear-gradient(135deg, #5b8bff, #88c0ff) }
html[data-theme="dark"] .info-box { background: rgba(22, 28, 41, .85); border-left-color: #7bbbff }
html[data-theme="dark"] .mw-ui-button:not(.ve-ui *), html[data-theme="dark"] button { background: linear-gradient(135deg, #3976d7, #7db7ff) !important; color: #fff !important }

/* Highlights cards */
html[data-theme="dark"] .card.highlight { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.15); box-shadow: 0 6px 16px rgba(12,18,30,.35) }
html[data-theme="dark"] .card-media { background: linear-gradient(180deg, #172235, #101827) }
html[data-theme="dark"] .card-title { color: #cfe6ff }

/* Tabs containers */
html[data-theme="dark"] .tab-content { background: #121a29 !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 18px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .tab-content.active { background: #121a29 !important }
html[data-theme="dark"] .nested-content { background: #101625 !important; border: 1px solid rgba(159,208,255,.15) !important }
html[data-theme="dark"] .wikitable-like { background: #141c2a !important; border: 1px solid rgba(159,208,255,.15) !important }
html[data-theme="dark"] .wikitable-like .column ul li { background: #121a29 !important; border: 1px solid rgba(159,208,255,.12) !important }
html[data-theme="dark"] .wikitable-like .column ul li a { color: #9fd0ff !important; background: transparent !important }
html[data-theme="dark"] .card { background: #141c2a !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 16px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .card .card-body { background: transparent !important; color: #cfe6ff !important }
html[data-theme="dark"] .info-card { background: rgba(20,26,38,.92) !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 18px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .quest-section, html[data-theme="dark"] .quest-card { background: #121a29 !important; border: 1px solid rgba(159,208,255,.18) !important }
html[data-theme="dark"] .quest-card .reward-item, html[data-theme="dark"] .reward-card { background: #0f1422 !important; border: 1px solid rgba(159,208,255,.25) !important; color: #cfe6ff !important }
html[data-theme="dark"] .quest-card .reward-item:hover { background: rgba(61,97,146,.22) !important; color: #cfe6ff !important }

/* Forms */
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: #111726 !important; color: #cfe6ff !important; border-color: rgba(159,208,255,.25) !important }
html[data-theme="dark"] input[type="text"]::placeholder,
html[data-theme="dark"] input[type="search"]::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #7ea6d6 !important }
html[data-theme="dark"] input[type="text"]:focus,
html[data-theme="dark"] input[type="search"]:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus { border-color: #7bbbff !important; box-shadow: 0 0 0 3px rgba(123,187,255,.25) !important }
html[data-theme="dark"] #text { color: #cfe6ff !important }
html[data-theme="dark"] li { color: #a8c6e8 !important }


/* Mw Placeholder*/

html[data-theme="dark"] .mw-file-description {
  color: #9fd0ff !important;
  background: rgba(61,97,146,.22) !important;
  border: 1px solid rgba(159,208,255,.18) !important;
  border-radius: 8px !important;
  padding: 2px 6px !important;
}

html[data-theme="dark"] .mw-file-description:hover {
  color: #cfe6ff !important;
  background: rgba(61,97,146,.32) !important;
  border-color: rgba(159,208,255,.25) !important;
}

html[data-theme="dark"] figcaption {
  color: #cfe6ff !important;
  background: rgba(39,76,119,.14) !important;
  border: 1px solid rgba(159,208,255,.25) !important;
  border-radius: 10px !important;
  padding: 4px 8px !important;
}