diff --git a/Identity/Webenv/Css/Docbook/admonitions.css b/Identity/Webenv/Css/Docbook/admonitions.css new file mode 100755 index 0000000..5922f41 --- /dev/null +++ b/Identity/Webenv/Css/Docbook/admonitions.css @@ -0,0 +1,104 @@ +/* + * Docbook -> Admonitions + * + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG + * + * This CSS 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 CSS 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +div.note, +div.tip, +div.important, +div.caution, +div.warning { + margin: 0 0 1.5em 0 !important; + } + +div.note table, div.note table, +div.tip table, div.tip table, +div.important table, div.important table, +div.caution table, div.caution table, +div.warning table, div.warning table { + margin: 0; + border-width: 1px; + border-left-width: 5px; + border-style: solid; + } + +div.note table, +div.tip table, +div.important table, +div.caution table, +div.warning table { + border-color: #F6E7D2; + background-color: #FFF8EC; + background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/msg-bg-orange.png"); + } + +div.note table { + border-color: #D2E0F6; + background-color: #ECF4FF; + background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/msg-bg-blue.png"); + } + +div.note table th, div.note table td, +div.tip table th, div.tip table td, +div.important table th, div.important table td, +div.caution table th, div.caution table td, +div.warning table th, div.warning table td { + border:none; + padding: 0 0 0 0; + } + +div.note table th, +div.tip table th, +div.important table th, +div.caution table th, +div.warning table th { + font-size: 1.4em; + padding: 1em 0 0.5em 0; + } + +div.note table td img, +div.tip table td img, +div.important table td img, +div.caution table td img, +div.warning table td img { + margin: 1em 0.5em; + } + +div.note table td p, +div.tip table td p, +div.important table td p, +div.caution table td p, +div.warning table td p { + margin: 0 1em 1.3em 0; + } + +div.note pre, +div.tip pre, +div.important pre, +div.caution pre, +div.warning pre { + border: none; + background-color: #333; + color: #FFFFFF; + margin: 0 0.5em 0.5em 0; + padding: 0.5em; + } diff --git a/Identity/Webenv/Css/Docbook/base.css b/Identity/Webenv/Css/Docbook/base.css new file mode 100755 index 0000000..98690b0 --- /dev/null +++ b/Identity/Webenv/Css/Docbook/base.css @@ -0,0 +1,30 @@ +/* + * Docbook -> Main blocks + * + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG + * + * This CSS 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 CSS 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +body { + clear: both; + padding: 0 40px 0 40px; + background-color: #FFF; + } + diff --git a/Identity/Webenv/Css/Docbook/default.css b/Identity/Webenv/Css/Docbook/default.css index a2e7659..251efaf 100755 --- a/Identity/Webenv/Css/Docbook/default.css +++ b/Identity/Webenv/Css/Docbook/default.css @@ -1,17 +1,14 @@ -/* CSS - * - * base-docbook.css -- This file provides extends the base visual - * style definition of CentOS Web Environment (Webenv) to XHTML ouput - * produced from DocBook XML DTD instances. +/* + * Docbook * - * Copyright (C) 2009-2011 The CentOS Artwork SIG + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG * - * 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 CSS 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 + * This CSS 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. @@ -25,180 +22,18 @@ * ---------------------------------------------------------------------- */ -@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/base.css"); - -body { - clear: both; - padding: 0 40px 0 40px; - background-color: #FFF; - } - -/* Navigation bars ------------------------------------------------*/ - -div.navheader table, -div.navfooter table { - margin:0; - } - -div.navheader { - margin-bottom: 0.5em; - padding-top: 0.5em; - } - -div.navfooter { - margin-top: 2em; - padding-bottom: 0.5em; - } - -div.navheader table th, -div.navheader table td, -div.navfooter table th, -div.navfooter table td { - border: none; - } - -/* Headings ------------------------------------------------*/ - -h1.title { - font-size: 2em; - color: #fff; - padding: 1em; - margin-bottom: 1em; - background-color: #204c8d; - background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.1/h1-bg.png"); - } - -h2.title { - margin-top: 1.6em; - } - -.title { - color: #072B61; - } - -/* Paragraphs ------------------------------------------------*/ -p { - text-align:justify; - } - -/* Lists ------------------------------------------------*/ - -ul { - list-style: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/ul.png") circle; - } - -div.glosslist dl dd { - margin-left: 3.5em; - } - -/* Table of contents ------------------------------------------------*/ - -div.toc { - margin: 1em 0 2em 0; - } - -div.toc p { - margin-bottom: 0.5em; - } - -/* Admonitions ------------------------------------------------*/ -div.note, -div.tip, -div.important, -div.caution, -div.warning { - margin: 0 0 1.5em 0 !important; - } - -div.note table, div.note table, -div.tip table, div.tip table, -div.important table, div.important table, -div.caution table, div.caution table, -div.warning table, div.warning table { - margin: 0; - border-width: 1px; - border-left-width: 5px; - border-style: solid; - } - -div.note table, -div.tip table, -div.important table, -div.caution table, -div.warning table { - border-color: #F6E7D2; - background-color: #FFF8EC; - background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/msg-bg-orange.png"); - } - -div.note table { - border-color: #D2E0F6; - background-color: #ECF4FF; - background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/msg-bg-blue.png"); - } - -div.note table th, div.note table td, -div.tip table th, div.tip table td, -div.important table th, div.important table td, -div.caution table th, div.caution table td, -div.warning table th, div.warning table td { - border:none; - padding: 0 0 0 0; - } - -div.note table th, -div.tip table th, -div.important table th, -div.caution table th, -div.warning table th { - font-size: 1.4em; - padding: 1em 0 0.5em 0; - } - -div.note table td img, -div.tip table td img, -div.important table td img, -div.caution table td img, -div.warning table td img { - margin: 1em 0.5em; - } - -div.note table td p, -div.tip table td p, -div.important table td p, -div.caution table td p, -div.warning table td p { - margin: 0 1em 1.3em 0; - } - -div.note pre, -div.tip pre, -div.important pre, -div.caution pre, -div.warning pre { - border: none; - background-color: #333; - color: #FFFFFF; - margin: 0 0.5em 0.5em 0; - padding: 0.5em; - } - -/* Phrase Elements ------------------------------------------------*/ - -.command { - font-family: "DejaVu LGC Sans Mono", "Liberation Mono", monospace; - } - -.computeroutput { - border-width: 1px; - border-style: solid; - border-color: #eeeeee; - background: #fafafa; - } +/* Reset browser's default definitions. +--------------------------------------------------------------------*/ +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/default.css"); + +/* Customize default definitions. +--------------------------------------------------------------------*/ +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/base.css"); +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/navigation.css"); +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/headings.css"); +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/paragraphs.css"); +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/lists.css"); +@import url("/home/centos/artwork/trunk/Identity/Webenv/Css/Docbook/admonitions.css"); + +/* Miscellaneous definitions. +--------------------------------------------------------------------*/ diff --git a/Identity/Webenv/Css/Docbook/headings.css b/Identity/Webenv/Css/Docbook/headings.css new file mode 100755 index 0000000..4128aec --- /dev/null +++ b/Identity/Webenv/Css/Docbook/headings.css @@ -0,0 +1,40 @@ +/* + * Docbook -> Headings + * + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG + * + * This CSS 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 CSS 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +h1.title { + font-size: 2em; + color: #fff; + padding: 1em; + margin-bottom: 1em; + background-color: #204c8d; + background-image: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.2/h1-bg.png"); + } + +h2.title { + margin-top: 1.6em; + } + +.title { + color: #072B61; + } diff --git a/Identity/Webenv/Css/Docbook/lists.css b/Identity/Webenv/Css/Docbook/lists.css new file mode 100755 index 0000000..cbe3eb8 --- /dev/null +++ b/Identity/Webenv/Css/Docbook/lists.css @@ -0,0 +1,31 @@ +/* + * Docbook -> Lists + * + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG + * + * This CSS 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 CSS 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +ul { + list-style: url("/home/centos/artwork/tags/Identity/Images/Webenv/1.0/ul.png") circle; + } + +div.glosslist dl dd { + margin-left: 3.5em; + } diff --git a/Identity/Webenv/Css/Docbook/navigation.css b/Identity/Webenv/Css/Docbook/navigation.css new file mode 100755 index 0000000..8ec1cb4 --- /dev/null +++ b/Identity/Webenv/Css/Docbook/navigation.css @@ -0,0 +1,45 @@ +/* + * Docbook -> Navigation + * + * Copyright (C) 2009-2011 The CentOS Artwork SIG + * + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +div.navheader table, +div.navfooter table { + margin:0; + } + +div.navheader { + margin-bottom: 0.5em; + padding-top: 0.5em; + } + +div.navfooter { + margin-top: 2em; + padding-bottom: 0.5em; + } + +div.navheader table th, +div.navheader table td, +div.navfooter table th, +div.navfooter table td { + border: none; + } diff --git a/Identity/Webenv/Css/Docbook/paragraphs.css b/Identity/Webenv/Css/Docbook/paragraphs.css new file mode 100755 index 0000000..10499ec --- /dev/null +++ b/Identity/Webenv/Css/Docbook/paragraphs.css @@ -0,0 +1,52 @@ +/* + * Docbook -> Paragraphs + * + * Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG + * + * This CSS 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 CSS 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., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * ---------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------- + */ + +p { + text-align:justify; + } + +/* Phrase elements +-----------------------------------------------*/ + +.command { + font-family: "DejaVu LGC Sans Mono", "Liberation Mono", monospace; + } + +.computeroutput { + border-width: 1px; + border-style: solid; + border-color: #eeeeee; + background: #fafafa; + } + +/* Table of contents +-----------------------------------------------*/ + +div.toc { + margin: 1em 0 2em 0; + } + +div.toc p { + margin-bottom: 0.5em; + }