Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Tag: Manual revert
 
(48 intermediate revisions by the same user not shown)
Line 2: Line 2:
:root {
:root {
  --white:  #FAFAFA;
  --white:  #FAFAFA;
  --purple: #CC66CC;
  --purple: #803C80;
  --blue:  #6666CC;
  --blue:  #3C3C80;
  --green:  #66CC66;
  --green:  #3C803C;
  --yellow: #CCCC66;
  --yellow: #80803C;
  --orange: #CC6600;
  --orange: #803C00;
  --red: #cc6666;
  --red:   #803C3C;
  --grey:  #666666;
  --cyan:  #3C8080;
  --black:  #333333;
--gray:  #808080;
  --black:  #3C3C3C;
}
 
body pre {
  color: var(--black);
  background: var(--white);
}
}


Line 47: Line 53:


div.box {
div.box {
   border: 2px solid rgb(250, 250, 250);
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   padding: 5px 10px;
   padding: 5px 10px;
   margin: 30px auto 5px auto;
   margin: 30px auto 5px auto;
   color: rgb(250, 250, 250);
   color: var(--white);
}
}


div.box h2 {
div.box h2 {
   color: rgb(250, 250, 250) !important;
   color: var(--white) !important;
   border-bottom: 1px solid rgb(250, 250, 250) !important;
   border-bottom: 1px solid var(--white) !important;
}
}


div.box h3 {
div.box h3 {
   color: rgb(250, 250, 250) !important;
   color: var(--white) !important;
}
}


Line 68: Line 74:
   left: -20px;
   left: -20px;
   padding: 5px 10px;
   padding: 5px 10px;
   border: 2px solid rgb(250, 250, 250);
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   color: rgb(250, 250, 250);
   color: var(--white);
   margin-bottom: -15px;
   margin-bottom: -15px;
}
}
Line 78: Line 84:
   top: -20px;
   top: -20px;
   left: -20px;
   left: -20px;
   border: 2px solid rgb(250, 250, 250);
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   color: rgb(250, 250, 250);
   color: var(--white);
   padding: 5px;
   padding: 5px;
   margin-bottom: -15px;
   margin-bottom: -15px;
Line 91: Line 97:
   float: right;
   float: right;
   width:350px;
   width:350px;
   border: 2px solid rgb(250, 250, 250);
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   padding: 5px 10px;
   padding: 5px 10px;
   margin: 15px 5px auto 30px;
   margin: 15px 5px auto 30px;
   color: rgb(250, 250, 250);
   color: var(--white);
}
}


Line 103: Line 109:
   top: -20px;
   top: -20px;
   right: -20px;
   right: -20px;
   border: 2px solid rgb(250, 250, 250);
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   color: rgb(250, 250, 250);
   color: var(--white);
   padding: 5px;
   padding: 5px;
   margin-bottom: -15px;
   margin-bottom: -15px;
Line 120: Line 126:
/* Background for use with templates begin here. */
/* Background for use with templates begin here. */
.red {
.red {
   background-color: rgb(120, 60, 60);
   background-color: var(--red);
}
}


.green {
.green {
   background-color: rgb(60, 120, 60);
   background-color: var(--green);
}
}


.blue {
.blue {
   background-color: rgb(60, 60, 120);
   background-color: var(--blue);
}
}


.yellow {
.yellow {
   background-color: rgb(120, 120, 60);
   background-color: var(--yellow);
}
}


.cyan {
.cyan {
   background-color: rgb(60, 120, 120);
   background-color: var(--cyan);
}
}


.purple {
.purple {
   background-color: rgb(120, 60, 120);
   background-color: var(--purple);
}
}


.gray {
.gray {
   background-color: rgb(80, 80, 80);
   background-color: var(--gray);
}
}


Line 186: Line 192:
   margin: 20px;
   margin: 20px;
   padding: 20px;
   padding: 20px;
   border: 2px solid White;
   border: 2px solid var(--white);
   border-radius: 5px;
   border-radius: 5px;
   display: block;
   display: block;
Line 194: Line 200:
   display: none;  
   display: none;  
}
}


