Skip to content

Commit

Permalink
Update code style for bg-color and color
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Makeev committed Feb 11, 2019
1 parent 51536a1 commit 8987f59
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion styles/blocks/badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
bottom: 50%;
left: -50%;
visibility: visible;
background: var(--color-blue);
background-color: var(--color-blue);
color: white;
text-decoration: none;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion styles/blocks/progress.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display: block;
width: 100%;
height: var(--progress-size);
background: var(--color-blue);
background-color: var(--color-blue);
content: '';
transform-origin: 0 100%;
transform: skewX(45deg);
Expand Down
2 changes: 1 addition & 1 deletion styles/shower/shower-full.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
);
width: var(--slide-width);
height: var(--slide-height);
background: black;
background-color: black;
}
2 changes: 1 addition & 1 deletion styles/shower/shower-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
auto-fill,
calc(var(--slide-width) * var(--slide-scale))
);
background: var(--color-grey);
background-color: var(--color-grey);
}

/* IE & Edge Fix */
Expand Down
16 changes: 8 additions & 8 deletions styles/slide/content/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
padding: 0 0 0 100px;
width: calc(100% + 100px + 100px);
border-radius: 0;
background: none;
background-color: transparent;
line-height: 2;
white-space: pre;
tab-size: 4;
Expand Down Expand Up @@ -43,8 +43,8 @@
/* Important */

.slide pre mark.important {
background: var(--color-red);
color: #ffffff;
background-color: var(--color-red);
color: white;
}

/* Comment */
Expand All @@ -56,27 +56,27 @@
/* Marked Line */

.slide pre code.mark:not(:only-child) {
background: var(--color-fill);
background-color: var(--color-fill);
}

/* Next Line */

.slide pre code.mark.next:not(:only-child) {
visibility: visible;
background: none;
background-color: transparent;
}

.slide pre code.mark.next.active:not(:only-child) {
background: var(--color-fill);
background-color: var(--color-fill);
}

/* Full */

.shower.full .slide pre code:not(:only-child).mark.next {
visibility: visible;
background: none;
background-color: transparent;
}

.shower.full .slide pre code:not(:only-child).mark.next.active {
background: var(--color-fill);
background-color: var(--color-fill);
}
2 changes: 1 addition & 1 deletion styles/slide/content/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
left: 0;
z-index: 1;
padding: 50px 100px 25px;
background: var(--color-yellow);
background-color: var(--color-yellow);
transition: transform 0.3s linear;
}

Expand Down
4 changes: 2 additions & 2 deletions styles/slide/content/inline.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
.slide code,
.slide kbd,
.slide samp {
background: var(--color-fill);
background-color: var(--color-fill);
line-height: 1;
font-family: 'PT Mono', monospace;
}

.slide mark {
background: var(--color-yellow);
background-color: var(--color-yellow);
}

.slide sub,
Expand Down
4 changes: 2 additions & 2 deletions styles/slide/slide.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
padding: 75px 100px 0;
width: var(--slide-width);
height: var(--slide-height);
background: #ffffff;
background-color: white;
}

/* Number */
Expand All @@ -53,7 +53,7 @@
height: calc(var(--ribbon-size) * 2);
background-image: url('ribbon.svg');
background-size: cover;
color: #ffffff;
color: white;
counter-increment: slide;
content: counter(slide);
text-align: center;
Expand Down

0 comments on commit 8987f59

Please sign in to comment.