Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 515696 | Differences between
and this patch

Collapse All | Expand All

(-)a/devbook.xsl (-12 / +12 lines)
Lines 227-256 Link Here
227
  </xsl:template>
227
  </xsl:template>
228
228
229
  <xsl:template match="important">
229
  <xsl:template match="important">
230
    <div class="important">
230
    <div class="alert alert-info" role="alert">
231
    <p class="first admonition-title">Important</p>
231
    <strong>Important:</strong>
232
    <p class="last"><xsl:apply-templates/></p>
232
    <xsl:apply-templates/>
233
    </div>
233
    </div>
234
  </xsl:template>
234
  </xsl:template>
235
235
236
  <xsl:template match="note">
236
  <xsl:template match="note">
237
    <div class="note">
237
    <div class="alert alert-success" role="alert">
238
    <p class="first admonition-title">Note</p>
238
    <strong>Note:</strong>
239
    <p class="last"><xsl:apply-templates/></p>
239
    <xsl:apply-templates/>
240
    </div>
240
    </div>
241
  </xsl:template>
241
  </xsl:template>
242
242
243
  <xsl:template match="todo">
243
  <xsl:template match="todo">
244
    <div class="todo">
244
    <div class="alert alert-success" role="alert">
245
    <p class="first admonition-title">Todo</p>
245
    <strong>Todo:</strong>
246
    <p class="last"><xsl:apply-templates/></p>
246
    <xsl:apply-templates/>
247
    </div>
247
    </div>
248
  </xsl:template>
248
  </xsl:template>
249
249
250
  <xsl:template match="warning">
250
  <xsl:template match="warning">
251
    <div class="warning">
251
    <div class="alert alert-warning" role="alert">
252
    <p class="first admonition-title">Warning</p>
252
    <strong>Warning:</strong>
253
    <p class="last"><xsl:apply-templates/></p>
253
    <xsl:apply-templates/>
254
    </div>
254
    </div>
255
  </xsl:template>
255
  </xsl:template>
256
256
(-)a/devmanual.css (-53 lines)
Lines 156-213 code, pre, tt { Link Here
156
    font-family: monospace;
156
    font-family: monospace;
157
}
157
}
158
158
159
div.warning    p.admonition-title,
160
div.note       p.admonition-title,
161
div.todo       p.admonition-title,
162
div.admonition p.admonition-title,
163
div.important  p.admonition-title {
164
    font-weight: bold;
165
    display: inline;
166
}
167
168
div.warning    p,
169
div.note       p,
170
div.todo       p,
171
div.admonition p,
172
div.important  p {
173
    display: inline;
174
}
175
176
div.warning    p.admonition-title:after,
177
div.note       p.admonition-title:after,
178
div.todo       p.admonition-title:after,
179
div.admonition p.admonition-title:after,
180
div.important  p.admonition-title:after {
181
    content: ":";
182
}
183
184
div.note, div.warning,
185
div.important, div.todo,
186
div.admonition {
187
    padding: 4px;
188
    text-align: justify;
189
}
190
191
div.note {
192
    background-color: #c9c4ff;
193
}
194
195
div.warning {
196
    background-color: #ee9999;
197
}
198
199
div.important {
200
    background-color: #99ee99;
201
}
202
203
div.todo {
204
    background-color: #cccccc;
205
}
206
207
div.admonition {
208
    background-color: #ffffff;
209
}
210
211
blockquote.epigraph p {
159
blockquote.epigraph p {
212
    font-size: 80%;
160
    font-size: 80%;
213
    font-style: italic;
161
    font-style: italic;
214
- 

Return to bug 515696