gramps/src/plugins/webstuff/css/Web_Navigation-Horizontal.css

105 lines
2.7 KiB
CSS
Raw Normal View History

/*
# encoding: utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2008-2010 Rob G. Healey <robhealey1@gmail.com>
#
# 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
#
**************************************************************************************************
GRAMPS Cascading Style Sheet
Style Name: Web_Navigation-Horizontal.css
***************************************************************************************************
# $Id: $
Body Element
----------------------------------------------------- */
body {
margin: 0 auto;
padding: 5px 2px 5px 2px;
width: 965px;
}
/* Navigation
----------------------------------------------------- */
div#navigation, div#subnavigation {
width: 100%;
margin: 0;
padding: 0;
}
div#navigation ul, div#subnavigation ul {
list-style: none;
min-width: 900px;
height: 24px;
margin: 0;
padding: 0px 0px 0px 18px;
border-bottom: solid 2px #000;
}
div#navigation ul li, div#subnavigation ul li {
float: left;
}
div#navigation ul li a, div#subnavigation ul li a {
display: block;
padding: 4px 12px 7px 1px;
float: left;
font: .8em bold italic small-caps verdana, serif;
text-decoration: none;
margin: 0;
}
#navigation ul li.CurrentSection a, #subnavigation ul li.CurrentSection a {
padding: 3px 0px 3px 1px;
border-width: 0px 1px 1px 1px;
border-style: solid;
border-color: #000;
}
#subnavigation ul li.CurrentSection a {
border-width: 0 0 1px 0;
}
/* Alphabet Navigation
----------------------------------------------------- */
div#alphabet {
width: 100%;
margin: 0;
}
div#alphabet ul {
list-style: none;
min-width: 770px;
height: 24px;
margin: 0;
padding: 0px 0px 0px 16px;
border-width: 2px 0px 4px 0px;
border-style: solid;
border-color: #000;
}
div#alphabet ul li:after {
content: " |";
}
div#alphabet ul li {
margin: 0;
float: left;
}
div#alphabet ul li a {
display: block;
padding: 6px 8px 8px 8px;
float: left;
font: bold 16px/100% sans;
margin: 0;
text-decoration: none;
}