MediaWiki:Common.css: Difference between revisions
From Ekologos Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ========================================================== | /*========================================================== | ||
EKOLOGOS WIKI | |||
Homepage Framework v1.0 | |||
========================================================== */ | ==========================================================*/ | ||
/* | /* --------------------------------------------------------- | ||
Global | |||
--------------------------------------------------------- */ | |||
body { | body { | ||
background: # | background: #f7f5ef; | ||
font-family: "Segoe UI", Arial, sans-serif; | |||
font-family: "Segoe UI" | |||
} | } | ||
/* | /* Make the Main Page full width */ | ||
.page-Main_Page .container, | |||
. | .page-Main_Page .container-fluid, | ||
. | .page-Main_Page .mw-body, | ||
#mw-content-text | .page-Main_Page #content, | ||
.page-Main_Page #mw-content-text { | |||
width: 100% !important; | |||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
.page-Main_Page .mw-parser-output { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
. | |||
} | } | ||
/* --------------------------------------------------------- | |||
Navigation | |||
--------------------------------------------------------- */ | |||
. | .page-Main_Page nav.navbar, | ||
.page-Main_Page .navbar { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
z-index: 1000; | |||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* --------------------------------------------------------- | |||
Hero Section | |||
--------------------------------------------------------- */ | |||
. | .page-Main_Page .hero { | ||
position: relative; | |||
width: 100%; | |||
height: 700px; | |||
margin-top: -70px; | |||
padding-top: 70px; | |||
display: flex; | |||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
text-align: center; | text-align: center; | ||
position: | background-image: | ||
linear-gradient( | |||
rgba(0,0,0,.35), | |||
rgba(0,0,0,.35) | |||
), | |||
url("/wiki/images/2/26/Hero.jpg"); | |||
background-size: cover; | |||
background-position: center center; | |||
} | } | ||
.hero- | /* Hero Content */ | ||
.page-Main_Page .hero-content { | |||
max-width: 900px; | max-width: 900px; | ||
padding: 20px; | |||
} | } | ||
.hero | .page-Main_Page .hero h1 { | ||
color: white; | color: white; | ||
font-family: Georgia, serif; | |||
font-size: 72px; | |||
font-weight: 700; | |||
font- | |||
line-height: 1.05; | |||
margin-bottom: 30px; | |||
} | } | ||
.page-Main_Page . | .page-Main_Page .hero hr { | ||
width: 60%; | |||
margin: 25px auto; | |||
border: none; | |||
border-top: 1px solid rgba(255,255,255,.6); | |||
} | } | ||
.page-Main_Page .hero p { | |||
. | |||
color: white; | |||
color: | |||
font-size: 24px; | font-size: 24px; | ||
margin | line-height: 1.7; | ||
max-width: 850px; | |||
margin: auto; | |||
} | } | ||
/* | /* --------------------------------------------------------- | ||
Responsive | |||
--------------------------------------------------------- */ | |||
@media (max-width: 992px) { | |||
.page-Main_Page .hero { | |||
height: 550px; | |||
} | } | ||
.hero | .page-Main_Page .hero h1 { | ||
font-size: | |||
font-size: 52px; | |||
} | } | ||
.hero | .page-Main_Page .hero p { | ||
font-size: 20px; | |||
font-size: | |||
} | } | ||
} | } | ||
@media (max-width: 768px) { | |||
@media (max-width: | |||
.hero { | .page-Main_Page .hero { | ||
height: 450px; | |||
} | } | ||
.page-Main_Page .hero h1 { | |||
font-size: 38px; | |||
} | } | ||
. | .page-Main_Page .hero p { | ||
font-size: 18px; | |||
padding: 0 20px; | |||
} | |||
} | |||
Revision as of 09:07, 3 July 2026
/*==========================================================
EKOLOGOS WIKI
Homepage Framework v1.0
==========================================================*/
/* ---------------------------------------------------------
Global
--------------------------------------------------------- */
body {
background: #f7f5ef;
font-family: "Segoe UI", Arial, sans-serif;
}
/* Make the Main Page full width */
.page-Main_Page .container,
.page-Main_Page .container-fluid,
.page-Main_Page .mw-body,
.page-Main_Page #content,
.page-Main_Page #mw-content-text {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
.page-Main_Page .mw-parser-output {
margin: 0 !important;
padding: 0 !important;
}
/* ---------------------------------------------------------
Navigation
--------------------------------------------------------- */
.page-Main_Page nav.navbar,
.page-Main_Page .navbar {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* ---------------------------------------------------------
Hero Section
--------------------------------------------------------- */
.page-Main_Page .hero {
position: relative;
width: 100%;
height: 700px;
margin-top: -70px;
padding-top: 70px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background-image:
linear-gradient(
rgba(0,0,0,.35),
rgba(0,0,0,.35)
),
url("/wiki/images/2/26/Hero.jpg");
background-size: cover;
background-position: center center;
}
/* Hero Content */
.page-Main_Page .hero-content {
max-width: 900px;
padding: 20px;
}
.page-Main_Page .hero h1 {
color: white;
font-family: Georgia, serif;
font-size: 72px;
font-weight: 700;
line-height: 1.05;
margin-bottom: 30px;
}
.page-Main_Page .hero hr {
width: 60%;
margin: 25px auto;
border: none;
border-top: 1px solid rgba(255,255,255,.6);
}
.page-Main_Page .hero p {
color: white;
font-size: 24px;
line-height: 1.7;
max-width: 850px;
margin: auto;
}
/* ---------------------------------------------------------
Responsive
--------------------------------------------------------- */
@media (max-width: 992px) {
.page-Main_Page .hero {
height: 550px;
}
.page-Main_Page .hero h1 {
font-size: 52px;
}
.page-Main_Page .hero p {
font-size: 20px;
}
}
@media (max-width: 768px) {
.page-Main_Page .hero {
height: 450px;
}
.page-Main_Page .hero h1 {
font-size: 38px;
}
.page-Main_Page .hero p {
font-size: 18px;
padding: 0 20px;
}
}