forked from internetarchive/wmd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wmd.css
137 lines (115 loc) · 2.57 KB
/
wmd.css
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
.wmd-panel
{
margin-left: 25%;
margin-right: 25%;
width: 50%;
min-width: 500px;
}
#wmd-editor
{
background-color: Aquamarine;
}
.wmd-button-bar
{
width: 100%;
/*
background-color: Silver;
*/
}
.wmd-input
{
height: 500px;
width: 100%;
background-color: Gainsboro;
border: 1px solid DarkGray;
}
.wmd-preview
{
background-color: LightGray;
}
.wmd-output
{
background-color: Pink;
}
.wmd-button-row
{
position: relative;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-top: 10px;
padding: 0px;
height: 20px;
}
.wmd-spacer
{
width: 1px;
height: 20px;
margin-left: 14px;
position: absolute;
background-color: Silver;
display: inline-block;
list-style: none;
}
.wmd-button
{
width: 20px;
height: 20px;
margin-left: 5px;
margin-right: 5px;
position: absolute;
background-image: url(images/wmd-buttons.png);
background-repeat: no-repeat;
background-position: 0px 0px;
display: inline-block;
list-style: none;
}
.wmd-button > a
{
width: 20px;
height: 20px;
margin-left: 5px;
margin-right: 5px;
position: absolute;
display: inline-block;
}
/* sprite button slicing style information */
.wmd-bold-button {left: 0px; background-position: 0px 0;}
.wmd-italic-button {left: 25px; background-position: -20px 0;}
.wmd-spacer1 {left: 50px;}
.wmd-link-button {left: 75px; background-position: -40px 0;}
.wmd-quote-button {left: 100px; background-position: -60px 0;}
.wmd-code-button {left: 125px; background-position: -80px 0;}
.wmd-image-button {left: 150px; background-position: -100px 0;}
.wmd-spacer2 {left: 175px;}
.wmd-olist-button {left: 200px; background-position: -120px 0;}
.wmd-ulist-button {left: 225px; background-position: -140px 0;}
.wmd-heading-button {left: 250px; background-position: -160px 0;}
.wmd-hr-button {left: 275px; background-position: -180px 0;}
.wmd-spacer3 {left: 300px;}
.wmd-undo-button {left: 325px; background-position: -200px 0;}
.wmd-redo-button {left: 350px; background-position: -220px 0;}
.wmd-help-button {right: 0px; background-position: -240px 0;}
.wmd-prompt-background
{
background-color: Black;
}
.wmd-prompt-dialog
{
border: 1px solid #999999;
background-color: #F5F5F5;
}
.wmd-prompt-dialog > div {
font-size: 0.8em;
font-family: arial, helvetica, sans-serif;
}
.wmd-prompt-dialog > form > input[type="text"] {
border: 1px solid #999999;
color: black;
}
.wmd-prompt-dialog > form > input[type="button"]{
border: 1px solid #888888;
font-family: trebuchet MS, helvetica, sans-serif;
font-size: 0.8em;
font-weight: bold;
}