MediaWiki:Minerva.css: Skirtumas tarp puslapio versijų

Viki perdarymas 2026-12: kortelių, blokų ir navigacijos stiliai (mcs-*)
SNėra keitimo santraukos
(Viki perdarymas 2026-12: kortelių, blokų ir navigacijos stiliai (mcs-*))
 
(nerodoma viena tarpinė versija, sukurta vieno naudotojo)
16 eilutė: 16 eilutė:
--content-background-color: #E6EFF4;
--content-background-color: #E6EFF4;
--content-text-color: #202122;
--content-text-color: #202122;
}
/* Dungeons [[File:Mobile-header-dungeons.png]] */
html body.rootpage-Minecraft_Dungeons,
html body.rootpage-Talk_Minecraft_Dungeons,
html body.ns-10000,
html body.ns-10001  {
--mobile-header-background: url('filepath:///resources/assets/mc/Mobile-header-dungeons.png');
--mobile-header-background-color: #FEA158;
--content-background-color: #F2EEE7;
}
/* Earth [[File:Mobile-header-earth.png]] */
html body.rootpage-Minecraft_Earth,
html body.rootpage-Talk_Minecraft_Earth,
html body.ns-10002,
html body.ns-10003 {
--mobile-header-background: url('filepath:///resources/assets/mc/Mobile-header-earth.png');
--mobile-header-background-color: #58B5FE;
--content-background-color: #E5EDFF;
}
/* Legends [[File:Mobile-header-legends.png]] */
html body.rootpage-Minecraft_Legends,
html body.rootpage-Talk_Minecraft_Legends,
html body.ns-10006,
html body.ns-10007 {
--mobile-header-background: url('filepath:///resources/assets/mc/Mobile-header-legends.png');
--mobile-header-background-color: #58B5FE;
--content-background-color: #DAEAE9;
}
/* Story Mode [[File:Mobile-header-storymode.png]] */
body.rootpage-Minecraft_Story_Mode,
body.rootpage-Talk_Minecraft_Story_Mode,
body.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.ns-10004,
body.ns-10005 {
--mobile-header-background: url('filepath:///resources/assets/mc/Mobile-header-storymode.png');
--mobile-header-background-color: #9E9AE4;
--content-background-color: #f9eddc;
}
/* Movie [[File:Mobile-header-movie.png]] */
body.rootpage-A_Minecraft_Movie,
body.rootpage-Talk_A_Minecraft_Movie,
body.ns-10012,
body.ns-10013 {
--mobile-header-background: url('filepath:///resources/assets/mc/Mobile-header-movie.png');
    --mobile-header-background-color: #70A8E6;
--content-background-color: #E8E3E1;
}
}


