MediaWiki:Common.css

From ACT Wiki
Revision as of 13:30, 9 August 2023 by Ctimain (talk | contribs)
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.mw-body-content > span:first-child
{
    display: block;
    margin-bottom: 1rem;
    float: right;
}

/* From MediaWiki v1.25 */
.news-bulletin {
 /* border: 1px solid #000;
  background-color: #ddd;*/
  padding:5px;
  text-align:left;
  float: left;
  margin-right: 10px;
}
 
.news-bulletin-header {
  font-size:14px;
  padding:3px;
  text-decoration:underline;
  font-style:italic;
  font-weight:bold;
}
 
.news-bulletin-title {
  font-weight:bold;
  font-size:13px;
}
 
.news-bulletin-title a{
  color:#000;
}
.news-bulletin-title a:visited{
  color:#000;
}
 
.news-bulletin-text {
  font-size:12px;
  padding-left:5px;
}
 
.news-bulletin-time {
  font-size:10px;
  font-style:italic;
  text-align:right;
}

.greybox{
  border: 1px solid rgb(103,50,0); 
  margin-bottom: 3pt; padding: 0em 0.6em 0.2em;
  background-color: rgb(240, 240, 240); 
  width: 45%;
  float: left;
  margin-right: 10px;
}

.whitebox{
  margin-bottom: 3pt; padding: 0em 0.6em 0.2em;
  width: 45%;
  float: left;
  margin-right: 10px;
}

#p-logo{
    z-index: 5;
    top: 20px;
}

#p-logo a{
  height: 223px;
}

#t-specialpages{
  display: none;
}

.approvedAndNotLatestMsg{
  border: 1px solid red;
    color: red;
    left: -10px;
    padding: 2px;
    position: relative;
    top: 7px;
}

.approvelatest{
    left: -10px;
    position: relative;
    top: 7px;
}

li#ca-talk{
display: none;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #aaa;
}
 
/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}

#p-logo a, #p-logo a:hover{
  height: 223px !important;
}