Difference between revisions of "MediaWiki:Common.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(274 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/* standard link colors */
+
/* let's create the various font styles */
.mw-body a:link { color: rgba(91, 192, 222, 0.7); } /* normal unvisited links */
+
.bold {
.mw-body a:link:visited { color: rgba(91, 192, 222, 0.9); } /* visited links */
+
font-weight: bold;
.mw-body a:link:active { color: rgba(91, 192, 222, 1); } /* active links */
+
}
.mw-body a:link.new { color: rgba(91, 192, 222, 0.2) !important; } /* new links */
 
.mw-body a:link.new:hover { color: rgba(91, 192, 222, 0.7) !important; } /* new links hover */
 
.mw-body a:link.interwiki { color: rgba(91, 192, 222, 0.9); } /* interwiki links */
 
.mw-body a:link.external { color: rgba(91, 192, 222, 0.9); } /* external links */
 
.mw-body a:link.stub { color: rgba(91, 192, 222, 0.9); } /* hovered links */
 
.mw-body a:link, a:link {color: rgba(91, 192, 222, 0.9)}
 
.mw-body a:visited, a:visited {color: rgba(91, 192, 222, 0.9)}
 
.mw-body a:hover, a:hover {color: rgba(91, 192, 222, 1)}
 
.mw-body a:active, a:active {color: rgba(91, 192, 222, 1)}
 
  
/* table colors */
+
.italic {
table.ts a, table.ex a { text-decoration: none; font-weight: bold; }
+
font-style: italic;
table.ts a:link { color: rgba(92, 184, 92, 0.9); } /* normal unvisited links */
+
}
table.ts a:link:visited { color: rgba(92, 184, 92, 0.9); } /* visited links */
+
 
table.ts a:link:active { color: rgba(92, 184, 92, 1); } /* active links */
+
.underline {
table.ts a:link.new { color: rgba(92, 184, 92, 0.2) !important; } /* new links */
+
text-decoration: underline;
table.ts a:link.new:hover { color: rgba(92, 184, 92, 0.7) !important; } /* new links hover */
+
}
table.ts a:link.interwiki { color: rgba(92, 184, 92, 0.9); } /* interwiki links */
 
table.ts a:link.external { color: rgba(92, 184, 92, 0.9); } /* external links */
 
table.ts a:link.stub { color: rgba(92, 184, 92, 0.9); } /* hovered links */
 
table.ts a:link {color: rgba(92, 184, 92, 0.9)}
 
table.ts a:visited {color: rgba(92, 184, 92, 0.9)}
 
table.ts a:hover {color: rgba(92, 184, 92, 1)}
 
table.ts a:active {color: rgba(92, 184, 92, 1)}
 
  
table.ex th { font-size: 13px; }
+
.strike {
 +
text-decoration: line-through;
 +
}
  
 +
.medium {
 +
font-size: 15px;
 +
}
  
.ftoc {
+
.large {
position: fixed;
+
font-size: 18px;
left: -150px;
+
}
top: 50%;
 
margin-top: -150px;
 
width: 200px;
 
height: 300px;
 
overflow: auto;
 
background-color: #4e5d6c;
 
padding: 5px;
 
font-size: 15px;
 
  
-webkit-box-shadow: 2px 0px 4px 0px rgba(50, 50, 50, 0.5);
+
/* now let's create the colors */
-moz-box-shadow:    2px 0px 4px 0px rgba(50, 50, 50, 0.5);
 
box-shadow:        2px 0px 4px 0px rgba(50, 50, 50, 0.5);
 
  
-webkit-transition: 1s ease-in-out;
+
.vsyellow {
-moz-transition: 1s ease-in-out;
+
color: rgba(255, 153, 0, 0.9);
-o-transition: 1s ease-in-out;
 
transition: 1s ease-in-out;
 
 
}
 
}
  
