MediaWiki:Common.css: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 62: Line 62:


.programListing {
.programListing {
  white-space: pre;
   color: black;
   color: black;
   background-color: transparent;
   background-color: transparent;

Revision as of 10:36, 3 March 2007

/** CSS placed here will be applied to all skins */

/* Classes for rendering computer screen output. */

.screen {
  background-color: black;
  color: #33FF33;
  line-height: 1.2em;
  border-style: solid;
  border-width: 4px;
  border-color: #a9a9a9;
  padding-top: 0px;
  padding-bottom: 1%;
  padding-left: 0px;
  padding-right: 0px;
}

.screenTitle {
  background-color: #6fbad2;
  color: black;
  font-weight: bold;
  font-size: 105%;
  padding: 0.5%;
  margin-bottom: 1%;
}

.userInput {
  font-size: 100%;
  font-family: monospace;
  font-weight: bold;
  color: yellow;
  background-color: black;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0.5%;
  padding-right: 0px;
  margin: 0px;
  border-style: none;
}

.prompt {
  color: #33FF33;
  background-color: black;
  padding: 0px;
}

.computerOutput {
  white-space: pre;
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0.5%;
  padding-right: 0px;
  font-size: 100%;
  line-height: 1.2em;
  color: #33FF33;
  background-color: black;
  border-style: none;
}

/* For program listings. */

.programListing {
  white-space: pre;
  color: black;
  background-color: transparent;
  background-image: url(computer_paper.png);
  font-family: monospace;
  text-align: left;
  border-style: solid;
  border-color: #a9a9a9;
  margin-top: 1em;
  border-top-width: 4px;
  padding-top: 1%;
  height: auto;
  padding-bottom: 1%;
  border-bottom-width: 4px;
  margin-bottom: 1em;
  margin-left: 0.5%;
  border-left-width: 4px;
  padding-left: 1%;
  width: auto;
  padding-right: 1%;
  border-right-width: 4px;
  margin-right: 0.5%;
}