Jump to content

MediaWiki:Common.css: Difference between revisions

From Eldrasil Wiki
No edit summary
No edit summary
Line 11: Line 11:
body.page-Main_Page #firstHeading {
body.page-Main_Page #firstHeading {
     display: none;
     display: none;
}
/* General body styles for the main page content area */
.mw-parser-output {
    background-color: #1c1c24; /* Dark background for the content area */
    color: #e0e0e0;
}
/* Main container for the entire layout */
.eldrasil-main-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
/* Left and right columns */
.eldrasil-left-column, .eldrasil-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.eldrasil-left-column {
    flex: 3;
    min-width: 300px;
}
.eldrasil-right-column {
    flex: 1;
    min-width: 250px;
}
/* General box styling */
.eldrasil-box {
    background-color: #2a2a3e;
    border: 1px solid #4a4a6a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* Welcome section */
.eldrasil-welcome-box {
    display: flex;
    align-items: center;
    gap: 20px;
}
.eldrasil-welcome-box img {
    width: 80px;
    height: 80px;
}
.eldrasil-welcome-text h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.8em;
}
.eldrasil-welcome-text p {
    margin: 5px 0 0;
    font-size: 1.1em;
}
/* Stats section */
.eldrasil-stats-box {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.eldrasil-stat {
    font-size: 1.1em;
}
.eldrasil-stat-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
}
/* Content grid */
.eldrasil-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    text-align: center;
}
.eldrasil-content-item {
    background-color: #3a3a5a;
    padding: 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
    cursor: pointer;
}
.eldrasil-content-item:hover {
    background-color: #4a4a7a;
}
.eldrasil-content-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}
.eldrasil-content-item a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}
/* Sidebar boxes */
.eldrasil-sidebar-box h3 {
    margin-top: 0;
    color: #ffffff;
    border-bottom: 2px solid #4a4a6a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.eldrasil-gametime {
    text-align: center;
}
.eldrasil-gametime .time {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}
.eldrasil-gametime .date {
    font-size: 1.1em;
}
.eldrasil-news ul {
    list-style: none;
    padding: 0;
}
.eldrasil-news li {
    margin-bottom: 15px;
}
.eldrasil-news a {
    color: #a0a0ff;
    text-decoration: none;
    font-weight: bold;
}
.eldrasil-news p {
    margin: 5px 0 0 15px;
    font-size: 0.95em;
    line-height: 1.4;
}
}

Revision as of 23:04, 15 October 2025

.mw-body {
	position: relative;
	min-height: 100vh; /* full viewport height */
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
		url('/wiki/assets/bg.jpeg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
body.page-Main_Page #firstHeading {
    display: none;
}

/* General body styles for the main page content area */

.mw-parser-output {

    background-color: #1c1c24; /* Dark background for the content area */

    color: #e0e0e0;

}



/* Main container for the entire layout */

.eldrasil-main-container {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    padding: 20px;

    max-width: 1200px;

    margin: auto;

}



/* Left and right columns */

.eldrasil-left-column, .eldrasil-right-column {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.eldrasil-left-column {

    flex: 3;

    min-width: 300px;

}



.eldrasil-right-column {

    flex: 1;

    min-width: 250px;

}



/* General box styling */

.eldrasil-box {

    background-color: #2a2a3e;

    border: 1px solid #4a4a6a;

    border-radius: 8px;

    padding: 20px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.3);

}



/* Welcome section */

.eldrasil-welcome-box {

    display: flex;

    align-items: center;

    gap: 20px;

}



.eldrasil-welcome-box img {

    width: 80px;

    height: 80px;

}



.eldrasil-welcome-text h2 {

    margin: 0;

    color: #ffffff;

    font-size: 1.8em;

}



.eldrasil-welcome-text p {

    margin: 5px 0 0;

    font-size: 1.1em;

}



/* Stats section */

.eldrasil-stats-box {

    display: flex;

    justify-content: space-around;

    text-align: center;

}



.eldrasil-stat {

    font-size: 1.1em;

}



.eldrasil-stat-number {

    display: block;

    font-size: 1.5em;

    font-weight: bold;

    color: #ffffff;

}



/* Content grid */

.eldrasil-content-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));

    gap: 15px;

    text-align: center;

}



.eldrasil-content-item {

    background-color: #3a3a5a;

    padding: 15px;

    border-radius: 6px;

    transition: background-color 0.3s;

    cursor: pointer;

}



.eldrasil-content-item:hover {

    background-color: #4a4a7a;

}



.eldrasil-content-item img {

    width: 50px;

    height: 50px;

    margin-bottom: 10px;

}



.eldrasil-content-item a {

    color: #e0e0e0;

    text-decoration: none;

    font-weight: bold;

}



/* Sidebar boxes */

.eldrasil-sidebar-box h3 {

    margin-top: 0;

    color: #ffffff;

    border-bottom: 2px solid #4a4a6a;

    padding-bottom: 10px;

    margin-bottom: 15px;

}



.eldrasil-gametime {

    text-align: center;

}



.eldrasil-gametime .time {

    font-size: 2.5em;

    font-weight: bold;

    color: #ffffff;

    margin-bottom: 5px;

}



.eldrasil-gametime .date {

    font-size: 1.1em;

}



.eldrasil-news ul {

    list-style: none;

    padding: 0;

}



.eldrasil-news li {

    margin-bottom: 15px;

}



.eldrasil-news a {

    color: #a0a0ff;

    text-decoration: none;

    font-weight: bold;

}



.eldrasil-news p {

    margin: 5px 0 0 15px;

    font-size: 0.95em;

    line-height: 1.4;

}