MediaWiki:MASidebar.css

/* This is an archive of the wiki-sidebar that's     in use at memory-alpha.org. This is not currently used at this wiki, but it's being retained because it's a good guide to making infoboxes with CSS. */

/* TABLE: WIKI-SIDEBAR */ table.wiki-sidebar { border: 1px dashed #012c57; background-color: transparent; color: inherit; clear: right; float: right; width: 250px; margin-top: 0em; margin-left: 1.5em; margin-right: 0em; margin-bottom: 1.3em; }

table.wiki-sidebar td.sb-name { text-align: center; background-color:#012c57; line-height:125%; font-size:175%; border-bottom:0px solid gray; font-size:larger; color:white; }

table.wiki-sidebar tr th { background: transparent; text-align: center; font-weight: bold; font-size:larger; }

table.wiki-sidebar td { line-height: 130%; border:0; font-size:smaller; }

table.wiki-sidebar td.sb-both { text-align: center; padding-left: 0; padding-right: 0; }

table.wiki-sidebar td.sb-both img { /* display:block; force new line after img in sidebar */ border: 0px outset #888888; margin: 0; padding-left: 0; padding-right: 0; }

table.wiki-sidebar td.sb-left { width: 50%; line-height:110%; font-weight: bold; text-align: right; vertical-align:middle; }

table.wiki-sidebar td.sb-right { vertical-align:middle; border-bottom:1px dashed #012c57; line-height:110%; }

table.wiki-sidebar td.sb-nav-l-t { margin-left:20px; margin-right:90px; font-weight:bold; width:35%; }

table.wiki.sidebar td.sb-nav-l  { margin-left:20px; margin-right:90px; width:35%; } table.wiki-sidebar td.sb-nav-r-t { margin-left:100px; margin-right:240px; font-weight:bold; }

table.wiki.sidebar td.sb-nav-r  { margin-left:100px; margin-right:240px; }

/** Thumbnails in sidebars **/

table.wiki-sidebar tr td .thumb, table.wiki-sidebar tr td .tright, table.wiki-sidebar .thumbinner, table.wiki-sidebar .magnify { clear: none; float: none; border:0; margin:0 auto; padding:0; width:auto; text-align:center; display:inline; } table.wiki-sidebar .thumbinner img {margin:0 auto;} table.wiki-sidebar tr td .thumb .thumbcaption { display:none; } table.wiki-sidebar td.sb-both div.sb-twoimg img.thumbimage { display:inline; /*no new line after img in two-image box */ }

table.wiki-sidebar .picture-attribution { display:none; }

/* ================  TABLE.NAV-SIDEBAR ================   This is something from memoryalpha.wikia.com; will probably not implement here though it is currently turned on. ================= */

table.nav-sidebar { border: 1px dashed #012c57; -webkit-border-radius: 10px 0px 0px 10px; -moz-border-radius: 10px 0px 0px 10px; -o-border-radius: 10px 0px 0px 10px; border-radius: 10px 0px 0px 10px; clear: right; float: right; width:250px; border-collapse:collapse; /*puts all the elemental borders below into the same border*/ margin: auto; font-size: 95%; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L', 'Nimbus Sans L', sans-serif;

}

table.nav-sidebar th { background: #012c57; color:white; text-align: center; width:250px; line-height:100%; font-weight: normal; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L', 'Nimbus Sans L', sans-serif; -webkit-border-radius: 10px 0px 0px 10px; -moz-border-radius: 10px 0px 0px 10px; -o-border-radius: 10px 0px 0px 10px; border-radius: 10px 0px 0px 10px; }

table.nav-sidebar tr, table.nav-sidebar td { line-height: 130%; text-align:center; font-family: 'Lucida Grande', 'Trebuchet MS', 'Gill Sans', Verdana, 'URW Gothic L', 'Nimbus Sans L', sans-serif; -webkit-border-radius: 10px 0px 0px 10px; -moz-border-radius: 10px 0px 0px 10px; -o-border-radius: 10px 0px 0px 10px; border-radius: 10px 0px 0px 10px; -moz-box-shadow: inset -0px 0px 10px 2px #D5D4F0; -webkit-box-shadow: inset -0px 0px 10px 2px #D5D4f0; box-shadow: inset -0px 0px 10px 2px #D5D4f0; }