gramps/data/css/Web_Basic-Peach.css
John Ralls 4e4c119f9f [r22576]Move the HTML resources from gramps/plugins/webstuff
To data and images so that they're together with the other resources
instead of in site-package/gramps. Aside from a better source and
installation layout, this makes it easier to bundle them.

svn: r22577
2013-06-23 23:13:13 +00:00

726 lines
17 KiB
CSS

/*
**************************************************************************************************
Copyright Holder and License
**************************************************************************************************
GRAMPS Cascading Style Sheet
Style Name: Basic-Peach Stylesheet
Style Author: Jason M. Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet with a new orange color scheme.
**************************************************************************************************
This website was created with GRAMPS <http://www.gramps-project.org/>
--------------------------------------------------------------------------------------------------
GRAMPS is a Free Software Project for Genealogy, offering a professional
genealogy program, and a wiki open to all. It is a community project, created,
developed and governed by genealogists.
Go to <http://gramps-project.org/> to learn more!
--------------------------------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
Copyright 2009 Stephane Charette
Copyright (C) 2008-2011 Rob G. Healey <robhealey1@gmail.com>
Copyright 2011 Michiel D. Nauta
This file is part of the GRAMPS program.
GRAMPS 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, version 2 of the License.
GRAMPS 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
GRAMPS. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------------------------------
Color Palette
--------------------------------------------------------------------------------------------------
black #36220B
brown #8C581C
orange dark #EA8414
orange #FFC35E
orange light #FFE09F
yellow light #FFFBE7
--------------------------------------------------------------------------------------------------
Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
General Elements
----------------------------------------------------- */
body {
font-family: sans-serif;
font-size: 90%;
color: #36220B;
margin: 0px;
background-color: #FFE09F;
}
body > div {
clear: both;
}
.content {
background-color: #FFFBE7;
border-top: solid 1px #8C581C;
}
.content div.snapshot {
float: right;
margin: 2em;
}
.fullclear {
clear: both;
}
/* General Text
----------------------------------------------------- */
h1 {
font-size: x-large;
font-weight: bold;
padding-left: 15px;
}
h3 {
font-size: large;
padding-left: 15px;
}
h4 {
font-size: medium;
color: #EA8414;
background-color: #FFC35E;
padding-left: 15px;
margin-bottom: 0px;
border-bottom: solid 1px #8C581C;
}
p#description {
padding-left: 15px;
}
a {
color: #36220B;
text-decoration: none;
}
a[href]:hover, a[href]:active {
background-color: #FFE09F
}
.grampsid {
font-family: monospace;
font-size: smaller;
color: #8C581C;
}
/* Header
----------------------------------------------------- */
#SiteTitle {
color: #EA8414;
}
#user_header, #user_footer {
padding-left: 15px;
}
/* Navigation
----------------------------------------------------- */
div#nav, #subnavigation {
border: solid 1px #FFE09F; /* needed by IE7 */
}
#subnavigation ul {
overflow: hidden;
}
div#nav ul, #subnavigation ul {
list-style: none;
margin: 0px;
padding-left: 15px;
}
#subnavigation ul {
border-bottom: solid 1px #8C581C;
}
div#nav ul li, #subnavigation ul li {
float: left;
}
div#nav ul li a, #subnavigation ul li a {
display: block;
font-size: smaller;
font-weight: bold;
padding: 5px;
border-bottom: solid 1px #FFE09F;
}
div#nav ul li a:hover, #subnavigation ul li a:hover {
text-decoration: none;
background-color: #FFC35E;
border-bottom: solid 1px #36220B;
}
div#nav ul li.CurrentSection a {
position: relative;
top: 1px;
border: solid 1px #8C581C;
border-bottom-style: none;
background-color: #FFFBE7;
}
#subnavigation ul li.CurrentSection a {
background-color: #FFFBE7;
}
/* Alphabet Navigation
----------------------------------------------------- */
div#alphanav {
background-color: #FFE09F;
}
div#alphanav ul {
list-style: none;
border-width: 2px 0px 4px 0px;
border-style: solid;
border-color: #36220B;
margin: 0px;
padding-left: 15px;
/* float container stretch, see www.quirksmode.org/css/clearing.html */
overflow: hidden;
}
div#alphanav ul li {
float: left;
font-size: larger;
font-weight: bold;
}
div#alphanav ul li:after {
content: " |";
}
div#alphanav ul li a {
display: block;
padding: 4px 8px;
line-height: 100%;
float: left;
}
div#alphanav ul li a:hover {
text-decoration: none;
background-color: #36220B;
color: #FFFBE7;
}
/* Main Table
----------------------------------------------------- */
table {
border-collapse: collapse;
width: 100%;
}
div#summaryarea > table.infolist,
div#parents > table.infolist,
h3 + table.infolist {
width: auto;
}
table tr th {
text-align: left;
background-color: #FFE09F;
border-top: solid 1px #8C581C;
border-bottom: solid 1px #8C581C;
}
table tr th:first-child {
border-left: solid 1px #EA8414;
}
table tr th:last-child {
border-right: solid 1px #EA8414;
}
table.primobjlist tr th {
background-color: #FFC35E;
}
table td, table th {
vertical-align: top;
padding-left: 1ex;
}
table.primobjlist td {
vertical-align: middle;
}
table td:first-child, table th:first-child {
padding-left: 15px;
}
table.primobjlist tr a {
display: block; /* make whole td clickable */
}
table.primobjlist tr.BeginLetter td, table.primobjlist tr.BeginSurname td {
border-top: solid 1px #FFC35E;
}
td.ColumnLetter, td.ColumnRowLabel {
font-weight: bold;
}
td.ColumnBirth, td.ColumnDeath, td.ColumnPartner, td.ColumnParents {
font-size: 90%;
}
table.infolist tr td ol {
margin: 0px;
}
#summaryarea table.infolist td.ColumnAttribute,
#parents table.infolist td.ColumnAttribute,
#families table.infolist td.ColumnType,
#families table.infolist td.ColumnAttribute {
color: #8C581C;
}
/* div summaryarea is missing for events, sources and repos! */
h3 + table.infolist td.ColumnAttribute {
color: #8C581C;
}
table.primobjlist td.ColumnParents span.mother:before {
content: "+ ";
}
/* Surnames
----------------------------------------------------- */
table#SortByName td.ColumnSurname, table#SortByName th.ColumnSurname,
table#SortByCount td.ColumnQuantity, table#SortByCount th.ColumnQuantity {
background-color: #FFE09F;
}
table#SortByName td.ColumnSurname a[href]:hover {
background-color: #FFC35E;
}
/* make the whole cell light up on hover not just the a. */
table#SortByName td.ColumnSurname,
table#SortByName th.ColumnSurname,
table#SortByName th.ColumnQuantity {
padding-left: 0px;
}
table#SortByName td.ColumnSurname > a,
table#SortByName th.ColumnSurname > a,
table#SortByName th.ColumnQuantity > a {
padding-left: 1ex;
}
table#SortByName thead th.ColumnSurname a:after,
table#SortByCount thead th.ColumnQuantity a:after {
content: " \2193";
}
table.surname td.ColumnName {
background-color: #FFE09F;
}
table.surname td.ColumnName a[href]:hover {
background-color: #FFC35E;
}
/* make the whole cell light up on hover not just the a. */
table.surname td.ColumnName {
padding-left: 0px;
}
table.surname td.ColumnName > a {
padding-left: 15px;
}
/* Individuals
----------------------------------------------------- */
table.IndividualList td.ColumnSurname {
background-color: #FFE09F;
}
/* Places
----------------------------------------------------- */
#Places table.infolist td.ColumnName {
background-color: #FFE09F;
}
#Places table.infolist td.ColumnName a[href]:hover {
background-color: #FFC35E;
}
/* make the whole cell light up on hover not just the a. */
#Places table.infolist td.ColumnName {
padding-left: 0px;
}
#Places table.infolist td.ColumnName > a {
padding-left: 1ex;
}
/* Events
----------------------------------------------------- */
#EventList table.infolist tr.BeginType td {
border-top:dashed 1px #FFC35E;
}
#EventList table.infolist tr.BeginLetter td {
border-top:solid 1px #FFC35E;
}
#EventList table.infolist td.ColumnType {
background-color: #FFE09F;
}
#EventList td.ColumnPerson a {
display: inline;
}
#EventList td.ColumnPerson span.person:after,
#EventList td.ColumnPerson span.father:after,
#EventList td.ColumnPerson span.mother:after,
#EventDetail td.ColumnPerson span.person:after,
#EventDetail td.ColumnPerson span.father:after,
#EventDetail td.ColumnPerson span.mother:after {
content: ", ";
}
#EventList td.ColumnPerson span.fatherNmother:after,
#EventDetail td.ColumnPerson span.fatherNmother:after {
content: " + ";
}
#EventList td.ColumnPerson span.person:last-child:after,
#EventList td.ColumnPerson span.father:last-child:after,
#EventList td.ColumnPerson span.mother:last-child:after,
#EventDetail td.ColumnPerson span.person:last-child:after,
#EventDetail td.ColumnPerson span.father:last-child:after,
#EventDetail td.ColumnPerson span.mother:last-child:after {
content: "";
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
text-align: center;
margin: 2em 0px;
}
#GalleryNav a {
font-weight: bold;
background-color: #FFE09F;
border: solid 1px #EA8414;
margin: 1em;
}
#GalleryNav a:hover {
background-color: #FFC35E;
}
#GalleryNav a#Previous {
padding: .4em .7em .3em .7em;
}
#GalleryNav a#Next {
padding: .4em 1.9em .3em 1.9em;
}
#GalleryCurrent {
font-size: larger;
}
#GalleryTotal {
font-weight: normal;
}
#GalleryDisplay {
margin: 0px auto;
position: relative;
}
#GalleryDisplay img {
margin: 0px auto;
display: block;
border: solid 1px #EA8414;
}
#GalleryDetail h3 {
text-align: center;
}
/* Sources
------------------------------------------------------ */
div#SourceDetail {
margin: 0 auto;
}
/* Contact
----------------------------------------------------- */
#Contact {
overflow: hidden;
}
#Contact #summaryarea {
width: 40em;
margin: 2em auto;
padding: 3em;
background-color: #FFE09F;
border: solid 1px #EA8414;
}
#Contact img {
float: right;
border: solid 1px #EA8414;
}
#Contact #researcher, #Contact #researcher h3 {
font-size: larger;
padding-left: 0px;
}
#Contact #streetaddress, #Contact #locality, #Contact #email {
display: block;
}
#Contact #locality, #Contact #city, #Contact #state, #Contact #postalcode,
#Contact #country {
white-space: nowrap;
}
#Contact #city:after {
content: ",";
}
/* Download
----------------------------------------------------- */
#Download table.download a {
display: block;
}
/* Subsection
----------------------------------------------------- */
#Home, #Introduction {
overflow: hidden;
}
#Home img, #Introduction img {
float: right;
margin: 1em;
max-width: 950px;
}
#Home p, #Introduction p {
padding-left: 15px;
}
.subsection {
clear: both;
overflow: hidden;
}
.subsection p {
margin: 0px;
}
/* Subsection : Families
----------------------------------------------------- */
div#families table.fixed_subtables table.eventlist {
table-layout: fixed;
}
div#families table.fixed_subtables table.eventlist th:first-child {
width: 9em;
}
div#families table.fixed_subtables table.eventlist th:last-child {
width: 5em;
}
div#families table.attrlist td.ColumnType {
color: #36220B;
}
/* Subsection : Gallery
----------------------------------------------------- */
#indivgallery .thumbnail {
float: left;
max-width: 130px;
max-height: 150px;
font-size: smaller;
text-align: center;
margin: 0.8em 0.5em;
}
#indivgallery h4 + .thumbnail {
margin-left: 15px;
/* Problem: if there are more thumnails then fit on a single row, the
* first thumnail on each next row should also have a margin-left
* of 15 px. */
}
#indivgallery img {
border: solid 1px #8C581C;
}
#indivgallery span {
/* ## remove this line and the comment markers from the line below to hide description in Indivifual Gallery
display: none; */
}
/* Subsection : Narrative
----------------------------------------------------- */
h4 + div.grampsstylednote, a.familymap {
margin: 1em 15px;
}
i + div.grampsstylednote p {
margin: 0 0 0.3em 0;
}
div.grampsstylednote p {
margin-bottom: 0.5em;
}
/* Subsection : Family Map
----------------------------------------------------- */
a.familymap {
display: block;
}
/* Subsection : Source References
----------------------------------------------------- */
#sourcerefs ol li ol {
list-style-type: lower-alpha;
}
/* Subsection : Pedigree
----------------------------------------------------- */
.pedigreegen {
list-style-type: none;
padding-left: 15px;
}
.pedigreegen li ol {
list-style-type: none;
}
.pedigreegen li ol li ol {
list-style-type: decimal;
}
.pedigreegen ol.spouselist {
list-style-type: none;
}
.pedigreegen ol.spouselist li.spouse ol {
list-style-type: decimal;
}
.spouse:before {
content: "+ ";
}
.thisperson {
font-weight: bold;
}
.thisperson > ol {
font-weight: normal;
}
/* Footer
----------------------------------------------------- */
#footer {
clear: both;
padding-top: 1em;
background-color: #FFC35E;
border-top: solid 1px #EA8414;
}
#footer > * {
background-color: #FFE09F;
}
#footer p#createdate {
float: left;
width: 50%;
text-align: left;
padding-left: 15px;
margin-top: 1em;
}
#footer p#copyright {
float: right;
width: 40%;
text-align: right;
padding-right: 15px;
}
#footer a[href]:hover {
background-color: #FFC35E;
}
/* Overwritten
----------------------------------------------------- */
button#drop {
background-color: #FFE09F;
border: solid 1px #EA8414 ! important;
}
button#drop:hover {
background-color: #FFC35E;
}
div#map_canvas {
border-color: #EA8414 ! important;
}
body#FamilyMap {
background-color: #FFE09F ! important;
}
/* Calendar Styles
===================================================== */
table.calendar {
table-layout: fixed;
empty-cells: show;
}
.calendar thead th {
text-align: center;
border-top-style: none;
}
.calendar thead th.monthName {
font-size: xx-large;
font-weight: normal;
background-color: #FFFBE7;
border-bottom-style: none;
padding-top: 1em;
}
.calendar thead th abbr {
border-bottom-style: none;
}
#CreatorInfo {
float: right;
margin: -1em 15px 0px 0px;
font-weight: bold;
color: #8C581C;
}
#CreatorInfo a[href]:hover {
background-color: #FFC35E;
}
.calendar tfoot tr td {
border-top: solid 4px #8C581C;
vertical-align: middle;
}
/* Calendar : Date Numeral */
.calendar div.date {
float: right;
width: 1.8em;
font-size: large;
text-align: center;
background-color: #FFC35E;
color: #8C581C;
}
/* Calendar : Date Container */
.calendar td {
padding: 0px 0px 0px 1ex;
border-width: 1px 0px 0px 1px;
border-style: solid;
border-color: #FFC35E;
background-color: #FFFBE7;
}
.calendar td:first-child {
border-left-style: none;
padding: 0px 0px 0px 1ex;
}
.calendar tbody tr:first-child td {
border-top-style: none;
}
/* Calendar : Date Detail */
.calendar td ul {
font-size: smaller;
list-style: none;
padding: 0px;
}
.calendar td ul li {
border-top: dashed 1px #8C581C;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.calendar td ul li:first-child {
border-style: none;
}
.calendar td ul a[href]:hover {
background-color: #FFC35E;
}
/* Calendar : Birthday, Anniversary, Highlight */
.calendar td ul li em {
font-style: normal;
color: #EA8414;
}
.calendar td.highlight {
background-color: #FFE09F;
}
.calendar td.highlight div.date {
color: #36220B;
background-color: #FFC35E;
}
/* Calendar : Previous-Next Month */
.calendar td.previous,
.calendar td.next,
.calendar td.previous div.date,
.calendar td.next div.date {
color: #FFC35E;
background-color: #FFFBE7;
}
/* Calendar : Full Year */
body#fullyearlinked div.content {
overflow: hidden;
}
body#fullyearlinked table.calendar {
float: left;
width: 33.3%;
height: 18em;
border: solid 1px #36220B;
}
body#fullyearlinked table.calendar thead th {
height: 2em;
}
body#fullyearlinked table.calendar thead th.monthName {
font-size: large;
padding: 2px 0px;
}
body#fullyearlinked table.calendar tbody td {
height: 3em;
}
body#OneDay div.content {
overflow: hidden;
}