MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
.mainpage-container { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 25px; | |||
.mainpage-left-col { | |||
flex: 3; | |||
min-width: 350px; | |||
} | } | ||
.mainpage-right-col { | |||
flex: 2; /* Makes the right column take up less space */ | |||
min-width: 300px; | |||
} | } | ||
.mainpage-module { | |||
background-color: var(--fa-glass-bg); | |||
border: 1px solid var(--fa-glass-border); | |||
border: 1px solid | border-radius: 8px; | ||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); | |||
margin-bottom: 25px; /* Space between modules in the same column */ | |||
overflow: hidden; /* Important for keeping border-radius on the header */ | |||
} | } | ||
. | .mainpage-module-header { | ||
background: linear-gradient(to bottom, | background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-medium)); | ||
padding: 10px 15px; | |||
color: white; | |||
font-size: 1.2em; | |||
font-weight: bold; | font-weight: bold; | ||
text-shadow: 0 1px 1px rgba(0,0,0,0.25); | |||
border-bottom: 1px solid var(--fa-sky-blue-dark); | |||
} | } | ||
. | .mainpage-module-content { | ||
padding: 15px; | |||
font-size: 0.95em; | |||
line-height: 1.6; | |||
} | } | ||
/* | /* Specific styling for lists inside modules */ | ||
. | .mainpage-module-content ul { | ||
list-style-type: disc; | |||
margin-left: 20px; | |||
} | } | ||
Revision as of 03:40, 5 September 2025
.mainpage-container {
display: flex;
flex-wrap: wrap;
gap: 25px;
.mainpage-left-col {
flex: 3;
min-width: 350px;
}
.mainpage-right-col {
flex: 2; /* Makes the right column take up less space */
min-width: 300px;
}
.mainpage-module {
background-color: var(--fa-glass-bg);
border: 1px solid var(--fa-glass-border);
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
margin-bottom: 25px; /* Space between modules in the same column */
overflow: hidden; /* Important for keeping border-radius on the header */
}
.mainpage-module-header {
background: linear-gradient(to bottom, var(--fa-sky-blue-light), var(--fa-sky-blue-medium));
padding: 10px 15px;
color: white;
font-size: 1.2em;
font-weight: bold;
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
border-bottom: 1px solid var(--fa-sky-blue-dark);
}
.mainpage-module-content {
padding: 15px;
font-size: 0.95em;
line-height: 1.6;
}
/* Specific styling for lists inside modules */
.mainpage-module-content ul {
list-style-type: disc;
margin-left: 20px;
}
/* HIDE THE DEFAULT TITLE ON THE MAIN PAGE */
body.page-Main_Page h1.firstHeading {
display: none;
}