Difference between revisions of "MediaWiki:Common.css"
From Starsonata Wiki
m |
m |
||
Line 4: | Line 4: | ||
display: block; | display: block; | ||
overflow: hidden; | overflow: hidden; | ||
+ | position:relative; | ||
-webkit-transition: all .3s ease; | -webkit-transition: all .3s ease; | ||
-moz-transition: all .3s ease; | -moz-transition: all .3s ease; | ||
Line 18: | Line 19: | ||
.toc #toctitle { | .toc #toctitle { | ||
position:absolute; | position:absolute; | ||
− | left: | + | left:0px; |
top:10px; | top:10px; | ||
width:100%; | width:100%; | ||
Line 36: | Line 37: | ||
height:25px; | height:25px; | ||
overflow:hidden; | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | .toc ul { | ||
+ | margin-top: 30px; | ||
+ | opacity:1; | ||
+ | visibility:visible; | ||
+ | } | ||
+ | |||
+ | .tochidden ul { | ||
+ | margin-top: 0px; | ||
+ | opacity:0; | ||
+ | visibility:hidden; | ||
} | } | ||
Revision as of 21:12, 29 October 2014
.toc { height: 140px; width: 250px; display: block; overflow: hidden; position:relative; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; } .toc:hover { height:400px; overflow-y:scroll; } .toc #toctitle { position:absolute; left:0px; top:10px; width:100%; border-bottom:1px solid #fff; } .tochidden { width:110px; height:25px; box-shadow: 0px 0px 3px 3px #ff4500; border: 1px solid #ff4500; overflow:hidden; } .tochidden:hover { width:110px; height:25px; overflow:hidden; } .toc ul { margin-top: 30px; opacity:1; visibility:visible; } .tochidden ul { margin-top: 0px; opacity:0; visibility:hidden; } .editsection, #bodyContent a.external, #p-captions ul li a { margin-left: 5px!important; color: #fff!important; background: rgba(0,0,0,0.6)!important; border-radius: 5px!important; padding: 2px!important; margin: 0px!important; top: -1px!important; left: -1px!important; position: relative!important; box-shadow: 1px 1px 1px 1px #000!important; } .editsection:hover, #bodyContent a.external:hover, #p-captions ul li a:hover { color: #7af5ff!important; top:0px!important; left:0px!important; -webkit-transition:all .3s!important; transition:all .3s!important; box-shadow: 0px 0px 3px 3px #7af5ff!important; } #p-captions li.selected ul a { color: #7af5ff!important; background-color:rgba(255,255,255,0.2)!important; top:0px!important; left:0px!important; box-shadow: 0px 0px 3px 3px #7af5ff!important; } .editsection a { color:#fff; } .editsection a:hover { color:#7af5ff; } #bodyContent a.external:visited { color:#ffaf31; } #content { background-color: rgba(255, 255, 255, 0.1)!important; margin-right:20px!important; } table { font-size: 100%; border: 0px; border-radius: 5px; padding: 5px; margin: 5px; background: rgba(0,0,0,0.6); border-color: #7af5ff; box-shadow: 0px 0px 3px 3px #7af5ff; } #mainpage table { font-size: 100%; border: 0px; border-radius: 0px; padding: 0px; margin: 0px; background: rgba(0,0,0,0); border-color: #000; box-shadow: 0px 0px 0px 0px #000; } table.navbox { font-size: 100%; border: 0px; border-radius: 0px; padding: 0px; margin: 0px; background: rgba(0,0,0,0); border-color: none; box-shadow: 0px 0px 0px 0px #000; } table.navbox { float:left; width:80%!important; } #mainpage table.navbox { float:none; width:100%!important; } mw-content-ltr table tbody tr td b, mw-content-ltr table td.navbox-group, table td.navbox-list { color: #ffaf31!important; } body h2 { font-size: 2em; } .wikitable th, .wikitable td { border: 1px #aaa solid; border-collapse: collapse; padding: 0.2em; top: -1px; left: -1px; position: relative; /*box-shadow:1px 1px 1px 1px #000;*/ overflow:hidden!important; } .wikitable th:hover, .wikitable td:hover { border: 1px #aaa solid; padding: 0.2em; top: 0px; left: 0px; position: relative; -webkit-transition:all .3s; transition:all .3s!important; background: rgba(255,255,255,0.2); box-shadow: 0px 0px 3px 3px #ffaf31; } .cloakbox table, .shipbox table { margin-right:20px!important; } .shipbox table td img { height:100%; width:auto; } .missionbox table { font-size: 100%; border: 0px; border-radius: 5px; padding: 5px; margin: 5px; background: rgba(0,0,0,0.6); border-color: #7af5ff; box-shadow: 0px 0px 3px 3px #7af5ff; float: none; width: 700px; } .missionbox .missionhover { height:100px; overflow:hidden; padding:20px; -webkit-box-shadow:inset 0 1px 10px 1px rgba(155,155,155,1); box-shadow:inset 0 1px 10px 1px rgba(155,155,155,1); -webkit-transition: all .3s ease!important; -moz-transition: all .3s ease!important; -ms-transition: all .3s ease!important; -o-transition: all .3s ease!important; transition: all .3s ease!important; } .missionbox .missionhover:hover { height:300px; box-shadow:none; overflow-y:scroll; } .blueprintbox table { float:none!important; } #mainpageannouncment h6 { border-radius:5px; font-size:22px; padding:15px; margin:5px; margin-left: 5px; color: #fff; background: rgba(0,0,0,0.6); position: relative; box-shadow: 1px 1px 1px 1px #000; line-height:30px; }