658 eilutė: 606 eilutė:
/* Default styles [[File:Dark-mobile-header.png]] */
/* Default styles [[File:Dark-mobile-header.png]] */
body.wgl-theme-dark {
body.wgl-theme-dark {
     --mobile-header-background: url('filepath://Dark-mobile-header.png');
     --mobile-header-background: url('filepath:///resources/assets/mc/Dark-mobile-header.png');
--mobile-header-background-color: #011C31;
--mobile-header-background-color: #011C31;
--content-text-color: #e6e6e6;
--content-text-color: #e6e6e6;
664 eilutė: 612 eilutė:
--base-background-color: #13191c;
--base-background-color: #13191c;
color: var(--content-text-color);
color: var(--content-text-color);
}
/* Dungeons [[File:Dark-mobile-header-dungeons.png]] */
html body.wgl-theme-dark.rootpage-Minecraft_Dungeons,
html body.wgl-theme-dark.rootpage-Talk_Minecraft_Dungeons,
html body.wgl-theme-dark.ns-10000,
html body.wgl-theme-dark.ns-10001  {
--mobile-header-background: url('filepath://Dark-mobile-header-dungeons.png');
    --mobile-header-background-color: #311601;
--content-background-color: #433d3d;
}
/* Earth [[File:Dark-mobile-header-earth.png]] */
html body.wgl-theme-dark.rootpage-Minecraft_Earth,
html body.wgl-theme-dark.rootpage-Talk_Minecraft_Earth,
html body.wgl-theme-dark.ns-10002,
html body.wgl-theme-dark.ns-10003 {
--mobile-header-background: url('filepath://Dark-mobile-header-earth.png');
    --mobile-header-background-color: #011C31;
--content-background-color: #252b3c;
}
/* Story Mode [[File:Dark-mobile-header-storymode.png]] */
html body.wgl-theme-dark.rootpage-Minecraft_Story_Mode,
html body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode,
html body.wgl-theme-dark.rootpage-Minecraft_Story_Mode_-_Season_Two,
html body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
html body.wgl-theme-dark.ns-10004,
html body.wgl-theme-dark.ns-10005 {
--mobile-header-background: url('filepath://Dark-mobile-header-storymode.png');
    --mobile-header-background-color: #2e2983;
--content-background-color: #2e291f;
}
/* Legends [[File:Dark-mobile-header-legends.png]] */
html body.wgl-theme-dark.rootpage-Minecraft_Legends,
html body.wgl-theme-dark.rootpage-Talk_Minecraft_Legends,
html body.wgl-theme-dark.ns-10006,
html body.wgl-theme-dark.ns-10007 {
--mobile-header-background: url('filepath://Dark-mobile-header-legends.png');
    --mobile-header-background-color:#011C31;
--content-background-color: #293344;
}
/* Movie [[File:Dark-mobile-header-movie.png]] */
html body.wgl-theme-dark.rootpage-A_Minecraft_Movie,
html body.wgl-theme-dark.rootpage-Talk_A_Minecraft_Movie,
html body.wgl-theme-dark.ns-10012,
html body.wgl-theme-dark.ns-10013 {
--mobile-header-background: url('filepath://Dark-mobile-header-movie.png');
    --mobile-header-background-color: #0E1D28;
--content-background-color: #36322E;
}
}


2 136 eilutė: 2 032 eilutė:
  color: #f8f9fa;
  color: #f8f9fa;
} */
} */
/* ==========================================================================
  MCSlime Viki perdarymas 2026-12 (visos klases prasideda "mcs-").
  Spalvos permatomos, todel tinka ir tamsiai, ir sviesiai temai.
  Generuojama: /root/PLUGIN-SOURCE-CODE/wiki-perdarymas/naujas/mcs.css
  ========================================================================== */
