drupal_module__ah_toc/ah_toc.css
FGM 52cf2f0181 TOC is now (un)foldable). Extra validation info
- new div.ah-toc-title containing the TOC title
- new div.ah-toggle containing the toggler for TOC folding
- JSlint settings included in source
- Valid CSS 2.1 (@charset, not @CHARSET)
2010-06-06 14:39:29 +02:00

70 lines
1.3 KiB
CSS

@charset "UTF-8";
/**
* @file
* TOC styles for advanced_help
*
* @copyright Ouest Systèmes Informatiques (OSInet)
*
* @license Licensed under the General Public License version 2 and later.
*
* $Id$
*/
/**
* Avoid having the TOC run into preformatted blocks if the initial block of
* text is not high enough.
*
* This extends a rule in advanced_help/help.css
*/
div.advanced-help-topic code, div.advanced-help-topic pre {
clear: right;
}
div.ah-toc {
border: thin solid silver;
float: right;
margin-left: 1em;
margin-bottom: 0.5em;
padding: 0;
}
div.ah-toc * {
margin-bottom: 0 ;
margin-top: 0;
padding: 0;
background: none; /* remove excess list formatting from themes like garland */
}
div.ah-toc div.ah-toc-title {
border-bottom: solid thin silver;
padding: 0.5em;
text-align: center;
font-weight: bold;
}
div.ah-toc .ah-toggle {
float: right;
font-size: smaller;
font-weight: normal;
margin-left: 1em;
display: inline-block;
}
div.ah-toc ul {
list-style-type: none;
margin: 0.5em;
}
/**
* h2 is not present in a normal page hierarchy.
* Therefore h3 is at the first indent level too.
*/
.ah-toc .h2 { margin-left: 0; }
.ah-toc .h3 { margin-left: 0;}
.ah-toc .h4 { margin-left: 1em; }
.ah-toc .h5 { margin-left: 2em; }
.ah-toc .h6 { margin-left: 3em; }
.ah-toc .h7 { margin-left: 4em; }