home *** CD-ROM | disk | FTP | other *** search
/ com!online 2002 May / comcd0502.iso / browser / opera / ow32dede601j.exe / WML.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2002-02-06  |  1.7 KB  |  107 lines

  1. /* CSS style sheet to display WML in Opera */
  2. /* Copyright 2000-2002 Opera Software */
  3.  
  4. wml, template, card, p, br, pre { display: block; font: 20px sans-serif }
  5.  
  6. wml {
  7.   color: black;
  8.   padding: 1em;
  9. }
  10.  
  11. template {
  12.   background: #DDD;
  13.   padding: 0.6em 1em;
  14.   margin-bottom: 0.3em;
  15. }
  16.  
  17. img {
  18.   -replace: attr(src);
  19.   margin 0.3em;
  20. }
  21.  
  22. timer { display: none }
  23.  
  24. card:before {
  25.   display: block;
  26.   font-style: italic;
  27.   background: #333;
  28.   color: white;
  29.   content: attr(name) attr(title);
  30.   padding: 0.3em;
  31.   margin-bottom: 0.5em;
  32. }
  33.  
  34. card { 
  35.   display: block;
  36.   position: deck;
  37.   padding: 1em;
  38.   background: silver;
  39.   background: #EEE;
  40.   text-align: left;
  41. }
  42.  
  43. do {
  44.   padding: 0.05em;
  45.   margin: 0.05em;
  46.   border: 0.1em black outset;
  47.   white-space: nowrap;
  48. }
  49.  
  50. do[type=prev]:before {
  51.   content: "Previous";
  52. }
  53.  
  54. do[type=next]:before {
  55.   content: "Next";
  56. }
  57.  
  58. do:before[label] {
  59.   content: attr(label);
  60.   font-style: normal;
  61. }  
  62.  
  63. do, anchor { 
  64.   -use-link-source: next;
  65. }
  66.  
  67. a, go { 
  68.   -set-link-source: attr(href);
  69.   -use-link-source: current;
  70. }
  71.  
  72. a, go, do, anchor {
  73.   color: blue;
  74. }
  75.  
  76. go { display: inline }
  77.  
  78. onevent[type="onenterforward"] go:before {
  79.   content: "Please press forward";
  80.   text-decoration: blink;
  81. }
  82.  
  83. small {
  84.   font-size: smaller;
  85. }
  86.  
  87. p { padding: 0.3em }
  88.  
  89. p, p[align="left"] { text-align: left } 
  90. p[align=center] { text-align: center }
  91. p[align="right"] { text-align: right }
  92.  
  93. strong, b { font-weight: bold }
  94. i, em { font-style: italic }
  95. u { text-decoration: underline }
  96. big { font-size: larger }
  97. pre { white-space: pre }
  98.  
  99. table { display: table }
  100. tr { display: table-row }
  101. td { display: table-cell }
  102.  
  103. fieldset { display: block } 
  104.  
  105.  
  106.  
  107.