Commit dcc3b96e authored by chris's avatar chris

delete css files

parent 03691b27
......@@ -6,7 +6,6 @@ import { EditorView } from "prosemirror-view";
import placeholderPlugin from "./config/plugins/placeholderPlugin";
import "prosemirror-view/style/prosemirror.css";
import "./css/index.css";
class Editor extends Component {
constructor(props) {
......
.ProseMirror {
counter-reset: footnote;
}
.ProseMirror footnote {
display: inline-block;
position: relative;
cursor: pointer;
}
.ProseMirror footnote::after {
content: counter(footnote);
vertical-align: super;
font-size: 75%;
counter-increment: footnote;
}
.ProseMirror-hideselection .footnote-tooltip *::selection {
background-color: transparent;
}
.ProseMirror-hideselection .footnote-tooltip *::-moz-selection {
background-color: transparent;
}
.ProseMirror .footnote-tooltip {
cursor: auto;
position: absolute;
left: -30px;
top: calc(100% + 10px);
background: silver;
padding: 3px;
border-radius: 2px;
width: 500px;
}
.ProseMirror .footnote-tooltip::before {
border: 5px solid silver;
border-top-width: 0;
border-left-color: transparent;
border-right-color: transparent;
position: absolute;
top: -5px;
left: 27px;
content: " ";
height: 0;
width: 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment