From: nicoo Date: Thu, 17 Dec 2015 21:40:09 +0000 (+0100) Subject: Crib style from Nos oignons X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=5ab2cd4a1d9301c0d9cef06d934bc9b34d8b181c;p=noc.git Crib style from Nos oignons --- diff --git a/doc/assets/logo.png b/doc/assets/logo.png new file mode 100644 index 0000000..f5770e2 Binary files /dev/null and b/doc/assets/logo.png differ diff --git a/doc/local.css b/doc/local.css new file mode 100644 index 0000000..26a03ec --- /dev/null +++ b/doc/local.css @@ -0,0 +1,346 @@ +/* vim: set ts=4 sts=4 sw=4 isk+=-,. fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */ + +html { + overflow: auto; +} + +body { + margin: 0; + padding: 0; + font-size: 10pt; + font-family: "Source Sans Pro", sans-serif; + color: #ccc; + background: #111; +} + +a { + color: #acfe24; + text-decoration: none; +} + +a:hover { text-decoration: underline; } +/*a:visited { color: #aa00bb; }*/ + +em { + font-family: serif; +} + +code { + font-family: "Source Code Pro", "Courier 10 Pitch", "Courier New", Courier; + color: #00CCFF; +} + +dd { + margin-bottom: 1em; +} + +p, dd, li { + text-align: justify; +} + +p>code, dd>code, li>code { + white-space: nowrap; +} + +.page { + overflow: hidden; + min-width: 50em; + max-width: 80em; + margin: 2em auto 0 auto; + border-radius: 16px 16px 0 0; + background: black; +} + +/* {{{ .pageheader */ +.pageheader { + position: relative; + min-height: 95px; + padding: 0 1em; + color: black; + background: #ffa430; + border-radius: 16px 16px 0 0; +} +.pageheader #logo { + display: block; + position: relative; + height: 100px; + width: 100px; + background: url(assets/logo.png) left center no-repeat; + float: left; + margin-left: -125px; + margin-top: 5px; + text-indent: -9999px; +} + +.pageheader .header { + font-size: 10pt; + margin-left: 12em; +} + +.pageheader .header > span { + display: block; + margin: auto; + min-width: 30em; + padding: 1em; +} + +.pageheader .parentlinks { + display: block; + min-height: 1.5em; + margin-top: 0.75em; +} + +.pageheader a, +.pageheader .parentlinks a { + color: black; + text-decoration: none; +} + +.pageheader a:hover { + text-decoration: underline; +} + +.pageheader .title { + line-height: 1.5em; + font-size: 16pt; +} + +/* {{{ .actions */ +.actions { + text-align: right; +} + +.actions ul li { + background: #ffa430; + border-radius: 0.8em 0.8em 0 0; +} + +.actions ul li a { + padding: 0 0.8em; + color: black; +} +/* .actions }}} */ +/* {{{ #otherlanguages */ +#otherlanguages, +#otherlanguages ul li a { + color: #012345; + background: white; +} + +#otherlanguages ul li { + margin-left: 1em; +} + +.pageheader #otherlanguages { + border: none; +} +/* #otherlanguages }}} */ +/* .pageheader }}} */ + +#pagebody { + position: relative; + min-width: 32em; + min-height: 48em; + margin: 0 0 0 12em; + padding: 1em 2em; + color: #ccc; +/* background: black no-repeat bottom right url(assets/background.png); */ + background-attachment: fixed; + border-left: #333 solid 1px; + z-index: 110; +} + +/* {{{ .sidebar */ +.sidebar { + position: absolute; + top: 14em; + overflow: hidden; + width: 12em; + margin: 0; + padding: 0; + border: none; + z-index: 100; + background: black; +} + +.sidebar ul { + margin: 0; + padding: 0; + list-style: none; + background: transparent; +} + +.sidebar li { + text-align: left; +} + +.sidebar ul li .selflink { + color: white; + font-weight: bold; +} + +.sidebar ul li > span, +.sidebar ul li > a { + display: block; + padding: 0.5em; + font-size: 11pt; + font-weight: bold; + text-decoration: none; + color: #aaaaaa; + background: transparent; +} + +.sidebar ul ul { + margin-left: 1em; +} + +/* .sidebar }}} */ +/* {{{ #content */ +#content { + line-height: 1.5em; + overflow: auto; + font-size: 12pt; +} + +#content p { + margin: 1em 0 1em 0; +} + +#content hr { + border: none; + border-bottom: dotted 2px #bbbbbb; + margin: 2em auto; +} + +#content h1 { + display: inline; + font-size: 18pt; + font-weight: normal; + line-height: 2.5em; + color: white; + border-bottom: solid 1px #333; +} + +#content h2 { + font-size: 16pt; + font-weight: normal; + margin-top: 1.5em; + margin-bottom: 0; +} + +#content h2 + p { + margin-top: 0.75em; +} + +#content h3 { + font-size: 12pt; + margin-bottom: 0; + padding-bottom: 0; +} + +#content h3 + p { + margin-top: 0.5em; +} + +#content table { + border-top: solid 1px #aaa; + border-bottom: solid 1px #aaa; + border-collapse: collapse; +} + +#content table th { + background: #fafafa; + padding: 0.1em 0.5em; + border-bottom: solid 1px #aaaaaa; + color: #555555; +} + +#content table td { + padding: 0.1em 0.5em; + border-top: solid 1px #ccc; +} + +#content .feedlink a { + text-decoration: none; +} +/* #content }}} */ + +.recentchanges .pagelinks a { + color: #ffa430; +} + +.recentchanges .committer a { + color: #000000; +} + +/* {{{ #footer */ +#footer { + position: relative; + margin: 0; + padding: 1em 0; + text-align: center; + color: #aaa; + background: black; + border-top: #333 solid 1px; +} + +#footer #pageinfo { + position: relative; + min-width: 30em; + margin: auto; + padding: 0.1em 2em; + border-top: none; +} + +#footer a { + color: #ccc; +} + +#footer a:hover { + text-decoration: underline; +} + +#backlinks { + font-size: 8pt; + margin-top: 0; +} + +#footer #pageinfo div { + font-size: 8pt; + margin-top: 0.5em; + margin-bottom: 0; +} +/* #footer }}} */ + +/* {{{ @media print */ +@media print { + .sidebar, + .actions, + .feedlink, + #backlinks, + #otherlanguages { + display: none; + } + + #footer, + #footer #pageinfo, + .page, + .pageheader, + #pagebody { + margin: 0; + padding: 0; + border: none; + box-shadow: none; + } + + .page, + .pageheader { + border-radius: 0; + } + + #footer { + padding: 0.5em; + } +} +/* @media print }}} */ + diff --git a/doc/templates/page.tmpl b/doc/templates/page.tmpl new file mode 100644 index 0000000..b3ea888 --- /dev/null +++ b/doc/templates/page.tmpl @@ -0,0 +1,227 @@ + + + + + + + + + + + + +<TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + +
+
+ + + +
+ + + + +
Comments on this page are closed.
+
+
+
+
+ + + +
+ + + + + + + +
+ +License: +
+
+ +
+Last edited + +
+ + + + + +
+ +
+ + +