home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2003 March / DPPCPRO0303.ISO / Essentials / internet / Opera / ow32enen605j.exe / WML.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2002-04-18  |  1.8 KB  |  112 lines

  1. /* CSS style sheet to display WML in Opera */
  2. /* Copyright 2000 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.2em;
  45.   margin: 0.3em;
  46.   border: 0.15em 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[type=accept]:before {
  59.   content: "Accept";
  60. }
  61.  
  62. do[type=options]:before {
  63.   content: "Options";
  64. }
  65.  
  66. do[label]:before {
  67.   content: attr(label);
  68.   font-style: normal;
  69. }  
  70.  
  71. do, anchor { 
  72.   -use-link-source: next;
  73. }
  74.  
  75. a, go { 
  76.   -set-link-source: attr(href);
  77.   -use-link-source: current;
  78. }
  79.  
  80. a, go, do, anchor {
  81.   color: blue;
  82. }
  83.  
  84. go { display: inline }
  85.  
  86. onevent[type="onenterforward"] go:before {
  87.   content: "Please press forward";
  88.   text-decoration: blink;
  89. }
  90.  
  91. small {
  92.   font-size: smaller;
  93. }
  94.  
  95. p { padding: 0.3em }
  96.  
  97. p, p[align="left"] { text-align: left } 
  98. p[align=center] { text-align: center }
  99. p[align="right"] { text-align: right }
  100.  
  101. strong, b { font-weight: bold }
  102. i, em { font-style: italic }
  103. u { text-decoration: underline }
  104. big { font-size: larger }
  105. pre { white-space: pre }
  106.  
  107. table { display: table }
  108. tr { display: table-row }
  109. td { display: table-cell }
  110.  
  111. fieldset { display: block } 
  112.