Skip to content

Instantly share code, notes, and snippets.

@mattsimpson
Forked from matthiasg/docs style (bootstrap)
Last active June 23, 2018 08:42

Revisions

  1. mattsimpson revised this gist Feb 18, 2014. 1 changed file with 10 additions and 3 deletions.
    13 changes: 10 additions & 3 deletions docs style (bootstrap)
    Original file line number Diff line number Diff line change
    @@ -34,14 +34,21 @@
    border-color: #d0e3f0;
    }

    .bs-callout-danger h4 {
    .bs-callout-danger h4,
    .bs-callout-danger a.alert-link {
    color: #B94A48;
    }

    .bs-callout-warning h4 {
    .bs-callout-warning h4,
    .bs-callout-warning a.alert-link {
    color: #C09853;
    }

    .bs-callout-info h4 {
    .bs-callout-info h4,
    .bs-callout-info a.alert-link {
    color: #3A87AD;
    }

    .bs-callout a.alert-link {
    font-weight: bold;
    }
  2. mattsimpson revised this gist Feb 18, 2014. 1 changed file with 28 additions and 17 deletions.
    45 changes: 28 additions & 17 deletions docs style (bootstrap)
    Original file line number Diff line number Diff line change
    @@ -1,36 +1,47 @@


    /* 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;
    margin: 20px 0;
    padding: 15px 30px 15px 15px;
    border-left: 5px solid #eee;
    }

    .bs-callout h4 {
    margin-top: 0;
    margin-top: 0;
    }

    .bs-callout p:last-child {
    margin-bottom: 0;
    margin-bottom: 0;
    }

    .bs-callout code,
    .bs-callout .highlight {
    background-color: #fff;
    background-color: #fff;
    }

    /* Themes for different contexts */
    .bs-callout-danger {
    background-color: #fcf2f2;
    border-color: #dFb5b4;
    background-color: #fcf2f2;
    border-color: #dFb5b4;
    }

    .bs-callout-warning {
    background-color: #fefbed;
    border-color: #f1e7bc;
    background-color: #fefbed;
    border-color: #f1e7bc;
    }

    .bs-callout-info {
    background-color: #f0f7fd;
    border-color: #d0e3f0;
    background-color: #f0f7fd;
    border-color: #d0e3f0;
    }

    .bs-callout-danger h4 {
    color: #B94A48;
    }

    .bs-callout-warning h4 {
    color: #C09853;
    }

    .bs-callout-info h4 {
    color: #3A87AD;
    }
  3. @matthiasg matthiasg created this gist Aug 5, 2013.
    36 changes: 36 additions & 0 deletions docs style (bootstrap)
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@


    /* 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;
    }