]>
Git — Sourcephile - julm/worksheets.git/blob - data/styles/rosetta.css
2 background:rgb
(204,204,204);
5 grid-template-columns:1 / -1;
7 justify-content:center
;
15 box-sizing:border-box
;
16 -moz-box-sizing:border-box
;
20 background-color:white
;
21 box-shadow:0 0 0.5cm rgba
(0,0,0,0.5);
26 .page-PageSizeA4-PageOrientationPortrait {
30 .page-PageSizeA4-PageOrientationLandscape {
42 border-radius:initial
;
47 page-break-after:always
;
53 /* ExplanationNote: even when printing with the option "Shrink to Print Area"
54 * pixels too close to the border can get cropped.
60 justify-content:space-evenly
;
61 align-items:flex-start
;
62 align-content:space-around
;
65 /* ExplanationNote: by default, a grid item cannot be smaller than the size of its content.
72 .rosetta-cell-picture {
74 flex-direction:column
;
76 justify-content:flex-start
;
80 .rosetta-cell-picture img {
84 object-position:right center
;
87 .rosetta-cell-picture .rosetta-cell-picture-description {
90 font-family:monospace
;
91 font-variant:small-caps
;
95 .rosetta-cell.writing-words {
106 justify-content:flex-start
;
107 align-items:flex-end
;
108 align-content:flex-start
;
111 .writing-words-horiz {
117 .writing-words-word {
121 background-color:#aaa;
122 overflow: hidden
; /* ExplanationNote: avoid rounded borders to be cropped by background-color: */
123 border:1px solid
#aaa;
124 border-top-left-radius:3mm;
125 border-top-right-radius:3mm;
127 .writing-words-word:last-child {
130 .writing-words-cell {
132 background-color:white
;
133 font-family:monospace
;
134 font-variant:small-caps
;
140 align-content:center
;
141 justify-content:center
;
143 white-space:preserve-spaces
;
146 .writing-words-cell.pronunciation {
152 .writing-words-cell.input {
155 .writing-words-cell.input.hidden {