Jump to content

Template:Noticeboard header/styles.css

From test1-
Revision as of 17:10, 21 February 2025 by TheAP (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.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;
}