From b6cc429a7129c14f05c1a0d40a0dc04efd1791a5 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 3 Feb 2008 11:13:21 +0000 Subject: css style sheet added for html manual --- ChangeLog | 4 + doc/manual.css | 342 ++++++++++++ doc/manual_fr.html | 1541 +++++++++++++++++++++++++++------------------------- 3 files changed, 1142 insertions(+), 745 deletions(-) create mode 100644 doc/manual.css diff --git a/ChangeLog b/ChangeLog index cb41baa..bff6f41 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +03 Feb 2008: + doc/manual.css added + doc/manual_fr.html updated to make use of css style sheet + 26 Jan 2008: configure.ac updated: linking against pthread instead of lpthread (thanks ajacoutot@) diff --git a/doc/manual.css b/doc/manual.css new file mode 100644 index 0000000..cdb3cc5 --- /dev/null +++ b/doc/manual.css @@ -0,0 +1,342 @@ +/* $Id: manual.css,v 1.1 2008/02/03 11:13:21 culot Exp $ */ + +/* + * Calcurse - text-based organizer + * Copyright (c) 2008 Frederic Culot + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Send your feedback or comments to : calcurse@culot.org + * Calcurse home page : http://culot.org/calcurse + */ + +body { + margin: 0; + padding: 0; + padding-top: 10px; + text-align: center; +} + + +@media screen { + #mainContent{ + width: 70%; + overflow: auto; + } + body { + overflow: auto; + background-color: #d3d3d3; + } + pre { + margin-left: 2.5cm; + margin-right: 2cm; + } +} + +@media print { + #mainContent{ + width: 90%; + overflow: visible; + } + body { + overflow: visible; + background-color: #ffffff; + } + pre { + margin-left: -1cm; + margin-right: 2cm; + } +} + +#mainContent{ + margin-right: auto; + margin-left: auto; + padding-left: 10px; + padding-right: 10px; + margin-bottom: 1em; + border: 1px solid gray; + text-align: left; + font-family: arial, helvetica, verdana, sans-serif; + font: 10px/12px cursive; + background-color: white; +} + +#title { + text-align: center !important; + font: 24px/20px cursive !important; +} + +div#mainContent h1 { + text-align: left; + padding: 0.5em; + padding-top: 1em; + font: 20px/16px cursive; +} + +div#mainContent h2 { + margin-left: 1.5cm; + padding-top: 0.5em; +} + +div#mainContent h2, h3 { + margin-bottom: 0; + padding-bottom: 0.3em; +} + +div#mainContent h2 { + font: 14px/14px cursive; +} + +div#mainContent h3 { + font: 12px/12px cursive; +} + +p, blockquote { + text-align: justify; + text-indent: 1cm; + margin-top: 0; +} + +h3, p, div.bib, ul, ol, dl, blockquote { + margin-left: 2.5cm; + margin-right: 2cm; +} + +ul, ol, dl { + margin-top: 0; + margin-bottom: 1em; +} + +dl.compact dt { + float: left; +} + +dl.compact dd { + margin-bottom: 0.5em; +} + +dd { + margin-bottom: 1em; +} + +ul.sub, ol.sub, dl.sub { + margin-left: 0; + list-style: circle; +} + +li { + margin-top: 0.1em; + margin-bottom: 0.1em; +} + +pre { + display: block; + border-left: 1px solid gray; + padding-left: 2em; + margin-right: 2cm; +} + +code { + font-family: monospace; + font-weight: bold; +} + +table { + border-style: solid; + border-collapse: collapse; + border-width: 1px; +} + +div.tab { + padding: 1.5em; + margin-left: 4.5cm; + margin-right: 2cm; +} + +img { + border-style: none; +} + +div.img { + text-align: center; +} + +tr, td, thead, tbody { + margin: 0; +} + +thead { + background-color: gray; + color: black; + text-align: center; +} + +td { + border-style: solid; + border-width: 1px; +} + +span.main { + border-style: none; + border-bottom-style: dashed; + border-bottom-width: 1.5px; + padding: 0.2em; +} + +#toc { + margin-top: 1.5cm; + margin-bottom: 1cm; + padding-top: 0; + padding-bottom: 0.2cm; + border-width: 0; + border-left-width: 1cm; + border-left-color: gray; + border-style: solid; +} + +#toc h1 { + font: 12px/12px cursive; +} + +#toc a { + text-decoration: none; + color: black; +} + +a { + color: black; +} + +#toc li { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; +} + +#toc ul ul li { + margin-top: 0; + margin-bottom: 0; +} + +#toc ul ul ul li { + margin-left: -0.5cm; +} + +#toc ul { + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + padding-left: 1cm; +} + +div.warn { + margin-top: 1cm; + margin-bottom: 1cm; + border-style: solid; + border-width: thin; + padding: 0.5em; + text-align: justify; +} + +div.warn h1 { + display: inline; + padding: 0.5em; + margin: 0; + font: 8px/10px cursive; +} + +div.res { + text-align: center; +} + +span.res { + border-width: thin; + border-style: solid; +} + +div.footer { + margin: 20px; + margin-left: 4%; + margin-top: 2cm; + border-width: 0; + border-style: solid; + border-top-width: medium; + font-style: italic; + text-align: right; +} + +p.abstract { + margin-left: 3cm; + margin-right: 3cm; +} + +.rq { + text-indent: 0; + font-style: italic; + border-style: solid; + border-width: medium; + border-left-width: 0; + border-top-width: 0; + border-color: gray; + padding: 0.4em; +} + +dl .rq, ol .rq, ul .rq { + margin-left: 0; + margin-right: 0; + border: 0; +} + +p.time { + text-indent: 0; + font-style: italic; + border-style: solid; + border-width: medium; + border-left-width: 0; + border-top-width: 0; + border-color: gray; + padding: 0.4em; + text-align: right; +} + +p.qu { + font-style: italic; + text-align: left; + font: 8px/10px cursive; + border-width: 0; + border-left-width: thin; + border-left-color: gray; + border-style: double; + color: gray; +} + +.valorise { + text-decoration: underline; +} + +.big { + font-weight: bolder; + font: 12px/12px cursive; +} + +.emp { + font-style: italic; +} + +.tablesubtitle { + font-style: italic; + text-align: center; +} diff --git a/doc/manual_fr.html b/doc/manual_fr.html index b563061..f62ffdd 100755 --- a/doc/manual_fr.html +++ b/doc/manual_fr.html @@ -1,7 +1,7 @@