.ftoc:hover {
+
.red {
-webkit-transform: translate(150px,0);
+
color: lightcoral;
-moz-transform: translate(150px,0);
 
-o-transform: translate(150px,0);
 
-ms-transform: translate(150px,0);
 
transform: translate(150px,0);
 
 
}
 
}
  
.ftoc::-webkit-scrollbar {
+
.blue {
width: 10px;
+
color: blue;
background-color: transparent;
+
}
}  
 
  
.ftoc::-webkit-scrollbar-thumb{
+
.green {
background-color:#B03C3F;
+
color: lightgreen;
border-radius:10px;
 
 
}
 
}
.ftoc::-webkit-scrollbar-thumb:hover{
+
 
background-color:#BF4649;
+
.orange {
border:1px solid #333333;
+
color: orange;
 
}
 
}
.ftoc::-webkit-scrollbar-thumb:active{
 
background-color:#A6393D;
 
border:1px solid #333333;
 
}
 
  
 +
.yellow {
 +
color: yellow;
 +
}
  
/*.toc, #toc { display: none; } /* kill content boxes */
+
.pink {
.cent { text-align: center; }
+
color: pink;
 +
}
  
.wikiEditor-ui-buttons button, .editOptions {
+
.grey {
color:#000000;
+
color: grey;
 
}
 
}
  
.navbar-default .navbar-nav {
+
.darkgrey {
  -webkit-box-shadow: 0px 3px 4px 0px rgba(50, 50, 50, 0.75);
+
color: darkgrey;
  -moz-box-shadow:    0px 3px 4px 0px rgba(50, 50, 50, 0.75);
 
  box-shadow:        0px 3px 4px 0px rgba(50, 50, 50, 0.75);
 
 
}
 
}
  
.navbar-default .navbar-nav > li > a {
+
/* misc styles */
color: #5bc0de;
+
 
font-weight: bold;
+
.mw-body div:not(.toc) > ul, .mw-body div:not(.toc) > ul ul {
 +
list-style: square !important;
 +
padding-left: 15px !important;
 
}
 
}
  
.dropdown-menu {
+
.copybtn {
  -webkit-box-shadow: 0px 3px 4px 0px rgba(50, 50, 50, 0.50);
+
background-color: white;
  -moz-box-shadow:   0px 3px 4px 0px rgba(50, 50, 50, 0.50);
+
color: black;
  box-shadow:         0px 3px 4px 0px rgba(50, 50, 50, 0.50);
+
border-top-left-radius: 5px;
 +
border-top-right-radius: 5px;
 +
position:absolute;
 +
right: 34px;
 +
margin-top: -27px;
 +
border: solid 1px #ddd;
 +
border-top: solid 1px #ddd;
 +
border-left: solid 1px #ddd;
 +
border-right: solid 1px #ddd;
 +
border-bottom: solid 1px white;
 +
/*transition-duration: 0.1s;*/
 +
min-width:10rem;
 
}
 
}
  
#content {
+
.copybtn:hover { background-color: rgba(255, 153, 0, 0.7); }
padding-bottom: 10px;
+
 
 +
.copybtn:after, .copybutton:before { content: "Copy Text"; }
 +
.copybtn:focus:after, .copybtn:active:after { content: "Copied"; }
  
/* fallback */
+
.spoiler {
background-color: #4e5d6c;
+
background-color: rgba(0,0,0,0.25);
background: url(images/linear_bg_2.png);
+
color: transparent;
background-repeat: repeat-x;
+
user-select: none;
/* Safari 4-5, Chrome 1-9 */
+
border-radius: 25px;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4e5d6c), to(#485563));
+
}
/* Safari 5.1, Chrome 10+ */
 
