Difference between revisions of "MediaWiki:Common.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 292: Line 292:
 
/* tooltips */
 
/* tooltips */
  
.tooltip {
+
/*tooltip Box*/
 +
.con-tooltip {
 +
 
 
   position: relative;
 
   position: relative;
 +
  background: #F2D1C9;
 +
 
 +
  border-radius: 9px;
 +
  padding: 0 20px;
 +
  margin: 10px;
 +
 
 
   display: inline-block;
 
   display: inline-block;
   border-bottom: 1px dotted black;
+
    
 +
  transition: all 0.3s ease-in-out;
 +
  cursor: default;
 +
 
 
}
 
}
  
.tip-r .tooltiptext {
+
/*tooltip */
 +
.tooltip {
 
   visibility: hidden;
 
   visibility: hidden;
   width: 120px;
+
   z-index: 1;
   background-color: #555;
+
   opacity: .40;
   color: #fff;
+
    
   text-align: center;
+
  width: 100%;
   border-radius: 6px;
+
   padding: 0px 20px;
   padding: 5px 0;
+
 
 +
   background: #333;
 +
   color: #E086D3;
 +
 
 
   position: absolute;
 
   position: absolute;
   z-index: 1;
+
   top:-140%;
   bottom: 125%;
+
   left: -25%;
   left: 50%;
+
    
   margin-left: -60px;
+
 
   opacity: 0;
+
  border-radius: 9px;
   transition: opacity 0.3s;
+
   font: 16px;
 +
 
 +
   transform: translateY(9px);
 +
   transition: all 0.3s ease-in-out;
 +
 
 +
  box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
 
}
 
}
  
.tip-r .tooltiptext::after {
+
 
   content: "";
+
/* tooltip  after*/
 +
.tooltip::after {
 +
   content: " ";
 +
  width: 0;
 +
  height: 0;
 +
 
 +
  border-style: solid;
 +
  border-width: 12px 12.5px 0 12.5px;
 +
  border-color: #333 transparent transparent transparent;
 +
 
 
   position: absolute;
 
   position: absolute;
  top: 100%;
+
   left: 40%;
   left: 50%;
+
 
  margin-left: -5px;
 
  border-width: 5px;
 
  border-style: solid;
 
  border-color: #555 transparent transparent transparent;
 
 
}
 
}
  
.tip-r:hover .tooltiptext {
+
.con-tooltip:hover .tooltip{
 
   visibility: visible;
 
   visibility: visible;
 +
  transform: translateY(-10px);
 
   opacity: 1;
 
   opacity: 1;
 +
    transition: .3s linear;
 +
  animation: odsoky 1s ease-in-out infinite  alternate;
 +
 +
}
 +
@keyframes odsoky {
 +
  0%{
 +
    transform: translateY(6px);
 +
  }
 +
 +
  100%{
 +
    transform: translateY(1px);
 +
  }
 +
 +
}
 +
 +
/*hover ToolTip*/
 +
.left:hover {transform: translateX(-6px); }
 +
.top:hover {transform: translateY(-6px);  }
 +
.bottom:hover {transform: translateY(6px);}
 +
.right:hover {transform: translateX(6px); }
 +
 +
 +
 +
/*left*/
 +
 +
.left .tooltip{ top:-20%; left:-170%; }
 +
 +
.left .tooltip::after{
 +
  top:40%;
 +
  left:90%;
 +
  transform: rotate(-90deg);
 +
}
 +
 +
 +
 +
 +
/*bottom*/
 +
 +
.bottom .tooltip { top:115%; left:-20%; }
 +
 +
.bottom .tooltip::after{
 +
  top:-17%;
 +
  left:40%;
 +
  transform: rotate(180deg);
 +
}
 +
 +
 +
 +
/*right*/
 +
 +
.right .tooltip { top:-20%; left:115%; }
 +
 +
.right .tooltip::after{
 +
  top:40%;
 +
  left:-12%;
 +
  transform: rotate(90deg);
 
}
 
}

Revision as of 14:17, 6 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-highlight pre {
font-size: 90%;
background-color: white;
max-height: 500px;
}

.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);
padding-left: 5px;
padding-right: 5px;
color: rgba(255, 153, 0, 0.9);
/*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;
}

.thumbcaption {
  color: rgba(255, 255, 255, 0.8);
}

.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; }

/* tooltips */

/*tooltip Box*/
.con-tooltip {

  position: relative;
  background: #F2D1C9;
  
  border-radius: 9px;
  padding: 0 20px;
  margin: 10px;
  
  display: inline-block;
  
  transition: all 0.3s ease-in-out;
  cursor: default;

}

/*tooltip */
.tooltip {
  visibility: hidden;
  z-index: 1;
  opacity: .40;
  
  width: 100%;
  padding: 0px 20px;

  background: #333;
  color: #E086D3;
  
  position: absolute;
  top:-140%;
  left: -25%;
  

  border-radius: 9px;
  font: 16px;

  transform: translateY(9px);
  transition: all 0.3s ease-in-out;
  
  box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
}


/* tooltip  after*/
.tooltip::after {
  content: " ";
  width: 0;
  height: 0;
  
  border-style: solid;
  border-width: 12px 12.5px 0 12.5px;
  border-color: #333 transparent transparent transparent;

  position: absolute;
  left: 40%;

}

.con-tooltip:hover .tooltip{
  visibility: visible;
  transform: translateY(-10px);
  opacity: 1;
    transition: .3s linear;
  animation: odsoky 1s ease-in-out infinite  alternate;

}
@keyframes odsoky {
  0%{
    transform: translateY(6px); 
  }

  100%{
    transform: translateY(1px); 
  }

}

/*hover ToolTip*/
.left:hover {transform: translateX(-6px); }
.top:hover {transform: translateY(-6px);  }
.bottom:hover {transform: translateY(6px);}
.right:hover {transform: translateX(6px); }



/*left*/

.left .tooltip{ top:-20%; left:-170%; }

.left .tooltip::after{
  top:40%;
  left:90%;
  transform: rotate(-90deg);
}




/*bottom*/

.bottom .tooltip { top:115%; left:-20%; }

.bottom .tooltip::after{
  top:-17%;
  left:40%;
  transform: rotate(180deg);
}



/*right*/

.right .tooltip { top:-20%; left:115%; }

.right .tooltip::after{
  top:40%;
  left:-12%;
  transform: rotate(90deg);
}