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

MediaWiki:Citizen.css

MediaWiki interface page
Revision as of 14:00, 21 February 2026 by Admin (talk | contribs)

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.
/* FULL WIDTH */

.mw-body {

max-width: 1400px;
margin: auto;

}



/* HERO */

.mecha-home {

text-align:center;

}

.mecha-logo {

margin-bottom:15px;

}

.mecha-subtitle {

color: var(--color-base-subtle);
margin-top:5px;
margin-bottom:15px;

}



/* BUTTONS */

.mecha-buttons {

display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
margin-top:20px;

}

.mecha-btn {

background: var(--color-progressive);

color:white !important;

padding:10px 16px;

border-radius:10px;

display:inline-flex;

align-items:center;

gap:8px;

font-weight:600;

text-decoration:none !important;

}

.mecha-btn::before {

content:"";

width:16px;
height:16px;

background-size:contain;
background-repeat:no-repeat;

display:inline-block;

}


/* button icons */

.discord::before {

background-image:url("https://cdn.simpleicons.org/discord/ffffff");

}

.matrix::before {

background-image:url("https://cdn.simpleicons.org/matrix/ffffff");

}

.website::before {

background-image:url("https://cdn.simpleicons.org/firefoxbrowser/ffffff");

}

.forums::before {

background-image:url("https://cdn.simpleicons.org/discourse/ffffff");

}



/* LAYOUT */

.mecha-layout {

width:100%;

border-spacing:20px;

margin-top:40px;

}



/* CARDS */

.mecha-card {

background: var(--color-surface-2);

border-radius:16px;

padding:20px;

border:1px solid var(--color-border);

}



/* ECOSYSTEM GRID */

.mecha-grid {

width:100%;

border-spacing:15px;

}

.mecha-grid td {

background: var(--color-surface-1);

padding:15px;

border-radius:10px;

}



/* ecosystem icons */

.mecha-eco {

display:inline-flex;
align-items:center;
gap:8px;

}

.mecha-eco::before {

content:"";

width:18px;
height:18px;

background-size:contain;
background-repeat:no-repeat;

display:inline-block;

}

.linux::before {

background-image:url("https://cdn.simpleicons.org/linux");

}

.flutter::before {

background-image:url("https://cdn.simpleicons.org/flutter");

}

.docker::before {

background-image:url("https://cdn.simpleicons.org/docker");

}

.raspberry::before {

background-image:url("https://cdn.simpleicons.org/raspberrypi");

}

.github::before {

background-image:url("https://cdn.simpleicons.org/github");

}

.arch::before {

background-image:url("https://cdn.simpleicons.org/archlinux");

}



/* MOBILE */

@media(max-width:900px){

.mecha-layout,
.mecha-layout tbody,
.mecha-layout tr,
.mecha-layout td {

display:block;
width:100%;

}

}