MediaWiki:Common.css: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/*h1 { font-size: 2em; }*/
/*h2 { font-size: 2em; }*/
/*h3 { font-size: 2em; }*/
/*h4 { font-size: 2em; }*/
/*h5 { font-size: 2em; }*/
/*h6 { font-size: 2em; }*/
/* {font-size:15px}*/
/* {font-family:Georgia}*/
/* {text-align:center }*/


/*
/*
Line 44: Line 33:
             }
             }


             /*.dropWrap:hover .back {
             .dropWrap:hover .back {
                z-index: 2;
                display: block;
            }*/
           
            .dropWrap:active .back {
                z-index: 2;
                display: block;
            }
           
                        .dropWrap:focus .back {
                 z-index: 2;
                 z-index: 2;
                 display: block;
                 display: block;
             }
             }

Revision as of 16:41, 23 October 2015

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

			/*
			
			Dropping menus on hover.
			
			*/
			
			.dropWrap
            {
                padding: 5px;
            }

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

            .dropWrap .back {
                z-index: 0;
                position: inherit;
                width: inherit;
                height: inherit;
                display: none;
                transition: all 0.5s ease-in-out;
            }

            .dropWrap:hover .back {
                z-index: 2;
                display: block;
            }