summary refs log tree commit diff
path: root/doc/style.css
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-04-05 07:54:01 -0400
committerGraham Christensen <graham@grahamc.com>2018-04-05 07:54:01 -0400
commit8f33464ca7a603301cf9a5a213be23ca701d6cce (patch)
treeb524e95295d498a5241d04b977ec12b03769bf96 /doc/style.css
parentced3a201e39397f5c7a311d40525088494ea7808 (diff)
downloadnixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar.gz
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar.bz2
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar.lz
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar.xz
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.tar.zst
nixpkgs-8f33464ca7a603301cf9a5a213be23ca701d6cce.zip
nixos docs: syntax highlight
 - Rectifies diverging CSS by combining
   nixos/nixpkgs docs CSS
 - Moves our custom Highlight.js loader in to
   the hljs package
 - Switches the nixos docs to use SVG
   callouts too
Diffstat (limited to 'doc/style.css')
-rw-r--r--doc/style.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/style.css b/doc/style.css
index 83dae0dd2cd..0db907815b6 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -248,6 +248,23 @@ table
     box-shadow: 0.4em 0.4em 0.5em #e0e0e0;
 }
 
+table.simplelist
+{
+    text-align: left;
+    color: #005aa0;
+    border: 0;
+    padding: 5px;
+    background: #fffff5;
+    font-weight: normal;
+    font-style: italic;
+    box-shadow: none;
+    margin-bottom: 1em;
+}
+
+div.navheader table, div.navfooter table {
+    box-shadow: none;
+}
+
 div.affiliation
 {
     font-style: italic;