summaryrefslogtreecommitdiff
path: root/public/editor/style.css
blob: bec46dbaffc6a9c8f7c27c2a457ef1bd047070ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* CSS Mini Reset */

html, body, div, form, fieldset, legend, label
{
  margin: 0;
  padding: 0; 
}

table
{
  border-collapse: collapse;
  border-spacing: 0;
}

th, td
{
  text-align: left;
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; }

img { border: 0; }

/* Editor CSS */

body {
  font-size: 22px;
  line-height: 30px;
}
body, input {
  font-family: Georgia,Cambria,"Times New Roman",Times,serif;  
}

*:focus {
  outline: none;
}

.container {
  width: 960px;
  margin: 0 auto;
}

#post-name {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  font-weight: bold;
  font-size: 42px;
}

#content {
  min-height: 300px;
}

/* editor's h1 is actually h3 */
h3 {
  font-weight: bold;
  font-size: 36px;
}
h4 {
  font-weight: bold;
  font-size: 30px;
}

p {
  margin-bottom: 30px;
}

pre {
  font-family: 'Menlo', monospace;
  font-size: 15px;
  background-color: #f0f0f0;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #666;
}

blockquote {
  display: block;
  padding-left: 20px;
  border-left: 6px solid #dbdbdb;
  margin-left: -15px;
  padding-left: 15px;
  font-style: italic;
  color: #555;
}

.editable,
.secondEditable {
  outline: none;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #dbdbdb;
  border-top: 1px solid #dbdbdb;
}

.editable .placeholder {
  color: #ccc;
}