@@ -126,28 +126,32 @@ span.alignjustify
126
126
Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
127
127
Quickbook Usage: [role red Some red text]
128
128
129
+ inline-block - Flows a element inline with the text, but allows width and height to be specified.
130
+
131
+ https://stackoverflow.com/questions/3043021/is-there-any-guide-on-when-to-use-displayblock-when-inline-and-when-inline-b#:~:text=The%20use%20cases%20for%20block,it%27s%20used%20naturally%20for%20images
132
+
129
133
*/
130
134
span .red { display : inline-block; color : red; }
131
- span .green { color : green; }
132
- span .lime { color : # 00FF00 ; }
133
- span .blue { color : blue; }
134
- span .navy { color : navy; }
135
- span .yellow { color : yellow; }
136
- span .magenta { color : magenta; }
137
- span .indigo { color : # 4B0082 ; }
138
- span .cyan { color : cyan; }
139
- span .purple { color : purple; }
140
- span .gold { color : gold; }
141
- span .silver { color : silver; } /* lighter gray */
142
- span .gray { color : # 808080 ; } /* light gray */
135
+ span .green { display : inline-block; color : green; }
136
+ span .lime { display : inline-block; color : # 00FF00 ; }
137
+ span .blue { display : inline-block; color : blue; }
138
+ span .navy { display : inline-block; color : navy; }
139
+ span .yellow { display : inline-block; color : yellow; }
140
+ span .magenta { display : inline-block; color : magenta; }
141
+ span .indigo { display : inline-block; color : # 4B0082 ; }
142
+ span .cyan { display : inline-block; color : cyan; }
143
+ span .purple { display : inline-block; color : purple; }
144
+ span .gold { display : inline-block; color : gold; }
145
+ span .silver { display : inline-block; color : silver; } /* lighter gray */
146
+ span .gray { display : inline-block; color : # 808080 ; } /* light gray */
143
147
144
148
/* role for inline Unicode mathematical equations,
145
149
making font an italic (as is conventional for equations)
146
150
and a serif version of font (to match those generated using .mml to SVG or PNG)
147
151
and a little bigger (* 125%) because the serif font appears smaller than the default sans serif fonts.
148
152
Used, for example: [role serif_italic This is in serif font and italic].
149
153
Used in turn by template for inline expressions to match equations as SVG or PNG images.
150
-
154
+ Can be combined with colors and bold.
151
155
*/
152
156
span .serif_italic {
153
157
font-family : serif;
0 commit comments