:root { --mcs-green: #5DB16E; --mcs-green-dark: #3f8f50; }
/* Pagrindinis puslapis: pavadinima rodo mcs-hero, todel standartinis paslepiamas */
body.page-Pagrindinis_puslapis #firstHeading,
body.page-Pagrindinis_puslapis #siteSub,
body.page-Pagrindinis_puslapis #contentSub,
body.page-Pagrindinis_puslapis .page-actions-menu { display: none; }
/* --- virsutinis blokas (hero) --- */
.mcs-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2em 1.8em; margin: .4em 0 1.6em; padding: 1.4em 1.7em;
border: 1px solid rgba(93,177,110,.5); border-radius: 8px;
background: linear-gradient(135deg, rgba(93,177,110,.24) 0%, rgba(93,177,110,.06) 55%, rgba(93,177,110,0) 100%); }
.mcs-hero-logo img { display: block; image-rendering: pixelated; }
.mcs-hero-main { flex: 1 1 320px; min-width: 0; }
.mcs-hero-title { font-size: 2.1em; font-weight: bold; line-height: 1.15; margin: 0 0 .25em; }
.mcs-hero-sub { font-size: 1.05em; line-height: 1.5; opacity: .88; margin: 0 0 .9em; }
.mcs-hero-ip { display: inline-block; margin: 0 .7em .6em 0; padding: .3em .8em; border: 1px dashed rgba(93,177,110,.8); border-radius: 5px;
font-family: monospace; font-size: 1.1em; font-weight: bold; }
.mcs-hero-ver { display: inline-block; margin-bottom: .6em; opacity: .75; }
.mcs-hero .mw-inputbox-centered, .mcs-hero .searchbox { text-align: left; margin: .3em 0 .7em; }
.mcs-hero .mw-inputbox-input { width: 100%; max-width: 30em; }
/* --- mygtukai --- */
.mcs-btns { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .3em; }
.mw-parser-output .mcs-btn a, .mw-parser-output .mcs-btn a:visited, .mw-parser-output .mcs-btn a.external {
display: inline-block; padding: .5em 1.05em; border-radius: 5px; background-color: var(--mcs-green); background-image: none !important;
color: #fff !important; font-weight: bold; text-decoration: none !important; line-height: 1.3; }
.mw-parser-output .mcs-btn a:hover { background-color: var(--mcs-green-dark); }
.mw-parser-output .mcs-btn-alt a, .mw-parser-output .mcs-btn-alt a:visited, .mw-parser-output .mcs-btn-alt a.external {
background-color: rgba(127,127,127,.18); border: 1px solid rgba(127,127,127,.5); color: inherit !important; }
.mw-parser-output .mcs-btn-alt a:hover { background-color: rgba(127,127,127,.32); }
.mw-parser-output .mcs-btn-discord a, .mw-parser-output .mcs-btn-discord a.external, .mw-parser-output .mcs-btn-discord a:visited { background-color: #5865F2; }
.mw-parser-output .mcs-btn-discord a:hover { background-color: #4752c4; }
/* --- korteles (pagrindinis puslapis ir temu sarasai) --- */
.mcs-section-title { font-size: 1.35em; font-weight: bold; margin: 1.3em 0 .2em; padding-bottom: .25em; border-bottom: 1px solid rgba(127,127,127,.35); }
.mcs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75em; margin: .7em 0 1.4em; }
.mcs-card { position: relative; display: flex; align-items: center; gap: .9em; min-height: 68px; padding: .65em .9em;
border: 1px solid rgba(127,127,127,.35); border-left: 4px solid var(--mcs-green); border-radius: 6px; background: rgba(127,127,127,.08);
transition: background-color .15s, border-color .15s, transform .15s; }
.mcs-card:hover { background: rgba(93,177,110,.17); border-color: rgba(93,177,110,.75); transform: translateY(-1px); }
.mcs-card-icon { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
border-radius: 6px; background: rgba(255,255,255,.07); }
.mcs-card-icon img { display: block; image-rendering: pixelated; }
.mcs-card-body { flex: 1; min-width: 0; }
.mcs-card-title { font-weight: bold; font-size: 1.08em; line-height: 1.25; }
.mcs-card-title a { text-decoration: none; }
.mcs-card-title a::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; } /* visa kortele paspaudziama */
.mcs-card-desc { margin-top: .2em; font-size: .88em; line-height: 1.35; opacity: .82; }
/* --- informaciniai blokai --- */
.mcs-box { margin: .9em 0 1.1em; padding: .75em 1.05em; border: 1px solid rgba(93,177,110,.5); border-left: 4px solid var(--mcs-green);
border-radius: 6px; background: rgba(93,177,110,.10); }
.mcs-box > :first-child { margin-top: 0; }
.mcs-box > :last-child { margin-bottom: 0; }
.mcs-box-title { font-weight: bold; font-size: 1.05em; margin-bottom: .3em; }
.mcs-box ul { margin-top: .15em; margin-bottom: 0; }
.mcs-box-warn { border-color: rgba(242,194,48,.55); border-left-color: #F2C230; background: rgba(242,194,48,.10); }
.mcs-box-info { border-color: rgba(79,176,240,.55); border-left-color: #4FB0F0; background: rgba(79,176,240,.10); }
/* --- zingsniai (naujoko gidas) --- */
.mcs-step { display: flex; align-items: flex-start; gap: .9em; margin: .65em 0; padding: .75em .95em;
border: 1px solid rgba(127,127,127,.3); border-radius: 6px; background: rgba(127,127,127,.06); }
.mcs-step-nr { flex: 0 0 2em; height: 2em; border-radius: 50%; background: var(--mcs-green); color: #fff; font-weight: bold;
display: flex; align-items: center; justify-content: center; }
.mcs-step-body { flex: 1; min-width: 0; }
.mcs-step-body > :first-child { margin-top: 0; }
.mcs-step-body > :last-child { margin-bottom: 0; }
.mcs-step-title { font-weight: bold; font-size: 1.07em; margin-bottom: .2em; }
/* --- lenteles --- */
table.mcs-table { width: 100%; }
table.mcs-table th { text-align: left; }
table.mcs-table td code, table.mcs-table td kbd { white-space: nowrap; }
table.mcs-table td.mcs-c, table.mcs-table th.mcs-c { text-align: center; }
.mcs-scroll { overflow-x: auto; }
/* --- Discord juosta --- */
.mcs-discord { display: flex; align-items: center; flex-wrap: wrap; gap: .6em 1.2em; margin: 1.6em 0 1em; padding: 1em 1.4em; border-radius: 8px;
background: #5865F2; color: #fff; }
.mcs-discord img { display: block; }
.mcs-discord-text { flex: 1 1 260px; }
.mcs-discord-text b { font-size: 1.15em; }
.mw-parser-output .mcs-discord a, .mw-parser-output .mcs-discord a.external, .mw-parser-output .mcs-discord a:visited { color: #fff !important; }
.mw-parser-output .mcs-discord .mcs-btn a, .mw-parser-output .mcs-discord .mcs-btn a.external { background-color: #fff; color: #4752c4 !important; }
/* --- navigacija puslapio apacioje --- */
.mcs-nav { clear: both; margin: 2.4em 0 .6em; border: 1px solid rgba(127,127,127,.45); border-radius: 6px; overflow: hidden; font-size: .92em; }
.mcs-nav-head { padding: .5em .9em; background: rgba(93,177,110,.30); font-weight: bold; text-align: center; }
.mcs-nav-head a { color: inherit !important; }
.mcs-nav-row { display: flex; border-top: 1px solid rgba(127,127,127,.3); }
.mcs-nav-group { flex: 0 0 8.5em; padding: .45em .9em; font-weight: bold; background: rgba(127,127,127,.12); text-align: right; }
.mcs-nav-links { flex: 1; padding: .45em .9em; line-height: 1.8; }
.mcs-muted { opacity: .75; font-size: .92em; }
/* --- taisykliu korteles (Serverio taisyklės) --- */
.mcs-rule { margin: .7em 0; padding: .65em 1em; border: 1px solid rgba(127,127,127,.3); border-left: 4px solid var(--mcs-green);
border-radius: 6px; background: rgba(127,127,127,.06); scroll-margin-top: 1em; }
.mcs-rule:target { border-color: #F2C230; box-shadow: 0 0 0 2px rgba(242,194,48,.45); }
.mcs-rule > p:first-of-type { margin-top: .2em; }
.mcs-rule-head { font-weight: bold; font-size: 1.07em; }
.mcs-rule-head a { text-decoration: none; }
.mcs-rule-nr { display: inline-block; min-width: 1.9em; padding: 0 .4em; margin-right: .35em; border-radius: 4px;
background: var(--mcs-green); color: #fff; text-align: center; font-size: .95em; }
.mcs-rule-pen { margin-top: .45em; padding-top: .4em; border-top: 1px dashed rgba(127,127,127,.4); }
.mcs-rule-pen b { color: #ff7b72; }
@media screen and (max-width: 640px) {
.mcs-hero { padding: 1em 1.1em; }
.mcs-hero-title { font-size: 1.6em; }
.mcs-cards { grid-template-columns: 1fr; }
.mcs-nav-row { flex-direction: column; }
.mcs-nav-group { flex-basis: auto; text-align: left; }
}
112

pakeitimų