jquery.sceditor.default.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. html, body, p, code:before, table {
  2. margin: 0;
  3. padding: 0;
  4. color: #111;
  5. }
  6. html>body>p, html>body>div {
  7. font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
  8. }
  9. ul, ol {
  10. margin-top: 0;
  11. margin-bottom: 0;
  12. padding-top: 0;
  13. padding-bottom: 0;
  14. }
  15. table, td {
  16. border: 1px dotted #000;
  17. empty-cells: show;
  18. }
  19. code:before {
  20. position: absolute;
  21. content: 'Code:';
  22. top: -1.35em;
  23. left: 0;
  24. }
  25. code {
  26. margin-top: 1.5em;
  27. position: relative;
  28. background: #eee;
  29. border: 1px solid #aaa;
  30. white-space: pre;
  31. padding: .25em;
  32. }
  33. code:before, code {
  34. display: block;
  35. text-align: left;
  36. }
  37. blockquote {
  38. position: relative;
  39. background: #ebf4f8;
  40. margin: .25em 0;
  41. border: 1px solid #d6dfe2;
  42. border-left: 2px solid #aaa;
  43. border-right: 2px solid #aaa;
  44. padding: 4px 8px;
  45. font: 75%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
  46. }
  47. blockquote blockquote {
  48. font-size: 1em;
  49. }
  50. /* Will correctly colour down to seventh level of nested quotes in editor. Can be extended easily enough. */
  51. body>blockquote>blockquote, body>blockquote>blockquote>blockquote>blockquote,
  52. body>blockquote>blockquote>blockquote>blockquote>blockquote>blockquote {
  53. background: #e0e6f6;
  54. }
  55. blockquote cite, code cite {
  56. font-style: normal;
  57. display: block;
  58. font-size: 1em;
  59. border-bottom: 1px solid #fff;
  60. box-shadow: 0 -1px 0 #ccc inset;
  61. margin: 0 -4px;
  62. padding: 0 0 4px 0;
  63. }
  64. body>blockquote>blockquote>cite, body>blockquote>blockquote>blockquote>blockquote>cite,
  65. body>blockquote>blockquote>blockquote>blockquote>blockquote>blockquote>cite {
  66. border-bottom: 1px solid #f0f0f0;
  67. box-shadow: 0 -1px 0 #c0c0c0 inset;
  68. }
  69. code cite {
  70. position: relative;
  71. top: -1.6em;
  72. padding-left: 3em;
  73. }
  74. blockquote cite a:link, blockquote cite a:visited {
  75. text-decoration: none;
  76. color: #346;
  77. }
  78. div {
  79. min-height: 1em; /*height:auto !important; height: 1em;*/
  80. }
  81. h1, h2, h3, h4, h5, h6 {
  82. padding: 0; margin: 0;
  83. }