forked from jakiestfu/Medium.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
medium.css
39 lines (38 loc) · 770 Bytes
/
medium.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
.Medium{
position: relative;
}
.Medium,
.Medium *{
min-height: 1px;
outline: none;
resize: none;
zoom: 1;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.Medium p{
position: relative;
z-index: 2;
}
.Medium p:first-child,
.Medium .Medium-placeholder + p{
margin-top:0;
}
.Medium p:last-child{
margin-bottom:0;
}
.Medium .Medium-paste-hook{
position: absolute;
opacity:0;
}
.Medium .Medium-placeholder{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: 0.5;
position: absolute;
z-index: 1;
pointer-events: none;
}
.Medium.Medium-rich .Medium-placeholder{
font-style: italic;
}