Skip to content

Commit

Permalink
Merge pull request #70 from feelpp/69-add-support-for-new-math-blocks
Browse files Browse the repository at this point in the history
resolves #69
  • Loading branch information
prudhomm authored Sep 14, 2023
2 parents 6e5dc26 + 1596b40 commit ed9583f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/modules/ROOT/pages/admonition-styles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,43 @@ Here's the result:
Une forme bilinéaire stem:[a \in \mathcal{L}(V \times V, \RR)] est _coercive_ sur stem:[V] s’il existe une constante stem:[\alpha > 0].
****


.Reminder: admonition syntax
[source,adoc]
----
.Reminder de Perlimpinpin
[.remind#remind:1]
****
Une forme bilinéaire stem:[a \in \mathcal{L}(V \times V, \RR)] est _coercive_ sur stem:[V] s’il existe une constante stem:[\alpha > 0].
****
----

Here's the result:

.Reminder de Perlimpinpin
[.remind#remind:1]
****
Une forme bilinéaire stem:[a \in \mathcal{L}(V \times V, \RR)] est _coercive_ sur stem:[V] s’il existe une constante stem:[\alpha > 0].
****

.Notation admonition syntax
[source,adoc]
----
.Botation de Perlimpinpin
[.nota#nota:1]
****
Une forme bilinéaire stem:[a \in \mathcal{L}(V \times V, \RR)] est _coercive_ sur stem:[V] s’il existe une constante stem:[\alpha > 0].
****
----

Here's the result:

.Notation de Perlimpinpin
[.nota#nota:1]
****
Une forme bilinéaire stem:[a \in \mathcal{L}(V \times V, \RR)] est _coercive_ sur stem:[V] s’il existe une constante stem:[\alpha > 0].
****

.Proposal admonition syntax
[source,adoc]
----
Expand Down
28 changes: 28 additions & 0 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1071,8 +1071,12 @@ table.tableblock pre code.language-bash.hljs {
.exampleblock.thm,
.sidebarblock.cor,
.exampleblock.cor,
.sidebarblock.nota,
.exampleblock.nota,
.sidebarblock.def,
.exampleblock.def,
.sidebarblock.remind,
.exampleblock.remind,
.sidebarblock.prop,
.exampleblock.prop,
.sidebarblock.proof,
Expand All @@ -1097,6 +1101,10 @@ table.tableblock pre code.language-bash.hljs {
.exampleblock.cor > .content,
.sidebarblock.def > .content,
.exampleblock.def > .content,
.sidebarblock.nota > .content,
.exampleblock.nota > .content,
.sidebarblock.remind > .content,
.exampleblock.remind > .content,
.sidebarblock.prop > .content,
.exampleblock.prop > .content,
.sidebarblock.proof > .content,
Expand Down Expand Up @@ -1135,6 +1143,16 @@ table.tableblock pre code.language-bash.hljs {
border-left-color: #673ab7;
}

.sidebarblock.remind > .content,
.exampleblock.remind > .content {
border-left-color: #4caf50;
}

.sidebarblock.nota > .content,
.exampleblock.nota > .content {
border-left-color: #536dfe;
}

.sidebarblock.prop > .content,
.exampleblock.prop > .content {
border-left-color: #ffc107;
Expand Down Expand Up @@ -1207,6 +1225,16 @@ table.tableblock pre code.language-bash.hljs {
background-color: #e6e6fa;
}

.sidebarblock.nota > .content .title,
.exampleblock.nota > .content .title {
background-color: #e0e0ff;
}

.sidebarblock.remind > .content .title,
.exampleblock.remind > .content .title {
background-color: #e6f2e6;
}

.sidebarblock.prop > .content .title,
.exampleblock.prop > .content .title {
background-color: #f5f5dc;
Expand Down

0 comments on commit ed9583f

Please sign in to comment.