MediaWiki:Common.css: Difference between revisions

From AnarchyMU Wiki
No edit summary
No edit summary
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
.guide-grid{
/* AnarchyMU wiki homepage layout */
   display:grid;
 
   grid-template-columns:repeat(4,1fr);
.guide-hero {
   gap:20px;
  background: linear-gradient(180deg, rgba(18, 19, 25, 0.95) 0%, rgba(11, 12, 17, 0.98) 100%);
   margin:20px 0 30px 0;
  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;
}
}


.guide-card{
.cta-link.secondary:hover a {
   background:#0b0b0f;
   color: #ffd27a !important;
  border:1px solid #2a2a2a;
  border-radius:12px;
  padding:12px;
  text-align:center;
  transition:all .2s ease;
  overflow:hidden;
}
}


.guide-card:hover{
.guide-grid {
   transform:translateY(-4px);
   display: grid;
   border-color:#c89b3c;
  grid-template-columns: repeat(4, minmax(0, 1fr));
   box-shadow:0 8px 24px rgba(0,0,0,.35);
   gap: 20px;
   margin: 20px 0 30px 0;
}
}


.guide-card img{
.guide-card {
   display:block;
   background: #0b0b0f;
   width:100%;
   border: 1px solid #2a2a2a;
   border-radius:8px;
   border-radius: 12px;
   margin:0 auto 10px auto;
  padding: 12px;
  text-align: center;
   transition: all 0.2s ease;
  overflow: hidden;
}
}


.event-card img{
.guide-card:hover {
   height:260px;
   transform: translateY(-4px);
   object-fit:cover;
   border-color: #c89b3c;
   object-position:center;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
}


.class-card img{
.guide-card img {
   height:340px;
   display: block;
   object-fit:contain;
   width: 100%;
   object-position:center;
   border-radius: 8px;
   background:#000;
   margin: 0 auto 10px auto;
}
}


.guide-card a{
.event-card img {
   color:#f2f2f2 !important;
   height: 260px;
   font-weight:700;
   object-fit: cover;
   text-decoration:none;
   object-position: center;
}
}


.guide-card a:hover{
.class-card img {
   color:#d4af37 !important;
  height: 340px;
   text-decoration:none;
   object-fit: contain;
   object-position: center;
  background: #000;
}
}


@media (max-width: 1200px){
.no-image {
   .guide-grid{
   min-height: 180px;
    grid-template-columns:repeat(3,1fr);
  display: flex;
  }
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1c24 0%, #101219 100%);
}
}


@media (max-width: 900px){
.no-image a {
   .guide-grid{
   color: #f2f2f2 !important;
    grid-template-columns:repeat(2,1fr);
  font-weight: 700;
   }
   text-decoration: none !important;
}
}


@media (max-width: 600px){
.no-image a:hover {
   .guide-grid{
   color: #d4af37 !important;
    grid-template-columns:1fr;
  }
}
}


/* ===== BOSS / TAG BUTTONS ===== */
.guide-card a {
  color: #f2f2f2 !important;
  font-weight: 700;
  text-decoration: none;
}


.tag-grid{
.guide-card a:hover {
display:flex;
  color: #d4af37 !important;
flex-wrap:wrap;
  text-decoration: none;
gap:10px;
margin:10px 0 25px 0;
}
}


.tag-btn{
@media (max-width: 1200px) {
display:inline-block;
  .guide-grid {
background:linear-gradient(180deg,#d45a3a,#8f2e1d);
    grid-template-columns: repeat(3, minmax(0, 1fr));
color:#fff !important;
  }
font-weight:600;
padding:8px 18px;
border-radius:4px;
transform:skewX(-18deg);
text-decoration:none !important;
box-shadow:0 4px 10px rgba(0,0,0,.35);
transition:.2s;
}
}


.tag-btn span{
@media (max-width: 900px) {
display:block;
  .guide-grid {
transform:skewX(18deg);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
}


.tag-btn:hover{
@media (max-width: 600px) {
background:linear-gradient(180deg,#e96b49,#a33623);
  .guide-grid {
transform:skewX(-18deg) translateY(-2px);
    grid-template-columns: 1fr;
  }
 
  .cta-link {
    min-width: 100%;
  }
}
}

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