/* Tooltip Container */
/* Tooltip Container */
Line 205: Line 210:
.tooltip .tooltiptext {
.tooltip .tooltiptext {
   visibility: hidden;
   visibility: hidden;
   width: 120px;
   width: 100px;
   background-color: black;
  top: 160%;
   color: #fafafa;
  left: 50%;
  margin-left: -85px;
   background-color: var(--purple);
   color: var(--white);
   text-align: center;
   text-align: center;
   padding: 5px 0;
   padding-top: 5px;
  border: 2px solid var(--white);
   border-radius: 6px;
   border-radius: 6px;
   position: absolute;
   position: absolute;
Line 218: Line 227:
.tooltip:hover .tooltiptext {
.tooltip:hover .tooltiptext {
   visibility: visible;
   visibility: visible;
}
/* Tooltip Top Arrow */
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: 15px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent var(--white) transparent;
}
}

Latest revision as of 16:22, 11 October 2024

/* CSS placed here will be applied to all skins */
:root {
 --white:  #FAFAFA;
 --purple: #803C80;
 --blue:   #3C3C80;
 --green:  #3C803C;
 --yellow: #80803C;
 --orange: #803C00;
 --red:    #803C3C;
 --cyan:   #3C8080;
 --gray:   #808080;
 --black:  #3C3C3C;
}

body pre {
  color: var(--black);
  background: var(--white);
}

div.mw-parser-output::first-line {
  font-size: x-large;
  font-weight: bold;
}

.test {
  text-decoration: underline;
}

.error {
  font-size: medium !important;
  font-weight: bold;
  color: red;
}

code {
  font-family: monospace;
}

pre {
  font-family: monospace;
}

pre span {
  font-family: monospace !important;
}

li div {
  margin-top: 10px;
}


/* Four-part reference for margin, padding, etc. is: top, right, bottom, left */

div.box {
  border: 2px solid var(--white);
  border-radius: 5px;
  padding: 5px 10px;
  margin: 30px auto 5px auto;
  color: var(--white);
}

div.box h2 {
  color: var(--white) !important;
  border-bottom: 1px solid var(--white) !important;
}

div.box h3 {
  color: var(--white) !important;
}

div.overbox {
  position: relative;
  top: -20px;
  left: -20px;
  padding: 5px 10px;
  border: 2px solid var(--white);
  border-radius: 5px;
  color: var(--white);
  margin-bottom: -15px;
}

div.iconbox {
  position: relative;
  top: -20px;
  left: -20px;
  border: 2px solid var(--white);
  border-radius: 5px;
  color: var(--white);
  padding: 5px;
  margin-bottom: -15px;
  width: 50px;
  height: 50px;
  z-index: 1;
}

div.infobox {
  float: right;
  width:350px;
  border: 2px solid var(--white);
  border-radius: 5px;
  padding: 5px 10px;
  margin: 15px 5px auto 30px;
  color: var(--white);
}

div.infoicon {
  position: relative;
  float: right;
  top: -20px;
  right: -20px;
  border: 2px solid var(--white);
  border-radius: 5px;
  color: var(--white);
  padding: 5px;
  margin-bottom: -15px;
  width: 50px;
  height: 50px;
}

.mw-editfont-monospace,
.mw-editfont-sans-serif,
.mw-editfont-serif {
  font: 15px Consolas !important;
}

/* Background for use with templates begin here. */
.red {
  background-color: var(--red);
}

.green {
  background-color: var(--green);
}

.blue {
  background-color: var(--blue);
}

.yellow {
  background-color: var(--yellow);
}

.cyan {
  background-color: var(--cyan);
}

.purple {
  background-color: var(--purple);
}

.gray {
  background-color: var(--gray);
}

.white {
  background-color: rgb(230, 230, 230);
  color: black !important;
}

/* Colors for use with Box templates end here. */

td {
  background-color: inherit !important;
}

table.skinned tr:nth-child(even){
  background-color: MidnightBlue;
}

table.skinned tr:nth-child(odd){
  background-color: Black;
}

table.plainlinks tr:nth-child(even){
  background-color: MidnightBlue;
}

table.plainlinks tr:nth-child(odd){
  background-color: Black;
}

div.sample {
  width: 60px;
  margin: 20px;
  padding: 20px;
  text-align: center;
  border: 2px solid Black;
  border-radius: 5px;
}

div.replacement {
  margin: 20px;
  padding: 20px;
  border: 2px solid var(--white);
  border-radius: 5px;
  display: block;
}

.login-only { 
  display: none; 
}

/* Tooltip Container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip Text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  top: 160%;
  left: 50%;
  margin-left: -85px;
  background-color: var(--purple);
  color: var(--white);
  text-align: center;
  padding-top: 5px;
  border: 2px solid var(--white);
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

/* Show Tooltip on Hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* Tooltip Top Arrow */
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: 15px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent var(--white) transparent;
}