MediaWiki:Common.css: Difference between revisions

From Masq
Port Main Page layout CSS from Masquerade skin
Hide DPL page column on blog tables
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
.page-Mortalp #firstHeading { display:none !important; }
.page-Mortalp #firstHeading { display:none !important; }


/* Main Page layout ported from Masquerade skin */
/* Hide DPL auto page-title column on blog listings */
.welcome {
table.blog-posts td:first-child,
font-family: Georgia, "Times New Roman", serif;
table.blog-posts th:first-child,
font-size: 2em;
table.blog-index td:first-child,
font-weight: bold;
table.blog-index th:first-child {
color: #aa0000;
  display: none;
line-height: 1em;
}
}
.intro {
table.blog-posts td,
padding: 1em;
table.blog-index td {
margin: -1em auto 0;
  vertical-align: top;
display: block;
  padding: 0.25em 0.75em;
width: 50%;
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 33%, rgba(255,255,255,0.67) 100%);
border-radius: 10px;
}
#layoutTable td,
#displayTable td {
background-color: #ffffe6;
border: 0;
vertical-align: top;
}
#layoutTable td table,
#displayTable td table {
background-color: #ffffe6;
}
#layoutTable th,
#displayTable th {
background-color: #ffffcc;
border-top: 1px solid #aa0000 !important;
border-bottom: 1px dotted #aa0000 !important;
border-left: 0;
border-right: 0;
font-family: Georgia, "Times New Roman", serif !important;
vertical-align: top;
}
.leftdots {
border-left: 1px dotted #aa0000;
}
.MainPageBG h2 {
margin: 0;
}
.page-Main_Page #content table {
border-collapse: collapse;
}
}

Latest revision as of 19:41, 3 December 2026

/* CSS placed here will be applied to all skins */
.page-Mortalp h1 {
margin: 0.25em 0px 0px 180px;
padding: 0.75em 0px 0.17em;
}
.page-Mortalp #firstHeading { display:none !important; }

/* Hide DPL auto page-title column on blog listings */
table.blog-posts td:first-child,
table.blog-posts th:first-child,
table.blog-index td:first-child,
table.blog-index th:first-child {
  display: none;
}
table.blog-posts td,
table.blog-index td {
  vertical-align: top;
  padding: 0.25em 0.75em;
}