citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 055f39364ddab416f3611f9fc30c127c07c45352
parent 6e0cd56a3affd73e7fa455d3a405f9e12aa9737a
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun,  3 Apr 2016 08:51:13 -0600

www: add small menu at top right

Diffstat:
Mwww/citrun.css | 29++++++++++++++++++++---------
Mwww/index.html | 12++++++++++--
2 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/www/citrun.css b/www/citrun.css @@ -1,21 +1,32 @@ -p { - line-height: 1.5em; -} - -li { - line-height: 1.5em; -} +/* + * This was recommended to me once on a website somewhere. It stuck. + */ +p { line-height: 1.5em; } +li { line-height: 1.5em; } +/* + * Make it about 80 chars width max. + */ .main { max-width: 60em; margin: auto; font-family: monospace; } +/* + * For "prompt" style stuff + */ +pre { + background-color: ivory; +} .prompt { color: green; } -pre { - background-color: ivory; +/* + * This is the link bar just below the main title. + * Looks good over on the right. + */ +.link_bar { + text-align: right; } diff --git a/www/index.html b/www/index.html @@ -11,6 +11,14 @@ <div class="main"> <h1>C It Run</h1> <hr> + <div class="link_bar"> + <a href="/pkg">pkg</a> + <a href="/src">src</a> + <a href="">bb</a> + <a href="">cov</a> + <a href="http://www.0x30.net">..</a> + </div> + <p> C It Run is a suite of tools that lets you watch your source code execute. It provides insight into what your program is actually doing. </p> @@ -53,8 +61,8 @@ <li>DejaVu Sans Mono </ul> </p> - Once the build requirements have been met get the source, unpack and jam - in the root: + Once that is done the build requirements have been met. + Get and unpack the source tree, change directory to the root and jam: <pre> <span class="prompt">$</span> jam</pre> It wouldn't be stupid to run the integration tests either: <pre> <span class="prompt">$</span> prove</pre>