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: Difference between revisions

Template page
No edit summary
No edit summary
Line 70: Line 70:
   grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
   grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
   gap: 12px;
   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 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.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;
}
}


Line 154: Line 93:
.tile-image-overlay:hover .overlay-text {
.tile-image-overlay:hover .overlay-text {
   color: #ffbe02;
   color: #ffbe02;
   text-shadow: 1px 1px 3px black;
}
 
.stats {
   display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
}


.featured-box {
.featured-box {
   flex: 0 0 200px;         /* fixed width per box */
   flex: 0 0 200px;
   min-height: 300px;       /* ensures uniform height */
   min-height: 300px;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
Line 170: Line 115:
   box-shadow: 0 0 10px #00000055;
   box-shadow: 0 0 10px #00000055;
   text-align: center;
   text-align: center;
}
.featured-box img {
  border-radius: 4px;
}
}


.featured-label {
.featured-label {
  display: inline-block;
   background-color: #FF2222;
   background-color: #FF2222;
   color: white;
   color: white;
   font-weight: bold;
   font-weight: bold;
   padding: 2px 2px;
   padding: 2px;
   border-radius: 2px;
   border-radius: 2px;
   margin-top: 5px;
   margin-top: 5px;
Line 188: Line 128:


.featured-desc {
.featured-desc {
   color: #b0c4de;
   color: #cdd7e5;
   margin-top: 4px;
   margin-top: 10px;
   font-size: 14px;
   font-size: 14px;
  text-align: center;
}
}


Line 199: Line 140:
}
}


divider-ornamental .line {
.divider-line-only {
   height: 2px;
   height: 2px;
  width: 80%;
  margin: 50px auto;
   background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
   background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
  width: 80%;
  margin: 0 auto;
   border-radius: 3px;
   border-radius: 3px;
}
}
Line 229: Line 170:
}
}


.wiki-video {
.wiki-links ul {
   flex: 0 0 auto;
   list-style: none;
}
 
.divider-line-only {
  height: 2px;
  width: 80%;
  margin: 50px auto;
  background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
  border-radius: 3px;
}
 
.overlay-card {
  position: relative;
  overflow: hidden;
}
 
.overlay-card img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.2;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
 
.overlay-label {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-weight: bold;
  color: white;
  background: #c0392b;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  width: max-content;
  margin: 0 auto;
  transition: color 0.2s ease;
}
 
.overlay-card:hover .overlay-label {
  color: #c9a500;
}
 
.featured-desc {
  position: relative;
  z-index: 2;
  color: #cdd7e5;
  margin-top: 140px;
  text-align: center;
}
 
.overlay-clean {
  background: #0e1117;
  border: 1px solid #2b2f38;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
   padding: 0;
   padding: 0;
}
}


.overlay-image img {
.wiki-links li {
   display: block;
   padding: 4px 0;
   width: 100%;
   color: #aaa;
  height: auto;
  border: none;
  opacity: 1;
}
}


.overlay-dynamic {
.wiki-video {
   position: relative;
   flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 160px 20px 20px;
  border-radius: 12px;
  height: 360px;
  overflow: hidden;
  box-shadow: 0 0 8px #000;
}
 
.overlay-dynamic {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 160px 20px 20px;
  border-radius: 12px;
  height: 360px;
  overflow: hidden;
  box-shadow: 0 0 8px #000;
}
 
.overlay-title {
  font-weight: bold;
  font-size: 16px;
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
 
.overlay-dynamic:hover .overlay-title {
  border-color: #c9a500;
  color: #c9a500;
}
 
.featured-desc {
  font-size: 14px;
  margin-top: 10px;
  color: #cdd7e5;
}
}



Revision as of 11:16, 6 June 2025

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

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.featured-box {
  flex: 0 0 200px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #11161c;
  border: 1px solid #2b2f38;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 0 10px #00000055;
  text-align: center;
}

.featured-label {
  background-color: #FF2222;
  color: white;
  font-weight: bold;
  padding: 2px;
  border-radius: 2px;
  margin-top: 5px;
  font-size: 14px;
}

.featured-desc {
  color: #cdd7e5;
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.divider-ornamental {
  text-align: center;
  margin: 10px auto;
  color: #c9a500;
}

.divider-line-only {
  height: 2px;
  width: 80%;
  margin: 50px auto;
  background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
  border-radius: 3px;
}

.divider-ornamental .symbol {
  font-size: 28px;
  text-shadow: 1px 1px 3px black;
  margin: 5px 0;
}

.wiki-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.wiki-links {
  background-color: #1c2128;
  border-radius: 8px;
  padding: 20px;
  min-width: 220px;
  flex: 0 0 auto;
}

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

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

.wiki-video {
  flex: 0 0 auto;
}

.clean-card {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  width: 250px;
}

.clean-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 8px #00000088;
}

.overlay-title {
  font-weight: bold;
  font-size: 16px;
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 4px;
  margin-top: 10px;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: white;
}

.clean-card:hover .overlay-title {
  border-color: #c9a500;
  color: #c9a500;
}

.overlay-desc {
  font-size: 14px;
  color: #cdd7e5;
  margin: 8px 16px 16px;
}