Welcome to the Imperial Archives! The main source of information in the Galactic Empire. Be sure to check out the Editing Protocol before making new pages or editing articles. If you need help feel free to contact the Archives manager at archives@swc-empire.com !
Difference between revisions of "User:Mordus Nordstroem/common.css"
From Imperial Archives
m (fix vectorTabs white line & improve vectorTabs bottom) |
m (fix dropdown menu & other things) |
||
Line 55: | Line 55: | ||
color:#fff; | color:#fff; | ||
} | } | ||
− | pre, .mw-code { | + | pre, code, .mw-code { |
background-color:#464646; | background-color:#464646; | ||
color:#fff; | color:#fff; | ||
Line 144: | Line 144: | ||
border-color: #669; | border-color: #669; | ||
border-bottom:1px dotted #669; | border-bottom:1px dotted #669; | ||
+ | border-top-left-radius:10px; | ||
+ | border-top-right-radius:10px; | ||
padding: 0px; | padding: 0px; | ||
} | } | ||
Line 160: | Line 162: | ||
margin-top: 1em; | margin-top: 1em; | ||
clear: both; | clear: both; | ||
+ | } | ||
+ | div.vectorMenu div.menu { | ||
+ | min-width: 100%; | ||
+ | position: absolute; | ||
+ | top: 2.5em; | ||
+ | left: -1px; | ||
+ | background-color: 353535; | ||
+ | border: solid 1px #669; | ||
+ | border-top-width: 0; | ||
+ | clear: both; | ||
+ | text-align: left; | ||
+ | display: none; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | div#simpleSearch { | ||
+ | display: block; | ||
+ | width: 12.6em; | ||
+ | width: 20vw; | ||
+ | min-width: 5em; | ||
+ | max-width: 20em; | ||
+ | padding-right: 1.4em; | ||
+ | height: 1.4em; | ||
+ | margin-top: 0.65em; | ||
+ | position: relative; | ||
+ | min-height: 1px; | ||
+ | border: none; | ||
+ | color: #aaa; | ||
+ | background-color: transparent; | ||
+ | background-image: none; | ||
+ | background-position: top left; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | div#simpleSearch input { | ||
+ | border: 3px solid #669; | ||
+ | padding: 0; | ||
+ | border-radius: 10px; | ||
+ | background: #353535; | ||
+ | color: #aaa; | ||
+ | } | ||
+ | div.vectorMenu div.menu { | ||
+ | min-width: 100%; | ||
+ | position: absolute; | ||
+ | top: 2.5em; | ||
+ | left: -1px; | ||
+ | background-color: #353535; | ||
+ | border: solid 1px #669; | ||
+ | border-top-width: 0; | ||
+ | clear: both; | ||
+ | text-align: left; | ||
+ | display: none; | ||
+ | z-index: 1; | ||
} | } |
Revision as of 02:15, 8 May 2025
body { background: url('https://www.swc-empire.com/assets/gfx/template/bg-picture.jpg') no-repeat fixed, #000; background-size: cover; color: #ddd; font-family: 'Saira', Lato, Verdana, Arial, sans-serif; font-size: 14pt; font-weight: 300; line-height: 1; } a, a:active, a:link, a:visited { color: #669; text-decoration: none; } h1, h2, h3, h4 { font-family: Orbitron, Arial, sans-serif; padding-top: 10px; color:#fff; text-shadow: 1px 1px 2px #000; } h1 { border-bottom: 1px solid #669; } #toc, .toc { background-color:#353535; border-color:#aaa; } h3, h4 { font-size: smaller; font-variant: normal; } strong, b { font-weight: 500; } em, i { font-style: italic; } p { text-align: justify; margin-bottom: 10px; line-height: 1.3; font-size: 13pt; } #mw-page-base { background-image:none; background-color:transparent; } #mw-body { color:#fff; } pre, code, .mw-code { background-color:#464646; color:#fff; } #mw-panel { border-top: 2px solid #ddd; border-bottom: 1px solid #ddd; background-color: #242424; padding-bottom: 2px; color:#fff; } .editOptions { background-color:#353535; } .portal h3 { border-style: solid; border-width: 2px; border-color: #669; padding: 2px; color: #fff; text-align: center; font-family: Orbitron, sans-serif; font-size: 12pt; padding: 2px; cursor: pointer; transition: 1s ease; text-shadow: 1px 1px 2px #000; } .portal h2 { border-style: solid; border-width: 2px; border-color: #669; text-align: center; font-family: Orbitron, sans-serif; font-size: 12pt; padding: 2px; cursor: pointer; transition: 1s ease; } .portal a { color: #fff; text-decoration: none; } #mw-panel ul a { display: block; color: #ddd; list-style-type: "-"; } #content { border-style: solid; border-width: 2px; border-color: #669; padding: 2px; background-color: #242424; color:#fff; } div.vectorTabs { float: left; height: 2.5em; background-image: none; background-position: bottom left; background-repeat: no-repeat; padding-left: 1px; } div#mw-head div.vectorMenu h3 { float: left; background-image: none; background-repeat: no-repeat; background-position: bottom right; font-size: 1em; height: 2.5em; padding-right: 1px; margin-right: -1px; } div.vectorTabs span { display: inline-block; background-image: none; } div.vectorTabs ul { background-image: none; } div.vectorTabs ul li { background-color:#242424; background-image:none; border-style: solid; border-width: 1px; border-color: #669; border-bottom:1px dotted #669; border-top-left-radius:10px; border-top-right-radius:10px; padding: 0px; } div.vectorTabs li.selected { background-image:none; background-color:#669 } #pagehistory li.selected { background-color: #464646; border: 1px dashed #aaa; } .catlinks { border: 1px solid #aaa; background-color: #343434; padding: 5px; margin-top: 1em; clear: both; } div.vectorMenu div.menu { min-width: 100%; position: absolute; top: 2.5em; left: -1px; background-color: 353535; border: solid 1px #669; border-top-width: 0; clear: both; text-align: left; display: none; z-index: 1; } div#simpleSearch { display: block; width: 12.6em; width: 20vw; min-width: 5em; max-width: 20em; padding-right: 1.4em; height: 1.4em; margin-top: 0.65em; position: relative; min-height: 1px; border: none; color: #aaa; background-color: transparent; background-image: none; background-position: top left; background-repeat: repeat-x; } div#simpleSearch input { border: 3px solid #669; padding: 0; border-radius: 10px; background: #353535; color: #aaa; } div.vectorMenu div.menu { min-width: 100%; position: absolute; top: 2.5em; left: -1px; background-color: #353535; border: solid 1px #669; border-top-width: 0; clear: both; text-align: left; display: none; z-index: 1; }