groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: Fixes div width issues in .css Cosmetic fixes to doceleme


From: Peter Schaffter
Subject: [groff] 01/01: Fixes div width issues in .css Cosmetic fixes to docelement.html and images.html.
Date: Tue, 26 Oct 2021 16:38:01 -0400 (EDT)

PTPi pushed a commit to branch master
in repository groff.

commit f16bd3e60a97f66344c47c4c1c4b0d83548be8f3
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Tue Oct 26 16:35:58 2021 -0400

    Fixes div width issues in .css
    Cosmetic fixes to docelement.html and images.html.
---
 contrib/mom/momdoc/docelement.html |  2 +-
 contrib/mom/momdoc/images.html     | 23 ++++++++++++++++++++++-
 contrib/mom/momdoc/stylesheet.css  |  8 +++-----
 3 files changed, 26 insertions(+), 7 deletions(-)

diff --git a/contrib/mom/momdoc/docelement.html 
b/contrib/mom/momdoc/docelement.html
index 1e03f86..161650f 100644
--- a/contrib/mom/momdoc/docelement.html
+++ b/contrib/mom/momdoc/docelement.html
@@ -40,7 +40,7 @@ FDL in the main directory of the groff source package.
 
 <h1 class="docs">The document element tags</h1>
 
-<div style="width: 386px; margin: auto;">
+<div style="width: 460px; margin: auto;">
 <ul class="no-enumerator">
   <li><a href="#docelement-intro">Introduction to the document element 
tags</a></li>
   <li><a href="#docelement-control">Control macros &ndash; changing the tag 
defaults</a>
diff --git a/contrib/mom/momdoc/images.html b/contrib/mom/momdoc/images.html
index ac9e7ac..8e38187 100644
--- a/contrib/mom/momdoc/images.html
+++ b/contrib/mom/momdoc/images.html
@@ -724,7 +724,28 @@ or
 </div>
 
 <div class="box-macro-args">
-Macro: <b>FLOAT</b> <kbd class="macro-args">[ ADJUST +|-&lt;amount&gt; ] [ 
FORCE ] [ SPAN ] [ INDENT &lt;value&gt; ] [ CENTER ] [ RIGHT ] [ NO_SHIM] [ 
NO_FLEX ] | TARGET "&lt;name&gt;" | &lt;anything&gt;</kbd>
+Macro: <b>FLOAT</b> <kbd class="macro-args">&lt;arguments&gt; | 
&lt;anything&gt;
+<br/>
+Arguments:
+<br/>
+[ ADJUST +|-&lt;amount&gt; ] \
+<br/>
+[ FORCE ] \
+<br/>
+[ SPAN ] \
+<br/>
+[ INDENT &lt;value&gt; ] \
+<br/>
+[ CENTER ] \
+<br/>
+[ RIGHT ] \
+<br/>
+[ NO_SHIM] \
+<br/>
+[ NO_FLEX ] \
+<br/>
+[ TARGET "&lt;name&gt;" ]</kbd>
+<br/>
 </div>
 
 <div class="box-tip">
diff --git a/contrib/mom/momdoc/stylesheet.css 
b/contrib/mom/momdoc/stylesheet.css
index 5e2c40b..2a71832 100644
--- a/contrib/mom/momdoc/stylesheet.css
+++ b/contrib/mom/momdoc/stylesheet.css
@@ -27,7 +27,7 @@ a:link.quick { text-decoration: underline; }
 
 .page /* Page setup: page color, size and border */
 {
-  width: 57% ;
+  width: 67% ;
   position: relative ;
   top: 12px ;
   bottom: 12px ;
@@ -206,13 +206,11 @@ div.rule-long /* precedes nav bar at bottom of page */
 .box-macro-args /* Macro name+args */
 {
   display: block ;
-  width: 736px ;
-  max-width: 736px ;
   border: solid 1px #302419 ;
   padding-top: 5px ;
   padding-bottom: 3px ;
-  padding-left: 12px ;
-  padding-right: 12px ;
+  padding-left: 15px ;
+  padding-right: 15px ;
   background-color: #ffffff ;
   white-space: nowrap ;
   overflow: auto ;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]