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

114 lines
3.0 KiB
CSS
Executable File

/*
# 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 Stylesheet
***************************************************************************************************
# $Id: Web_Navigation-Horizontal.css 15207 2010-04-17 16:50:00Z robhealey1 $
Body Element
----------------------------------------------------- */
body {
margin: 0 auto;
padding: 0px 4px 0px 4px;
width: 1060px;
}
/* Navigation
----------------------------------------------------- */
div#navigation, div#subnavigation {
width: 100%;
margin: 0;
padding: 0;
}
div#navigation ul, div#subnavigation ul {
list-style: none;
min-width: 900px;
height: 40px;
margin: 0;
padding: 0px 0px 0px 16px;
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: 12px 16px 14px 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 {
font-size: 19px;
margin-top: -6px;
padding-top: 11px;
padding-bottom: 8px;
border-right: solid 1px #542;
border-left: solid 1px #542;
border-bottom: solid 1px #FFF;
}
#subnavigation ul li.CurrentSection a {
border-width: 0 0 1px 0;
}
/* Alphabet Navigation
----------------------------------------------------- */
div#alphabet {
width: 100%;
margin: 0;
background-color: #A97;
}
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: 4px 8px 4px 8px;
float: left;
font: bold 16px/100% sans;
margin: 0;
text-decoration: none;
color: #000;
}
div#alphabet ul li a:hover {
background-color: #000;
color: #FFF;
}