website-style-v4.patch

text/plain

Filename: website-style-v4.patch
Type: text/plain
Part: 0
Message: Re: Poll: are people okay with function/operator table redesign?

Patch

Format: unified
Series: patch v4
File+
media/css/main.css 22 4
diff --git a/media/css/main.css b/media/css/main.css
index 08ca255..07963f2 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -625,7 +625,7 @@ ul.actions {
 }
 
 #docContent p {
-  margin-bottom: 1rem !important;
+  margin-bottom: 1rem;
 }
 
 #docContent hr {
@@ -648,7 +648,7 @@ ul.actions {
 }
 
 #docContent pre {
-  padding: 0.8rem !important;
+  padding: 0.8rem;
 }
 
 pre,
@@ -658,7 +658,7 @@ code,
 #docContent tt.REPLACEABLE {
   font-size: 0.9rem !important;
   color: inherit !important;
-  background-color: #f8f9fa !important;
+  background-color: #f8f9fa;
   border-radius: .25rem;
   margin: .6rem 0;
   font-weight: 300;
@@ -799,6 +799,24 @@ code,
 	text-align: left;
 }
 
+#docContent table.table th.func_table_entry p,
+#docContent table.table td.func_table_entry p {
+  margin-top: 0.1em 0 0.1em 0;
+  padding-left: 4em;
+  text-align: left;
+}
+
+#docContent table.table p.func_signature {
+  text-indent: -3.5em;
+}
+
+#docContent table.table td.func_table_entry pre.programlisting {
+  background-color: inherit;
+  border: 0;
+  margin: 0.1em 0 0.1em 0;
+  padding: 0 0 0 4em;
+}
+
 /**
  * Titles, Navigation
  */
@@ -1059,7 +1077,7 @@ i.fas.fa-search {
 pre {
   padding: 0.8rem;
   border: 1px solid #ced4da;
-  margin: 1rem 0 !important;
+  margin: 1rem 0;
 }
 
 pre.code {