MediaWiki:Common.css: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(First crack at adding classes for use by templates)
 
(Updated with Melek's code.)
 
Line 17: Line 17:
   padding-left: .25em;
   padding-left: .25em;
   padding-right: .25em;
   padding-right: .25em;
}
.mt-code-ui {
  border:1px solid #cacaca;
  background-color:#efefef;
  padding-left:.25em;
  padding-right:.25em;
  margin-left: .05em;
  margin-right: .05em;
}
.mt-code-ui--location {
  color: darkblue;
}
.mt-code-ui--shortcut {
  color: darkgreen;
  font-style: italic;
}
}

Latest revision as of 02:24, 8 January 2020

/* CSS placed here will be applied to all skins */
.mt-code {
}

.mt-code-location {
  border: 1px solid #cacaca;
  background-color: #dfdfdf;
  color: darkblue;
  padding-left: .25em;
  padding-right: .25em;
}

.mt-code-shortcut {
  border: 1px solid #cacaca;
  background-color: #dfdfdf;
  color: darkgreen;
  padding-left: .25em;
  padding-right: .25em;
}

.mt-code-ui {
  border:1px solid #cacaca;
  background-color:#efefef;
  padding-left:.25em;
  padding-right:.25em;
  margin-left: .05em;
  margin-right: .05em;
}

.mt-code-ui--location {
  color: darkblue;
}

.mt-code-ui--shortcut {
  color: darkgreen;
  font-style: italic;
}