Difference between revisions of "MediaWiki:Common.css"

From Taskman Wiki
Jump to navigation Jump to search
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
/* General */
 +
.tw-center {
 +
  text-align: center;
 +
}
 +
 +
.tw-right {
 +
  text-align: right;
 +
}
 +
 +
.tw-stars {
 +
  color: #d4af37;
 +
}
 +
/* General end */
 +
 
/* Template:Clear */
 
/* Template:Clear */
 
.tw-clear-left {
 
.tw-clear-left {
Line 24: Line 38:
 
}
 
}
 
/* Template:HeaderBar end */
 
/* Template:HeaderBar end */
 +
 +
/* Module:IDs */
 +
.tw-id {
 +
  font-family: monospace;
 +
  font-size: 13px;
 +
}
 +
/* Module:IDs end */
 +
 +
/* Infoboxes */
 +
.tw-infobox {
 +
  width: 300px;
 +
  margin-left: 5px;
 +
}
 +
 +
.tw-infobox .tw-infobox-header {
 +
  font-size: 16px;
 +
  text-align: center;
 +
}
 +
 +
.tw-infobox .tw-infobox-multi-top {
 +
  border-bottom: 0px solid;
 +
  text-align: center;
 +
}
 +
 +
.tw-infobox .tw-infobox-multi-bottom {
 +
  border-top: 0px solid;
 +
  text-align: center;
 +
}
 +
 +
.tw-infobox .tw-infobox-row-title {
 +
  border: 0px solid;
 +
  width: 100px;
 +
  vertical-align: top;
 +
}
 +
 +
.tw-infobox .tw-infobox-row {
 +
  border: 0px solid;
 +
  text-align: right;
 +
}
 +
/* Infoboxes end */
 +
 +
/* Template:Infobox Task */
 +
.tw-infobox .tw-infobox-row.tw-infobox-task-id-block {
 +
  padding-right: 0em;
 +
}
 +
/* Template:Infobox Task end */
  
 
/* Template:Navbox */
 
/* Template:Navbox */
Line 65: Line 125:
 
}
 
}
 
/* Template:RuleHeader end */
 
/* Template:RuleHeader end */
 +
 +
/* Template:Update history */
 +
.tw-update-history {
 +
  background: #f8f9fa;
 +
  max-height: 350px;
 +
  overflow-y: auto;
 +
  border: 0px solid black;
 +
  border-radius: 2px;
 +
}
 +
 +
.tw-update-history .tw-update-history-list {
 +
  list-style-type: none;
 +
  list-style-image: none;
 +
  margin-left: 0.2em;
 +
}
 +
/* Template:Update history end */

Latest revision as of 09:01, 20 October 2023

/* General */
.tw-center {
  text-align: center;
}

.tw-right {
  text-align: right;
}

.tw-stars {
  color: #d4af37;
}
/* General end */

/* Template:Clear */
.tw-clear-left {
  clear: left;
}

.tw-clear-right {
  clear: right;
}

.tw-clear-both {
  clear: both;
}
/* Template:Clear end */

/* Template:HeaderBar */
.tw-headerbar {
  margin: auto;
  width: 50%;
}

.tw-headerbar-icon {
  width: 40px;
  text-align: center;
}
/* Template:HeaderBar end */

/* Module:IDs */
.tw-id {
  font-family: monospace;
  font-size: 13px;
}
/* Module:IDs end */

/* Infoboxes */
.tw-infobox {
  width: 300px;
  margin-left: 5px;
}

.tw-infobox .tw-infobox-header {
  font-size: 16px;
  text-align: center;
}

.tw-infobox .tw-infobox-multi-top {
  border-bottom: 0px solid;
  text-align: center;
}

.tw-infobox .tw-infobox-multi-bottom {
  border-top: 0px solid;
  text-align: center;
}

.tw-infobox .tw-infobox-row-title {
  border: 0px solid;
  width: 100px;
  vertical-align: top;
}

.tw-infobox .tw-infobox-row {
  border: 0px solid;
  text-align: right;
}
/* Infoboxes end */

/* Template:Infobox Task */
.tw-infobox .tw-infobox-row.tw-infobox-task-id-block {
  padding-right: 0em;
}
/* Template:Infobox Task end */

/* Template:Navbox */
table.tw-navbox {
  width: 100%;
  margin: auto;
  border: #ddd 1px solid;
  font-size: 12px;
}

.tw-navbox-header {
  background: #eef;
}

.tw-navbox-header .mw-collapsible-toggle {
  font-size: 10px;
}

.tw-navbox-group-title {
  background: #dde;
  font-weight: bold;
  width: 125px;
}

.tw-navbox-group-title p, .tw-navbox-group p {
  margin: 0.1em;
}

.tw-navbox-group-title p {
  padding-left: 5px;
}
/* Template:Navbox end */

/* Template:RuleHeader */
.tw-ruleheader {
  margin: 5px;
  padding: 5px 10px;
  background-color: #eef;
  border: 1px solid #ddd;
  font-style: italic;
}
/* Template:RuleHeader end */

/* Template:Update history */
.tw-update-history {
  background: #f8f9fa;
  max-height: 350px;
  overflow-y: auto;
  border: 0px solid black;
  border-radius: 2px;
}

.tw-update-history .tw-update-history-list {
  list-style-type: none;
  list-style-image: none;
  margin-left: 0.2em;
}
/* Template:Update history end */