Skip to content

Instantly share code, notes, and snippets.

@kpennell
Created December 4, 2015 19:56
Show Gist options
  • Save kpennell/d95eb235a0c898a6652c to your computer and use it in GitHub Desktop.
Save kpennell/d95eb235a0c898a6652c to your computer and use it in GitHub Desktop.
section {
padding: 1em;
}
.color-1 {
color: red;
}
.color-2 {
color: blue;
}
.color-3 {
color: rgba(0, 0, 0, 0.5);
}
.color-4 {
color: #0d0d0d;
}
.class-1 {
background-color: rgba(0, 0, 0, 0.5);
background-image: linear-gradient(rgba(51, 51, 51, 0.5), rgba(0, 0, 0, 0.5));
border: 1px solid rgba(0, 0, 0, 0.5);
border-radius: 3px;
color: white;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
line-height: 99em;
padding: 0 2em;
}
.class-2 {
background-color: blue;
background-image: linear-gradient(#6666ff, #0000cc);
border: 1px solid #0000cc;
border-radius: 3px;
color: white;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
line-height: 99em;
padding: 0 2em;
}
.class-3 {
background-color: rgba(0, 0, 0, 0.5);
background-image: linear-gradient(rgba(51, 51, 51, 0.5), rgba(0, 0, 0, 0.5));
border: 1px solid rgba(0, 0, 0, 0.5);
border-radius: 10px;
color: white;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
line-height: 99em;
padding: 0 2em;
}
.class-4 {
background-color: rgba(0, 0, 0, 0.5);
background-image: linear-gradient(rgba(51, 51, 51, 0.5), rgba(0, 0, 0, 0.5));
border: 1px solid rgba(0, 0, 0, 0.5);
border-radius: 3px;
color: white;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
line-height: 99em;
padding: 0 2em;
padding: 0 1em;
}
.other-style-1,
.other-style-2 {
border: 1px solid;
padding: 1em;
}
.other-style-1 {
background-color: rgba(255, 0, 0, 0.2);
color: red;
}
.other-style-2 {
background-color: rgba(0, 0, 255, 0.2);
color: blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment