Common1.css

From FreewarWiki
Jump to: navigation, search

/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/ /** COMMON SKIN-ADAPTATIONS FOR THE FREEWARWIKI **/ /** Any addition or modification on this page, must be checked absolutely **/ /** before for all skins on her functionality. **/ /** All changes on this page affect the representation of all contents. **/ /** Please pay particular attention to your changes; **/ /** arrange them before best of all with the community. **/ /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/

/********** Contents **********/ /*** 1. Map specific ***/ /*** 2. Tables and Layout ***/ /*** 3. Other adaptations ***/ /****************************************/

/*-------------------------------------*/ /* +++ 1. Map specific +++ */ /*-------------------------------------*/ /* These style definitions are used to display the entire and the interactive map. */

/* Frame around area on mini-map */

.minimap .selflink span { border: 1px solid #FF0000; }

/* Activates a message when changes on the complete map was made. */

.completemapwarning { display: none; }

/* Links on interactive map (to npcs, places, ...). */

.maplink { line-height: 1em; text-decoration: none; z-index: 2; }

.maplink a:link, .maplink a:hover { text-decoration: none; }

/* NPC-Links on interactive map. */

a .NPC, a:link .NPC { display: none; }

a:hover .NPC, a:active .NPC { display: inherit; }

/* Adapts images of the interactive map, which aren't have the size of 50x50 pixels. */

.map_layout img { height: 50px; width: 50px; }

/* NPC-Images and quest infos hide by default (will be regulated per MediaWiki:Common.js). */

.NI { display:none; }

.NIvisible .NI { display:inherit; }

.QP { display:none; }

.QPvisible .QP { display:inherit; }

/* Generates brown links on CompleteMap. */

.brownlink a { color: #775533 }

/* Rhombus to display articles about places in the map namespace, embedded by Template:Map/Place. */

.bg_rhombus { background-image: url('http://fwwiki.staticdata.de/images/4/49/Raute.png'); }

/* Creates an earth symbol to display a location on a integrated minimap, used by Template:Disamb-Place. */

.linktomap { background:url(12px-Erde.png) center no-repeat; }

/*-------------------------------------*/ /* +++ 2. Tables and Layout +++ */ /*-------------------------------------*/

/* „Cold Sunfire“-related tables. */

table.coldsunfire { border-collapse: collapse; font-size: 12px; }

table.coldsunfire td { background-color: #ECE9E6; border: 1px solid #D6CBC2; padding: 2px; padding-left: 5px; }

table.coldsunfire th { background-image: url(Button_bg.jpg); border: 1px solid #A2A09F; font-weight: bold; padding: 2px; padding-left: 5px; text-align: left; }

/* Replaced prettytable template. */

.prettytable { border: 1px solid #aaaaaa; border-collapse: collapse; background-color: #F9F9F9; font-size: 95%; }

.prettytable th, .prettytable td { border: 1px solid #aaaaaa; padding: 0.33em; }

.prettytable th { font-weight: bold; text-align: center; }


/* At this point follows the color- and frame definitions for the template system, first the standards for framings, then color definitions. */ /* Frame configurations (layout_border_...). */

.layout_border_solid { border-style:solid; border-width:2px; }

.layout_border_outset { border-style:outset; border-width:2px; }

.layout_border_dotted { border-style:dotted; }

.layout_border_dashed { border-style:dashed; }

.layout_border_double { border-style:double; }

/* Colours (layout_color_...). */

.layout_color_antiquity { background:#eeeeee; border-color:#bbbbbb; }

.layout_color_task { background:#b8b9de; border-color:#8E11FF; }

.layout_color_weapon { background:#ffcccc; border-color:#aa3344; }

.layout_color_region { background:#ddccaa; border-color:#775533; }

.layout_color_book { background:#ffffcc; border-color:#eedd77; }

.layout_color_skill { background:#ffffcc; border-color:#eedd77; }

.layout_color_default { background:#f9f9f9; border-color:#e9e9e9 }

.layout_color_dungeon { background:#ddccaa; border-color:#775533; }

.layout_color_achievement { background:#ffffcc; border-color:#eedd77; }

.layout_color_fieldsummary { background:#ddccaa; border-color:#775533; }

.layout_color_area { background:#ddccaa; border-color:#775533; }

.layout_color_meal { background:#efffcc; border-color:#bdff77; }

.layout_color_partynpc { background:#ccccff; border-color:#7777ff; }

.layout_color_amulet { background:#ffccd0; border-color:#c05040; }

.layout_color_error { background:#ff3d00; border-color:#800000; }

.layout_color_item { background:#eeeeee; border-color:#bbbbbb; }

.layout_color_item_rp { background:#eeeeee; border-color:#2EA22B; }

.layout_color_npcstate { background:orange; border-color:#AAAA00; }

.layout_color_npc { background:#ccccff; border-color:#7777ff; }

.layout_color_npc_rp { background:#ccccff; border-color:#2EA22B; }

.layout_color_place { background:#ddccaa; border-color:#775533; }

.layout_color_plant { background:#a3eb88; border-color:#28ac0b; }

.layout_color_quest { background:#efddff; border-color:#bd77ff; }

.layout_color_quest_rp { background:#efddff; border-color:#2EA22B; }

.layout_color_questperson { background:#efddff; border-color:#bd77ff; }

.layout_color_race { background:#8080cc; border-color:#000080; }

.layout_color_resistancenpc {

   background:#ccccff;
   border-color:#7777ff;

}

.layout_color_rangedweapon { background:#ffddc0; border-color:#dd8044; }

.layout_color_shop { background:#cccccc; border-color:#666666; }

.layout_color_specialability { background:#8080cc; border-color:#000080; }

.layout_color_style { background:#bbbbbb; border-color:#eeeeee; }

.layout_color_superresistancenpc {

   background:#ccccff;
   border-color:#7777ff;

}

.layout_color_uniqueitem { background:#eeeeee; border-color:#bbbbbb; }

.layout_color_uniquenpc { background:#ccccff; border-color:#7777ff; }

.layout_color_uniquenpc_rp { background:#ccccff; border-color:#2EA22B; }

.layout_color_shelter { background:#ffeebb; border-color:#ffdc73; }

.layout_color_armour { background:#ffccdd; border-color:#aa3344; }

.layout_color_weathereffect { background:#ccffff; border-color:#77ddee; }

.layout_color_spell { background:#ffefcc; border-color:#ffbd77; }

.layout_color_condition { background:#aaffbb; border-color:#008800; }

.layout_color_phasepattern {

   background:#dddd44;
   border-color:#de9144;

}

/* No printing of navigation bars. */

@media print { .boxmerge, .navframe, .vtabs { display: none; } }

/* General definition for navigation bars. */

/* Navbar exists according to current knowledge (23.01.2014) only on the main page */

  1. navbar {

background: none; border: none; font-size: 85%; line-height: 1.5em; margin: 0em; padding: 0em; position: absolute; text-align: center; text-indent: 0; text-transform: none; top: -1.5em; /* top: -3.2em; */ width: 100%; white-space: normal; z-index: 1; } .navframe + .navframe { border-top-style: none; border-top-style: hidden; } .navpic { background-color: #ffffff; float: left; margin: 0px; padding: 2px; }

.navhead, .vtabcaption { background-color: #efefef; font-size: 100%; font-weight: bold; height: 1.6em; }

.navframe p { font-size: 100%; }

.navcontent { font-size: 100%; }

.navcontent p { font-size: 100%; }

.navend { clear: both; line-height: 1px; margin: 0px; padding: 0px; }

.navtoggle { float:right; font-size: x-small; }

/* Additional definitions for vertical tabs. */

.boxmerge, .navframe, .vtabs { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; }

.vtabs { text-align:left; margin: 0; padding: 0; border-collapse: separate; background: transparent; }

.vtab { width: 100%; }

.boxmerge .navframe, .boxmerge .vtabs { border-style: none; border-style: hidden; width: 100%; }

.vtabcaption { margin: 2px; } .vtabcontent { height: 0; }

/* Navigation bar for Category-Navigation in MediaWiki:Sitenotice. */

.sitenotice_navbar { background: none; border: none; bottom: -2.5em; float: right; font-size: 85%; line-height: 1.5em; margin: 0em; padding: 0em; position: absolute; right: 12px; text-align: right; text-indent: 0; text-transform: none; white-space: normal; z-index: 1; }

/*-------------------------------------*/ /* +++ 3. Other adjustments +++ */ /*-------------------------------------*/

/* Brandhot-Star */

.brandhot { background:url(Brandheiß.gif) center no-repeat; font-weight:bold; }

/* Images of unicode characters for ie users. */

.unicode span { visibility:hidden; }

.unicode#✓ { background:url(%E2%9C%93.gif) no-repeat; }

.unicode#✗ { background:url(%E2%9C%97.gif) no-repeat; }

.unicode#✓colorgreen { background:url(%E2%9C%93green.gif) no-repeat; }

.unicode#✗colorred { background:url(%E2%9C%97red.gif) no-repeat; }

.unicode#☮font-size2em { background:url(%E2%98%AE.gif) no-repeat 0em 0.3em; }

  • [class].unicode span {

visibility:visible; }

  • [class].unicode#✓,
  • [class].unicode#✓colorgreen,
  • [class].unicode#✗colorred,
  • [class].unicode☮?font-size2em {

background-image:url(); }

/* Warning messages for ie users. */

  • [class].IEonly {

display:none; }

  • .noIE {

display:none; }

  • [class].noIE {

display:inherit; }

/* Provides transparency for graphics. */

  1. file img {

background-image:url(Checker.png); }

/* Is used to highlight MediaWiki:Anoneditwarning. */

  1. mw-anon-edit-warning {

background: #d3e1f2; border: 1px solid #1a47ff; margin: 1em auto; padding: 1em; width: 80%; }

/* Show bold admin links in the special page overview; hide legend. */

.mw-specialpages-notes { display: none; }

.mw-specialpagerestricted { font-weight: normal; }

/* Marking of redirects (for example, in Special:AllPages). */

.allpagesredirect, .redirect-in-category, .watchlistredir { font-style: italic; }

/* Removes the arrow behind links on the Freewar wiki, whereby oneself spared the „plainlinks“ class. */

div#content a.external[href^="http://fwwiki.org"], div#content a.external[href^="http://www.fwwiki.org"],

  1. mw_content a.external[href^="http://fwwiki.org"],
  2. mw_content a.external[href^="http://www.fwwiki.org"] {

background: none; padding-right: 0; }

/* Prevents the layout from being blown during SVG errors. */

.MediaTransformError { overflow: hidden; }

/* Introductory table on Special:RecentChanges */

.RecentChangesHeadingTable { width: 70%; margin-left: 100px; }

/* Start: Logo */

  1. p-logo a { background-image:

url(Freewar.png) /* url(FreewarWeihnachten.png) */ /* url(FreewarSilvester.png) */

!important; } /* END: Logo */


/* Start: NPC filter for maps, css for common.js (8.) */

.MapNPCBorder { border: 0 !important; width: 50px !important; height: 50px !important; background: #d00 url(Npchighlight.png) center no-repeat !important; }

.MapNPCBorder img { opacity: .5; filter: alpha(opacity = 50); } /* End: NPC filter for maps */


/* START: FreewarWiki-CatNav */ /* @author: User:Cembon */

  1. page_jump_to_div {

display: inline-block; position: absolute; padding: 2px 5px 3px 20px; background: #f9f9f9 url(Dropdown.png) 3px center no-repeat; border-radius: 5px; border: 1px solid #aaa; cursor: pointer; right: -3px; margin-top: -5px; }

  1. page_jump_to_div:active, #page_jump_to_div:focus, #page_jump_to_menu:hover { cursor: text; }
  1. page_jump_to_menu {

margin: 0 -1px; position: absolute; right: -15px; top: 0px; width: 373px; z-index: 11111; display: none; padding: 36px 15px 15px 15px; }

  1. page_jump_to_div:focus #page_jump_to_menu, #page_jump_to_div:active #page_jump_to_menu, #page_jump_to_menu:hover { display: block; }
  1. page_jump_to_menu ul {

display: block; list-style: none; padding: 0; margin: 0; border: 1px solid #555; border-top: 0; background-color: transparent; width: 180px; }

  1. page_jump_to_menu_left { float: left; }
  1. page_jump_to_menu_right { float: right; }
  1. page_jump_to_menu ul li {

display: block; border-top: 1px solid #555; margin: 0; padding: 0; }

  1. page_jump_to_menu ul li a {

font-size: 11px; display: block; text-align: left; text-decoration: none; color: #333; padding: 1px 4px; margin: 0; }

  1. page_jump_to_menu ul li a:hover {

border-left: 5px solid #444; text-decoration: none; font-weight: bold; color: #000; padding-left: 10px; }

/* END FreewarWiki-CatNav */

/* Hide MediaWiki Help links. */

  1. mw-indicator-mw-helplink {

display: none; }


/*** Particular css classes. ***/

.sitenotice { margin-right: 100px; padding: 2px; border:medium #8888ff ridge };

/*** End: Particular css classes ***/