MediaWiki:Common.css: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/*
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
Dropping menus on hover.
*/
.dropWrap
            {
                padding: 5px;
            }


            .dropWrap .front{
.navbox-title
                z-index: 1;
{
                position: inherit;
width: 100%;
                width: inherit;
min-width:100%;
                height:34px;
}
                text-align:center;
                vertical-align: middle;
                font-weight: bold;
                font-size: large;
                transition: all 0.5s ease;
            }


            .dropWrap .back {
body, body #mw-page-base {
                z-index: 0;
background: url( https://wiki.massivecraft.com/images/e/ee/Bg3.png);
                position: inherit;
background-repeat: no-repeat;
                width: inherit;
}
                height: inherit;
                display: none;
                transition: all 0.5s ease-in-out;
            }


            .dropWrap:hover .back {
#simpleSearch input {
                z-index: 2;
    background-color: #ffffff;
                display: block;
}
            }
/*
* Surprise


 
.scroll-table table {
h1, h2, h3, h4, .mw-content-text {
max-width: 100%;
  animation: shake 100s cubic-bezier(.36,.07,.19,.97) both;
overflow: hidden;
  transform: translate3d(0, 0, 0);
display: block;
  backface-visibility: hidden;
overflow-x: auto;
  perspective: 1000px;
white-space: nowrap;
  animation-duration: 1s;
  animation-iteration-count: 25;
}
}


@keyframes shake {
.eighty-width img {
  10%, 90% {
     width: 80%;
     transform: translate3d(-1px, 0, 0);
     height: auto;
  }
 
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
 
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
 
  40%, 60% {
     transform: translate3d(4px, 0, 0);
  }
}
}
*/
@-webkit-keyframes shakeme {
0% { transform: translate(2px, 1px) rotate(0deg); }
10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
h1:hover, h2:hover, h3:hover, h4:hover, .infobox:hover, .navbox:hover, p:hover, .toc:hover, img:hover {
-webkit-animation-name: shakeme;
-webkit-animation-duration: 0.8s;
-webkit-transform-origin:50% 50%;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease;
}

Revision as of 22:46, 4 July 2022

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

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.navbox-title
{
	width: 100%;
	min-width:100%;
}

body, body #mw-page-base {
	background: url( https://wiki.massivecraft.com/images/e/ee/Bg3.png);
	background-repeat: no-repeat;
}

#simpleSearch input {
    background-color: #ffffff;
}

.scroll-table table {
	max-width: 100%;
	overflow: hidden;
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}

.eighty-width img {
    width: 80%;
    height: auto;
}