home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 March / PCWorld_2002-03_cd.bin / Komunik / opera / win / ow32enen600.exe / WML.CSS < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-11-28  |  1.7 KB  |  101 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.   font-style: italic;
  53. }
  54.  
  55. do:before[label] {
  56.   content: attr(label);
  57.   font-style: normal;
  58. }  
  59.  
  60. do, anchor { 
  61.   -use-link-source: next;
  62. }
  63.  
  64. a, go { 
  65.   -set-link-source: attr(href);
  66.   -use-link-source: current;
  67. }
  68.  
  69. a, go, do, anchor {
  70.   color: blue;
  71. }
  72.  
  73. go { display: inline }
  74.  
  75. onevent[type="onenterforward"] go:before {
  76.   content: "Please press forward";
  77.   text-decoration: blink;
  78. }
  79.  
  80. small {
  81.   font-size: smaller;
  82. }
  83.  
  84. p { padding: 0.3em }
  85.  
  86. p, p[align="left"] { text-align: left } 
  87. p[align=center] { text-align: center }
  88. p[align="right"] { text-align: right }
  89.  
  90. strong, b { font-weight: bold }
  91. i, em { font-style: italic }
  92. u { text-decoration: underline }
  93. big { font-size: larger }
  94. pre { white-space: pre }
  95.  
  96. table { display: table }
  97. tr { display: table-row }
  98. td { display: table-cell }
  99.  
  100. fieldset { display: block } 
  101.