History

Add light background to images and iframes

Jasper van Merle committed 8 years ago

Commit e2336ee1 parent c22fa4c3 files · +8 −0Browse files

Unified · Split

3 files
  1. assets/stylesheets/global/_base.scss +4 −0
  2. assets/stylesheets/global/_variables-dark.scss +2 −0
  3. assets/stylesheets/global/_variables.scss +2 −0
assets/stylesheets/global/_base.scss+4−0
@@ -218,6 +218,10 @@ button:focus { · 217 unmodified lines
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+2−0
@@ -13,6 +13,8 @@ $sidebarMediumWidth: 16rem; · 12 unmodified lines
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+2−0
@@ -13,6 +13,8 @@ $sidebarMediumWidth: 16rem; · 12 unmodified lines
1313 $documentBackground: #f3f3f3;
1414 $contentBackground: #fff;
1515
16+$externalsBackground: $contentBackground;
17+
1618 $textColor: #333;
1719 $textColorLight: #666;
1820 $textColorLighter: #888;