summary refs log tree commit diff stats
path: root/doc/nimdoc.css
diff options
context:
space:
mode:
Diffstat (limited to 'doc/nimdoc.css')
-rw-r--r--doc/nimdoc.css20
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/nimdoc.css b/doc/nimdoc.css
index 3fb5497ff..0c399e4c1 100644
--- a/doc/nimdoc.css
+++ b/doc/nimdoc.css
@@ -623,8 +623,8 @@ pre {
 

 table.line-nums-table {

   border-radius: 4px;

-  border: 1px solid #cccccc;

-  background-color: ghostwhite;

+  border: 1px solid var(--border);

+  background-color: var(--secondary-background);

   border-collapse: separate;

   margin-top: 15px;

   margin-bottom: 25px; }

@@ -660,6 +660,9 @@ table {
   border-collapse: collapse;

   border-color: var(--third-background);

   border-spacing: 0;

+}

+

+table:not(.line-nums-table) {

   font-size: 0.9em;

 }

 

@@ -678,7 +681,7 @@ table th.docinfo-name {
   text-align: right;

 }

 

-table tr:hover {

+table:not(.line-nums-table) tr:hover {

   background-color: var(--third-background); }

 

 

@@ -767,15 +770,16 @@ div.topic {
 

 div.search_results {

   background-color: var(--third-background);

-  margin: 3em;

+  margin: 3vh 5vw;

   padding: 1em;

   border: 1px solid #4d4d4d;

-  position: sticky;

-  top: 0;

+  position: fixed;

+  top: 10px;

   isolation: isolate;

+  max-width: calc(100vw - 6em);

   z-index: 1;

-  max-height: 100vh;

-  overflow-y: scroll; }

+  max-height: calc(100vh - 6em);

+  overflow-y: scroll;}

 

 div#global-links ul {

   margin-left: 0;