]>
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 {
29 /* ExplanationNote: to bind the paper for easy writing. */
32 .page-PageSizeA4-PageOrientationLandscape {
44 border-radius:initial
;
49 page-break-after:always
;
55 /* ExplanationNote: even when printing with the option "Shrink to Print Area"
56 * pixels too close to the border can get cropped.
62 justify-content:space-evenly
;
63 align-items:flex-start
;
64 align-content:space-around
;
67 /* ExplanationNote: by default, a grid item cannot be smaller than the size of its content.
74 .rosetta-cell-picture {
76 flex-direction:column
;
78 justify-content:flex-start
;
82 .rosetta-cell-picture img {
88 object-position:right center
;
91 .rosetta-cell-picture .rosetta-cell-picture-description {
94 font-family:monospace
;
95 font-variant:small-caps
;
99 .rosetta-cell.writing-words {
110 justify-content:flex-start
;
111 align-items:flex-end
;
112 align-content:flex-start
;
115 .writing-words-horiz {
121 .writing-words-word {
125 background-color:#aaa;
126 /* ExplanationNote: avoid rounded borders to be cropped by background-color: */
128 border:1px solid
#aaa;
130 border-top-left-radius:3mm;
131 border-top-right-radius:3mm;
134 .writing-words-word:last-child {
137 .writing-words-cell {
139 background-color:white
;
140 font-family:monospace
;
141 font-variant:small-caps
;
147 align-content:center
;
148 justify-content:center
;
150 white-space:preserve-spaces
;
153 .writing-words-cell.pronunciation {
159 .writing-words-cell.input {
162 .writing-words-cell.input.hidden {