Skip to content

Instantly share code, notes, and snippets.

@NDuggan
Forked from matthiasg/docs style (bootstrap)
Created July 30, 2014 09:57
Show Gist options
  • Save NDuggan/dbbd6e415c29b9e27062 to your computer and use it in GitHub Desktop.
Save NDuggan/dbbd6e415c29b9e27062 to your computer and use it in GitHub Desktop.
/* Side notes for calling out things
-------------------------------------------------- */
/* Base styles (regardless of theme) */
.bs-callout {
margin: 20px 0;
padding: 15px 30px 15px 15px;
border-left: 5px solid #eee;
}
.bs-callout h4 {
margin-top: 0;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code,
.bs-callout .highlight {
background-color: #fff;
}
/* Themes for different contexts */
.bs-callout-danger {
background-color: #fcf2f2;
border-color: #dFb5b4;
}
.bs-callout-warning {
background-color: #fefbed;
border-color: #f1e7bc;
}
.bs-callout-info {
background-color: #f0f7fd;
border-color: #d0e3f0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment