home *** CD-ROM | disk | FTP | other *** search
/ Freelog 29 / Freelog029.iso / Bas / Internet / MTELite / CSS / style.css
Cascading Style Sheet File  |  2001-05-10  |  3KB  |  168 lines

  1. /*
  2. Text/CSS
  3. ========
  4. Formatierung fⁿr Arbeitsfenster des MTE
  5. =======================================
  6. Vorgesehene Datei: CSS/style.css
  7. ================================
  8.  
  9. Bemerkungen:
  10. ============
  11. Langform erforderlich, z. B. 
  12.     span { display:inline; }
  13. Kurzform wird nicht erkannt, z. B.
  14.     span  display:inline;
  15. fⁿhrt zu Fehlersituation!
  16.  
  17. Abschlie▀endes Semikolon ist zwingend erforderlich!
  18.  
  19. Vorgesehene Angaben und Werte:
  20. ==============================
  21. display
  22.     block    (Absatz, z. B. <p>)
  23.     inline    (innerhalb der Zeile, z. B. <b>)
  24.  
  25. white-space
  26.     pre    (formatierter Absatz, z. B. <pre>)
  27.  
  28. font-family
  29.     Helvetica
  30.     Times
  31.     Courier
  32.     Sans-Serif    (Helvetica)
  33.     Serif        (Times)
  34.     Monospace    (Courier)
  35.  
  36. font-size
  37.     (numerische Angabe ohne Ma▀einheit!)
  38.  
  39. color
  40.     (Hex-Zahl, z. B. #007f00)
  41.  
  42. bgcolor
  43.     (Hex-Zahl, z. B. #007f00)
  44.  
  45. font-style
  46.     oblique    (kursiv)
  47.     normal    (gerade)
  48.  
  49. text-decoration
  50.     underline    (unterstrichen)
  51.     line-through    (durchgestrichen)
  52.  
  53. position
  54.     relative    (fⁿr margin bei <sup>, <sub>)
  55.  
  56. margin-bottom
  57.     (numerische Angabe ohne Ma▀einheit!), z. B. fⁿr <sup>
  58.  
  59. margin-top
  60.     (numerische Angabe ohne Ma▀einheit!), z. B. fⁿr <sub>
  61. */
  62. /* Kommentare mit SchrΣgstrich, Sternchen, Kommentar, Sternchen, SchrΣgstrich */
  63.  
  64.  
  65. /*
  66.     experimentell: verstecktes Element hidden
  67. */
  68. hidden { display:none; }
  69. /* 
  70.     Block-Elemente, eigentlich ⁿberflⁿssig, da das der Vorgabewert fⁿr unbekannte Tags ist
  71. */
  72.  
  73. h1, h2, h3, h4, h5, h6, p, address, pre, script, noscript, blockquote, ul, ol, li, dl, dt, dd, hr, table, th, td, tr, thead, tbody, tfoot, caption, div, form, input, textarea, select, option, button, fieldset, legend, label, map, area, colgroup, col, br, applet, param, meta, object, embed, ignore, hsdlmap, hsdlarea, hsdllinkcollection, hsdlindex, hsdlindexentry, hsdlmultiindexentry, hsdlinclude, hsdlframe, hsdlalias
  74. {
  75.     display:block;
  76. }
  77.  
  78. h1 { font-size:24; }
  79. h2 { font-size:20; }
  80. h3 { font-size:16; }
  81. h4 { font-size:14; }
  82. h5 { font-size:12; }
  83. h6 { font-size:10; }
  84.  
  85. /* Inline-Elemente */
  86.  
  87. br, span, font, a, eval, code, tt, kbd, var, em, strong, samp, abbr, acronym, dfn, cite, q, ins, i, u, b, s, strike, sub, sup, big, small, img, hsdlimg, hsdllink, hsdlres
  88. {
  89.     display:inline;
  90. }
  91.  
  92. del
  93. {
  94. /*    display:block    */
  95.     display:inline;
  96. }
  97.  
  98. big 
  99. {
  100.     font-size:12;
  101. }
  102.  
  103. small, acronym
  104.     font-size: 8;
  105. }
  106.  
  107. sub { 
  108.     position: relative;
  109.     top:2; 
  110.     font-size: 8;
  111. }
  112.  
  113. sup {
  114.     position: relative;
  115.     bottom:2;
  116.     font-size: 8;
  117. }
  118.  
  119. script, style, eval, pre
  120. {
  121.     white-space: pre;
  122. }
  123.  
  124. ignore
  125. {
  126.     color:#7f7f7f;
  127. }
  128.  
  129. script, style, eval, pre, code, tt, kbd
  130. {
  131.     font-family: monospace;
  132. }
  133.  
  134. h1, h2, h3, h4, h5, h6, b, strong
  135. {
  136.     font-weight:bold;
  137. }
  138.  
  139. address, em, i, cite
  140. {
  141.     font-style:italic;
  142. }
  143.  
  144. a, hsdllink, hsdlres
  145. {
  146.     color: #0000ff; 
  147. }
  148.  
  149. ins 
  150.     color: #007f00; 
  151. }
  152.  
  153. del 
  154.     color:#ff0000;
  155. }
  156.  
  157. s, del 
  158.     text-decoration: line-through;
  159. }
  160.  
  161. a, u, ins, hsdllink, hsdlres
  162. {
  163.     text-decoration: underline;
  164. }