home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2003 January / maximum-cd-2003-01.iso / Software / Apps / OperawithJava / ow32enen700b1j.exe / ACCESSIBILITY.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2002-11-07  |  3.4 KB  |  158 lines

  1. /*
  2. Name: Accessibility layout
  3. Version: 0.93 beta
  4. Author: Opera Software ASA
  5. Description: Accessibility style sheet for added readability.
  6. */
  7.  
  8.  
  9. /*To change the backround color, please edit the lines below.*/
  10.  
  11. * {
  12.     max-height: none !important;
  13.     min-height: 0px !important;
  14.     height: auto !important;
  15.     max-width: none !important;
  16.     min-width: 0px !important;
  17.     width: auto !important;
  18.     
  19.     color: black !important;
  20.     background: #D8F5D3 !important;         /* Light green, chosen color */
  21. /*    background: #FFFFCC !important;  */  /* Light yellow */
  22. /*    background: #DDDDFF !important;  */  /* Light blue   */
  23.  
  24.     font: 18px/1.4em normal normal Sassoon, Arial, Helvetica, sans-serif !important;
  25.     text-align: left !important;
  26.     text-transform: none !important;
  27.     text-decoration: none !important;
  28.     word-spacing: 0.4mm !important;
  29.     letter-spacing: 0.2mm !important;
  30. }
  31.  
  32. body {
  33.     padding-bottom: 2em !important;
  34.     max-width: 45em !important;
  35. }
  36.  
  37. body:after {
  38.     display: block !important;
  39.     content: "Zoom: Numeric [+] and [-] - Enter URL: [F8] - Shortcuts: [Ctrl+B]" !important;
  40.  
  41.     position: fixed !important;
  42.     bottom: 0px !important;
  43.  
  44.     margin-left: auto !important;
  45.     margin-right: auto !important;
  46.     border-top: thin solid Black !important;
  47.     border-left: thin solid Black !important;
  48.     border-right: thin solid Black !important;
  49.     padding: 1px !important;    
  50.     width: 100% !important;
  51.     height: auto !important;    
  52.  
  53.     background: Silver !important;
  54.     color: Black !important;
  55.     
  56.     font-size: smaller !important;
  57.     text-align: center !important;
  58.     word-spacing: normal !important;
  59.     letter-spacing: normal !important;
  60.     line-height: normal !important;
  61. }
  62.  
  63. a[href] {text-decoration: underline !important;}
  64.  
  65. a[href]:hover {
  66.     background-color: White !important;
  67.     color: Black !important;
  68. }
  69.  
  70. a[href]:active {
  71.     background-color: transparent !important;
  72.     text-decoration: none !important;
  73. }
  74.  
  75. a[href] img {border: medium solid Black !important;}
  76.  
  77. input, textarea, select {
  78.     background: White !important;
  79.     color: Black !important;
  80. }
  81.  
  82. input[type="text"], input[type="password"] {min-height: 1.2em !important;}
  83.  
  84. textarea {min-height: 4em !important;}
  85.  
  86. button, input[type="file"], input[type="submit"], input[type="button"], input[type="reset"], input[type="image"] {
  87.     padding: 2px !important;
  88.     min-width: 2em !important;
  89.     height: 1.2em !important;
  90.     
  91.     background: Silver !important;
  92.     color: Black !important;
  93.     
  94.     text-align: center !important;
  95. }
  96.  
  97. a[accesskey]:after, button[accesskey]:after, input[accesskey]:after,
  98. label[accesskey]:after, legend[accesskey]:after, textarea[accesskey]:after {
  99.     margin-left: 0.3em;
  100.     content: "(" attr(accesskey) ")"; color: red;
  101. }
  102.  
  103.  
  104.  
  105. b, strong, em {font-weight: bold !important;}
  106.  
  107. h1, h2, h3, h4, h5, h6 {font-weight: bold !important;}
  108.  
  109. h1 {
  110.     font-size: 160% !important;
  111.     line-height: 1.0em !important;
  112. }
  113.  
  114. h2 {
  115.     font-size: 140% !important;
  116.     line-height: 1.2em !important;
  117. }
  118.  
  119. h3 {
  120.     font-size: 120% !important;
  121.     line-height: 1.4em !important;
  122. }
  123.  
  124. h4 {
  125.     font-size: 110% !important;
  126.     line-height: 1.4em !important;
  127. }
  128.  
  129. h5 {
  130.     font-size: 100% !important;
  131.     line-height: 1.2em !important;
  132. }
  133.  
  134. h6 {
  135.     font-size: 90% !important;
  136.     line-height: 1.2em !important;
  137. }
  138.  
  139.  
  140.  
  141. hr {
  142.     height: 5px !important;
  143.     background-color: Black !important;
  144.     color: Black !important;
  145.     border: none !important;
  146. }
  147.  
  148.  
  149.  
  150. @media print {
  151.  
  152. * {
  153.     color: Black !important;
  154.     background: white !important;    
  155.     font-size: 5.6mm !important;
  156. }
  157.  
  158. }