Template:Noticeboard header/styles.css: Difference between revisions
Template page
More actions
Created page with ".noticeboardheader-main { padding: 0.5em 1.6em 1em; } .noticeboardheader-title { font-size: 230%; font-weight: bold; color: #000; } .noticeboardheader-description { color: #000; } .noticeboardheader-newsection { padding: 0.4em 1.6em 1em; text-align: right; } @media screen and (max-width: 719px) { .noticeboardheader, .noticeboardheader > tbody, .noticeboardheader > tbody > tr, .noticeboardheader > tbody > tr > td { display: block; width:..." Tags: Mobile edit Mobile web edit Advanced mobile edit |
(No difference)
|
Latest revision as of 03:04, 30 October 2024
.noticeboardheader-main {
padding: 0.5em 1.6em 1em;
}
.noticeboardheader-title {
font-size: 230%;
font-weight: bold;
color: #000;
}
.noticeboardheader-description {
color: #000;
}
.noticeboardheader-newsection {
padding: 0.4em 1.6em 1em;
text-align: right;
}
@media screen and (max-width: 719px) {
.noticeboardheader,
.noticeboardheader > tbody,
.noticeboardheader > tbody > tr,
.noticeboardheader > tbody > tr > td {
display: block;
width: auto;
}
.noticeboardheader-translate,
.noticeboardheader-newsection {
text-align: left;
}
}
/*
If the page is not a module (namespace ID 828) or template (namespace ID 10), hide #ca-talk,
because this would mean it's likely on an actual noticeboard, and "a talk page for a noticeboard"
doesn't make a whole lot of sense
*/
body:not(.ns-828):not(.ns-10) #ca-talk {
display: none;
}