From f0847a622f128ec8baa2b9c671941f0caca42efa Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 6 Dec 2020 01:20:42 +0100 Subject: [PATCH] Fix theme for pre tags with example class --- web/style/style.scss | 2 +- web/style/themes.scss | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/style/style.scss b/web/style/style.scss index 15ccb61..53b1d53 100644 --- a/web/style/style.scss +++ b/web/style/style.scss @@ -353,6 +353,6 @@ ul { padding-inline-start: 20px; } -pre.src { +pre.src, pre.example { overflow-y: auto; } diff --git a/web/style/themes.scss b/web/style/themes.scss index 1c2bf31..c59d168 100644 --- a/web/style/themes.scss +++ b/web/style/themes.scss @@ -63,7 +63,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3); border-color: $light; } - pre.src { + pre.src, pre.example { &::before { background-color: $light; color: $dark; @@ -141,7 +141,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3); border: none; } - pre.src { + pre.src, pre.example { &::before { background-color: $dark; color: $light; @@ -215,7 +215,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3); border: none; } - pre.src { + pre.src, pre.example { &::before { background-color: $black; color: $light; @@ -286,7 +286,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3); border: none; } - pre.src { + pre.src, pre.example { &::before { background-color: $dark; color: $light; @@ -367,7 +367,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3); background: $black; } -pre.src { +pre.src, pre.example { background: $dark; color: $light; }