Difference between revisions of "MediaWiki:Common.css"
Line 480: | Line 480: | ||
text-decoration: none; | text-decoration: none; | ||
text-shadow: #2dbdff 0 0 8px !important; | text-shadow: #2dbdff 0 0 8px !important; | ||
+ | } | ||
+ | |||
+ | /**********************************/ | ||
+ | /* Hide the header on class pages */ | ||
+ | /**********************************/ | ||
+ | |||
+ | .page-Assassin #siteSub, | ||
+ | .page-Assassin #contentSub, | ||
+ | .page-Assassin .firstHeading, | ||
+ | .page-Assassin_800 #siteSub, | ||
+ | .page-Assassin_800 #contentSub, | ||
+ | .page-Assassin_800 .firstHeading, | ||
+ | .page-Assassin_650 #siteSub, | ||
+ | .page-Assassin_650 #contentSub, | ||
+ | .page-Assassin_650 .firstHeading, | ||
+ | .page-Assassin_480 #siteSub, | ||
+ | .page-Assassin_480 #contentSub, | ||
+ | .page-Assassin_480 .firstHeading { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | .patrollink { | ||
+ | font-size: 75%; | ||
+ | text-align: right; | ||
+ | position: absolute; | ||
+ | top: 1.5em; | ||
+ | right: 3em; | ||
+ | } | ||
+ | |||
+ | .allpagesredirect { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | .allpagesredirect:after { | ||
+ | content: " (redirect)"; | ||
+ | } | ||
+ | |||
+ | .hiddenStructure { | ||
+ | display: none; | ||
+ | speak: none; | ||
} | } |
Revision as of 16:52, 26 January 2018
/************************/ /* Define Infobox Style */ /************************/ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } /*******************************/ /* Hide the header on mainpage */ /*******************************/ .page-Main_Page #siteSub, .page-Main_Page #contentSub, .page-Main_Page .firstHeading, .page-Main_Page_800 #siteSub, .page-Main_Page_800 #contentSub, .page-Main_Page_800 .firstHeading, .page-Main_Page_650 #siteSub, .page-Main_Page_650 #contentSub, .page-Main_Page_650 .firstHeading, .page-Main_Page_480 #siteSub, .page-Main_Page_480 #contentSub, .page-Main_Page_480 .firstHeading { display: none !important; } .patrollink { font-size: 75%; text-align: right; position: absolute; top: 1.5em; right: 3em; } .allpagesredirect { font-style: italic; } .allpagesredirect:after { content: " (redirect)"; } .hiddenStructure { display: none; speak: none; } /**********************/ /* Slide-In Animation */ /** Used for Classes **/ /**********************/ #slide2 { position: relative; left: -125px; width: 330px; -webkit-animation: slide 1s forwards; -webkit-animation-delay: 0s; animation: slide 1s forwards; animation-delay: 0.1s; } @-webkit-keyframes slide { 100% { left: 0; } } @keyframes slide { 100% { left: 0; } } /* Slide-In From the Right */ #slide3 { position: relative; left: 125px; width: 330px; -webkit-animation: slide 1s forwards; -webkit-animation-delay: 0s; animation: slide 1s forwards; animation-delay: 0.1s; } @-webkit-keyframes slide { 100% { right: 0; } } @keyframes slide { 100% { right: 0; } } /**********************/ /* Slide-In Animation */ /* Used for Item TTs **/ /**********************/ #slide { position: absolute; left: -125px; width: 330px; -webkit-animation: slide 0.5s forwards; -webkit-animation-delay: 0s; animation: slide 0.5s forwards; animation-delay: 0.1s; } @-webkit-keyframes slide { 100% { left: 0; } } @keyframes slide { 100% { left: 0; } } /**********************/ /* Define the Fade2 ID */ /* Requires <p> tag.. */ /**********************/ #fadein2 p { -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; } } /**********************/ /* Define the Fade ID */ /* Requires <p> tag.. */ /**********************/ #fadein p { -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */ -moz-animation: fadein 1s; /* Firefox < 16 */ -ms-animation: fadein 1s; /* Internet Explorer */ -o-animation: fadein 1s; /* Opera < 12.1 */ animation: fadein 1s; } @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; } } /************************/ /* Adding a custom font */ /************************/ @font-face { font-family: "Procopius"; src: url('/Procopius.ttf'); } *************************/ /*** 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%; } .tt1 .tt2 { position: absolute; display: none; width: 500px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 0px solid #000000; box-shadow: 0px 0px 0px #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: 350px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 0px solid #000000; box-shadow: 0px 0px 0px #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: 300px; margin-left: 0px; padding-left: 0px; padding-right: 0px; border: 0px solid #000000; box-shadow: 0px 0px 0px #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; } /************************/ /*** TEST TOOLTIPS *****/ /************************/ .tool1 { position: relative; color: #3a705e; } /* static part of the tooltip style */ .tool2 { font-size: 85%; background-color: white; } .tool1 .tool2 { position: absolute; display: none; width: 150px; margin-left: 2px; padding-left: 2px; padding-right: 2px; border: 1px solid #000000; box-shadow: 3px 3px 3px #000000; } .tool2-l { top: 0; left: 70px; } .tool2-fix { top: 0; right: 70px; } .tool2-b { bottom: -65px; left: 70px; } .tool2-b-fix { bottom: -65px; right: 70px; } .tool1:hover .tool2 { display: block; z-index: 1000; } /*********************/ /*** LINK HOVERING ***/ /*********************/ /*UNVISITED LINKS */ a, .color2 a { color: #388aaf; } a: hover, .color2 a:hover { /* VISITED LINKS */ color: #2081ad; text-decoration: none; text-shadow: #2dbdff 0 0 8px; } a: visited, .color2 a:visited { color: #2081ad; text-decoration: none; } a: visited: hover, .color2 a:visited:hover { /* NEW LINKS */ color: #388aaf; text-decoration: none; text-shadow: #2dbdff 0 0 8px; } a.new { color: #871611 !important; } a.new: hover, .color2 a.new:hover { color: #388aaf!important; text-decoration: none; text-shadow: #2dbdff 0 0 8px !important; } /**********************************/ /* Hide the header on class pages */ /**********************************/ .page-Assassin #siteSub, .page-Assassin #contentSub, .page-Assassin .firstHeading, .page-Assassin_800 #siteSub, .page-Assassin_800 #contentSub, .page-Assassin_800 .firstHeading, .page-Assassin_650 #siteSub, .page-Assassin_650 #contentSub, .page-Assassin_650 .firstHeading, .page-Assassin_480 #siteSub, .page-Assassin_480 #contentSub, .page-Assassin_480 .firstHeading { display: none !important; } .patrollink { font-size: 75%; text-align: right; position: absolute; top: 1.5em; right: 3em; } .allpagesredirect { font-style: italic; } .allpagesredirect:after { content: " (redirect)"; } .hiddenStructure { display: none; speak: none; }