Skip to content

Instantly share code, notes, and snippets.

@DimitarChristoff
Created May 5, 2011 13:48
Show Gist options
  • Save DimitarChristoff/957058 to your computer and use it in GitHub Desktop.
Save DimitarChristoff/957058 to your computer and use it in GitHub Desktop.
baseBox-alt.css
div.baseBox {
background: #333;
background-image: -moz-linear-gradient(top, #444,#333,#555,#333);
background-image: -webkit-linear-gradient(top, #444,#333,#555,#333);
border: 1px solid #000;
color: #fff;
}
div.baseBox2 {
background: #444;
background-image: -webkit-linear-gradient(top, #111,#111,#444,#222);
background-image: -moz-linear-gradient(top, #111,#111,#444,#222);
}
div.baseBoxTitle {
padding: 5px;
background: #26445F url(http://jsfiddle.net/img/top-bg.png) repeat-x;
background-image: -moz-linear-gradient(top, #444,#222);
background-image: -ms-linear-gradient(top, #444,#222);
background-image: -webkit-linear-gradient(top, #444,#222);
color: #ccc;
height: 18px;
border-bottom: 1px solid #000;
-moz-box-shadow:inset -2px -2px 4px rgba(255,255,255, 0.1);
-webkit-box-shadow:inset -2px -2px 4px rgba(255,255,255, 0.1);
-ms-box-shadow:inset -2px -2px 4px rgba(255,255,255, 0.1);
}
div.baseBoxTitle h2 {
color: #fff;
font-weight: bold;
font-family: verdana; font-size: 16px;
text-shadow:0px 0px 2px #000;
-webkit-text-shadow:0px 0px 2px #000;
-moz-text-shadow:0px 0px 2px #000;
-ms-text-shadow: 0px 0px 2px #000;
text-transform: uppercase;
}
div.baseBoxClose {
margin-top: 5px;
margin-right: 5px;
}
div.baseBoxSection {
padding: 5px;
color: #fff;
border-bottom: 1px solid #444;
background: #4375A0;
background-image: -moz-linear-gradient(top, #4375A0,#26445F);
background-image: -webkit-linear-gradient(top, #4375A0,#26445F);
}
div.baseBoxSection a {
color: #ffffaf;
font-weight: bold;
text-decoration: none;
}
div.baseBoxSection a:hover {
color: #ffff1f;
}
div.baseBoxSectionRed {
padding: 5px;
color: #B3AF74;
font-weight: bold;
border-bottom: 1px solid #000;
background-color: #500;
background-image: -moz-linear-gradient(top, #700,#500);
background-image: -webkit-linear-gradient(top, #700,#500);
}
div.moto {
padding: 10px;
background: #333;
border-bottom: 1px solid #000;
margin-bottom: 8px;
}
.shadowy {
box-shadow: 1px 1px 2px #000;
-moz-box-shadow: 1px 1px 2px #000;
-webkit-box-shadow: 1px 1px 2px #000;
-ms-box-shadow: 1px 1px 2px #000;
}
.inshadow {
-moz-box-shadow: inset 1px 1px 15px #000;
-webkit-box-shadow: inset 1px 1px 15px #000;
-ms-box-shadow: inset 1px 1px 15px #000;
box-shadow: inset 1px 1px 15px #000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment