move styles and js to the root directory

This commit is contained in:
Andrew Croce
2018-08-03 09:09:07 -04:00
parent 6d884f9e5b
commit bf3054908c
36 changed files with 1917 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
[class*='diff--'] {
border-left-style: solid;
border-left-width: ($gap / 2);
padding-left: $gap / 2;
margin: ($gap / 2) 0;
&::before {
font-weight: bold;
padding-right: $gap;
display: inline-block;
width: 1.8rem;
text-align: center;
}
}
.diff--removed {
background-color: $color-red-lightest;
border-left-color: $color-red-dark;
text-decoration: line-through;
text-decoration-color: $color-overlay;
&::before {
content: '-';
color: $color-red-dark;
}
}
.diff--added {
background-color: $color-aqua-lightest;
border-left-color: $color-aqua-dark;
&::before {
content: '+';
color: $color-aqua-dark;
}
}