The version of vichan running on lainchan.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.4KB

  1. /*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
  2. html, body, p, code:before, table {
  3. margin: 0;
  4. padding: 0;
  5. font-family: Verdana, Arial, Helvetica, sans-serif;
  6. font-size: 13px;
  7. color: #111;
  8. }
  9. html {
  10. height: 100%;
  11. /* Needed for iOS scrolling bug fix */
  12. overflow: auto;
  13. -webkit-overflow-scrolling: touch;
  14. }
  15. body {
  16. /* Needed for iOS scrolling bug fix */
  17. position: relative;
  18. overflow: auto;
  19. /* Needed to make sure body covers the whole editor and that
  20. long lines don't cause horizontal scrolling */
  21. min-height: 100%;
  22. word-wrap: break-word;
  23. }
  24. ul, ol {
  25. margin-top: 0;
  26. margin-bottom: 0;
  27. padding-top: 0;
  28. padding-bottom: 0;
  29. }
  30. table, td {
  31. border: 1px dotted #000;
  32. empty-cells: show;
  33. }
  34. code:before {
  35. position: absolute;
  36. content: 'Code:';
  37. top: -1.35em;
  38. left: 0;
  39. }
  40. code {
  41. margin-top: 1.5em;
  42. position: relative;
  43. background: #eee;
  44. border: 1px solid #aaa;
  45. white-space: pre;
  46. padding: .25em;
  47. display: block;
  48. }
  49. .ie6 code, .ie7 code {
  50. margin-top: 0;
  51. }
  52. code:before, code {
  53. display: block;
  54. text-align: left;
  55. }
  56. blockquote {
  57. position: relative;
  58. background: #fff6c7;
  59. margin: .25em 0;
  60. border: 1px solid #aaa;
  61. padding: .25em;
  62. }
  63. blockquote cite {
  64. font-weight: bold;
  65. display: block;
  66. font-size: 1em;
  67. border-bottom: 1px solid #aaa;
  68. }
  69. h1, h2, h3, h4, h5, h6 {
  70. padding: 0; margin: 0;
  71. }
  72. /* Prevent empty paragraphs from collapsing */
  73. div, p {
  74. min-height: 1.25em;
  75. }