Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-11-21 04:39:01


Author: johnmaddock
Date: 2007-11-21 04:39:00 EST (Wed, 21 Nov 2007)
New Revision: 41271
URL: http://svn.boost.org/trac/boost/changeset/41271

Log:
Added super/subscript styling as per boost-docs mailing list discussion.
Text files modified:
   trunk/doc/html/boostbook.css | 26 +++++++++++++++++++++++++-
   trunk/doc/src/boostbook.css | 26 +++++++++++++++++++++++++-
   2 files changed, 50 insertions(+), 2 deletions(-)

Modified: trunk/doc/html/boostbook.css
==============================================================================
--- trunk/doc/html/boostbook.css (original)
+++ trunk/doc/html/boostbook.css 2007-11-21 04:39:00 EST (Wed, 21 Nov 2007)
@@ -555,4 +555,28 @@
     span.inlinemediaobject img
     {
         vertical-align: middle;
- }
\ No newline at end of file
+ }
+
+/*==============================================================================
+ Super and Subscript: style so that line spacing isn't effected, see
+ http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
+==============================================================================*/
+
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ _vertical-align: bottom;
+ position: relative;
+
+}
+
+sup {
+ bottom: 1ex;
+}
+
+sub {
+ top: .5ex;
+}
+

Modified: trunk/doc/src/boostbook.css
==============================================================================
--- trunk/doc/src/boostbook.css (original)
+++ trunk/doc/src/boostbook.css 2007-11-21 04:39:00 EST (Wed, 21 Nov 2007)
@@ -539,4 +539,28 @@
     span.inlinemediaobject img
     {
         vertical-align: middle;
- }
\ No newline at end of file
+ }
+
+/*==============================================================================
+ Super and Subscript: style so that line spacing isn't effected, see
+ http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
+==============================================================================*/
+
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ _vertical-align: bottom;
+ position: relative;
+
+}
+
+sup {
+ bottom: 1ex;
+}
+
+sub {
+ top: .5ex;
+}
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk