MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with ".mainpage-container { max-width: 1200px; margin: auto; color: #fff; background: #111; } .mainpage-button { display: inline-block; background: #222; color: #ccc; padding: 10px 15px; margin: 5px; border-radius: 8px; text-align: center; } .mainpage-hero { text-align: center; padding: 20px; } .mainpage-featured img { max-width: 100%; border-radius: 10px; } .box { background: #1a1a1a; padding: 15px; margin: 10px 0; border-radius: 8px; }" |
No edit summary |
||
Line 1: | Line 1: | ||
. | /* Hero section */ | ||
.main-hero { | |||
text-align: center; | |||
color: # | padding: 40px 20px; | ||
background: linear-gradient(145deg, #0f0f0f, #1c1c1c); | |||
border-bottom: 2px solid #3ec1d3; | |||
} | |||
.main-hero h1 { | |||
font-size: 2.5em; | |||
color: #ffffff; | |||
} | |||
.main-hero .highlight { | |||
color: #3ec1d3; | |||
} | } | ||
. | .main-hero .subtext { | ||
color: #ccc; | color: #ccc; | ||
margin-top: 10px; | |||
margin: | font-size: 1.2em; | ||
border-radius: | } | ||
.search-wrapper { | |||
margin-top: 20px; | |||
} | |||
/* Button grid */ | |||
.main-buttons { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
margin: 30px auto; | |||
gap: 12px; | |||
} | |||
.main-button { | |||
background-color: #222; | |||
border: 1px solid #3ec1d3; | |||
border-radius: 10px; | |||
color: #eee; | |||
padding: 12px 20px; | |||
min-width: 120px; | |||
text-align: center; | text-align: center; | ||
font-weight: bold; | |||
cursor: pointer; | |||
transition: background 0.3s ease; | |||
} | |||
.main-button:hover { | |||
background-color: #3ec1d3; | |||
color: #000; | |||
} | } | ||
. | /* Featured article */ | ||
.main-featured { | |||
text-align: center; | text-align: center; | ||
margin: 40px auto; | |||
} | } | ||
. | .main-featured img { | ||
max-width: | max-width: 90%; | ||
border-radius: 10px; | border-radius: 10px; | ||
margin: 10px 0; | |||
} | |||
/* Info stats and events */ | |||
.main-info { | |||
display: flex; | |||
justify-content: center; | |||
gap: 20px; | |||
flex-wrap: wrap; | |||
margin: 40px auto; | |||
} | } | ||
.box { | .info-box { | ||
background: # | background-color: #111; | ||
border: 1px solid #333; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 20px; | |||
max-width: 300px; | |||
color: #ccc; | |||
} | |||
/* Social buttons */ | |||
.social-links { | |||
text-align: center; | |||
margin: 30px auto; | |||
} | |||
.social-button { | |||
display: inline-block; | |||
padding: 12px 20px; | |||
margin: 5px; | |||
color: white; | |||
font-weight: bold; | |||
border-radius: 6px; | |||
} | } | ||
.social-button.discord { background: #7289da; } | |||
.social-button.patreon { background: #f96854; } | |||
.social-button.kofi { background: #29abe0; } | |||
.social-button.reddit { background: #ff5700; } |
Revision as of 16:06, 12 June 2025
/* Hero section */ .main-hero { text-align: center; padding: 40px 20px; background: linear-gradient(145deg, #0f0f0f, #1c1c1c); border-bottom: 2px solid #3ec1d3; } .main-hero h1 { font-size: 2.5em; color: #ffffff; } .main-hero .highlight { color: #3ec1d3; } .main-hero .subtext { color: #ccc; margin-top: 10px; font-size: 1.2em; } .search-wrapper { margin-top: 20px; } /* Button grid */ .main-buttons { display: flex; flex-wrap: wrap; justify-content: center; margin: 30px auto; gap: 12px; } .main-button { background-color: #222; border: 1px solid #3ec1d3; border-radius: 10px; color: #eee; padding: 12px 20px; min-width: 120px; text-align: center; font-weight: bold; cursor: pointer; transition: background 0.3s ease; } .main-button:hover { background-color: #3ec1d3; color: #000; } /* Featured article */ .main-featured { text-align: center; margin: 40px auto; } .main-featured img { max-width: 90%; border-radius: 10px; margin: 10px 0; } /* Info stats and events */ .main-info { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 40px auto; } .info-box { background-color: #111; border: 1px solid #333; border-radius: 8px; padding: 20px; max-width: 300px; color: #ccc; } /* Social buttons */ .social-links { text-align: center; margin: 30px auto; } .social-button { display: inline-block; padding: 12px 20px; margin: 5px; color: white; font-weight: bold; border-radius: 6px; } .social-button.discord { background: #7289da; } .social-button.patreon { background: #f96854; } .social-button.kofi { background: #29abe0; } .social-button.reddit { background: #ff5700; }