summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorzetashift <rskaraya@gmail.com>2021-02-01 20:18:37 +0100
committerGitHub <noreply@github.com>2021-02-01 20:18:37 +0100
commitfa9dc31899e483ecfa81264dbda5065192d23ab6 (patch)
tree746f1fbfe6df1d4fb3dbf3005eb7ed988e8b3798
parent777888fdea576f2f05216d540a75068f54f91e93 (diff)
downloadNim-fa9dc31899e483ecfa81264dbda5065192d23ab6.tar.gz
fix #16885: nimdoc css warning (#16893)
* fix #16885

* Fixup nimdoc for the CSS filter change

* Use the same Nim devel versions

* Revert "Use the same Nim devel versions"

This reverts commit 8559308f9be54a674f3ac3893efe16e03ecf4d38.

* Revert "Fixup nimdoc for the CSS filter change"

This reverts commit 99ec00a4bd7c448763b2073a7c6f1332bbab924b.

* Fixup nimdoc.out.css

Co-authored-by: zetashift <rishi2@laptop.localdomain>
-rw-r--r--doc/nimdoc.css2
-rw-r--r--nimdoc/testproject/expected/nimdoc.out.css2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/nimdoc.css b/doc/nimdoc.css
index 7d4a399e1..c7523bddb 100644
--- a/doc/nimdoc.css
+++ b/doc/nimdoc.css
@@ -567,6 +567,7 @@ table.line-nums-table {
 .line-nums-table td.blob-line-nums pre {

   color: #b0b0b0;

   -webkit-filter: opacity(75%);

+  filter: opacity(75%);

   text-align: right;

   border-color: transparent;

   background-color: transparent;

@@ -906,6 +907,7 @@ dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier
   background-position: 0 0;

   background-size: 51px 14px;

   -webkit-filter: opacity(50%);

+  filter: opacity(50%);

   background-repeat: no-repeat;

   background-image: var(--nim-sprite-base64);

   margin-bottom: 5px; }

diff --git a/nimdoc/testproject/expected/nimdoc.out.css b/nimdoc/testproject/expected/nimdoc.out.css
index 7d4a399e1..c7523bddb 100644
--- a/nimdoc/testproject/expected/nimdoc.out.css
+++ b/nimdoc/testproject/expected/nimdoc.out.css
@@ -567,6 +567,7 @@ table.line-nums-table {
 .line-nums-table td.blob-line-nums pre {

   color: #b0b0b0;

   -webkit-filter: opacity(75%);

+  filter: opacity(75%);

   text-align: right;

   border-color: transparent;

   background-color: transparent;

@@ -906,6 +907,7 @@ dt pre > span.Operator ~ span.Identifier, dt pre > span.Other ~ span.Identifier
   background-position: 0 0;

   background-size: 51px 14px;

   -webkit-filter: opacity(50%);

+  filter: opacity(50%);

   background-repeat: no-repeat;

   background-image: var(--nim-sprite-base64);

   margin-bottom: 5px; }