PageRenderTime 165ms CodeModel.GetById 80ms app.highlight 43ms RepoModel.GetById 37ms app.codeStats 1ms

/docs/_theme/djangodocs/static/djangodocs.css

https://code.google.com/p/mango-py/
CSS | 135 lines | 103 code | 16 blank | 16 comment | 0 complexity | 1e263d2b77a322c6fc9b18b45ce74f44 MD5 | raw file
  1/*** setup ***/
  2html { background:#092e20;}
  3body { font:12px/1.5 Verdana,sans-serif; background:#092e20; color: white;}
  4#custom-doc { width:76.54em;*width:74.69em;min-width:995px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} 
  5#hd { padding: 4px 0 12px 0; }
  6#bd { background:#234F32; }
  7#ft { color:#487858; font-size:90%; padding-bottom: 2em; }
  8
  9/*** links ***/
 10a {text-decoration: none;}
 11a img {border: none;}
 12a:link, a:visited { color:#ffc757; }
 13#bd a:link, #bd a:visited { color:#ab5603; text-decoration:underline; }
 14#bd #sidebar a:link, #bd #sidebar a:visited { color:#ffc757; text-decoration:none; }
 15a:hover { color:#ffe761; }
 16#bd a:hover { background-color:#E0FFB8; color:#234f32; text-decoration:none; }
 17#bd #sidebar a:hover { color:#ffe761; background:none; }
 18h2 a, h3 a, h4 a { text-decoration:none !important; }
 19a.reference em { font-style: normal; }
 20
 21/*** sidebar ***/
 22#sidebar div.sphinxsidebarwrapper { font-size:92%; margin-right: 14px; }
 23#sidebar h3, #sidebar h4 { color: white; font-size: 125%; }
 24#sidebar a { color: white; }
 25#sidebar ul ul { margin-top:0; margin-bottom:0; }
 26#sidebar li { margin-top: 0.2em; margin-bottom: 0.2em; }
 27
 28/*** nav ***/
 29div.nav { margin: 0; font-size: 11px; text-align: right; color: #487858;}
 30#hd div.nav { margin-top: -27px; }
 31#ft div.nav { margin-bottom: -18px; }
 32#hd h1 a { color: white; }
 33#global-nav { position:absolute; top:5px; margin-left: -5px; padding:7px 0; color:#263E2B; }
 34#global-nav a:link, #global-nav a:visited {color:#487858;}
 35#global-nav a {padding:0 4px;}
 36#global-nav a.about {padding-left:0;}
 37#global-nav:hover {color:#fff;}
 38#global-nav:hover a:link, #global-nav:hover a:visited  { color:#ffc757; }
 39
 40/*** content ***/
 41#yui-main div.yui-b { position: relative; }
 42#yui-main div.yui-b { margin: 0 0 0 20px; background: white; color: black; padding: 0.3em 2em 1em 2em; }
 43
 44/*** basic styles ***/
 45dd { margin-left:15px; }
 46h1,h2,h3,h4 { margin-top:1em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
 47h1 { font-size:218%; margin-top:0.6em; margin-bottom:.4em; line-height:1.1em; }
 48h2 { font-size:175%; margin-bottom:.6em; line-height:1.2em; color:#092e20; }
 49h3 { font-size:150%; font-weight:bold; margin-bottom:.2em; color:#487858; }
 50h4 { font-size:125%; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
 51div.figure { text-align: center; }
 52div.figure p.caption { font-size:1em; margin-top:0; margin-bottom:1.5em; color: #555;}
 53hr { color:#ccc; background-color:#ccc; height:1px; border:0; }
 54p, ul, dl { margin-top:.6em; margin-bottom:1em; padding-bottom: 0.1em;}
 55#yui-main div.yui-b img { max-width: 50em; margin-left: auto; margin-right: auto; display: block; }
 56caption { font-size:1em; font-weight:bold; margin-top:0.5em; margin-bottom:0.5em; margin-left: 2px; text-align: center; }
 57blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } 
 58strong { font-weight: bold; }
 59em { font-style: italic; }
 60ins { font-weight: bold; text-decoration: none; }
 61
 62/*** lists ***/
 63ul { padding-left:30px; }
 64ol { padding-left:30px; }
 65ol.arabic li { list-style-type: decimal; }
 66ul li { list-style-type:square; margin-bottom:.4em; }
 67ol li { margin-bottom: .4em; }
 68ul ul { padding-left:1.2em; }
 69ul ul ul { padding-left:1em; }
 70ul.linklist, ul.toc { padding-left:0; }
 71ul.toc ul { margin-left:.6em; }
 72ul.toc ul li { list-style-type:square; }
 73ul.toc ul ul li { list-style-type:disc; }
 74ul.linklist li, ul.toc li { list-style-type:none; }
 75dt { font-weight:bold; margin-top:.5em; font-size:1.1em; }
 76dd { margin-bottom:.8em; }
 77ol.toc { margin-bottom: 2em; }
 78ol.toc li { font-size:125%; padding: .5em; line-height:1.2em; clear: right; }
 79ol.toc li.b { background-color: #E0FFB8; }
 80ol.toc li a:hover { background-color: transparent !important; text-decoration: underline !important; }
 81ol.toc span.release-date { color:#487858; float: right; font-size: 85%; padding-right: .5em; }
 82ol.toc span.comment-count { font-size: 75%; color: #999; }
 83
 84/*** tables ***/
 85table { color:#000; margin-bottom: 1em; width: 100%; }
 86table.docutils td p { margin-top:0; margin-bottom:.5em; }
 87table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
 88table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; font-weight: bold; white-space: nowrap; }
 89table.docutils thead th p { margin: 0; padding: 0; }
 90table.docutils { border-collapse:collapse; }
 91
 92/*** code blocks ***/
 93.literal { white-space:nowrap; }
 94.literal { color:#234f32; }
 95#sidebar .literal { color:white; background:transparent; font-size:11px; }
 96h4 .literal { color: #234f32; font-size: 13px; }
 97pre { font-size:small; background:#E0FFB8; border:1px solid #94da3a; border-width:1px 0; margin: 1em 0; padding: .3em .4em; overflow: hidden; line-height: 1.3em;}
 98dt .literal, table .literal { background:none; }
 99#bd a.reference { text-decoration: none; }
100#bd a.reference tt.literal { border-bottom: 1px #234f32 dotted; }
101
102/* Restore colors of pygments hyperlinked code */
103#bd .highlight .k a:link, #bd .highlight .k a:visited { color: #000000; text-decoration: none; border-bottom: 1px dotted #000000; }
104#bd .highlight .nf a:link, #bd .highlight .nf a:visited { color: #990000; text-decoration: none; border-bottom: 1px dotted #990000; }
105
106
107/*** notes & admonitions ***/
108.note, .admonition { padding:.8em 1em .8em; margin: 1em 0; border:1px solid #94da3a; }
109.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
110.admonition .last { margin-bottom:0 !important; }
111.note, .admonition { padding-left:65px; background:url(docicons-note.png) .8em .8em no-repeat;}
112div.admonition-philosophy { padding-left:65px; background:url(docicons-philosophy.png) .8em .8em no-repeat;}
113div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-behindscenes.png) .8em .8em no-repeat;}
114
115/*** versoinadded/changes ***/
116div.versionadded, div.versionchanged {  }
117div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }
118
119/*** p-links ***/
120a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }
121h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; }
122
123/*** index ***/
124table.indextable td { text-align: left; vertical-align: top;}
125table.indextable dl, table.indextable dd { margin-top: 0; margin-bottom: 0; }
126table.indextable tr.pcap { height: 10px; }
127table.indextable tr.cap { margin-top: 10px; background-color: #f2f2f2;}
128
129/*** page-specific overrides ***/
130div#contents ul { margin-bottom: 0;}
131div#contents ul li { margin-bottom: 0;}
132div#contents ul ul li { margin-top: 0.3em;}
133
134/*** IE hacks ***/
135* pre { width: 100%; }