MediaWiki:Common.css: Difference between revisions

From ACT Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.mw-body-content span
.mw-body-content > span:first-child
{
{
     display: block;
     display: flex;
    align-items: flex-end;
    flex-direction: column;
     margin-bottom: 1rem;
     margin-bottom: 1rem;
    width: 100%;
}
/* 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;
display: flex;
}
#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;
     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;
}
}

Latest revision as of 16:10, 13 March 2024

/* CSS placed here will be applied to all skins */
.mw-body-content > span:first-child
{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-bottom: 1rem;
    width: 100%;
}

/* 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;
	display: flex;
}

#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;
}