background: -webkit-linear-gradient(top, #4e5d6c, #485563);
 
/* Firefox 3.6+ */
 
background: -moz-linear-gradient(top, #4e5d6c, #485563);
 
/* IE 10 */ background: -ms-linear-gradient(top, #4e5d6c, #485563);
 
/* Opera 11.10+ */ background: -o-linear-gradient(top, #4e5d6c, #485563);
 
  
-webkit-box-shadow: 0px 3px 4px 0px rgba(50, 50, 50, 0.75);
+
.inlinecode {
-moz-box-shadow:   0px 3px 4px 0px rgba(50, 50, 50, 0.75);
+
background-color: rgba(0,0,0,0.1);
box-shadow:         0px 3px 4px 0px rgba(50, 50, 50, 0.75);
+
/*color: rgba(255, 153, 0, 0.9);*/
 +
color: navajowhite;
 +
padding:2px;
 +
/*user-select: none;*/
 +
border-radius: 3px;
 +
}
  
-webkit-border-bottom-right-radius: 10px;
+
/*
-webkit-border-bottom-left-radius: 10px;
+
.spoiler:focus {
-moz-border-radius-bottomright: 10px;
+
background-color: inherit;
-moz-border-radius-bottomleft: 10px;
+
color: inherit;
border-bottom-right-radius: 10px;
 
border-bottom-left-radius: 10px;
 
 
}
 
}
 +
*/
  
 +
.alt-bg {
 +
background: #ebebeb;
 +
width: 100%;
 +
}
  
table.ts, table.ex {
+
.tbl-ds {
 +
background: #f5f5f5;
 +
border: 1px dashed darkgrey;
 +
width: 100%;
 +
}
 +
 
 +
.tbl-alt {
 +
background: #ebebeb;
 +
/*border: 1px dashed darkgrey;*/
 +
width: 100%;
 +
}
 +
 
 +
.gruen {
 +
/*background: #B8FF94;*/
 +
. info
 +
width: 100%;
 +
}
 +
 
 +
.scriptable {
 +
background: #7A7A7A;
 +
}
 +
 
 +
#filetoc {
 +
background: rgba(155, 155, 155, 0.2);
 +
text-align: left;
 +
}
 +
 
 +
table.wikitable.filehistory {
 
  margin-top: 1em;
 
  margin-top: 1em;
 
  margin-bottom: 1em;
 
  margin-bottom: 1em;
Line 141: Line 154:
 
  border-collapse: separate;
 
  border-collapse: separate;
 
  border-spacing: 2px 2px;
 
  border-spacing: 2px 2px;
 +
border-color: transparent;
 
  width: 100%;
 
  width: 100%;
 +
color: rgba(255, 255, 255, 0.8);
 
}
 
}
  
table.ts td, table.ex td {
+
table.wikitable.filehistory td {
   background: rgba(155, 155, 155, 0.2);
+
   background: rgba(0, 0, 0, 0.2);
   vertical-align: top;
+
  border-color: transparent;
 +
   vertical-align: middle;
 +
  text-align: center;
 
   padding: 5px;
 
   padding: 5px;
 
}
 
}
  
table.ex td {
+
table.wikitable.filehistory tr:hover {
font-size: 13px;
+
  background: rgba(0, 0, 0, 0.1);
font-style: italic;
 
 
}
 
}
  
table.ts tr:hover, table.ex tr:hover {
+
table.wikitable.filehistory th {
  background: rgba(155, 155, 155, 0.1);
 
}
 
 
 
table.ts th {
 
 
  background: #5bc0de;
 
  background: #5bc0de;
 +
border-color: transparent;
 
  text-align:left;
 
  text-align:left;
 
  padding: 5px;
 
  padding: 5px;
Line 166: Line 179:
 
}
 
}
  
table.ex th {
+
.oo-ui-dialog {
background: #454545;
+
color: #000000;
text-align:left;
+
}
padding: 5px;
+
 
 +
#slideshow {
 +
    margin: 0px 0px;
 +
    position: relative;
 +
    top: -7px;
 +
    width: 100%;
 +
    padding: 0px;
 +
    /*box-shadow: 0 0 20px rgba(0,0,0,0.4);*/
 
}
 
}
  
 +
#slideshow > div {
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    right: 0px;
 +
    bottom: 0px;
 +
}
  
 +
.thumbinner {
 +
background-image: url("/css/img/dark_content.png");
 +
border: 0px;
 +
padding: 5px;
 +
margin-bottom: 0; /* requested by einzelkämpfer */
 +
}
  
/* let's create the various font styles */
+
.thumbcaption {
.bold {
+
  color: rgba(255, 255, 255, 0.8);
font-weight: bold;
+
  font-size: 15px; /* requested by einzelkämpfer */
 
}
 
}
  
.italic {
+
.mw-htmlform-submit {
font-style: italic;
+
color: #000000;
 
}
 
}
  
.underline {
+
legend {
text-decoration: underline;
+
color: rgba(255, 153, 0, 0.9);
 
}
 
}
  
.strike {
+
fieldset {
text-decoration: line-through;
+
border: 2px solid rgba(0,0,0,0.2);
 
}
 
}
  
.medium {
+
kbd {
font-size: 15px;
+
    display: inline-block;
 +
    border: 1px solid #ccc;
 +
    border-radius: 4px;
 +
    padding: 0.1em 0.5em;
 +
    margin: 0 0.2em;
 +
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
 +
    background-color: #f7f7f7;
 +
    color: #1a1a1a;
 
}
 
}
  
.large {
+
table.vy th {
font-size: 18px;
+
  border: 2px solid rgba(0, 0, 0, 0.1);
 +
  margin-top: 1em;
 +
  margin-bottom: 1em;
 +
  border-collapse: separate;
 +
  border-spacing: 2px 2px;
 +
  width: 100%;
 +
  vertical-align: top;
 +
  padding: 5px;
 +
  font-size: 13px;
 +
  text-decoration: none;
 +
  font-weight: bold;
 +
  background: rgba(0, 0, 0, 0.2);
 +
  text-align:left;
 +
  color: rgba(255, 153, 0, 0.9);
 
}
 
}
  
/* now let's create the colors */
+
/* social media icon bar */
  
.red {
+
/* Fixed/sticky icon bar (vertically aligned 50% from the top of the screen) */
color: red;
+
.icon-bar {
 +
  background-image: url("/css/img/dark_content.png");
 +
  position: fixed;
 +
  top: 53px;
 +
  right: 0px;
 +
  border-bottom-left-radius: 10px;
 +
  -webkit-box-shadow: 2px 0px 4px 0px rgba(50, 50, 50, 0.5);
 +
  -moz-box-shadow:    2px 0px 4px 0px rgba(50, 50, 50, 0.5);
 +
  box-shadow:        2px 0px 4px 0px rgba(50, 50, 50, 0.5);
 
}
 
}
  
.blue {
+
/* Style the icon bar links */
color: blue;
+
.icon-bar a {
 +
  display: absolute;
 +
  text-align: center;
 +
  padding: 10px;
 +
  font-size: 25px;
 
}
 
}
  
.green {
+
.facebook { color:#ffffff !important; transition: all 0.3s ease; }
color: green;
+
 
}
+
.facebook:hover { color: #4267B2 !important; }
 +
 
 +
.twitter { color: #ffffff !important; transition: all 0.3s ease; }
 +
 
 +
.twitter:hover { color: #1DA1F2 !important; }
 +
 
 +
.discord { color: #ffffff !important; transition: all 0.3s ease; }
 +
 
 +
.discord:hover { color: #5965f1 !important; }
 +
 
 +
/* footer section */
  
.orange {
+
#footer-places a { color: rgba(255, 153, 0, 0.7) !important; }
color: orange;
+
#footer-places a:hover { color: rgba(255, 153, 0, 0.9) !important; }
}
 
  
.yellow {
+
/* syntaxhighlight */
color: yellow;
 
}
 
  
.pink {
+
.mw-highlight pre {
color: pink;
+
font-size: 90%;
 +
background-color: white;
 +
/*border: 1px solid black;*/
 +
/*background: #272822;*/
 +
/*color: #f8f8f2;*/
 +
max-height: 500px;
 
}
 
}
  
.grey {
+
/*
color: grey;
+
.lua .de1 {
 +
font-family: monospace;
 +
color: #fd971f;
 +
margin: 0 0 0 0;
 
}
 
}
  
.darkgrey {
+
.lua .kw1 {  
color: darkgrey;
+
color: #f92672;
 +
font-weight: bold;
 
}
 
}
  
/* misc styles */
+
.lua .co1, .lua .coMULTI {  
 
+
color: #75715e;
.alt-bg {
+
font-weight: normal;
background: #ebebeb;
 
width: 100%;
 
 
}
 
}
  
.tbl-ds {
+
.lua .nu0 {  
background: #f5f5f5;
+
color: #ae81ff;
border: 1px dashed darkgrey;
 
width: 100%;
 
 
}
 
}
  
.tbl-alt {
+
.lua .sy0 {  
background: #ebebeb;
+
color: #a6e22e;
/*border: 1px dashed darkgrey;*/
 
width: 100%;
 
 
}
 
}
  
.gruen {
+
.lua .st0 {  
/*background: #B8FF94;*/
+
color: #e6db74;
. info
 
width: 100%;
 
 
}
 
}
  
.scriptable {
+
.lua .br0 {  
background: #7A7A7A;
+
color: #f8f8f2;
 
}
 
}
 +
*/

Latest revision as of 01:56, 16 October 2022

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

/* let's create the various font styles */
.bold {
font-weight: bold;
}

.italic {
font-style: italic;
}

.underline {
text-decoration: underline;
}

.strike {
text-decoration: line-through;
}

.medium {
font-size: 15px;
}

.large {
font-size: 18px;
}

/* now let's create the colors */

.vsyellow {
color: rgba(255, 153, 0, 0.9);
}

.red {
color: lightcoral;
}

.blue {
color: blue;
}

.green {
color: lightgreen;
}

.orange {
color: orange;
}

.yellow {
color: yellow;
}

.pink {
color: pink;
}

.grey {
color: grey;
}

.darkgrey {
color: darkgrey;
}

/* misc styles */

.mw-body div:not(.toc) > ul, .mw-body div:not(.toc) > ul ul {
list-style: square !important;
padding-left: 15px !important;
}

.copybtn {
background-color: white;
color: black;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
position:absolute;
right: 34px;
margin-top: -27px;
border: solid 1px #ddd;
border-top: solid 1px #ddd;
border-left: solid 1px #ddd;
border-right: solid 1px #ddd;
border-bottom: solid 1px white;
/*transition-duration: 0.1s;*/
min-width:10rem;
}

.copybtn:hover { background-color: rgba(255, 153, 0, 0.7); }

.copybtn:after, .copybutton:before { content: "Copy Text"; }
.copybtn:focus:after, .copybtn:active:after { content: "Copied"; }

.spoiler {
background-color: rgba(0,0,0,0.25);
color: transparent;
user-select: none;
border-radius: 25px;
}

.inlinecode {
background-color: rgba(0,0,0,0.1);
/*color: rgba(255, 153, 0, 0.9);*/
color: navajowhite;
padding:2px;
/*user-select: none;*/
border-radius: 3px;
}

/*
.spoiler:focus {
background-color: inherit;
color: inherit;
}
*/

.alt-bg {
background: #ebebeb;
width: 100%;
}

.tbl-ds {
background: #f5f5f5;
border: 1px dashed darkgrey;
width: 100%;
}

.tbl-alt {
background: #ebebeb;
/*border: 1px dashed darkgrey;*/
width: 100%;
}

.gruen {
/*background: #B8FF94;*/
. info
width: 100%;
}

.scriptable {
background: #7A7A7A;
}

#filetoc {
 background: rgba(155, 155, 155, 0.2);
 text-align: left;
}

table.wikitable.filehistory {
 margin-top: 1em;
 margin-bottom: 1em;
 background: transparent;
 border-collapse: separate;
 border-spacing: 2px 2px;
 border-color: transparent;
 width: 100%;
 color: rgba(255, 255, 255, 0.8);
}

table.wikitable.filehistory td {
  background: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  vertical-align: middle;
  text-align: center;
  padding: 5px;
}

table.wikitable.filehistory tr:hover {
  background: rgba(0, 0, 0, 0.1);
}

table.wikitable.filehistory th {
 background: #5bc0de;
 border-color: transparent;
 text-align:left;
 padding: 5px;
 color: rgba(0,0,0,0.7);
}

.oo-ui-dialog {
 color: #000000;
}

#slideshow { 
    margin: 0px 0px; 
    position: relative; 
    top: -7px;
    width: 100%;  
    padding: 0px; 
    /*box-shadow: 0 0 20px rgba(0,0,0,0.4);*/
}

#slideshow > div { 
    position: absolute; 
    top: 0px; 
    left: 0px; 
    right: 0px; 
    bottom: 0px; 
}

.thumbinner {
 background-image: url("/css/img/dark_content.png");
 border: 0px;
 padding: 5px;
 margin-bottom: 0; /* requested by einzelkämpfer */
}

.thumbcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px; /* requested by einzelkämpfer */
}

.mw-htmlform-submit {
 color: #000000;
}

legend {
 color: rgba(255, 153, 0, 0.9);
}

fieldset {
 border: 2px solid rgba(0,0,0,0.2);
}

kbd {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.1em 0.5em;
    margin: 0 0.2em;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
    background-color: #f7f7f7;
    color: #1a1a1a;
}

table.vy th {
  border: 2px solid rgba(0, 0, 0, 0.1);
  margin-top: 1em;
  margin-bottom: 1em;
  border-collapse: separate;
  border-spacing: 2px 2px;
  width: 100%;
  vertical-align: top;
  padding: 5px;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.2);
  text-align:left;
  color: rgba(255, 153, 0, 0.9);
}

/* social media icon bar */

/* Fixed/sticky icon bar (vertically aligned 50% from the top of the screen) */
.icon-bar {
  background-image: url("/css/img/dark_content.png");
  position: fixed;
  top: 53px;
  right: 0px;
  border-bottom-left-radius: 10px;
  -webkit-box-shadow: 2px 0px 4px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow:    2px 0px 4px 0px rgba(50, 50, 50, 0.5);
  box-shadow:         2px 0px 4px 0px rgba(50, 50, 50, 0.5);
}

/* Style the icon bar links */
.icon-bar a {
  display: absolute;
  text-align: center;
  padding: 10px;
  font-size: 25px;
}

.facebook { color:#ffffff !important; transition: all 0.3s ease; }

.facebook:hover { color: #4267B2 !important; }

.twitter { color: #ffffff !important; transition: all 0.3s ease; }

.twitter:hover { color: #1DA1F2 !important; }

.discord { color: #ffffff !important; transition: all 0.3s ease; }

.discord:hover { color: #5965f1 !important; }

/* footer section */

#footer-places a { color: rgba(255, 153, 0, 0.7) !important; }
#footer-places a:hover { color: rgba(255, 153, 0, 0.9) !important; }

/* syntaxhighlight */

.mw-highlight pre {
font-size: 90%;
background-color: white;
/*border: 1px solid black;*/
/*background: #272822;*/
/*color: #f8f8f2;*/
max-height: 500px;
}

/*
.lua .de1 {
	font-family: monospace;
	color: #fd971f;
	margin: 0 0 0 0;
}

.lua .kw1 { 
	color: #f92672;
	font-weight: bold;
}

.lua .co1, .lua .coMULTI { 
	color: #75715e;
	font-weight: normal;
}

.lua .nu0 { 
	color: #ae81ff;
}

.lua .sy0 { 
	color: #a6e22e;
}

.lua .st0 { 
	color: #e6db74;
}

.lua .br0 { 
	color: #f8f8f2;
}
*/