andrew4582

Code Styles

Aug 6th, 2010
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.31 KB | None | 0 0
  1. table.code, table.spec, table.results, table.compile, table.summary
  2. {
  3.     margin-left: 4em;
  4.     border: 1px solid #000000;
  5.     padding: 4px;
  6. }
  7.  
  8. table.code
  9. {
  10.     background-color: #e5e5e5;
  11. }
  12.  
  13. table.spec
  14. {
  15.     background-color: #aaddff;
  16. }
  17.  
  18. table.results
  19. {
  20.     background-color: #aaeeaa;
  21. }
  22.  
  23. table.compile
  24. {
  25.     background-color: #ffaaaa;
  26. }
  27.  
  28. table.summary
  29. {
  30.     background-color: #ffffff;
  31. }
  32.  
  33. div.code, div.output
  34. {
  35.   border-right: white 2px ridge;
  36.   padding-right: 10px;
  37.   border-top: white 2px ridge;
  38.   padding-left: 10px;
  39.   font-size: 10pt;
  40.   padding-bottom: 10px;
  41.   margin: 10px;
  42.   border-left: white 2px ridge;
  43.   padding-top: 10px;
  44.   border-bottom: white 2px ridge;
  45.   font-family: courier new;
  46.   background-color: #e5e5e5;
  47. }
  48.  
  49. /* For code snippets */
  50.  
  51. span.Keyword,span.Linq,span.ReferenceType,span.ValueType,span.Modifier,span.Statement,
  52. span.MethodParameter,span.Namespace,span.DataType,span.Function,span.Method,
  53. span.Object,span.Operator,span.Property,span.SysTable,span.SysSproc,
  54. span.GlobalVariable,span.ReservedKeyword,span.SystemFunction,span.Type,
  55. span.PreProcessorDirective, span.Element
  56. {
  57.     color: #0000cc
  58. }
  59.  
  60. span.BlockComment,span.XmlComment,span.InlineComment,span.JavaDoc
  61. {
  62.     color: green
  63. }
  64.  
  65. span.String
  66. {
  67.     color: black
  68. }
  69.  
  70. span.Attention
  71. {
  72.     font-weight: bold;
  73.     color: red
  74. }
  75.  
  76. span.Entity
  77. {
  78.     color: red
  79. }
Advertisement
Add Comment
Please, Sign In to add comment