Skip to content

Instantly share code, notes, and snippets.

@juddlyon
Created February 1, 2011 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juddlyon/805157 to your computer and use it in GitHub Desktop.
Save juddlyon/805157 to your computer and use it in GitHub Desktop.
Service page sidebar module CSS
aside.module {
float: left;
width: 250px;
margin: 0 0 40px 18px;
border: 1px solid #3D3F46;
border-right: 1px solid #6D707D;
border-bottom: 1px solid #6D707D;
background: -moz-linear-gradient(100% 100% 90deg, rgba(40, 43, 50, 1), rgba(70, 74, 85, 1));
background: -webkit-gradient(linear, left top, left bottom, from(rgba(70, 74, 85, 1)), to(rgba(40, 43, 50, 1)));
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
border-radius: 10px;
}
aside.module h4 {
background: -moz-linear-gradient(top left 90deg, rgba(58, 66, 85, 1), rgba(41, 47, 59, 1));
background: -webkit-gradient(linear, left top, left bottom, from(rgba(58, 66, 85, 1)), to(rgba(41, 47, 59, 1)));
padding: 10px 20px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-topright: 15px;
-webkit-border-top-right-radius: 15px;
-webkit-border-top-left-radius: 15px;
border-bottom: 1px solid #6D707D;
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment