Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added note classes and markup for use in opcode descriptions
or elsewhere, there's no limit
- Loading branch information
1 parent
42e5a83
commit 673f99a
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="note info"> | ||
<div> | ||
<strong>Note:</strong> {{ note }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="note warning"> | ||
<div> | ||
<strong>Warning:</strong> {{ note }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// main note class, to be used with subclasses like info and warning | ||
// produces a colored block similar to what bootstrap does | ||
.note | ||
margin-top: 1em | ||
|
||
div | ||
padding: 0.5em | ||
border: 2px solid transparent | ||
border-radius: 2% | ||
display: inline-block | ||
|
||
.info | ||
div | ||
color: #3a87ad | ||
background-color: #d9edf7 | ||
border-color: #bce8f1 | ||
|
||
.warning | ||
div | ||
color: #b94a48 | ||
background-color: #f2dede | ||
border-color: #eed3d7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters