make css more efficient

This commit is contained in:
Dean Attali 2017-10-18 18:43:28 -04:00 committed by GitHub
parent 947096bd4e
commit c880fd632c

View File

@ -717,63 +717,29 @@ td.gutter {
} }
/* --- Notification boxes --- */ /* --- 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 { .box-note {
background-color: #eee; 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-left-color: #2980b9;
border-radius: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
} }
.box-warning { .box-warning {
background-color: #fdf5d4; 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-left-color: #f1c40f;
border-radius: 3px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
} }
.box-error { .box-error {
background-color: #f4dddb; 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-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 */ /* Fix table border github gist snippets */
.gist, .gist-file table tr { .gist, .gist-file table tr {