MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === SuperJoy Wiki Styling === */
body.page-Main_Page #firstHeading {
display: none; /* Hide "Main Page" heading */
}
/* Hero Banner */
.sj-hero {
background: url("/images/a/a8/SuperJoyBanner.png") center center / cover no-repeat;
height: 340px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
border-radius: 10px;
position: relative;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.sj-hero::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.45);
border-radius: 10px;
}
.sj-hero__text {
position: relative;
z-index: 2;
}
.sj-hero__text h1 {
font-size: 2.4em;
font-weight: 700;
margin-bottom: 10px;
}
.sj-hero__text p {
font-size: 1.2em;
opacity: 0.9;
}
/* Social Links */
.sj-links {
text-align: center;
margin-bottom: 40px;
}
.sj-links a {
display: inline-block;
padding: 10px 20px;
margin: 5px 10px;
border-radius: 6px;
color: #fff;
font-weight: 600;
text-decoration: none;
transition: all 0.25s ease;
}
.sj-links a.discord {
background: #5865F2;
}
.sj-links a.feedback {
background: #43B581;
}
.sj-links a.twitter {
background: #1DA1F2;
}
.sj-links a:hover {
opacity: 0.85;
transform: translateY(-2px);
}
/* Projects Section */
.sj-projects {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 24px;
margin-top: 20px;
}
.sj-project-card {
display: block;
width: 300px;
border-radius: 12px;
overflow: hidden;
text-decoration: none;
color: inherit;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sj-project-card:hover {
transform: translateY(-4px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.sj-project-card img {
width: 100%;
height: 200px;
object-fit: cover;
filter: brightness(75%);
}
.sj-project-card h3 {
text-align: center;
background: #111827;
color: white;
font-weight: 600;
padding: 10px;
margin: 0;
}
/* Footer */
.sj-footer {
text-align: center;
color: #6b7280;
font-size: 14px;
margin-top: 40px;
padding-bottom: 10px;
}