MediaWiki:Wikia.css

/************************************************************/ /****************THREE KINGDOMS WIKI OASIS/WIKIAcss**********/ /************************************************************/

.page-Portal_Test #WikiaPageBackground { background: #bfcda3; height: 100%; opacity: 0.88; position: absolute; width: 100%; }

.page-Category_Redirects_in_Chinese_characters a { font-style: normal; }

/************************************************************/ /*************************************************MAINPAGE***/ /************************************************************/

/************************************************************/ /* ADD WALLPAPER                                           */ /************************************************************/

.mediawiki { background-image: url('http://static2.wikia.nocookie.net/thethreekingdoms/images/5/5b/Green-wallpaper_%28darker%29.jpg') !important; }

/************************************************************/ /* EDIT FONT TYPE                                          */ /************************************************************/

.body { font-family: "Open Sans" }

/************************************************************/ /* EDIT THE SEARCHBAR                                      */ /************************************************************/

/*removed on 9-4-16

/************************************************************/ /* SHADOW BORDER                                           */ /************************************************************/ .WikiaPage { -moz-box-shadow:0 0 30px #000000; -webkit-box-shadow:0 0 30px #000000; box-shadow:0 0 30px #000000; }

/************************************************************/ /* EDIT THE LINKS STYLE                                    */ /************************************************************/

/************************************************************/ /* EDIT THE BUTTON STYLE                                   */ /************************************************************/

.cc2-wikia-button a { border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; background-color:#006cb0; background-image: -moz-linear-gradient(top, #2094dd 35%, #006cb0 65%); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #2094dd), color-stop(65%, #006cb0)); border:1px solid #006cb0; color:white; cursor:pointer; display:inline-block; font-family:Helvetica,Arial,sans-serif; font-size:12px;height:19px; line-height:20px; margin:0; padding:0 7px; text-decoration:none; white-space:nowrap; } .cc2-wikia-button a:hover { background-color:#005f9c;background-image: -moz-linear-gradient(top, #1d88cb 35%, #005f9c 65%);background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #1d88cb), color-stop(65%, #005f9c));text-decoration:none }

/************************************************************/ /* CHANGE HEADER FONT                                      */ /************************************************************/

h1, h2, h3, h4, h5, h6, h7 { font-family: "Calisto MT", "Bookman Old Style", Bookman, "Goudy Old Style", Garamond, "Hoefler Text", "Bitstream Charter", Georgia, serif, "KaiTi", "楷体", STKaiti, "华文楷体", serif; }
 * 1) WikiaHeader,

/************************************************************/ /*************************************************ARTICLES***/ /************************************************************/

/************************************************************/ /* REF TAGS SIZE                                           */ /************************************************************/ .reference { line-height: 1em; }

.reference { font-size:70% !important; }

.references li { font-size:85% }

/************************************************************/ /* HIGHLIGHT EFFECT                                        */ /************************************************************/ .animated:hover { background: #adad9b }

/************************************************************/ /* REMOVE "READ MORE"                                      */ /************************************************************/

/************************************************************/ /* MAKE HEADERS BOLD                                       */ /************************************************************/

/************************************************************/ /* ICON TWEEK                                              */ /************************************************************/

/************************************************************/ /* INFOBOXES                                               */ /************************************************************/ .infobox { float: right; clear: right; margin: 0 0 .5em 1em; width: 265px; background: none; border-collapse: collapse; border-width: 0px; font-size: 0.82em; line-height: 1.5; } .infobox table.infoboxtable { background:#FFFFD4; float:right; margin:0; width:100%; border-collapse:collapse; } .infobox td.infoboximage { padding:0; text-align:center; } .infobox th.infoboxheading { font-weight:bold; text-align:center; color:#ffffff; font-size:larger; } .infobox th.infoboxsubheading { vertical-align:top; text-align:left; font-weight:normal; } .infobox td.infoboxlabel, .infobox td.infoboxcell { vertical-align: middle; } /* ugly hack to force normal height for infobox cells */ .infoboxcell p { margin-top: 0px; margin-bottom: 0px; } /* .infoboxcell ul { list-style-type: disc; } */ .infoboxcell ul { padding-left: 10px; margin-left: 10px; } .infoboxcell ul li { padding-left: 0; margin-left: 0; list-style-type: square; } .infobox div.plainlinks { color: #fff; } .infobox div.plainlinks a { color: #f0f0f0; }

/************************************************************/ /* ADD PROFILE TABS                                        */ /************************************************************/ .tabs .selected a { border-bottom: 1px solid transparent; border-left: 1px solid Wiki; border-right: 1px solid White; border-top: 1px solid White; background: white; border-color: White; color: #980000; cursor: text; font-weight: bold; text-decoration: none; } .tabs li a { border-top-left-radius: 15px; border: 2px solid #98000; border-image: initial; background-color: Black; display: inline-block; font-size: 14px; line-height: 23px; padding: 6px 12px 3px; position: relative; top: 1px; } .tabs li a:hover { background-color: #0D8AFF !important; padding-bottom: 2px; text-decoration: none; }

/************************************************************/ /* REMOVE PICTURE ATTRIBUTION                              */ /************************************************************/ .WikiaArticle .picture-attribution {display:none;}

/************************************************************/ /* TRYING NEW INFOBOX MARKUP                               */ /************************************************************/ .portable-infobox { float: right; clear: right; width: 260px; background:white; border:2px solid black; font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif, "KaiTi", "楷体", STKaiti, "华文楷体", serif; } .pi-image-thumbnail { max-width:260px; } .pi-border-color { border-color:#999999 !important; width:19.4em;; } .pi-infoboxcell { vertical-align: middle; } .pi-data-label { background:#22211f; color:white; padding:4px; padding-right:3px; margin-left:-0.9em !important; } .pi-data-value { margin-left:-2.5%; margin-right:-2%; max-width:68%; } .pi-data-value { padding-top:5px; } .portable-infobox .pi-item-spacing { margin:-9px -2px -3px -2px; } .pi-title { background:#22211f; color:white; text-align:center; font-weight:bold; font-size:13pt !important; padding:2px !important; font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif, "KaiTi", "楷体", STKaiti, "华文楷体", serif; line-height:21px !important; } .pi-horizontal-group .pi-border-color { border:none !important; } .pi-horizontal-group-item:first-child { border-right:1px dotted #AAA !important; } .pi-horizontal-group .pi-horizontal-group-item { width:initial; } .pi-horizontal-group .pi-item-spacing { margin:0px -2px; } .pi-header { margin-top:initial !important; width:21em; text-align:center !important; background:#22211F; color:white; } .pi-header { font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif, "KaiTi", "楷体", STKaiti, "华文楷体", serif; margin-top:-2px !important; } .pi-data-value { display:flex; align-items:center; } .pi-horizontal-group .pi-data-value { display:table-cell; } .pi-horizontal-group-item { text-align:left; vertical-align:top; }

.pi-data-label { font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif, "KaiTi", "楷体", STKaiti, "华文楷体", serif; } .pi-header { font-size:8pt !important; width:24em; } .pi-title { font-size:11.5pt !important; } .portable-infobox .pi-item-spacing { margin-left:0px; } .portable-infobox:after { content:""; display:flex; margin-bottom:3px; } .pi-title { padding-bottom:5px !important; margin-top:0px !important; margin-right:0px !important; } .pi-header { font-size:8.8pt !important; width:20em; padding-right:15.4px !important; } .pi-item-spacing .pi-data-label { margin:1.2% -1px -5px -4px; margin-bottom:-9px; } .pi-border-color { width:100%; } .pi-data-value { padding-top:6.4px !important; } .pi-horizontal-group .pi-border-color { width:auto; }

/************************************************************/ /* THE FOLLOWING EDITS ALL HEADER TEMPLATES                */ /************************************************************/

table.headertemplate {border: 1px solid #D9D9D9; background-color: #E4F2E4;} .processheadertemplate, .portalheadertemplate, .authortemplate, .headertemplate, .footertemplate {    width: 100%; margin-bottom: 5px; }   /* Forward and backward link */ .gen_header_backlink, .gen_header_forelink {        width: 20%; font-size: 0.9em; line-height: normal; }       .gen_header_backlink {        text-align: left; }       .gen_header_forelink {        text-align: right; }   /* Title field */ .gen_header_title {        width: 60%; text-align:center; }   /* Notes field */ .process_notes, .author_notes, .portal_notes, .header_notes {        width: 100%; font-size: 0.9em; line-height: 1.4em; margin-bottom: 0.5em; /* a bit of space before body-text; 1em might be better... */       }