anki/web/editor.css
Damien Elmes e166b2204d Revert "use inline-block so enter inserts br tags"
This reverts commit fa498626a0.

works for empty fields, but picks up existing separator on existing content
2017-09-13 11:31:24 +10:00

74 lines
1010 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;
}