MediaWiki:Common.css: Difference between revisions

From AnarchyMU Wiki
No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
.guide-grid{
/* AnarchyMU wiki homepage layout */
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin:20px 0 30px 0;
}


.guide-card{
.guide-hero {
   background:#0b0b0f;
   background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
   border:1px solid #2a2a2a;
   border: 1px solid #332711;
   border-radius:12px;
   border-radius: 16px;
   padding:12px;
   padding: 24px;
   text-align:center;
   margin: 12px 0 24px 0;
  transition:all .2s ease;
  overflow:hidden;
}
}


.guide-card:hover{
.guide-hero h1 {
   transform:translateY(-4px);
   margin: 0 0 10px 0;
   border-color:#c89b3c;
   color: #f1c36b;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
}


.guide-card img{
.guide-hero p {
   display:block;
   margin: 0;
  width:100%;
   line-height: 1.7;
   border-radius:8px;
   color: #e8dcc0;
   margin:0 auto 10px auto;
}
}


.event-card img{
.cta-panel {
   height:260px;
   background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
   object-fit:cover;
   border: 1px solid #332711;
   object-position:center;
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0 30px 0;
   box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
}


.class-card img{
.cta-panel-title {
   height:340px;
   font-size: 24px;
   object-fit:contain;
   font-weight: 700;
   object-position:center;
   color: #e2b45d;
   background:#000;
   margin: 0 0 8px 0;
}
}


.guide-card a{
.cta-panel-text {
   color:#f2f2f2 !important;
   color: #e8dcc0;
   font-weight:700;
   margin: 0 0 18px 0;
   text-decoration:none;
   line-height: 1.6;
}
}


.guide-card a:hover{
.cta-row {
   color:#d4af37 !important;
   display: flex;
   text-decoration:none;
   flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 8px 0;
}
}


@media (max-width: 1200px){
.cta-link {
   .guide-grid{
  display: inline-flex;
    grid-template-columns:repeat(3,1fr);
  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;
}
}


@media (max-width: 900px){
.cta-link a {
   .guide-grid{
  color: #1a140a !important;
    grid-template-columns:repeat(2,1fr);
  text-decoration: none !important;
   }
  display: inline-block;
  width: 100%;
   text-align: center;
  line-height: 52px;
   font-weight: 700;
}
}


@media (max-width: 600px){
.cta-link:hover {
   .guide-grid{
   transform: translateY(-2px);
    grid-template-columns:1fr;
  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 BUTTONS LIKE PORTAL ACTIONS ===== */
.cta-link.secondary {
 
   background: linear-gradient(180deg, #2b2d36 0%, #1a1b22 50%, #0f1015 100%);
.cta-row{
   border: 1px solid #56401e;
   display:flex;
  flex-wrap:wrap;
   gap:14px;
  margin:18px 0 28px 0;
}
}


.cta-btn{
.cta-link.secondary a {
  display:inline-flex;
   color: #f2e7d0 !important;
  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{
.cta-link.secondary:hover a {
   content:"";
   color: #ffd27a !important;
  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{
.guide-grid {
   color:#120e07 !important;
   display: grid;
   text-decoration:none !important;
   grid-template-columns: repeat(4, minmax(0, 1fr));
  transform:translateY(-2px);
   gap: 20px;
  box-shadow:
  margin: 20px 0 30px 0;
    inset 0 1px 0 rgba(255,255,255,.4),
    0 12px 24px rgba(0,0,0,.34);
   border-color:#9a6a22;
}
}


.cta-btn:hover:before{
.guide-card {
   transform:translateX(120%);
  background: #0b0b0f;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  transition: all 0.2s ease;
   overflow: hidden;
}
}


.cta-btn span{
.guide-card:hover {
   position:relative;
   transform: translateY(-4px);
   z-index:1;
  border-color: #c89b3c;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
}


.cta-btn.secondary{
.guide-card img {
   color:#f2e7d0 !important;
   display: block;
   background:linear-gradient(180deg,#2b2d36 0%, #1a1b22 50%, #0f1015 100%);
   width: 100%;
   border:1px solid #56401e;
   border-radius: 8px;
   box-shadow:
   margin: 0 auto 10px auto;
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 18px rgba(0,0,0,.28);
}
}


.cta-btn.secondary:hover{
.event-card img {
   color:#ffd27a !important;
  height: 260px;
   border-color:#9a6a22;
   object-fit: cover;
   object-position: center;
}
}


.cta-panel{
.class-card img {
   background:linear-gradient(180deg, rgba(18,19,25,.95) 0%, rgba(11,12,17,.98) 100%);
   height: 340px;
   border:1px solid #332711;
   object-fit: contain;
   border-radius:16px;
   object-position: center;
   padding:22px;
   background: #000;
  margin:18px 0 30px 0;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
}


.cta-panel-title{
.no-image {
   font-size:24px;
   min-height: 180px;
   font-weight:700;
  display: flex;
   color:#e2b45d;
   align-items: center;
   margin:0 0 8px 0;
   justify-content: center;
   background: linear-gradient(180deg, #1a1c24 0%, #101219 100%);
}
}


.cta-panel-text{
.no-image a {
   color:#e8dcc0;
   color: #f2f2f2 !important;
   margin:0 0 18px 0;
   font-weight: 700;
   line-height:1.6;
   text-decoration: none !important;
}
}


/* ===== CTA WIKI LINKS FIX ===== */
.no-image a:hover {
 
   color: #d4af37 !important;
.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{
.guide-card a {
   color:#1a140a !important;
   color: #f2f2f2 !important;
   text-decoration:none !important;
   font-weight: 700;
  display:inline-block;
   text-decoration: none;
  width:100%;
   text-align:center;
  line-height:52px;
  font-weight:700;
}
}


.cta-link:before{
.guide-card a:hover {
   content:"";
   color: #d4af37 !important;
   position:absolute;
   text-decoration: none;
  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{
@media (max-width: 1200px) {
   transform:translateY(-2px);
   .guide-grid {
  box-shadow:
    grid-template-columns: repeat(3, minmax(0, 1fr));
    inset 0 1px 0 rgba(255,255,255,.4),
   }
    0 12px 24px rgba(0,0,0,.34);
   border-color:#9a6a22;
}
}


.cta-link:hover:before{
@media (max-width: 900px) {
   transform:translateX(120%);
   .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
}


.cta-link.secondary{
@media (max-width: 600px) {
   background:linear-gradient(180deg,#2b2d36 0%, #1a1b22 50%, #0f1015 100%);
   .guide-grid {
  border:1px solid #56401e;
    grid-template-columns: 1fr;
   box-shadow:
   }
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 18px rgba(0,0,0,.28);
}


.cta-link.secondary a{
   .cta-link {
   color:#f2e7d0 !important;
    min-width: 100%;
}
  }
 
.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;
}
}

Revision as of 14:21, 14 March 2026

/* 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%;
  }
}