MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 1,741: Line 1,741:
}
}


/* Out of Ore Wiki homepage v2: sandbox-scoped, append to Common.css. */
/* OUT OF ORE HOMEPAGE V1 — ADD AT END OF MediaWiki:Common.css */
.ooo-home-v2{--home-yellow:#f5c400;--home-bg:#15191b;--home-panel:#202426;--home-border:#3a4042;max-width:1280px;margin:0 auto;font-family:Barlow,Arial,sans-serif;color:#edf0f1}
.ooo-home{--oh-yellow:#f5c400;--oh-bg:#121416;--oh-panel:#1b1e21;--oh-border:#35393d;color:#e7e7e7;font-family:Barlow,Arial,sans-serif;max-width:1440px;margin:0 auto;padding:12px 0 44px}
.ooo-home-v2 *{box-sizing:border-box}
.ooo-home *{box-sizing:border-box}.ooo-home a{color:inherit;text-decoration:none}.ooo-home a:hover{color:var(--oh-yellow)}
.ooo-home-v2 a{color:inherit;text-decoration:none!important}
.ooo-home-hero{min-height:380px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;border:1px solid #49453a;background:linear-gradient(115deg,#17191b 0%,#22201a 72%,#2b2616 100%);position:relative}
.ooo-home-v2 a:hover{color:var(--home-yellow)}
.ooo-home-hero:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--oh-yellow)}
.ooo-home-v2__hero{background:linear-gradient(110deg,rgba(10,15,17,.96),rgba(10,15,17,.68)),linear-gradient(145deg,#303b39,#131819);border:1px solid var(--home-border);border-radius:12px;padding:clamp(28px,6vw,76px);margin:12px 0 35px;min-height:320px;position:relative;overflow:hidden}
.ooo-home-hero__content{padding:58px 46px;position:relative;z-index:1}.ooo-home-eyebrow,.ooo-home-kicker{color:var(--oh-yellow);font-size:12px;font-weight:800;letter-spacing:2px}.ooo-home-eyebrow span{color:#a8a8a8}.ooo-home-hero__title{font-size:clamp(40px,5.2vw,78px);font-weight:900;line-height:1;letter-spacing:-2px;margin:24px 0 16px;color:#fff}.ooo-home-hero__title span{color:var(--oh-yellow)}.ooo-home-hero__lead{font-size:19px;max-width:500px;color:#c7c7c7;line-height:1.5}.ooo-home-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.ooo-home-button{display:inline-block;padding:13px 17px;font-weight:800;font-size:12px;letter-spacing:.7px}.ooo-home-button--yellow{background:var(--oh-yellow);color:#151515!important}.ooo-home-button--yellow a{color:#151515!important}.ooo-home-button--outline{border:1px solid #777;color:#fff}.ooo-home-hero__art{position:relative;min-height:280px;background:linear-gradient(90deg,#22201a 0%,rgba(30,30,30,.2) 40%),repeating-linear-gradient(135deg,transparent 0,transparent 35px,rgba(245,196,0,.035) 35px,rgba(245,196,0,.035) 36px),#282c2e}.ooo-home-hero__art:before{content:"";position:absolute;inset:15% 10%;border:1px solid #5c5642;clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.ooo-home-hero__art:after{content:"OOO";position:absolute;right:10%;top:20%;font-weight:900;font-size:clamp(80px,13vw,190px);color:rgba(245,196,0,.09);letter-spacing:-10px}.ooo-home-hero__art-label{position:absolute;bottom:24px;right:26px;font-size:11px;letter-spacing:2px;color:#a7a7a7}
.ooo-home-v2__hero:after{content:"";position:absolute;right:-8%;top:-50%;width:55%;height:180%;background:repeating-linear-gradient(120deg,transparent 0 27px,rgba(245,196,0,.025) 28px 29px);pointer-events:none}
.ooo-home-search-strip{margin:18px 0 36px;background:#24272a;border-left:4px solid var(--oh-yellow);padding:17px 22px;display:flex;justify-content:space-between;gap:18px;align-items:center;font-size:14px}.ooo-home-search-strip strong{color:#fff;letter-spacing:.5px}.ooo-home-search-strip span{color:#bfc1c3}.ooo-home-search-strip__link{font-size:12px;font-weight:800;white-space:nowrap;color:var(--oh-yellow)!important}
.ooo-home-v2__eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--home-yellow)}
.ooo-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:38px 0 16px}.ooo-home-section-head h2,.ooo-home-feature h2{font-size:30px!important;line-height:1.1!important;margin:8px 0 0!important;color:#fff!important;border:0!important;padding:0!important}.ooo-home-section-head>span{color:#aeb0b2;font-size:13px}
.ooo-home-v2__headline{font-size:clamp(35px,5vw,70px);font-weight:900;line-height:1.02;letter-spacing:.01em;margin:12px 0}
.ooo-home-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ooo-home-category{min-height:275px;position:relative;overflow:hidden;background:#222528;border:1px solid var(--oh-border);display:flex;flex-direction:column;justify-content:space-between;padding:18px;transition:transform .15s,border-color .15s}.ooo-home-category:hover{transform:translateY(-3px);border-color:var(--oh-yellow)}.ooo-home-category:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.9)),repeating-linear-gradient(125deg,transparent 0,transparent 29px,rgba(255,255,255,.03) 30px,transparent 31px);pointer-events:none}.ooo-home-category--production{background:#2a2821}.ooo-home-category--materials{background:#272b2b}.ooo-home-category--guides{background:#252521}.ooo-home-category__icon,.ooo-home-category__body{position:relative;z-index:1}.ooo-home-category__icon{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--oh-yellow)}.ooo-home-category h3{font-size:23px!important;line-height:1.15!important;color:#fff!important;margin:0 0 10px!important}.ooo-home-category p{font-size:13px;color:#c0c0c0;margin:0 0 17px}.ooo-home-category__body>span{font-size:11px;font-weight:800;color:var(--oh-yellow);letter-spacing:.7px}
.ooo-home-v2__headline span{color:var(--home-yellow)}
.ooo-home-guide-grid,.ooo-home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ooo-home-guide{background:var(--oh-panel);border:1px solid var(--oh-border);padding:24px;min-height:185px}.ooo-home-guide__number{font-size:12px;color:var(--oh-yellow);font-weight:800}.ooo-home-guide h3,.ooo-home-video h3{color:#fff!important;font-size:20px!important;margin:16px 0 9px!important}.ooo-home-guide p,.ooo-home-video p{color:#b7b9ba;font-size:13px;line-height:1.55}.ooo-home-guide>div{color:var(--oh-yellow);font-weight:800;font-size:11px;letter-spacing:1px;margin-top:20px}
.ooo-home-v2__hero p{max-width:520px;font-size:17px;color:#c9d0d2}
.ooo-home-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:34px 0}.ooo-home-feature{padding:28px;min-height:240px;background:linear-gradient(135deg,#2d291e,#1b1e20 60%);border:1px solid #49402a}.ooo-home-feature p{font-size:14px;color:#c3c3c3;max-width:450px;margin:17px 0 24px}.ooo-home-feature--updates{background:#1b1e21;border-color:var(--oh-border)}.ooo-home-updates{font-size:13px;line-height:1.6;margin-top:16px;max-height:170px;overflow:auto}
.ooo-home-v2__actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}
.ooo-home-video{border:1px solid var(--oh-border);background:var(--oh-panel);padding-bottom:12px}.ooo-home-video__thumb{height:145px;background:linear-gradient(135deg,#303338,#151719);display:grid;place-items:center}.ooo-home-video__thumb span{border:1px solid #8d7b38;color:var(--oh-yellow);border-radius:50%;width:48px;height:48px;display:grid;place-items:center;font-size:19px}.ooo-home-video h3,.ooo-home-video p{margin-left:18px!important;margin-right:18px!important}.ooo-home-footer{margin-top:40px;background:#1b1e21;border-top:3px solid var(--oh-yellow);padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.ooo-home-footer strong{color:#fff;font-size:13px;letter-spacing:1px}.ooo-home-footer p{color:#aaa;font-size:13px;margin:8px 0 0}.ooo-home-footer__links{font-size:12px;color:var(--oh-yellow);font-weight:800}
.ooo-home-v2__action a{display:inline-block;background:var(--home-yellow);border:1px solid var(--home-yellow);padding:12px 18px;border-radius:5px;color:#15191b!important;font-weight:800}
@media(max-width:1000px){.ooo-home-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.ooo-home-hero{grid-template-columns:1fr .6fr}.ooo-home-hero__content{padding:45px 28px}}
.ooo-home-v2__action--outline a{background:transparent;color:var(--home-yellow)!important}
@media(max-width:680px){.ooo-home-hero{grid-template-columns:1fr}.ooo-home-hero__art{min-height:110px}.ooo-home-hero__art:after{font-size:95px;top:0}.ooo-home-hero__content{padding:36px 22px}.ooo-home-hero__title{font-size:46px}.ooo-home-categories,.ooo-home-guide-grid,.ooo-home-video-grid,.ooo-home-feature-grid{grid-template-columns:1fr}.ooo-home-category{min-height:205px}.ooo-home-search-strip,.ooo-home-footer{display:block}.ooo-home-search-strip__link{display:block;margin-top:12px}.ooo-home-section-head>span{display:none}.ooo-home-footer__links{margin-top:18px;line-height:2}}
.ooo-home-v2__hero-foot{font-size:13px;color:#c1c5c6;margin-top:24px}
.ooo-home-v2__section-title{font-size:19px;font-weight:900;color:var(--home-yellow);letter-spacing:.035em;margin:24px 0 15px;border-bottom:1px solid #454033;padding-bottom:10px}
.ooo-home-v2__section-title span{float:right;font-size:12px;font-weight:500;color:#aeb4b6;letter-spacing:0}
.ooo-home-v2__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ooo-home-v2__card{background:linear-gradient(145deg,#292d2e,#1a1f21);border:1px solid var(--home-border);border-radius:9px;padding:23px 19px;min-height:205px;transition:border-color .2s,transform .2s}
.ooo-home-v2__card:hover{border-color:var(--home-yellow);transform:translateY(-2px)}
.ooo-home-v2__card-icon{font-size:29px;color:var(--home-yellow);margin-bottom:20px}
.ooo-home-v2__card-title{font-weight:900;font-size:18px}
.ooo-home-v2__card p{font-size:13px;line-height:1.5;color:#bbc1c2;min-height:48px;margin:8px 0 12px}
.ooo-home-v2__card a{color:var(--home-yellow);font-size:13px;font-weight:800}
.ooo-home-v2__columns{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:27px}
.ooo-home-v2__linklist{background:var(--home-panel);border:1px solid var(--home-border);border-radius:8px;overflow:hidden}
.ooo-home-v2__linklist>div>a{display:block;padding:12px 16px;border-bottom:1px solid #343a3b;font-weight:600}
.ooo-home-v2__linklist>div:last-child>a{border-bottom:0}
.ooo-home-v2__linklist span{float:right;color:var(--home-yellow)}
.ooo-home-v2__feature{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;margin-top:35px;padding:28px;background:#202426;border:1px solid var(--home-border);border-radius:10px}
.ooo-home-v2__feature-title{font-size:24px;font-weight:900;margin-top:8px}
.ooo-home-v2__feature p{color:#c5cbcd;line-height:1.6}
.ooo-home-v2__feature a{color:var(--home-yellow);font-weight:800}
.ooo-home-v2__feature-art{background:linear-gradient(145deg,#303a3b,#131819);border:1px solid #454d4f;border-radius:7px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--home-yellow);font-size:44px;min-height:160px}
.ooo-home-v2__feature-art small{font-size:11px;letter-spacing:.1em;text-align:center;color:#c4c9ca}
.ooo-home-v2__footer{margin:30px 0 10px;padding:17px 20px;border-left:3px solid var(--home-yellow);background:#262820;font-size:14px}
@media(max-width:850px){.ooo-home-v2__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ooo-home-v2__columns{grid-template-columns:1fr}.ooo-home-v2__feature{grid-template-columns:1fr}}
@media(max-width:500px){.ooo-home-v2__cards{grid-template-columns:1fr}.ooo-home-v2__hero{padding:25px 20px;min-height:0}.ooo-home-v2__section-title span{display:none}.ooo-home-v2__card{min-height:0}.ooo-home-v2__card p{min-height:0}}
/* Keep homepage readable even when the user selects a light wiki skin. */
.ooo-home-v2 .ooo-home-v2__card,.ooo-home-v2 .ooo-home-v2__feature,.ooo-home-v2 .ooo-home-v2__linklist{color:#edf0f1}