Skip to content

Commit

Permalink
make css more efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali authored Oct 18, 2017
1 parent 947096b commit c880fd6
Showing 1 changed file with 7 additions and 41 deletions.
48 changes: 7 additions & 41 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -717,63 +717,29 @@ td.gutter {
}

/* --- Notification boxes --- */
.box-note, .box-warning, .box-error {
padding: 15px 15px 15px 10px;
margin: 20px 20px 20px 5px;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 5px 3px 3px 5px;
}

.box-note {
background-color: #eee;
padding: 15px;
padding-left: 10px;
margin: 20px;
margin-left: 5px;
border: 1px solid #eee;
border-left-width: 5px;
border-left-color: #2980b9;
border-radius: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

.box-warning {
background-color: #fdf5d4;
padding: 15px;
padding-left: 10px;
margin: 20px;
margin-left: 5px;
border: 1px solid #eee;
border-left-width: 5px;
border-left-color: #f1c40f;
border-radius: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

.box-error {
background-color: #f4dddb;
padding: 15px;
padding-left: 10px;
margin: 20px;
margin-left: 5px;
border: 1px solid #eee;
border-left-width: 5px;
border-left-color: #c0392b;
border-radius: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

/* Icon Colors */
.icon-blue {
color: #2980b9;
}

.icon-yellow {
color: #f1c40f;
}

.icon-red{
color: #c0392b;
}


/* Fix table border github gist snippets */

.gist, .gist-file table tr {
Expand Down

0 comments on commit c880fd6

Please sign in to comment.