MediaWiki:Common.css: Difference between revisions

From Hidden Project Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 37: Line 37:


#p-logo a {
#p-logo a {
   background-size: contain;
   background-size: 160px auto !important;
  background-repeat: no-repeat;
   background-position: center;
   background-position: center;
}
}

Latest revision as of 08:48, 21 September 2026

.hp-wiki-hero {
  width: 100%;
  aspect-ratio: 2157 / 729;
  margin: 0 0 1.5rem;
  border: 1px solid #6b5428;
  background: #101711 url('/hp-assets/hp-wiki-hero.png?v=20260921-1') center / cover no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.hp-wiki-lead {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid #b8903d;
  background: #f8f5ed;
  font-size: 1.08rem;
}

.hp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.5rem;
}

.hp-card {
  padding: .9rem 1rem;
  border: 1px solid #c8ccd1;
  background: #fff;
}

.hp-status-note {
  margin-top: 1.5rem;
  padding-top: .8rem;
  border-top: 1px solid #c8ccd1;
  color: #54595d;
}

#p-logo a {
  background-size: 160px auto !important;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 720px) {
  .hp-card-grid { grid-template-columns: 1fr; }
}