Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions data/templates/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,41 @@
border-left: 2px solid #e6e6e6;
color: #606060;
}
/* Alert styling (when +alerts is active) */
div.alert {
padding: 0.5em 1em;
border-radius: 0.25em;
margin: 1em 0;
}

div.alert div.title p, div.alert div.alert-title p {
font-weight: bold;
}

div.alert.note, div.alert.alert-note {
color: rgb(125, 125, 125);
background-color: rgb(220, 220, 220);
}

div.alert.tip, div.alert.alert-tip {
color: rgb(75, 134, 75);
background-color: rgb(200, 250, 200);
}

div.alert.important, div.alert.alert-important {
color: rgb(133, 87, 133);
background-color: rgb(250, 180, 250);
}

div.alert.warning, div.alert.alert-warning {
color: rgb(130, 130, 48);
background-color: rgb(250, 250, 180);
}

div.alert.caution, div.alert.alert-caution {
color: rgb(148, 76, 76);
background-color: rgb(250, 210, 210);
}
$if(abstract)$
div.abstract {
margin: 2em 2em 2em 2em;
Expand Down
35 changes: 35 additions & 0 deletions test/writer.html4
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,41 @@
border-left: 2px solid #e6e6e6;
color: #606060;
}
/* Alert styling (when +alerts is active) */
div.alert {
padding: 0.5em 1em;
border-radius: 0.25em;
margin: 1em 0;
}

div.alert div.title p, div.alert div.alert-title p {
font-weight: bold;
}

div.alert.note, div.alert.alert-note {
color: rgb(125, 125, 125);
background-color: rgb(220, 220, 220);
}

div.alert.tip, div.alert.alert-tip {
color: rgb(75, 134, 75);
background-color: rgb(200, 250, 200);
}

div.alert.important, div.alert.alert-important {
color: rgb(133, 87, 133);
background-color: rgb(250, 180, 250);
}

div.alert.warning, div.alert.alert-warning {
color: rgb(130, 130, 48);
background-color: rgb(250, 250, 180);
}

div.alert.caution, div.alert.alert-caution {
color: rgb(148, 76, 76);
background-color: rgb(250, 210, 210);
}
code {
white-space: pre-wrap;
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
Expand Down
35 changes: 35 additions & 0 deletions test/writer.html5
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,41 @@
border-left: 2px solid #e6e6e6;
color: #606060;
}
/* Alert styling (when +alerts is active) */
div.alert {
padding: 0.5em 1em;
border-radius: 0.25em;
margin: 1em 0;
}

div.alert div.title p, div.alert div.alert-title p {
font-weight: bold;
}

div.alert.note, div.alert.alert-note {
color: rgb(125, 125, 125);
background-color: rgb(220, 220, 220);
}

div.alert.tip, div.alert.alert-tip {
color: rgb(75, 134, 75);
background-color: rgb(200, 250, 200);
}

div.alert.important, div.alert.alert-important {
color: rgb(133, 87, 133);
background-color: rgb(250, 180, 250);
}

div.alert.warning, div.alert.alert-warning {
color: rgb(130, 130, 48);
background-color: rgb(250, 250, 180);
}

div.alert.caution, div.alert.alert-caution {
color: rgb(148, 76, 76);
background-color: rgb(250, 210, 210);
}
code {
white-space: pre-wrap;
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
Expand Down