all repos — min @ fb6c67931ae0268f769387da85e4879c23684c35

A small but practical concatenative programming language.

Minor CSS changes.
h3rald h3rald@h3rald.com
Sun, 16 Jul 2017 13:25:15 +0200
commit

fb6c67931ae0268f769387da85e4879c23684c35

parent

ee1f4ceb80e12b8dcfb8070405cbf2eee00188be

3 files changed, 13 insertions(+), 10 deletions(-)

jump to
M site/assets/styles/min-lang.csssite/assets/styles/min-lang.css

@@ -126,7 +126,7 @@ font-weight: normal;

font-size: 100%; content: "\e6c5" " "; } -.sidebar, .note, .tip, .warning { +.sidebar, .note, .tip, .warning, pre { -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;

@@ -139,6 +139,11 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

background-color: var(--secondary-background); font-size: 90%; } + +.sidebar pre { + box-shadow: none; +} + .sidebar p:first-child, .note p:first-child, .tip p:first-child,
M site/contents/home.mdsite/contents/home.md

@@ -39,18 +39,16 @@ <h2>Examples</h2>

<p>The following example shows how to find recursively all files in the current folder that were modified in the last hour:</p> <pre> <code> - . ls-r - (mtime now 3600 - >) - filter - </code> +. ls-r +(mtime now 3600 - >) +filter</code> </pre> <p>The following example shows how to calculate the factorial of 5 using the <code>linrec</code> combinator:</p> <pre> <code> - 5 - (dup 0 ==) (1 +) - (dup 1 -) (*) linrec - </code> +5 +(dup 0 ==) (1 +) +(dup 1 -) (*) linrec</code> </pre> </section> </div>
M site/templates/page.mustachesite/templates/page.mustache

@@ -4,7 +4,7 @@ {{> _head}}

<body> {{> _menu}} <main class="pure-g"> - <article class="pure-u"> + <article class="pure-u-5-5"> <h1>{{title}}</h1> {{{contents}}} </article>