Skip to content

Commit e2336ee

Browse files
jmerleThibaut
authored andcommitted
Add light background to images and iframes
1 parent c22fa4c commit e2336ee

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

assets/stylesheets/global/_base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ button:focus {
218218
outline: -webkit-focus-ring-color auto 5px;
219219
}
220220

221+
img, iframe {
222+
background: $externalsBackground;
223+
}
224+
221225
input[type="search"]::-webkit-search-cancel-button,
222226
input[type="search"]::-webkit-search-decoration {
223227
-webkit-appearance: none;

assets/stylesheets/global/_variables-dark.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ $sidebarMediumWidth: 16rem;
1313
$documentBackground: #222;
1414
$contentBackground: #33373a;
1515

16+
$externalsBackground: #fff;
17+
1618
$textColor: #cbd0d0;
1719
$textColorLight: #9da5ad;
1820
$textColorLighter: #77787a;

assets/stylesheets/global/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ $sidebarMediumWidth: 16rem;
1313
$documentBackground: #f3f3f3;
1414
$contentBackground: #fff;
1515

16+
$externalsBackground: $contentBackground;
17+
1618
$textColor: #333;
1719
$textColorLight: #666;
1820
$textColorLighter: #888;

0 commit comments

Comments
 (0)