Skip to content

Commit

Permalink
Add CSS style to distinguish GitHub and GitLab blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
unode committed Feb 3, 2021
1 parent 096c982 commit bc6ab20
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/css/lesson.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,18 @@ article pre {
border: 0;
}

// Debugging background color to distinguish GitHub and GitLab sections
$debug_github_gitlab_sections: true;

@if $debug_github_gitlab_sections {
article[id^='github-'] {
background-color: #fafff4;
}
article[id^='gitlab-'] {
background-color: #fff7ea;
}
}

//----------------------------------------
// Miscellaneous.
//----------------------------------------
Expand Down

0 comments on commit bc6ab20

Please sign in to comment.