home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / yapt-style.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-12  |  3.0 KB  |  173 lines

  1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. *     http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /**
  17.     Main CSS stylesheet for yapt
  18.     Main looks inspired from linotype CSS stylesheets
  19. */
  20.  
  21. #content {
  22.     font-family: "georgia", "times", "times new roman", serif;
  23.     height:100%;
  24. }
  25.  
  26. h1 {
  27.     margin-bottom: 0;
  28.     font-variant: small-caps;
  29.     background: transparent;
  30.     font-size: 150%;
  31. }
  32.  
  33. h2 {
  34.     margin-bottom: 0;
  35.     background: transparent;
  36.     font-size: 125%;
  37. }
  38.  
  39. h3 {
  40.     margin-bottom: 0;
  41.     background: transparent;
  42. }
  43.  
  44. .note {
  45.     font-style: italic;
  46. }
  47.  
  48. pre {
  49.     border: 1px dotted #000;
  50.     padding: 10px;
  51.     margin: 20px;
  52.     font-size: 120%;
  53.     background: silver;
  54. }
  55.  
  56. ul {
  57.     list-style: none;
  58.     padding-left: 0.85em;
  59.     text-indent: -0.85em;
  60. }
  61.  
  62. a {
  63.     text-decoration: none;
  64.     color: #000;
  65.     border-bottom: 1px dotted #777;
  66.     margin: 0px 2px 0px 2px;
  67.     padding: 1px 1px 1px 1px;
  68. }
  69.  
  70. a:hover {
  71.     border: 1px dotted #000;
  72.     background-color: #eee;
  73.     padding: 1px 2px 1px 2px;
  74.     margin: 0px;
  75. }
  76.  
  77. a:active {
  78.     background-color: #ccc !important;
  79.     position: relative;
  80.     top: 1px;
  81.     left: 1px;
  82.     padding: 1px 2px 1px 2px;
  83.     margin: 0px;
  84. }
  85.  
  86. a:focus {
  87.     border: 1px solid #fff !important;
  88.     background-color: #ccc !important;
  89.     padding: 1px 2px 1px 2px;
  90.     margin: 0px;
  91. }
  92.  
  93. /** slides index */
  94. #slidesList .slideId {
  95.     display: inline;
  96.     margin-left; 2em;
  97.     width: 3em;
  98.     text-align: right;
  99. }
  100.  
  101. #presHeading .commentLine {
  102.     font-style: italic;
  103.     margin:0.2em;
  104. }
  105.  
  106. #presHeading .fieldName {
  107.     display: inline;
  108.     font-weight: bold;
  109. }
  110.  
  111. #presHeading .fieldValue {
  112.     display: inline;
  113. }
  114.  
  115. #slidesList .slideTitle {
  116.     display: inline;
  117. }
  118.  
  119. /** navigation at the bottom of slides */
  120. #navigation {
  121.     position:fixed;
  122.     margin: 0;
  123.     padding: 0;
  124.     height: 1em;
  125.     left: 0;
  126.     top: auto;
  127.     right: 1em;
  128.     bottom: 0;
  129.     clear: both;
  130.     font-size: 60%;
  131.     text-align: right;
  132.     line-height: 80%;
  133.     display: inline;
  134. }
  135.  
  136. #navigation div {
  137.     display: inline;
  138. }
  139.  
  140. #navigation a {
  141.     border-bottom: none;
  142.     color: grey;
  143. }
  144.  
  145. /** style hints for slides */
  146. .slideHintLotsOfText {
  147.     font-size: 80%;
  148. }
  149. .slideHintLittleText {
  150.     font-size: 120%;
  151. }
  152.  
  153. /**
  154.     Multiple slides on a single page:
  155.     make sure each slide gets its own block, and prevent page breaks
  156.     in slides when printing (does not work with all browser, Opera works)
  157. */
  158.  
  159. #multipleSlides div.singleSlide {
  160.     page-break-inside: avoid;
  161.     float: left;
  162.     width: 100%;
  163.     clear: both;
  164. }
  165.  
  166. #multipleSlides img {
  167.     page-break-inside: avoid;
  168. }
  169.  
  170. #multipleSlides h1 {
  171.     page-break-after: avoid;
  172. }
  173.