Fixed default alignment, removed browser added styles when focusing, removed caret being printed
This commit is contained in:
parent
37ad5457ae
commit
c5af1ffe23
@ -8,16 +8,17 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0
|
||||||
width: 297mm;
|
|
||||||
height: 209mm;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sheet {
|
.sheet {
|
||||||
|
margin: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
padding: 10mm;
|
padding: 10mm;
|
||||||
|
width: 297mm;
|
||||||
|
height: 209mm
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Put everything in the correct location */
|
/* Put everything in the correct location */
|
||||||
@ -39,6 +40,17 @@ body {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix Browser added stylesheet */
|
||||||
|
|
||||||
|
[contenteditable="true"]:active, [contenteditable="true"]:focus {
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[contenteditable="true"]:focus>style {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
/** Screen **/
|
/** Screen **/
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
@ -81,5 +93,8 @@ body {
|
|||||||
}
|
}
|
||||||
.sheet {
|
.sheet {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
/* Make input caret transparent */
|
||||||
|
color: transparent;
|
||||||
|
text-shadow: 0 0 0 #000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user