MediaWiki:Common.css: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(183 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;
body, body #mw-page-base {
                font-weight: bold;
background: url(https://wiki.massivecraft.com/images/e/ee/Bg3.png);
                font-size: large;
background-repeat: no-repeat;
                transition: all 0.5s ease;
}
            }
 
#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;
}
 
.fifty-width-left img {
    width: 50%;
    height: auto;
    float: left;
}
 
.fifty-width-right img {
    width: 50%;
    height: auto;
    float: right;
}
 
.twenty-five-width-left img {
    width: 25%;
    height: auto;
    float: left;
}
 
.twenty-five-width-right img {
    width: 25%;
    height: auto;
    float: right;
}
 
.topbanner img {
    max-width: 100%;
    height: auto;
}
 
.topbanner-var img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    padding-bottom: 20px;
}


            .dropWrap .back {
.proficiency {
                z-index: 0;
flex-flow: row wrap;
                position: inherit;
}
                width: inherit;
 
                height: inherit;
.proficiency h2 {
                display: none;
border: none;
                transition: all 0.5s ease-in-out;
}
            }


            .dropWrap:hover .back {
.proficiency ul {
                z-index: 2;
    columns: 3;
                display: block;
    width: 600px;
            }
}
/*
* Surprise


.proficiency li {
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    border: 2px solid;
}


h1, h2, h3, h4, .mw-content-text {
.button-contain {
  animation: shake 100s cubic-bezier(.36,.07,.19,.97) both;
font-size:160%;
  transform: translate3d(0, 0, 0);
padding-left: 10px;
  backface-visibility: hidden;
padding-right: 10px;
  perspective: 1000px;
  animation-duration: 1s;
  animation-iteration-count: 25;
}
}


@keyframes shake {
.infobox {
  10%, 90% {
border: 1px solid #C9D8CC;
    transform: translate3d(-1px, 0, 0);
border-spacing: 0;
  }
}
 
  20%, 80% {
#bodyContent .plainlinks a {
    transform: translate3d(2px, 0, 0);
background: none !important;
  }
padding: 0 !important;
color: #002bb8 !important;
}


  30%, 50%, 70% {
table.testtable {
    transform: translate3d(-4px, 0, 0);
    background-image:url('https://wiki.massivecraft.com/images/2/2c/Altalook.png');
  }
}


  40%, 60% {
/* {{pp|small=yes}} */
    transform: translate3d(4px, 0, 0);
.div-col {
  }
margin-top: 0.3em;
column-width: 40em;
column-rule: 1px solid #aaa;
}
}
*/


@-webkit-keyframes shakeme {
/* Reset top margin for lists in div col */
0% { transform: translate(2px, 1px) rotate(0deg); }
.div-col dl,
10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
.div-col ol,
20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
.div-col ul {
30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
margin-top: 0;
40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
}
50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
 
60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
/* Avoid elements breaking between columns
70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
  See also Template:No col break */
80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
.div-col li,
90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
.div-col dd {
100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
}
break-inside: avoid-column;
h1:hover, h2:hover, h3:hover, h4:hover, .infobox:hover, .navbox:hover, p:hover {
}
-webkit-animation-name: shakeme;
 
-webkit-animation-duration: 0.8s;
/* {{pp|small=yes}} */
-webkit-transform-origin:50% 50%;
.div-col-rel {
-webkit-animation-iteration-count: infinite;
margin-top: 0.3em;
-webkit-animation-timing-function: ease;
column-width: 40em;
}
column-rule: 1px solid #aaa;
}
 
/* Reset top margin for lists in div col */
.div-col-rel dl,
.div-col-rel ol,
.div-col-rel ul {
margin-top: 0;
}
 
/* Avoid elements breaking between columns
  See also Template:No col break */
.div-col-rel li,
.div-col-rel dd {
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
break-inside: avoid-column;
}

Latest revision as of 11:53, 27 September 2023

/* 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;
}

.fifty-width-left img {
    width: 50%;
    height: auto;
    float: left;
}

.fifty-width-right img {
    width: 50%;
    height: auto;
    float: right;
}

.twenty-five-width-left img {
    width: 25%;
    height: auto;
    float: left;
}

.twenty-five-width-right img {
    width: 25%;
    height: auto;
    float: right;
}

.topbanner img {
    max-width: 100%;
    height: auto;
}

.topbanner-var img {
    max-width: 100%;
    height: auto;
    border-radius: 25px;
    padding-bottom: 20px;
}

.proficiency {
	flex-flow: row wrap;
}

.proficiency h2 {
	border: none;
}

.proficiency ul {
    columns: 3;
    width: 600px;
}

.proficiency li {
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    border: 2px solid;
}

.button-contain {
	font-size:160%;
	padding-left: 10px;
	padding-right: 10px;
}

.infobox {
	border: 1px solid #C9D8CC;
	border-spacing: 0;
}
	
#bodyContent .plainlinks a {
	background: none !important;
	padding: 0 !important;
	color: #002bb8 !important;
}

table.testtable {
     background-image:url('https://wiki.massivecraft.com/images/2/2c/Altalook.png');
}

/* {{pp|small=yes}} */
.div-col {
	margin-top: 0.3em;
	column-width: 40em;
	column-rule: 1px solid #aaa;
}

/* Reset top margin for lists in div col */
.div-col dl,
.div-col ol,
.div-col ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns
   See also Template:No col break */
.div-col li,
.div-col dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}

/* {{pp|small=yes}} */
.div-col-rel {
	margin-top: 0.3em;
	column-width: 40em;
	column-rule: 1px solid #aaa;
}

/* Reset top margin for lists in div col */
.div-col-rel dl,
.div-col-rel ol,
.div-col-rel ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns
   See also Template:No col break */
.div-col-rel li,
.div-col-rel dd {
	page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
	break-inside: avoid-column;
}