Template:Main page/styles.css: Difference between revisions
(Added padding for Shortdesc) Tag: Reverted |
(Moved newsbox styling from MediaWiki:Common.css) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
flex-grow: 1; | flex-grow: 1; | ||
} | } | ||
} | |||
#firstHeading { | |||
text-align: center; | |||
} | } | ||
Line 12: | Line 16: | ||
.main-page-content-box ul { | .main-page-content-box ul { | ||
margin: 0; | |||
} | |||
.main-page-content-box ul ul { | |||
margin: 0 0 0 1em; | margin: 0 0 0 1em; | ||
} | } | ||
Line 23: | Line 31: | ||
.main-page-content-box ul li li { | .main-page-content-box ul li li { | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
.main-page-content-box ul li li li { | |||
font-size: smaller; | |||
font-weight: bold; | |||
} | } | ||
Line 36: | Line 49: | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 1em; | gap: 1em; | ||
} | } | ||
Line 66: | Line 78: | ||
border: 1px solid rgba(0, 0, 0, 0.3); | border: 1px solid rgba(0, 0, 0, 0.3); | ||
background-color: rgba(255, 255, 255, 0.4); | background-color: rgba(255, 255, 255, 0.4); | ||
} | |||
/* News and recent changes */ | |||
.news-box { | |||
border: 1px solid; | |||
margin: 0.5em 0; | |||
padding: 0.5em 1em; | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-around; | |||
} | |||
.news-header { | |||
border-bottom: 1px solid; | |||
font-size: 20px; | |||
margin: 0.5em 0; | |||
padding: 0.4em; | |||
} | |||
.news-subheader { | |||
border-left: 3px solid; | |||
margin: 1.5em 0 0 0; | |||
padding: 0; | |||
padding-left: .5em; | |||
} | } |
Latest revision as of 01:51, 26 December 2024
@media screen and (max-width: 1200px) {
#main-page-nav>div {
flex-grow: 1;
}
}
#firstHeading {
text-align: center;
}
#main-page-elin>ul {
column-count: 2;
column-fill: balance;
column-gap: 0;
}
.main-page-content-box ul {
margin: 0;
}
.main-page-content-box ul ul {
margin: 0 0 0 1em;
}
.main-page-content-box ul li {
break-inside: avoid-column;
list-style: none;
font-weight: bold;
}
.main-page-content-box ul li li {
font-weight: normal;
}
.main-page-content-box ul li li li {
font-size: smaller;
font-weight: bold;
}
.main-page-content-box {
margin-bottom: 1em;
padding: 0 16px .5em 16px;
}
#main-page-nav {
display: flex;
justify-content: flex-start;
align-items: stretch;
flex-wrap: wrap;
gap: 1em;
}
.main-page-content-box>h2,
#main-page-latest-changes>h2 {
font-size: 16pt;
border-bottom: 1px solid #CB9E6F;
margin: 0 -16px .5em -16px;
padding: 3px 0 0 1em;
}
.main-page-content-box>h3 {
margin: 0;
padding: 0;
}
.mw-editsection {
display: none;
}
#main-page-latest-changes {
padding: 0 16px .5em 16px;
max-width: 1280px;
min-height: 650px;
}
.mw-changeslist-legend,
#main-page-latest-changes .thumb {
border: 1px solid rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 0.4);
}
/* News and recent changes */
.news-box {
border: 1px solid;
margin: 0.5em 0;
padding: 0.5em 1em;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.news-header {
border-bottom: 1px solid;
font-size: 20px;
margin: 0.5em 0;
padding: 0.4em;
}
.news-subheader {
border-left: 3px solid;
margin: 1.5em 0 0 0;
padding: 0;
padding-left: .5em;
}