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 Custom Styling ===== */
.page-Main_Page {
background: #fff;
font-family: 'Inter', sans-serif;
}
/* ---------- HERO BANNER ---------- */
.page-Main_Page .sj-hero {
width: calc(100% - 2rem);
margin: 1rem auto 0 auto;
background-image: url('https://wiki.sjs.gg/images/a/a8/SuperJoyBanner.png');
background-size: cover;
background-position: center;
border-radius: 16px;
height: 260px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
position: relative;
max-width: 1600px;
}
/* ---------- QUICK LINKS ---------- */
.page-Main_Page .sj-quick {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1.5rem auto;
}
/* Social Buttons */
.page-Main_Page .sj-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.6rem 1.1rem;
border-radius: 9999px;
color: #fff;
font-weight: 600;
font-size: 0.9rem;
text-decoration: none;
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
transition: transform 0.2s, box-shadow 0.2s;
}
.page-Main_Page .sj-pill:hover {
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
/* Colors */
.page-Main_Page .sj-pill.discord { background-color: #5865F2; }
.page-Main_Page .sj-pill.twitter { background-color: #1D9BF0; }
.page-Main_Page .sj-pill.youtube { background-color: #FF0000; }
.page-Main_Page .sj-pill.web { background-color: #111; }
/* Icon Handling */
.page-Main_Page .sj-pill .ico {
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.page-Main_Page .sj-pill .ico img {
width: 18px;
height: 18px;
display: block;
}
/* ---------- PROJECTS ---------- */
.page-Main_Page .sj-projects {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
margin: 2rem auto;
}
.page-Main_Page .sj-card {
display: flex;
flex-direction: column;
align-items: center;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
overflow: hidden;
text-decoration: none;
width: 180px;
transition: transform 0.2s, box-shadow 0.2s;
}
.page-Main_Page .sj-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.page-Main_Page .sj-card img {
width: 100%;
height: auto;
display: block;
}
.page-Main_Page .sj-card h3 {
font-size: 0.95rem;
font-weight: 600;
margin: 0.5rem 0 1rem 0;
text-align: center;
color: #111;
}
/* ---------- FOOTER ---------- */
.page-Main_Page .sj-footer {
text-align: center;
color: #666;
font-size: 0.85rem;
margin-top: 2rem;
margin-bottom: 1rem;
}