MediaWiki:Common.css: Difference between revisions

From AnarchyMU Wiki
No edit summary
No edit summary
(6 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-top:20px;
  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;
}
}


.guide-card{
.cta-panel-text {
background:#0b0b0f;
  color: #e8dcc0;
border:1px solid #2a2a2a;
  margin: 0 0 18px 0;
border-radius:12px;
  line-height: 1.6;
padding:12px;
text-align:center;
transition:.2s ease;
overflow:hidden;
}
}


.guide-card:hover{
.cta-row {
transform:translateY(-4px);
  display: flex;
border-color:#c89b3c;
  flex-wrap: wrap;
box-shadow:0 8px 24px rgba(0,0,0,.35);
  gap: 14px;
  margin: 18px 0 8px 0;
}
}


.guide-card img{
.cta-link {
display:block;
  display: inline-flex;
width:100%;
  align-items: center;
height:260px;
  justify-content: center;
object-fit:cover;
  min-width: 180px;
object-position:center top;
  height: 52px;
border-radius:8px;
  padding: 0 22px;
margin:0 auto 10px auto;
  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;
}
}


.guide-card a{
.cta-link a {
color:#f2f2f2;
  color: #1a140a !important;
font-weight:700;
  text-decoration: none !important;
text-decoration:none;
  display: inline-block;
  width: 100%;
  text-align: center;
  line-height: 52px;
  font-weight: 700;
}
}


.guide-card a:hover{
.cta-link:hover {
color:#d4af37;
  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);
}
}


@media (max-width: 1200px){
.cta-link.secondary {
.guide-grid{
  background: linear-gradient(180deg, #2b2d36 0%, #1a1b22 50%, #0f1015 100%);
grid-template-columns:repeat(3,1fr);
  border: 1px solid #56401e;
}
}
.cta-link.secondary a {
  color: #f2e7d0 !important;
}
}


@media (max-width: 900px){
.cta-link.secondary:hover a {
.guide-grid{
  color: #ffd27a !important;
grid-template-columns:repeat(2,1fr);
}
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 30px 0;
}
}


@media (max-width: 600px){
.guide-card {
.guide-grid{
  background: #0b0b0f;
grid-template-columns:1fr;
  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

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