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

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* Main container */
/* MAIN */
.mechaGrid {


  width: 100%;
.mecha-home {


  border-spacing: 20px;
max-width: 1200px;
 
margin: auto;
 
padding: 20px;


}
}




/* Columns */


.mechaCol {
/* HERO */
 
.mecha-hero {


  vertical-align: top;
text-align: center;


  background: var(--color-surface-2);
padding: 40px 20px;


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


  border-radius: 14px;


  padding: 20px;
 
.mecha-logo {
 
width: 120px;
 
margin-bottom: 10px;


}
}




/* Centre column container */


.mechaColCenter {
.mecha-hero h1 {


  background: transparent;
font-size: 32px;


  border: none;
margin-bottom: 10px;


  padding: 0;
}
 
 
 
.mecha-hero p {
 
font-size: 16px;
 
color: var(--color-base-subtle);
 
margin-bottom: 20px;


}
}




/* Proper tile grid */


.mechaTiles {
.mecha-hero-buttons a {
 
background: var(--color-progressive);
 
color: white;
 
padding: 10px 18px;
 
margin: 5px;
 
border-radius: 10px;


  width: 100%;
text-decoration: none;


  border-spacing: 16px;
display: inline-block;


}
}




/* Individual tiles */


.mechaTile {
/* GRID */
 
.mecha-main-grid {
 
display: grid;
 
grid-template-columns: 1fr 2fr 1fr;
 
gap: 20px;


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


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


  border-radius: 12px;


  padding: 16px;
/* CARDS */


  height: 80px;
.mecha-card {


  vertical-align: top;
background: var(--color-surface-2);
 
border: 1px solid var(--color-border);
 
border-radius: 14px;
 
padding: 20px;
 
}
 
 
 
/* ECOSYSTEM GRID */
 
.mecha-ecosystem-grid {
 
display: grid;
 
grid-template-columns: repeat(2,1fr);
 
gap: 15px;
 
margin-top: 15px;


}
}




/* Fix giant left column height */


.mechaCol:first-child {
.mecha-tile {
 
background: var(--color-surface-1);
 
padding: 16px;
 
border-radius: 10px;
 
text-decoration: none;


  height: fit-content;
display: block;


}
}




/* Fix giant right column */


.mechaCol:last-child {
.mecha-tile span {
 
display: block;
 
font-size: 14px;


  height: fit-content;
color: var(--color-base-subtle);


}
}




/* Developer resource buttons */


.mechaStackItem {
/* RESOURCE LIST */
 
.mecha-resource-list a {


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


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


  border-radius: 10px;
margin-bottom: 8px;


  padding: 10px;
background: var(--color-surface-1);


  margin-bottom: 8px;
border-radius: 8px;
 
text-decoration: none;


}
}




/* Stats table spacing */


.mechaStats td {
/* MOBILE */
 
@media (max-width: 900px) {
 
.mecha-main-grid {


  padding: 6px;
grid-template-columns: 1fr;


}
}


.mecha-ecosystem-grid {


/* Headings fix */
grid-template-columns: 1fr;


.mechaCol h2 {
}


  margin-top: 0;
.mecha-hero h1 {


  margin-bottom: 10px;
font-size: 24px;


  font-size: 20px;
}


}
}

Revision as of 13:42, 21 February 2026

/* MAIN */

.mecha-home {

max-width: 1200px;

margin: auto;

padding: 20px;

}



/* HERO */

.mecha-hero {

text-align: center;

padding: 40px 20px;

}



.mecha-logo {

width: 120px;

margin-bottom: 10px;

}



.mecha-hero h1 {

font-size: 32px;

margin-bottom: 10px;

}



.mecha-hero p {

font-size: 16px;

color: var(--color-base-subtle);

margin-bottom: 20px;

}



.mecha-hero-buttons a {

background: var(--color-progressive);

color: white;

padding: 10px 18px;

margin: 5px;

border-radius: 10px;

text-decoration: none;

display: inline-block;

}



/* GRID */

.mecha-main-grid {

display: grid;

grid-template-columns: 1fr 2fr 1fr;

gap: 20px;

}



/* CARDS */

.mecha-card {

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

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

border-radius: 14px;

padding: 20px;

}



/* ECOSYSTEM GRID */

.mecha-ecosystem-grid {

display: grid;

grid-template-columns: repeat(2,1fr);

gap: 15px;

margin-top: 15px;

}



.mecha-tile {

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

padding: 16px;

border-radius: 10px;

text-decoration: none;

display: block;

}



.mecha-tile span {

display: block;

font-size: 14px;

color: var(--color-base-subtle);

}



/* RESOURCE LIST */

.mecha-resource-list a {

display: block;

padding: 10px;

margin-bottom: 8px;

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

border-radius: 8px;

text-decoration: none;

}



/* MOBILE */

@media (max-width: 900px) {

.mecha-main-grid {

grid-template-columns: 1fr;

}

.mecha-ecosystem-grid {

grid-template-columns: 1fr;

}

.mecha-hero h1 {

font-size: 24px;

}

}