MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 21: Line 21:
table.navbox th > a {
table.navbox th > a {
   color: var(--color-base--emphasized);
   color: var(--color-base--emphasized);
}
table.navbox tr td {
  padding-left: 4px;
  padding-right: 4px;
}
}



Revision as of 01:45, 11 August 2023

/* All CSS here will be loaded for users of the Citizen skin */
ul ul{margin-top:0!important;margin-bottom:0!important}

/* Used to make the main image resize nicely. */
img.mainPageBanner {
  width: 100%;
  background-size: cover;
  object-fit: cover;
}

/* Used for Navbox */
table.navbox {
  width: 100%;
  border: solid 1px var(--color-surface-1);
}

table.navbox th {
  background-color: var(--color-surface-3);
}

table.navbox th > a {
  color: var(--color-base--emphasized);
}

table.navbox tr td {
  padding-left: 4px;
  padding-right: 4px;
}

table.navbox tr td:first-child {
  width: 10%;
  padding-right: 4px;
  text-align: right;
  background-color: var(--color-surface-2);
}