Difference between revisions of "User:Smashman/vector.css"

From Team Fortress Wiki
Jump to: navigation, search
Line 1: Line 1:
.btn {
+
.buynow_btn, .buynow_btn span {
display: block;
+
background:url('http://dl.dropbox.com/u/1961029/btn_buynow_long.png') no-repeat;
background-repeat: no-repeat;
+
color:#FFF;
background-position: top;
+
}
margin:0px 0px 0px 0px;
+
.buynow_btn {
}
+
padding:5px 7px 5px 31px;
.buy_item {
+
background-position:right 0;
width:97px;
+
position:relative;
height:24px;
+
}
background-image:url(http://dl.dropbox.com/u/1961029/btn_buynow.png);
+
.buynow_btn span {
}
+
background-position:left top;
.btn:hover {
+
width:24px;
background-position:bottom;
+
height:24px;
}
+
position:absolute;
.buy_txt {
+
top:0px;
height:22px;
+
left:-1px;
display: block;
+
display:block;
position:relative;
+
cursor:pointer; /* mostly needed for internet explorer */
color:white;
+
}
font-family:Arial;
+
.buynow_btn:hover {
font-size:12px;
+
background-position:right bottom;
top:2px;
+
}
left:24px;
+
.buynow_btn:hover span {
width:70px;
+
background-position:left bottom;
text-align:center;
+
}
padding:0px 5px;
 
}
 
.btn a:hover {
 
text-decoration:none;
 
}
 

Revision as of 09:22, 2 December 2011

		.buynow_btn, .buynow_btn span {
			background:url('http://dl.dropbox.com/u/1961029/btn_buynow_long.png') no-repeat;
			color:#FFF;
		}
		.buynow_btn {
			padding:5px 7px 5px 31px;
			background-position:right 0;
			position:relative;
		}
		.buynow_btn span {
			background-position:left top;
			width:24px;
			height:24px;
			position:absolute;
			top:0px;
			left:-1px;
			display:block;
			cursor:pointer; /* mostly needed for internet explorer */
		}
		.buynow_btn:hover {
			background-position:right bottom;
		}
		.buynow_btn:hover span {
			background-position:left bottom;
		}