-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathmedium-editor.css
More file actions
162 lines (142 loc) · 4.35 KB
/
medium-editor.css
File metadata and controls
162 lines (142 loc) · 4.35 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
.clearfix:after {
display: block;
visibility: hidden;
clear: both;
height: 0;
content: " ";
font-size: 0; }
@-webkit-keyframes pop-upwards {
0% {
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }
20% {
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: 0.7; }
40% {
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }
70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }
100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }
@keyframes pop-upwards {
0% {
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }
20% {
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: 0.7; }
40% {
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }
70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }
100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }
.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
position: absolute;
left: 50%;
display: block;
margin-left: -8px;
width: 0;
height: 0;
border-style: solid;
content: ""; }
.medium-toolbar-arrow-under:after {
border-width: 8px 8px 0 8px; }
.medium-toolbar-arrow-over:before {
top: -8px;
border-width: 0 8px 8px 8px; }
.medium-editor-toolbar, .medium-editor-anchor-preview {
position: absolute;
top: 0;
left: 0;
z-index: 2000;
visibility: hidden;
font-size: 16px;
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar ul, .medium-editor-anchor-preview ul {
margin: 0;
padding: 0; }
.medium-editor-toolbar li, .medium-editor-anchor-preview li {
float: left;
margin: 0;
padding: 0;
list-style: none; }
.medium-editor-toolbar li button, .medium-editor-anchor-preview li button {
display: block;
margin: 0;
padding: 15px;
cursor: pointer;
font-size: 14px;
line-height: 1.33;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.medium-editor-toolbar li .medium-editor-action-underline, .medium-editor-anchor-preview li .medium-editor-action-underline {
text-decoration: underline; }
.medium-editor-toolbar li .medium-editor-action-pre, .medium-editor-anchor-preview li .medium-editor-action-pre {
padding: 15px 0;
font-weight: 100;
font-size: 12px;
font-family: 'Menlo', monospace; }
.medium-editor-anchor-preview i {
display: inline-block;
margin: 5px 5px 5px 10px;
text-decoration: underline;
font-style: normal;
cursor: pointer; }
.medium-editor-toolbar-active, .medium-editor-anchor-preview-active {
visibility: visible;
-webkit-animation: pop-upwards 160ms forwards linear;
-ms-animation: pop-upwards 160ms forwards linear;
animation: pop-upwards 160ms forwards linear;
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
transition: top 0.075s ease-out, left 0.075s ease-out; }
.medium-editor-action-bold {
font-weight: bolder; }
.medium-editor-action-italic {
font-style: italic; }
.medium-editor-toolbar-form-anchor {
display: none; }
.medium-editor-toolbar-form-anchor input, .medium-editor-toolbar-form-anchor a {
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar-form-anchor input {
margin: 0;
padding: 6px;
width: 316px;
border: none;
font-size: 14px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.medium-editor-toolbar-form-anchor input:focus {
outline: 0;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none; }
.medium-editor-toolbar-form-anchor a {
display: inline-block;
margin: 0 10px;
text-decoration: none;
font-weight: bolder;
font-size: 24px; }
.medium-editor-placeholder {
font-style: italic; }