anki/web/editor.css
Damien Elmes 7ad6966943 split js code out into separate files, mathjax improvements
- js code that was previously bundled in .py files is now in the
web folder
- add helpers to create links to bundled files, and update
stdHtml() to accept a list of javascript files to include
instead of text
- render MathJax in card layout and preview screens - these should be
updated in the future to update the document dynamically like the
reviewer does
- start media server earlier so it can be used to serve content for
the toolbar, etc
- work around a bug in WebEngine on Windows that could cause the
media server to hang
2017-07-28 16:35:45 +10:00

74 lines
1009 B
CSS

.field {
border: 1px solid #aaa;
background: #fff;
color: #000;
padding: 5px;
}
/* prevent floated images from being displayed outside field */
.field:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.fname {
vertical-align: middle;
padding: 0;
}
img {
max-width: 90%;
}
body {
margin: 5px;
}
#topbuts {
position: fixed;
height: 24px;
top: 0;
padding: 2px;
left: 0;
right: 0
}
.topbut {
width: 16px;
height: 16px;
}
.rainbow {
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0.00, #f77),
color-stop(50%, #7f7),
color-stop(100%, #77f));
}
.linkb {
-webkit-appearance: none;
border: 0;
padding: 0px 2px;
background: transparent;
}
.linkb:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.highlighted {
border-bottom: 3px solid #000;
}
.prewrap {
white-space: pre-wrap;
}
#fields {
margin-top: 35px;
}