Sixtest Wiki:API4/Item/css

/* Item, NPC, etc. formatting */ div.item div.flavortext { color:green; font-size:95%; font-weight:700; white-space:pre-wrap; text-align:center; } div.item div.name, div.npc div.name { font-size:1.5em; text-align:center; padding:.1em 0; } div.npc div.buysell { display:none; } div.npc div.job:before { //content:"Occupation: "; } div.npc div.location { text-indent:-1em; padding:0 0 0 1em; } div.npc div.location:before { content:"Location: "; } div.item div.defense, div.item div.attack, div.item div.edible, div.item div.regenseconds { display:inline; } div.item div.droppedby { font-size:90%; text-align:center; white-space:pre-wrap; } div.item div.vocrequired:before { content:"Used by: "; } div.item div.levelrequired:before { content:"Level: "; } div.item div.attack:after { content:" / "; } div.item div.attack:before { content:"Atk: "; } div.item div.armor:before { content:"Arm: "; } div.item div.edible:before { content:"Edible: "; } div.item div.regenseconds:after { content:"s)";	font-style:italic;	padding:0 0 0 .1em; } div.item div.regenseconds:before {	content:" ("; } div.item div.npcvalue, div.item div.npcprice { float:left; width:50%; } div.item div.enchantable:before { content:"Enchantable: "; } div.item div.itemclass, div.item div.primarytype, div.item div.secondarytype { overflow:hidden; width:9em; } div.item div.stackable:before { content:"Stackable: "; } div.item div.npcvalue:after, div.item div.npcprice:after { content:"gp"; } div.item div.npcvalue:before { content:"Sell for "; } div.item div.npcprice:before { content:"Buy for "; } div.item div.weight:after { content:" oz"; } div.item div.weight:before { content:"Weight: "; } div.item div.defense:before { content:"Def: "; } div.npc div.sounds { border:1px solid orange; border-radius:.75em .75em .75em .75em; text-align:center; white-space:normal; padding:.3em 0; } div.npc div.sells, div.npc div.buys { float:left; text-align:center; width:50%; } div.npc div.implemented, div.item div.implemented { position:absolute; top:0; margin:.5em 1em; } div.item div.p-implemented, div.npc div.p-implemented { text-align:left; position: relative; } div.item div.p-weight, div.npc div.p-location { float:left; clear: left; } div.item div.p-itemclass { float:right; font-weight:700; right:0; text-align:right; } div.item div.p-npcvalue { clear:both; padding:0 0 0 1.1em; } div.item div.p-droppedby { clear:both; } div.npc div.job, div.npc div.city { float: right; clear: right; } /* SearchSuggest extension */ input.SearchSuggest_Input { width:139px; padding:0 3px; } div.SearchSuggest_Output { width:146px; } div.SearchSuggest_Output > div { border:1px solid #A6A6A6; overflow:hidden; white-space:pre; position:relative; padding:4px 3px; } div.SSactive { background-color:#FFEBCD; font-weight:700; } div.SSactive:after { // arrow removed } div.SearchSuggestLeft,div.SearchSuggestRight { float:left; } div.SearchSuggestRight { position:relative; width:255px; margin:14px 0 0; padding:0 0 0 1.1em; } div.SearchSuggest_Display > div { clear: both; } div.SearchSuggest_Display > div { clear: both; } /* Edit extension */ div.edittools { font-weight: bold; line-height: 25px; padding: 0 0 0 25px; } div.edittools > div { float: left; margin: 0 0.5em; } div.edittools { font-weight: bold; line-height: 25px; padding: 0 0 0 25px; } div.edittools-banned > div.toolbox > img, div.edittools-disabled > div.toolbox > img, div.edittools-enabled > div.toolbox > img { float: left; height: 25px; cursor: pointer; } div.edittools-enabled > div.toolbox > div.edittools a { border-style: solid; border-width: 0 1px 1px 0; color: #505050; cursor: pointer; display: block; float: left; font-weight: bold; padding: 0 0.5em; } div.edittools-enabled > div.toolbox > div.edittools a:hover { background: none repeat scroll 0 0 #505050; color: #FFFFFF; text-decoration: none; } div.edittools-disabled > div.toolbox > div.edittools a:hover { text-decoration: none; } div.edittools-disabled > div.toolbox > div.edittools a { color: #E1E1E1; font-weight: bold; cursor: default; } div.edittools-enabled > div.toolbox > div.edittoolspublish { border-style: solid; border-width: 0 0 0 1px; } /* Unsorted */