MediaWiki:Common.css: Difference between revisions
From AnarchyMU Wiki
No edit summary |
No edit summary |
||
| Line 288: | Line 288: | ||
a{ | a{ | ||
color:#e7b65c; | color:#e7b65c; | ||
} | |||
/* AnarchyMU wiki homepage layout */ | |||
.guide-hero { | |||
background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%); | |||
border: 1px solid #332711; | |||
border-radius: 16px; | |||
padding: 24px; | |||
margin: 12px 0 24px 0; | |||
} | |||
.guide-hero h1 { | |||
margin: 0 0 10px 0; | |||
color: #f1c36b; | |||
} | |||
.guide-hero p { | |||
margin: 0; | |||
line-height: 1.7; | |||
color: #e8dcc0; | |||
} | |||
.cta-panel { | |||
background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%); | |||
border: 1px solid #332711; | |||
border-radius: 16px; | |||
padding: 22px; | |||
margin: 18px 0 30px 0; | |||
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); | |||
} | |||
.cta-panel-title { | |||
font-size: 24px; | |||
font-weight: 700; | |||
color: #e2b45d; | |||
margin: 0 0 8px 0; | |||
} | |||
.cta-panel-text { | |||
color: #e8dcc0; | |||
margin: 0 0 18px 0; | |||
line-height: 1.6; | |||
} | |||
.cta-row { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 14px; | |||
margin: 18px 0 8px 0; | |||
} | |||
.cta-link { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-width: 180px; | |||
height: 52px; | |||
padding: 0 22px; | |||
border-radius: 10px; | |||
font-weight: 700; | |||
letter-spacing: 0.3px; | |||
background: linear-gradient(180deg, #f3d38a 0%, #d2a44a 48%, #8d5f1d 100%); | |||
border: 1px solid #6d4916; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.28); | |||
transition: all 0.2s ease; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.cta-link a { | |||
color: #1a140a !important; | |||
text-decoration: none !important; | |||
display: inline-block; | |||
width: 100%; | |||
text-align: center; | |||
line-height: 52px; | |||
font-weight: 700; | |||
} | |||
.cta-link:hover { | |||
transform: translateY(-2px); | |||
border-color: #9a6a22; | |||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 24px rgba(0, 0, 0, 0.34); | |||
} | |||
.cta-link.secondary { | |||
background: linear-gradient(180deg, #2b2d36 0%, #1a1b22 50%, #0f1015 100%); | |||
border: 1px solid #56401e; | |||
} | |||
.cta-link.secondary a { | |||
color: #f2e7d0 !important; | |||
} | |||
.cta-link.secondary:hover a { | |||
color: #ffd27a !important; | |||
} | |||
.guide-grid { | |||
display: grid; | |||
grid-template-columns: repeat(4, minmax(0, 1fr)); | |||
gap: 20px; | |||
margin: 20px 0 30px 0; | |||
} | |||
.guide-card { | |||
background: #0b0b0f; | |||
border: 1px solid #2a2a2a; | |||
border-radius: 12px; | |||
padding: 12px; | |||
text-align: center; | |||
transition: all 0.2s ease; | |||
overflow: hidden; | |||
} | |||
.guide-card:hover { | |||
transform: translateY(-4px); | |||
border-color: #c89b3c; | |||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); | |||
} | |||
.guide-card img { | |||
display: block; | |||
width: 100%; | |||
border-radius: 8px; | |||
margin: 0 auto 10px auto; | |||
} | |||
.event-card img { | |||
height: 260px; | |||
object-fit: cover; | |||
object-position: center; | |||
} | |||
.class-card img { | |||
height: 340px; | |||
object-fit: contain; | |||
object-position: center; | |||
background: #000; | |||
} | |||
.no-image { | |||
min-height: 180px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background: linear-gradient(180deg, #1a1c24 0%, #101219 100%); | |||
} | |||
.no-image a { | |||
color: #f2f2f2 !important; | |||
font-weight: 700; | |||
text-decoration: none !important; | |||
} | |||
.no-image a:hover { | |||
color: #d4af37 !important; | |||
} | |||
.guide-card a { | |||
color: #f2f2f2 !important; | |||
font-weight: 700; | |||
text-decoration: none; | |||
} | |||
.guide-card a:hover { | |||
color: #d4af37 !important; | |||
text-decoration: none; | |||
} | |||
@media (max-width: 1200px) { | |||
.guide-grid { | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
} | |||
} | |||
@media (max-width: 900px) { | |||
.guide-grid { | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
} | |||
@media (max-width: 600px) { | |||
.guide-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.cta-link { | |||
min-width: 100%; | |||
} | |||
} | } | ||
Revision as of 14:21, 14 March 2026
.guide-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin:20px 0 30px 0;
}
.guide-card{
background:#0b0b0f;
border:1px solid #2a2a2a;
border-radius:12px;
padding:12px;
text-align:center;
transition:all .2s ease;
overflow:hidden;
}
.guide-card:hover{
transform:translateY(-4px);
border-color:#c89b3c;
box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.guide-card img{
display:block;
width:100%;
border-radius:8px;
margin:0 auto 10px auto;
}
.event-card img{
height:260px;
object-fit:cover;
object-position:center;
}
.class-card img{
height:340px;
object-fit:contain;
object-position:center;
background:#000;
}
.guide-card a{
color:#f2f2f2 !important;
font-weight:700;
text-decoration:none;
}
.guide-card a:hover{
color:#d4af37 !important;
text-decoration:none;
}
@media (max-width: 1200px){
.guide-grid{
grid-template-columns:repeat(3,1fr);
}
}
@media (max-width: 900px){
.guide-grid{
grid-template-columns:repeat(2,1fr);
}
}
@media (max-width: 600px){
.guide-grid{
grid-template-columns:1fr;
}
}
/* ===== CTA BUTTONS LIKE PORTAL ACTIONS ===== */
.cta-row{
display:flex;
flex-wrap:wrap;
gap:14px;
margin:18px 0 28px 0;
}
.cta-btn{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:180px;
height:52px;
padding:0 22px;
border-radius:10px;
text-decoration:none !important;
font-weight:700;
letter-spacing:.3px;
color:#1a140a !important;
background:linear-gradient(180deg,#f3d38a 0%, #d2a44a 48%, #8d5f1d 100%);
border:1px solid #6d4916;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.35),
0 8px 18px rgba(0,0,0,.28);
transition:all .2s ease;
position:relative;
overflow:hidden;
}
.cta-btn:before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 100%);
transform:translateX(-120%);
transition:transform .35s ease;
}
.cta-btn:hover{
color:#120e07 !important;
text-decoration:none !important;
transform:translateY(-2px);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.4),
0 12px 24px rgba(0,0,0,.34);
border-color:#9a6a22;
}
.cta-btn:hover:before{
transform:translateX(120%);
}
.cta-btn span{
position:relative;
z-index:1;
}
.cta-btn.secondary{
color:#f2e7d0 !important;
background:linear-gradient(180deg,#2b2d36 0%, #1a1b22 50%, #0f1015 100%);
border:1px solid #56401e;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.06),
0 8px 18px rgba(0,0,0,.28);
}
.cta-btn.secondary:hover{
color:#ffd27a !important;
border-color:#9a6a22;
}
.cta-panel{
background:linear-gradient(180deg, rgba(18,19,25,.95) 0%, rgba(11,12,17,.98) 100%);
border:1px solid #332711;
border-radius:16px;
padding:22px;
margin:18px 0 30px 0;
box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.cta-panel-title{
font-size:24px;
font-weight:700;
color:#e2b45d;
margin:0 0 8px 0;
}
.cta-panel-text{
color:#e8dcc0;
margin:0 0 18px 0;
line-height:1.6;
}
/* ===== CTA WIKI LINKS FIX ===== */
.cta-link{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:180px;
height:52px;
padding:0 22px;
border-radius:10px;
font-weight:700;
letter-spacing:.3px;
background:linear-gradient(180deg,#f3d38a 0%, #d2a44a 48%, #8d5f1d 100%);
border:1px solid #6d4916;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.35),
0 8px 18px rgba(0,0,0,.28);
transition:all .2s ease;
position:relative;
overflow:hidden;
}
.cta-link a{
color:#1a140a !important;
text-decoration:none !important;
display:inline-block;
width:100%;
text-align:center;
line-height:52px;
font-weight:700;
}
.cta-link:before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 100%);
transform:translateX(-120%);
transition:transform .35s ease;
pointer-events:none;
}
.cta-link:hover{
transform:translateY(-2px);
box-shadow:
inset 0 1px 0 rgba(255,255,255,.4),
0 12px 24px rgba(0,0,0,.34);
border-color:#9a6a22;
}
.cta-link:hover:before{
transform:translateX(120%);
}
.cta-link.secondary{
background:linear-gradient(180deg,#2b2d36 0%, #1a1b22 50%, #0f1015 100%);
border:1px solid #56401e;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.06),
0 8px 18px rgba(0,0,0,.28);
}
.cta-link.secondary a{
color:#f2e7d0 !important;
}
.cta-link.secondary:hover a{
color:#ffd27a !important;
}
/* ===== REALMU DARK THEME ===== */
body{
background:#0b0f18 !important;
color:#e6e6e6;
}
/* main content */
.mw-body{
background:#0f141d !important;
border:1px solid #1f2533;
box-shadow:0 0 30px rgba(0,0,0,.6);
}
/* sidebar */
#mw-site-navigation{
background:#0b1018 !important;
border-right:1px solid #1e2634;
}
/* sidebar links */
#mw-site-navigation a{
color:#c9c9c9 !important;
}
#mw-site-navigation a:hover{
color:#e7b65c !important;
}
/* top bar */
#mw-header-container{
background:#0a0e15 !important;
border-bottom:1px solid #232b3a;
}
/* page titles */
.mw-body h1,
.mw-body h2,
.mw-body h3{
color:#f1c36b;
}
/* cards */
.guide-card{
background:#0a0e16;
border:1px solid #1c2432;
box-shadow:0 6px 20px rgba(0,0,0,.6);
}
/* links */
a{
color:#e7b65c;
}
/* AnarchyMU wiki homepage layout */
.guide-hero {
background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
border: 1px solid #332711;
border-radius: 16px;
padding: 24px;
margin: 12px 0 24px 0;
}
.guide-hero h1 {
margin: 0 0 10px 0;
color: #f1c36b;
}
.guide-hero p {
margin: 0;
line-height: 1.7;
color: #e8dcc0;
}
.cta-panel {
background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
border: 1px solid #332711;
border-radius: 16px;
padding: 22px;
margin: 18px 0 30px 0;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.cta-panel-title {
font-size: 24px;
font-weight: 700;
color: #e2b45d;
margin: 0 0 8px 0;
}
.cta-panel-text {
color: #e8dcc0;
margin: 0 0 18px 0;
line-height: 1.6;
}
.cta-row {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin: 18px 0 8px 0;
}
.cta-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 180px;
height: 52px;
padding: 0 22px;
border-radius: 10px;
font-weight: 700;
letter-spacing: 0.3px;
background: linear-gradient(180deg, #f3d38a 0%, #d2a44a 48%, #8d5f1d 100%);
border: 1px solid #6d4916;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.28);
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.cta-link a {
color: #1a140a !important;
text-decoration: none !important;
display: inline-block;
width: 100%;
text-align: center;
line-height: 52px;
font-weight: 700;
}
.cta-link:hover {
transform: translateY(-2px);
border-color: #9a6a22;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 24px rgba(0, 0, 0, 0.34);
}
.cta-link.secondary {
background: linear-gradient(180deg, #2b2d36 0%, #1a1b22 50%, #0f1015 100%);
border: 1px solid #56401e;
}
.cta-link.secondary a {
color: #f2e7d0 !important;
}
.cta-link.secondary:hover a {
color: #ffd27a !important;
}
.guide-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 20px;
margin: 20px 0 30px 0;
}
.guide-card {
background: #0b0b0f;
border: 1px solid #2a2a2a;
border-radius: 12px;
padding: 12px;
text-align: center;
transition: all 0.2s ease;
overflow: hidden;
}
.guide-card:hover {
transform: translateY(-4px);
border-color: #c89b3c;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.guide-card img {
display: block;
width: 100%;
border-radius: 8px;
margin: 0 auto 10px auto;
}
.event-card img {
height: 260px;
object-fit: cover;
object-position: center;
}
.class-card img {
height: 340px;
object-fit: contain;
object-position: center;
background: #000;
}
.no-image {
min-height: 180px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(180deg, #1a1c24 0%, #101219 100%);
}
.no-image a {
color: #f2f2f2 !important;
font-weight: 700;
text-decoration: none !important;
}
.no-image a:hover {
color: #d4af37 !important;
}
.guide-card a {
color: #f2f2f2 !important;
font-weight: 700;
text-decoration: none;
}
.guide-card a:hover {
color: #d4af37 !important;
text-decoration: none;
}
@media (max-width: 1200px) {
.guide-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
.guide-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 600px) {
.guide-grid {
grid-template-columns: 1fr;
}
.cta-link {
min-width: 100%;
}
}