trumbowyg
Version:
A lightweight WYSIWYG editor
38 lines (37 loc) • 828 B
CSS
/**
* Trumbowyg v2.31.0 - A lightweight WYSIWYG editor
* Trumbowyg plugin stylesheet
* ------------------------
* @link https://alex-d.github.io/Trumbowyg/
* @license MIT
* @author Alexandre Demode (Alex-D)
* Twitter : @AlexandreDemode
* Website : alex-d.fr
*/
@charset "UTF-8";
[formulas] {
position: relative;
display: inline-block;
pointer-events: none;
}
[formulas][inline=false] {
display: block;
width: 100%;
}
[formulas]::after {
content: "✎";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
background-color: rgba(255, 255, 255, 0.83);
-webkit-box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83);
box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83);
cursor: pointer;
pointer-events: auto;
}
[formulas]:hover::after {
opacity: 1;
}