Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.help.base/doc/book.css9
-rw-r--r--org.eclipse.help.base/doc/darkTheme.css9
-rw-r--r--org.eclipse.help.webapp/advanced/darkTheme.css9
3 files changed, 27 insertions, 0 deletions
diff --git a/org.eclipse.help.base/doc/book.css b/org.eclipse.help.base/doc/book.css
index 5838ae745..a10f6d7a0 100644
--- a/org.eclipse.help.base/doc/book.css
+++ b/org.eclipse.help.base/doc/book.css
@@ -49,4 +49,13 @@ h2 { font-size: 110%; margin-top: 20px; margin-bottom: 3px }
body, h1, h2, h3, h4, h5, h6, p, table, td, caption, th, ul, ol, dl, li, dd, dt {
color: #f0f0f0;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file
diff --git a/org.eclipse.help.base/doc/darkTheme.css b/org.eclipse.help.base/doc/darkTheme.css
index 38dfc4528..383493cfd 100644
--- a/org.eclipse.help.base/doc/darkTheme.css
+++ b/org.eclipse.help.base/doc/darkTheme.css
@@ -14,4 +14,13 @@
a.nolink:visited {
color:#ffffff;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file
diff --git a/org.eclipse.help.webapp/advanced/darkTheme.css b/org.eclipse.help.webapp/advanced/darkTheme.css
index 5d70287bc..b48d82109 100644
--- a/org.eclipse.help.webapp/advanced/darkTheme.css
+++ b/org.eclipse.help.webapp/advanced/darkTheme.css
@@ -44,4 +44,13 @@
.button a, .buttonMenu a {
border:1px solid #3d3d3d;;
}
+
+ /* darken images to add some comfort while reading in dark theme */
+ img {
+ opacity: .75;
+ transition: opacity .5s ease-in-out;
+ }
+ img:hover {
+ opacity: 1;
+ }
} \ No newline at end of file

Back to the top