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 */
.mecha-home {
max-width: 1200px;
margin: auto;
padding: 20px;
}
/* HERO */
/* HERO */


.mecha-hero {
.mecha-hero {


text-align: center;
width:100%;
 
text-align:center;
padding: 40px 20px;
margin-top:30px;
 
margin-bottom:40px;
}
 
 
 
.mecha-logo {
 
width: 120px;
 
margin-bottom: 10px;
 
}
 
 
 
.mecha-hero h1 {
 
font-size: 32px;
 
margin-bottom: 10px;


}
}




/* MAIN LAYOUT */


.mecha-hero p {
.mecha-layout {
 
font-size: 16px;
 
color: var(--color-base-subtle);


margin-bottom: 20px;
width:100%;
border-spacing:20px;


}
}




/* COLUMNS */


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


text-decoration: none;
width:25%;
 
vertical-align:top;
display: inline-block;


}
}


.mecha-col-wide {


 
width:50%;
/* GRID */
vertical-align:top;
 
.mecha-main-grid {
 
display: grid;
 
grid-template-columns: 1fr 2fr 1fr;
 
gap: 20px;


}
}




Line 95: Line 42:
.mecha-card {
.mecha-card {


background: var(--color-surface-2);
background:var(--color-surface-2);
 
border:1px solid var(--color-border);
border: 1px solid var(--color-border);
border-radius:16px;
 
padding:20px;
border-radius: 14px;
 
padding: 20px;


}
}




/* GRID */


/* ECOSYSTEM GRID */
.mecha-grid {
 
.mecha-ecosystem-grid {
 
display: grid;
 
grid-template-columns: repeat(2,1fr);


gap: 15px;
width:100%;
 
border-spacing:15px;
margin-top: 15px;


}
}


.mecha-grid td {


 
background:var(--color-surface-1);
.mecha-tile {
border:1px solid var(--color-border);
 
border-radius:10px;
background: var(--color-surface-1);
padding:15px;
 
font-weight:500;
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 */
/* MOBILE */


@media (max-width: 900px) {
@media (max-width:900px){


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


grid-template-columns: 1fr;
display:block;
width:100% !important;


}
}


.mecha-ecosystem-grid {
.mecha-card {
 
grid-template-columns: 1fr;
 
}
 
.mecha-hero h1 {


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


}
}


}
}

Revision as of 13:44, 21 February 2026

/* HERO */

.mecha-hero {

width:100%;
text-align:center;
margin-top:30px;
margin-bottom:40px;

}


/* MAIN LAYOUT */

.mecha-layout {

width:100%;
border-spacing:20px;

}


/* COLUMNS */

.mecha-col {

width:25%;
vertical-align:top;

}

.mecha-col-wide {

width:50%;
vertical-align:top;

}


/* CARDS */

.mecha-card {

background:var(--color-surface-2);
border:1px solid var(--color-border);
border-radius:16px;
padding:20px;

}


/* GRID */

.mecha-grid {

width:100%;
border-spacing:15px;

}

.mecha-grid td {

background:var(--color-surface-1);
border:1px solid var(--color-border);
border-radius:10px;
padding:15px;
font-weight:500;

}


/* MOBILE */

@media (max-width:900px){

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

display:block;
width:100% !important;

}

.mecha-card {

margin-bottom:20px;

}

}