Did you know ... Search Documentation:
GIT commit info
Better example styling.
authorJan Wielemaker
Sun Dec 20 17:17:11 2020 +0100
committerJan Wielemaker
Sun Dec 20 17:32:16 2020 +0100
commit9dc2fd0b3118b9b282e4c438ec95ca1ed3998d0e
treeda7052c5716e0f8afd58c088754bdd8a30750454
parent7c170ade10947b959df991b18ee98a04aadb90fc
Diff style: patch stat
diff --git a/css/examples.css b/css/examples.css
index 4507df7..1f0b0ac 100644
--- a/css/examples.css
+++ b/css/examples.css
@@ -12,11 +12,12 @@
   font-size: 18px;
 }
 
-.ex-header:hover {
+.ex-header .title:hover {
   text-decoration: underline;
 }
 
 .ex-header .title {
+ display: inline-block;
  padding-left: 5px;
  position: relative;
  font-weight: bold;
@@ -28,9 +29,9 @@
 }
 
 .ex-flag {
+  margin-left: 5px;
   position: relative;
   top: 3px;
-  float:left;
   display: inline-block;
   width: 18px;
   height: 16px;
@@ -39,6 +40,7 @@
   background-size: 100% 100%;
 }
 
+.ex-flag.file      { background-image: url("../icons/star.png"); }
 .ex-flag.titleref  { background-image: url("../icons/star.png"); }
 .ex-flag.query     { background-image: url("../icons/query.png"); }
 .ex-flag.called    { background-image: url("../icons/called.png"); }
@@ -47,6 +49,23 @@
 .ex-content h1:first-of-type { display: none; }
 .ex-content .keyword-author  { display: none; }
 
+.ex-content h2.wiki {
+  padding-left: 3em;
+  font-size: 100%;
+  background-color: transparent;
+  color: #000;
+  font-style: italic;
+  font-weight: 600;
+}
+.ex-content h3.wiki {
+  padding-left: 3em;
+  font-size: 100%;
+  background-color: transparent;
+  color: #000;
+  font-style: italic;
+}
+
 .ex            .ex-content { display: none; }
 .ex.ex-current .ex-content { display: block; }
-.ex.primary    .ex-content { display: block; }
+.ex            .ex-header:before { content: "\25ba"; }
+.ex.ex-current .ex-header:before { content: "\25bc"; }