Difference between revisions of "MediaWiki:Common.css"
Line 1: | Line 1: | ||
− | /************************/ | + | ************************/ |
+ | /*** Make stuff fade ***/ | ||
+ | /***********************/ | ||
+ | |||
+ | #fadein p { | ||
+ | margin-top: 25px; | ||
+ | font-size: 21px; | ||
+ | text-align: center; | ||
+ | |||
+ | -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */ | ||
+ | -moz-animation: fadein 2s; /* Firefox < 16 */ | ||
+ | -ms-animation: fadein 2s; /* Internet Explorer */ | ||
+ | -o-animation: fadein 2s; /* Opera < 12.1 */ | ||
+ | animation: fadein 2s; | ||
+ | } | ||
+ | |||
+ | @keyframes fadein { | ||
+ | from { opacity: 0; } | ||
+ | to { opacity: 1; } | ||
+ | } | ||
+ | |||
+ | /* Firefox < 16 */ | ||
+ | @-moz-keyframes fadein { | ||
+ | from { opacity: 0; } | ||
+ | to { opacity: 1; } | ||
+ | } | ||
+ | |||
+ | /* Safari, Chrome and Opera > 12.1 */ | ||
+ | @-webkit-keyframes fadein { | ||
+ | from { opacity: 0; } | ||
+ | to { opacity: 1; } | ||
+ | } | ||
+ | |||
+ | /* Internet Explorer */ | ||
+ | @-ms-keyframes fadein { | ||
+ | from { opacity: 0; } | ||
+ | to { opacity: 1; } | ||
+ | } | ||
+ | |||
+ | /* Opera < 12.1 */ | ||
+ | @-o-keyframes fadein { | ||
+ | from { opacity: 0; } | ||
+ | to { opacity: 1; } | ||
+ | } | ||
+ | |||
+ | ************************/ | ||
/*** Map Marking Code ***/ | /*** Map Marking Code ***/ | ||
/************************/ | /************************/ |
Revision as of 21:18, 2 October 2017
************************/ /*** Make stuff fade ***/ /***********************/ #fadein p { margin-top: 25px; font-size: 21px; text-align: center; -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */ -moz-animation: fadein 2s; /* Firefox < 16 */ -ms-animation: fadein 2s; /* Internet Explorer */ -o-animation: fadein 2s; /* Opera < 12.1 */ animation: fadein 2s; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Firefox < 16 */ @-moz-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Safari, Chrome and Opera > 12.1 */ @-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Internet Explorer */ @-ms-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Opera < 12.1 */ @-o-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } ************************/ /*** Map Marking Code ***/ /************************/ .mapmark {position: relative; width: 500px; height: 350px;} .wrap { white-space: pre-wrap; } /************************/ /*** MAP TOOLTIPS ******/ /************************/ .tt1 { position: relative; color: #3a705e; } /* static part of the tooltip style */ .tt2 { font-size: 85%; <!-- background: -moz-linear-gradient(left, rgba(45,44,69,1) 0%, rgba(79,113,179,1) 50%, rgba(45,44,69,1) 100%); background: -webkit-gradient(left top, right top, color-stop(0%, rgba(45,44,69,1)), color-stop(50%, rgba(79,113,179,1)), color-stop(100%, rgba(45,44,69,1))); background: -webkit-linear-gradient(left, rgba(45,44,69,1) 0%, rgba(79,113,179,1) 50%, rgba(45,44,69,1) 100%); background: linear-gradient(to right, rgba(45,44,69,1) 0%, rgba(79,113,179,1) 50%, rgba(45,44,69,1) 100%); --> } .tt1 .tt2 { position: absolute; display: none; width: 500px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 3px solid #000000; box-shadow: 3px 3px 6px #000000; } .tt2-l { top: 0; left: 70px; } .tt2-fix { top: 0; right: 70px; } .tt2-b { bottom: -65px; left: 70px; } .tt2-b-fix { bottom: -65px; right: 70px; } .tt1:hover .tt2 { display: block; z-index: 1000; } ************************/ /*** ITEM TOOL TIPS ***/ /***********************/ .item1 { position: relative; color: #576da8; } /* static part of the tooltip style */ .item2 { font-size: 100%; } .item1 .item2 { position: absolute; display: none; width: 250px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 0px solid #000000; box-shadow: 3px 3px 6px #000000; } .item2-l { top: 0; left: 70px; } .item2-fix { top: 0; right: 70px; } .item2-b { bottom: -65px; left: 70px; } .item2-b-fix { bottom: -65px; right: 70px; } .item1:hover .item2 { display: block; z-index: 1000; } ************************/ /** POWER TOOL TIPS ***/ /***********************/ .pow1 { position: relative; color: #576da8; } /* static part of the tooltip style */ .pow2 { font-size: 100%; } .pow1 .pow2 { position: absolute; display: none; width: 175px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 3px solid #000000; box-shadow: 3px 3px 6px #000000; } .pow2-l { top: 0; left: 70px; } .pow2-fix { top: 0; right: 70px; } .pow2-b { bottom: -65px; left: 70px; } .pow2-b-fix { bottom: -65px; right: 70px; } .pow1:hover .pow2 { display: block; z-index: 1000; }