Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MainPage/styles.css

Template page
Revision as of 09:14, 6 June 2025 by Admornstein (talk | contribs)
body {
  background-color: #0e1117;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  margin: 0;
  padding: 0;
}

.home-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.home-header h1 {
  font-size: 48px;
  color: #cceeff;
  margin: 0;
}

.home-header p {
  color: #aaaaaa;
  margin-top: 8px;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 20px auto;
}

.search-bar input {
  padding: 14px;
  border-radius: 30px;
  border: none;
  width: 400px;
  font-size: 16px;
  background-color: #1c2128;
  color: #ddd;
}

.event-banner {
  margin: 20px auto;
  background: linear-gradient(to right, #1c1e2b, #3a1f4f);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
}

.event-banner .text {
  flex-grow: 1;
}

.event-banner button {
  background: #3096e6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.tiles {
  max-width: 1100px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.tile {
  background-color: #1c2128;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  color: #eee;
  font-size: 14px;
  padding: 6px;
}

.tile img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.stats {
  max-width: 1100px;
  display: flex;
  gap: 20px;
  margin: 30px auto;
}

.featured, .start-editing, .wiki-links {
  background-color: #1c2128;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
}

.featured img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

.featured span {
  background: #3074a5;
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
}

.start-editing h3, .wiki-links h3 {
  margin-top: 0;
  color: #00baff;
}

.wiki-links ul {
  list-style: none;
  padding: 0;
}

.wiki-links li {
  padding: 4px 0;
  color: #aaa;
}

.tile-image-overlay {
  position: relative;
  text-align: center;
  display: inline-block;
}

.tile-image-overlay .overlay-text {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 3px black;
  z-index: 2;
  pointer-events: none;
  transition: color 0.2s ease;
}

.tile-image-overlay:hover .overlay-text {
  color: #ffbe02;
  text-shadow: 1px 1px 3px black;
}