comparison src/development/themes/content/default.css @ 0:4c4fc447baea

start with sceditor-3.1.1
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 04 Aug 2022 15:21:29 -0600
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c4fc447baea
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: 14px;
7 color: #111;
8 line-height: 1.25;
9 overflow: visible;
10 }
11 html {
12 height: 100%;
13 }
14 .ios {
15 /* Needed for iOS scrolling bug fix */
16 overflow: auto;
17 -webkit-overflow-scrolling: touch;
18 }
19 .ios body {
20 /* Needed for iOS scrolling bug fix */
21 position: relative;
22 overflow: auto;
23 }
24 body {
25 /* Needed to make sure body covers the whole editor and that
26 long lines don't cause horizontal scrolling */
27 min-height: 100%;
28 word-wrap: break-word;
29 }
30
31 body.placeholder::before {
32 content: attr(placeholder);
33 color: #555;
34 font-style: italic;
35 }
36
37 ul, ol {
38 margin-top: 0;
39 margin-bottom: 0;
40 padding-top: 0;
41 padding-bottom: 0;
42 }
43
44 table, td {
45 border: 1px dotted #000;
46 empty-cells: show;
47 }
48
49 table td {
50 min-width: 5px;
51 }
52
53 code {
54 display: block;
55 background: #f1f1f1;
56 white-space: pre;
57 padding: 1em;
58 text-align: left;
59 margin: .25em 0;
60 direction: ltr;
61 }
62
63 blockquote {
64 background: #fff7d9;
65 margin: .25em 0;
66 border-left: .3em solid #f4e59f;
67 padding: .5em .5em .5em .75em;
68 }
69 blockquote cite {
70 font-weight: bold;
71 display: block;
72 font-size: 1em;
73 margin: 0 -.5em .25em -.75em;
74 padding: 0 .5em .15em .75em;
75 border-bottom: 1px solid #f4e59f;
76 }
77
78 h1, h2, h3, h4, h5, h6 {
79 padding: 0; margin: 0;
80 }
81
82 /* Prevent empty paragraphs from collapsing */
83 div, p {
84 min-height: 1.25em;
85 }