From afa169cd0d5e7c5663bde829376b6248b9eba576 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 26 Jan 2016 16:48:35 +0200 Subject: Initial common and intro styles --- common.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 common.css (limited to 'common.css') diff --git a/common.css b/common.css new file mode 100644 index 0000000..0cb1e32 --- /dev/null +++ b/common.css @@ -0,0 +1,39 @@ +/* file : common.css + * copyright : Copyright (c) 2014-2016 Code Synthesis Ltd + * license : MIT; see accompanying LICENSE file + */ + +html +{ + font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; + font-weight: normal; + font-size: 18px; + line-height: 1.4em; +} + +body {margin: 0;} /* There is non-0 default margin for body. */ + +/* See notes on what's going on here. */ +body {min-width: 17em;} +@media only screen and (min-width: 360px) +{ + body {min-width: 19em;} +} + +#content +{ + max-width: 40em; + margin: 0 auto 0 auto; + padding: 0 .4em 0 .4em; /* Space between text and browser frame. */ +} + +code, pre +{ + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 0.92em; +} + +pre +{ + white-space: pre-wrap; +} -- cgit v1.1