Skip to content

Commit

Permalink
Introduce conditions and confirmations
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Nov 6, 2015
1 parent 623865b commit 1b8bf50
Show file tree
Hide file tree
Showing 4 changed files with 454 additions and 116 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ABSTRACT_FROM = abstract.md
include makespec/Makefile

HTML_ARGS+="--toc-depth=2"
HTML_ARGS+="--css=makespec.css"
2 changes: 1 addition & 1 deletion makespec
46 changes: 46 additions & 0 deletions makespec.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
a[href^="#"] em { border-bottom: 1px dotted #666 }
a[href^="#"] em { color: #000; }

body {
counter-reset: examples;
}

section > pre {
font-weight: bold;
background-color: #ddd;
padding: 0.5em;
}

.example, .note {
margin-top: 0.5em;
margin-bottom: 0.5em;
padding: 0.5em;
}
.example:before, .note:before {
display: block;
padding-bottom: 0.5em;
}
.example {
border-left: 0.5em solid #E0CB52;
background-color: #FCFAEE;
}
.example:before {
content: "EXAMPLE " counter(examples);
counter-increment: examples;
color: #B9AB2D;
}
.example pre {
padding-left: 1em;
}

.note {
border-left: 0.5em solid #52E052;
background-color: #E9FBE9;
padding-left: 1em;
}
.note:before {
content: "NOTE";
color: #2B2;
}


Loading

0 comments on commit 1b8bf50

Please sign in to comment.