home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / diveintopython / html / diveintopython.css next >
Encoding:
Cascading Style Sheet File  |  2004-05-20  |  2.7 KB  |  188 lines

  1. body {
  2.   background-color: white;
  3.   color: #222;
  4.   font-family: "Book Antiqua", Georgia, Palatino, Times, "Times New Roman", serif;
  5.   line-height: 145%;
  6. }
  7.  
  8. h1, h2, h3, h4, h5, h6, p#tagline, #menu, .Footer, #breadcrumb {
  9.   margin: 0;
  10.   padding: 0;
  11.   font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana, Lucida, Geneva, Helvetica, sans-serif;
  12. }
  13.  
  14. .titlepage h1 {
  15.   margin-top: 1em;
  16. }
  17.  
  18. h1 {
  19.   font-size: 180%;
  20.   background-color: white;
  21.   color: maroon;
  22.   text-shadow: 2px 2px 2px #990000;
  23. }
  24.  
  25. h1 a {
  26.   background-color: white;
  27.   color: maroon;
  28.   text-decoration: none;
  29. }
  30.  
  31. h2 {
  32.   margin-top: 1em;
  33.   font-size: 140%;
  34.   text-shadow: 2px 2px 2px #999999;
  35. }
  36.  
  37. h3 {
  38.   margin-top: 1em;
  39.   font-size: 100%;
  40. }
  41.  
  42. label, .divider {
  43.   display: none;
  44. }
  45.  
  46. #Header {
  47.   border-bottom: 1px solid maroon;
  48. }
  49.  
  50. p#tagline {
  51.   margin: 3px 0 6px 2px;
  52.   font-size: 90%;
  53.   font-weight: bold;
  54.   background-color: white;
  55.   color: maroon;
  56. }
  57.  
  58. #breadcrumb {
  59.   font-size: 90%;
  60. }
  61.  
  62. #navigation {
  63.   font-size: 90%;
  64. }
  65.  
  66. .thispage {
  67.   font-weight: bold;
  68. }
  69.  
  70. .Footer {
  71.   font-size: 90%;
  72.   border-top: 1px solid maroon;
  73.   background-color: white;
  74.   color: maroon;
  75.   width: 85%;
  76. }
  77.  
  78. table.Footer {
  79.   margin-top: 1em;
  80. }
  81.  
  82. #breadcrumb {
  83.   padding: 0 0 1em 2px;
  84. }
  85.  
  86. .tip, .note, .warning, .caution, .important, .footnote {
  87.   margin: 1em 2em 1em 2em;
  88. }
  89.  
  90. .furtherreading {
  91.   margin-top: 1em;
  92. }
  93.  
  94. .screen, .programlisting, .example table {
  95.   margin: 1em 1em 0 1em;
  96.   padding: 0;
  97. }
  98.  
  99. .example table {
  100.   margin-bottom: 1em;
  101. }
  102.  
  103. .toc li {
  104.   list-style: none;
  105. }
  106.  
  107. /* ----- Python code syntax coloring ----- */
  108. .computeroutput, .traceback, .pykeyword, .pystring, .pycomment, .pyfunction, .pyclass {
  109.   background-color: white;
  110. }
  111.  
  112. .pykeyword, .pyfunction, .pyclass {
  113.   font-weight: bold;
  114. }
  115.  
  116. .computeroutput {
  117.   color: teal;
  118. }
  119.  
  120. .traceback {
  121.   color: red;
  122. }
  123.  
  124. .pykeyword {
  125.   color: navy;
  126. }
  127.  
  128. .pystring {
  129.   color: olive;
  130. }
  131.  
  132. .pycomment {
  133.   color: green;
  134.   font-style: italic;
  135. }
  136.  
  137. .pyfunction {
  138.   color: teal;
  139. }
  140.  
  141. .pyclass {
  142.   color: blue;
  143. }
  144.  
  145. /* ----- home page ----- */
  146. #wrapper {
  147.   float: left;
  148.   width: 66%;
  149.   border: 0;
  150.   background-color: white;
  151.   color: #222;
  152.   margin: 1em 2em 0 0;
  153. }
  154.  
  155. #menu {
  156.   font-size: 90%;
  157.   margin-top: 1.5em;
  158. }
  159.  
  160. #menu h2 {
  161.   background-color: white;
  162.   color: maroon;
  163. }
  164.   
  165. #menu ul {
  166.   list-style: none;
  167. }
  168.  
  169. .selfad {
  170.   padding: 5px;
  171.   background-color: #ccc;
  172.   color: #222;
  173.   border: 1px solid #222;
  174. }
  175.  
  176. .selfad p {
  177.   font-family: Tahoma, sans-serif;
  178.   font-size: 90%;
  179.   margin: 10px;
  180.   line-height: 140%;
  181. }
  182.  
  183. #sponsoredlinks {
  184.   float: right;
  185.   margin-top: 20px;
  186.   margin-left: 20px;
  187. }
  188.