home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2011 February / CA02.iso / Darbas / Opera_1100_en_Setup.exe / styles / error.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2010-12-15  |  1.4 KB  |  86 lines

  1. @charset "utf-8";
  2. /* Stylesheet for the Opera error documents */
  3. /* Copyright 2009 Opera Software */
  4.  
  5. @import url(opera.css);
  6.  
  7. html[dir="rtl"] title {
  8.     left: auto;
  9.     right: 10px;
  10. }
  11. html[lang^="el"] title {text-transform: none;}
  12. title::after {
  13.     content: "!";
  14.     speak: none;
  15. }
  16. html[lang^="es"] title::before {content: "\00A1";}
  17. body {
  18.     color: inherit;
  19.     margin: 0;
  20. }
  21. h1 {
  22.     background: url(images/error.png) no-repeat ;
  23.     padding: 0 0 0 58px;
  24.     line-height: 48px;
  25. }
  26. h2 {
  27.     margin: 0 0 0.4em 60px;
  28. }
  29. html[dir="rtl"] h1 {
  30.     text-align: left;
  31.     padding: 20px 5em 15px 10px;
  32. }
  33.  
  34. dl {
  35.     font-size: 83%;
  36.     margin: 10px 0;
  37. }
  38. dt {
  39.     font-weight: bold;
  40.     margin: 0 5px 0 0;
  41.     display: run-in;
  42. }
  43. dd {margin: 0;}
  44. cite { display: inline; }
  45. pre {
  46.     font-size: 90%;
  47.     white-space: pre-wrap;
  48.     line-height: 160%;
  49.     background-color: hsl(0,0%,98%);
  50.     padding: 15px;
  51.     margin: 20px 0;
  52.     border: 1px solid #ccc;
  53.     overflow: auto;
  54.     font-family: Consolas, Inconsolata, Monaco, monospace;
  55. }
  56. pre em {
  57.     font-style: normal;
  58.     padding: 2px;
  59.     speak: spell-out;
  60. }
  61. pre em.error {
  62.     color: white;
  63.     background-color: hsl(0,100%,40%);
  64. }
  65.  
  66. input[type="text"] {
  67.     width: 50%;
  68.     min-width: 15em;
  69. }
  70.  
  71. p, ul, pre, address {
  72.     padding: 0 0 0 60px;
  73. }
  74.  
  75. @media print {
  76.     * {border: none;}
  77.     h2, h2+ul, head {display: none;}
  78.     h1 {
  79.         font-size: 13pt;
  80.         font-weight: bold;
  81.         page-break-before: avoid;
  82.         page-break-after: avoid;
  83.     }
  84. }
  85.  
  86.