Mercurial > hg > ltpda
diff m-toolbox/m/etc/docstyle.css @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/m/etc/docstyle.css Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,168 @@ +body {background-color: white; color: black;} +a:link {color: #0000FF;} +a:active {color: #0000FF;} +a:visited {color: #840084;} + +table.nav {background-color: #E7EBF7;} +table.note {background-color: #E7EBF7;} +li table.note {margin-top:.8ex; margin-bottom:1ex;} +dd table.note {margin-bottom:1ex;} + +p {margin-top:0ex;} +ul ul {list-style-type:square;} +ul li p {margin-top:0ex; margin-bottom:.5ex; padding:0} +li p.listimage {margin-top:.8ex; margin-bottom:1ex; padding:0} +ol li p {margin-top:0ex; margin-bottom:.5ex; padding:0} + +/* name of ref pg */ +h1.reftitle {color:#990000} +h1.reftitle {font-size:3.7ex; margin-top:0; margin-bottom:0; font-weight:normal} +/* margin-top was 1ex, margin-bottom was .8ex */ + +/* chaptertitle */ +h1.title {color:black; font-size:4ex; margin-top:1ex; font-weight:bold} + +/* sect1 */ +h2.title {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold; font-size:3ex} + +/* sect2 */ +h3.title {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold; font-size:2.5ex} + +/* sect3 */ +h4.title {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold; font-size:2ex} + +/* refsect1 */ +h2 {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold; font-size:2.5ex} +/* refsect2 */ +h3 {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold; font-size:2ex} +/* refsect3 */ +h4.refsect3 {color:#990000; margin-top:1ex; margin-bottom:.9ex; font-weight:bold;} + +i.comment {color:red} + +/* Match indentation for programlisting and graphic inside an example or informalexample */ +pre.programlisting {margin-left:32px;} +p.synopsis {margin-left:32px;} +p.programlistingindent {margin-left:32px;} +table.programlistingindent {margin-left:32px;} +p.listprogramlistingindent {margin-left:32px; margin-top:.8ex; margin-bottom:1ex; padding:0;} + +/* Add more vertical space below simplelist if it has a following sibling. + * Indent simplelists except in tables. */ +table.simplelist_nottable_notlast {margin-left:32px; margin-bottom:2ex;} +table.simplelist_nottable_last {margin-left:32px;} +table.simplelist_table_notlast {margin-left:-3px; margin-bottom:2ex;} +table.simplelist_table_last {margin-left:-3px;} + +/* For tables of links appearing below the 'sect1', i.e. h2, heading at the top of each page */ +/* Based on datatable5 style from site4.css, used on the support main page */ +.pagenavtable th { background-color:#D7D7D7; border-bottom: 1px solid #878787; color:#000000; font-weight:bold; text-align:left; } +.pagenavtable { border:1px solid #878787; margin-top:1.7ex; margin-bottom:.5ex; } +.pagenavtable td { text-align:left; vertical-align:top; padding:4px; } +.pagenavtable td p{ line-height:1.2em; margin-top:.7ex; margin-bottom:.7ex;} +p.pagenavlink { margin-top:2.2ex; margin-bottom:0; padding-top:0; padding-bottom:0; } +a.pagenavimglink { text-decoration:none; } + +/* Vertical space in tables other than the header and footer banners */ +table.body {margin-top:2ex; margin-bottom:2ex;} + +/* Underline the keyboard accelerator. */ +span.accel {text-decoration:underline;} + +/* Left-align table headers. <th> is centered by default. */ +th {text-align: left;} +/* Permit overrides */ +th.center {text-align: center;} + +/* Make superscripts/subscripts smaller and further up/down. */ +sup {font-size: 75%; position:relative; top:-3px;} +sub {font-size: 75%; position:relaive; bottom:3px;} + +/* Change spacing in glossary */ +dt.glossary {margin-bottom:-.8ex;} +dd.glossary {margin-left:0;} +dd.glossary p {margin-top:1ex;} + +/* classrefentry */ +.classrefindent {margin-left: 32px;} +h4.name {color:#000000; font-size:2ex} +h4.classreftitle {color:#990000; } +.backtotop {text-align:right;} + +p.copy { margin:0; } + +/* Permit color-coded text. */ +.blue {color:blue;} +.red {color:red;} +.green {color:green;} +.violet {color:blueviolet;} +.brown {color:#CC9933;} +.darkred {color:#CC0000;} +.black {color:black;} + +/* Vertically align inline images, especially equations. */ +img.baseline1 {vertical-align:-1pt;} +img.baseline2 {vertical-align:-2pt;} +img.baseline3 {vertical-align:-3pt;} +img.baseline4 {vertical-align:-4pt;} +img.baseline5 {vertical-align:-5pt;} +img.baseline6 {vertical-align:-6pt;} +img.baseline7 {vertical-align:-7pt;} +img.baseline8 {vertical-align:-8pt;} +img.baseline9 {vertical-align:-9pt;} +img.baseline10 {vertical-align:-10pt;} +img.baseline11 {vertical-align:-11pt;} +img.baseline12 {vertical-align:-12pt;} +img.baseline13 {vertical-align:-13pt;} +img.baseline14 {vertical-align:-14pt;} +img.baseline15 {vertical-align:-15pt;} + +/* Footer monospace */ +tt.minicdot {font-size: 1.6ex; } + +/* For WebRenderer, avoid shifting of next/previous buttons when page is short. */ +html { height: 101%; } + +/* Headings and category tables on Functions -- By Category pages */ +.categorytitle {margin-top:8px; padding-top:0px;} +.subcategorytitle {margin-top:8px; padding-top:0px; margin-bottom:4px; padding-bottom:0px;} +.categorylist {background-color: #e1e6f2;} +.subcategorylist {background-color:#f3f4f5;} + +div.fragment { + width: 98%; + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding-left: 4px; + margin: 4px; +} + +/* Permit color-coded text. */ +.blue {color:blue;} +.red {color:red;} +.green {color:green;} +.violet {color:blueviolet;} +.brown {color:#CC9933;} +.darkred {color:#CC0000;} +.black {color:black;} +.comment { + color: #228B22; +} +.string { + color: #B20000; +} +.keyword { + color: #0000FF; +} +pre.programlisting {margin-left:32px;} +/* Underline the keyboard accelerator. */ +span.accel {text-decoration:underline;} + +.keywordtype { color: #604020; } +.keywordflow { color: #e08000; } +.preprocessor { color: #806020; } +.stringliteral { color: #002080; } +.charliteral { color: #008080; } + + +/* Copyright 2002-2006 The MathWorks, Inc. */