/* ************************************************************************************************** Copyright Holder and License ************************************************************************************************** GRAMPS Cascading Style Sheet Style Name: Basic-Ash Stylesheet Style Author: Jason M. Simanek (2008) Note: Adapted from GRAMPS original Modern Style stylesheet ************************************************************************************************** This website was created with GRAMPS -------------------------------------------------------------------------------------------------- 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 to learn more! -------------------------------------------------------------------------------------------------- Copyright 2008 Jason M. Simanek Copyright 2009 Stephane Charette Copyright (C) 2008-2011 Rob G. Healey 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 . -------------------------------------------------------------------------------------------------- Color Palette -------------------------------------------------------------------------------------------------- black #000 gray dark #333 gray #999 gray light #CCC gray very light #EEE white #FFF -------------------------------------------------------------------------------------------------- # $Id$ NarrativeWeb Styles ------------------------------------------------------------------------------------------------ General Elements ----------------------------------------------------- */ body { font-family:sans-serif; color:#000; margin:0; padding:0; background-color:#FFF; } div { margin:0; padding:0; } img { border:none; margin:0; } .thumbnail a:hover { background:none; } .content { padding-top: 1cm; background-color:#FFF; } .content div.snapshot { float:right; margin:20px; padding:0; background:none; } .content div.snapshot div.thumbnail { margin:0; padding:0; background:none; } .fullclear { width:100%; height:1px; margin:0; padding:0; clear:both; } /* General Text ----------------------------------------------------- */ h1 { font-size:1.4em; font-weight:bold; margin:0; } h2 { display:none; } h3 { font-size:1.2em; font-weight:bold; margin-left:12px; text-align:left; margin:0; padding:.5em 20px .2em 20px; } h4 { font-size:.8em; color:#333; margin:0; padding:.2em 0 .2em 20px; background-color:#EEE; border-bottom:solid 1px #999; } h5, h6 { font-style:italic; margin:1.3em 0 .5em 1em; } p { font-size:14px; line-height:17px; margin:0; } p#description { padding:0 15px 1em 15px; } p a:link { text-decoration:underline; } sup { line-height:0; } ol { } ol li a { text-decoration:none; } a:link { color:#000; text-decoration:underline; } a:hover, a:active { background-color:#EEE; color:#000; text-decoration:underline; } a:visited { color:#000; text-decoration:underline; } .grampsid { font:normal .8em/1.2em monospace; color:#999; } /* Header ----------------------------------------------------- */ #header { padding:15px 15px 2px 15px; margin:0; background-color:#EEE; } #SiteTitle { color:#333; margin:0 0 3px 0; } #header p { font-size:1em; font-weight:bold; color:#999; margin:0; } /* Navigation ----------------------------------------------------- */ #navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#EEE; } #navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; margin:0; padding:0 0 0 12px; border-bottom:1px solid #999; } #navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } #navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; font-weight:bold; text-decoration:none; margin:0; padding:5px 5px; background-color:#EEE; } #navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#CCC; border-bottom:solid 1px #000; } #navigation ul li.CurrentSection a, #subnavigation ul li.CurrentSection a { padding-bottom:4px; border-top:solid 1px #999; border-right:solid 1px #999; border-left:solid 1px #999; border-bottom:solid 1px #FFF; background-color:#FFF; } #navigation ul li.CurrentSection a:hover { background-color:#FFF; } #subnavigation ul li.CurrentSection a { border-width:0 0 1px 0; } /* Alphabet Navigation ----------------------------------------------------- */ div#alphabet { width: 100%; margin: 0; background-color: #EEE; } 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; } /* Main Table ----------------------------------------------------- */ table { font-size:14px; margin:0 15px; padding:0; border:none; border-collapse:collapse; } table tr th { font-weight: bold; text-align: left; margin:0; padding:.1em 10px; background-color:#CCC; border-top:solid 1px #999; border-bottom:solid 1px #999; } table.infolist tr th:first-child { border-left:solid 1px #999; } table.infolist tr th:last-child { border-right:solid 1px #999; } table.infolist tr th a { text-decoration:none; } table tr td { vertical-align:middle; padding:.1em 10px; } table.infolist tr td a { display:block; text-decoration:none; } table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td { border-top:solid 1px #CCC; } table.infolist tr th.ColumnQuantity { width:30%; } table.infolist tr td.ColumnLetter { font-weight:bold; } table.infolist tbody tr td.ColumnBirth { font-size:.9em; width:10%; } table.infolist tbody tr td.ColumnDeath { font-size:.9em; width:10%; } table.infolist tbody tr td.ColumnRowLabel { font-weight:bold; width:2%; } table.infolist tbody tr td.ColumnType { width:6%; padding-left:20px; } table.infolist tbody tr td.ColumnPartner { font-size:.9em; } table.infolist tbody tr td.ColumnParents { font-size:.9em; } table.infolist tbody tr td.ColumnParents span.father, table.infolist tbody tr td.ColumnParents span.mother { display:block; } table.infolist tbody tr td.ColumnParents span.mother:before { content:"+ "; } table.infolist tbody p.EventNote { border-top:dashed 1px #CCC; padding-top:1em; padding-bottom:1em; } /* Surnames ----------------------------------------------------- */ #Surnames { } #SurnameDetail p#description { padding-top:0; } table.surnamelist tbody tr td.ColumnSurname { width:50%; } table.surnamelist thead tr th.ColumnSurname { padding:0; } table.surnamelist thead tr th.ColumnQuantity { width:40%; padding:0; } table.infolist thead tr th.ColumnSurname a, table.infolist thead tr th.ColumnQuantity a { display:block; padding:.1em 10px; } table#SortByName thead tr th.ColumnSurname a, table#SortByCount thead tr th.ColumnQuantity a { background-color:#EEE; } table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after { content:" ↓"; } table.infolist tbody tr td.ColumnSurname { padding:0; background-color:#EEE; } table.infolist tbody tr td.ColumnSurname a { padding:.1em 10px; } table.infolist tbody tr td.ColumnSurname a:hover { padding:.1em 10px; background-color:#CCC; } table.surname { border-bottom:solid 1px #EEE; } table.surname tbody tr td { border-bottom:dashed 1px #CCC; } table.surname tbody tr td.ColumnName { width:20%; padding:0; background-color:#EEE; } table.surname tbody tr td.ColumnName a { display:block; padding:.6em 10px .6em 20px; } table.surname tbody tr td.ColumnName a:hover { background-color:#CCC; } table.surname tbody tr td.ColumnName a span.grampsid { display:none; } table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents { width:25%; } /* Individuals ----------------------------------------------------- */ #Individuals { } #Individuals table.individuallist { border-bottom:solid 1px #EEE; } #Individuals table.individuallist tbody tr td { border-bottom:dashed 1px #CCC; } #Individuals table.individuallist tbody tr td a:hover { text-decoration:none; } table.individuallist tbody tr td.ColumnSurname { background:none; } table.individuallist tbody tr td.ColumnSurname a:hover, table.individuallist tbody tr td.ColumnSurname a:active { cursor:default; color:black; background:none; } table.individuallist tbody tr td.ColumnName { padding:0; background-color:#EEE; } table.individuallist tbody tr td.ColumnName a { display:block; padding:.6em 10px; vertical-align:middle; } table.individuallist tbody tr td.ColumnName a:hover { background-color:#CCC; } #Individuals div table.infolist tr td p { vertical-align:top; } #Individuals div table.infolist tr td p a { display:inline; } /* IndividualDetail ------------------------------------------------------ */ #IndividualDetail { background-color:#EEE; } #IndividualDetail div table.infolist tr td { font:normal .9em/1.2em sans-serif; vertical-align:top; } #IndividualDetail div table.infolist tr td a { display:inline; } #IndividualDetail table.infolist tr td a:hover { text-decoration:underline; } #IndividualDetail table.infolist tbody tr td.ColumnAttribute { width:10%; color:#696969; } #IndividualDetail div.subsection table tr td:first-child { padding-left:20px; } /* Sources ----------------------------------------------------- */ #Sources table.infolist tbody tr td.ColumnRowLabel { padding-bottom:0; } #Sources table.infolist tbody tr td.ColumnName { padding:0; } #Sources table.infolist tbody tr td.ColumnName a { padding:.1em 10px .3em 10px; } #SourceDetail div#references ol li { padding-bottom:.5em; } /* Places ----------------------------------------------------- */ #Places table.infolist tbody tr td.ColumnName { padding:0; } #Places table.infolist tbody tr td.ColumnName a { padding:.1em 10px .3em 10px; } /* Gallery ----------------------------------------------------- */ #Gallery table.infolist tbody tr td.ColumnRowLabel, #Gallery table.infolist tbody tr td.ColumnDate { padding-bottom:0; } #Gallery table.infolist tbody tr td.ColumnName { padding:0; } #Gallery table.infolist tbody tr td.ColumnName a { padding:.1em 10px .3em 10px; } #Gallery table.infolist tbody tr td.ColumnName a:hover { background-color:#EEE; } #GalleryNav { font-size:.8em; margin:1em 0 0 0; padding:1.2em 0 0 0; text-align:center; } #GalleryNav a { font-weight:bold; text-decoration:none; background-color:#EEE; border:solid 1px #999; } #GalleryNav a:hover { background-color:#CCC; } #GalleryNav a#Previous { padding:.4em .7em .3em .7em; } #GalleryNav a#Next { padding:.4em 1.9em .3em 1.9em; } #GalleryPages { margin:0 1em; } #GalleryCurrent { font-size:1.2em; font-weight:bold; } #GalleryTotal { font-weight:normal; } #GalleryDisplay { margin:0 auto; padding:0; position:relative; overflow:hidden; text-align:center; border:solid 1px #999; } #GalleryDisplay img { margin:0 auto; } #GalleryDetail div#summaryarea{ margin:0; padding:1.4em 0 0 0; } #GalleryDetail div#summaryarea h3 { text-align:center; } #GalleryDetail div h4 { margin-top:0; } #GalleryDetail div#summaryarea table.gallery { width:100%; margin-top:1.5em; margin-bottom:0; padding-bottom:0; background-color:#EEE; border-style:solid; border-width:8px 0 0 0; border-color:#CCC; } /* Contact ----------------------------------------------------- */ #Contact #summaryarea { width:600px; margin:2em auto; padding:3em; background-color:#EEE; border:solid 1px #999; } #Contact #summaryarea img { float:right; margin:0; padding:0; border:solid 1px #999; } #researcher { margin-top:.3em; } #researcher h3 { padding:0; } #researcher span { display:block; float:left; margin-right:.4em; } #streetaddress { width: 100%; } #locality, .locality { display: block; width: 100%; } #city:after { content:","; } #country { clear:left; } #email { clear:left; } #email a { text-decoration:none; } #email a:hover { text-decoration:underline; } /* Download ----------------------------------------------------- */ #Download { padding:1cm; height:396px; } table.download { border:solid 2px #000; width:100%; } table.download img { float:center; } table.download thead tr th { text-align:center; border:solid 2px #000; color: #000; text-transform:uppercase; } table.download tbody tr#Row02 { border-bottom:solid 2px #000; } table.download thead tr th, table.download tbody tr td { padding-left:10px; padding-top:20px; border-style:solid; border-color:#000; border-width:0 2px 2px 2px; text-align:left; } table.download td.Description { width: 50%; } table.download td.License { width:8%; } table.download td.Filename { width:30%; } table.download td.Filename a { font-weight:bold; font-style: italic; text-decoration:none; } table.download td.Filename a:hover { text-decoration:underline; } table.download td.Modified { width:12%; font-weight:bold; } /* Subsections ----------------------------------------------------- */ #Home, #Introduction, #Contact { padding:1.5em 0 3em 0; } #Home p, #Introduction p, #Contact p { margin:0 20px 1em 20px; } #Home img, #Introduction img, #Contact img { float:right; margin:0; padding:0 20px 3em 20px; } #Home a, #Introduction a, #Contact a { color: #000; text-decoration: none; ) div.subsection{ padding-bottom:.5em; background-color:#FFF; } div.subsection h4 { margin-bottom:.5em; } div.subsection table, div.subsection ol, div.subsection p { font-size:.9em; } div.subsection a { text-decoration:none; } div.subsection a:hover { text-decoration:underline; background:none; } div.subsection table.infolist { width:100%; margin:0; } #IndividualDetail div.subsection table tr td:first-child { padding-left:20px; } /* Subsections : Summary Area ----------------------------------------------------- */ div#summaryarea { min-height:100px; background:none; } div#summaryarea table.infolist { margin:0; padding:0; background:#FFF; border-bottom:solid .7em #FFF; } div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p { vertical-align:top; } div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a { display:inline; } div#summaryarea table.infolist tbody tr td.ColumnAttribute { width:14%; padding-left:20px; } /* Subsections : Events ----------------------------------------------------- */ div#events { padding-bottom:0; } div#events h4 { margin-bottom:0; } div#events table.infolist { border-bottom:solid 1px #FFF; } div#events table.infolist tbody tr td { padding-top:.2em; padding-bottom:.2em; } #IndividualDetail div#events table.infolist thead tr th:first-child { padding-left:20px; } div#events table.infolist tbody tr td.ColumnAttribute { border-bottom:dashed 1px #CCC; } div#events table.infolist tbody tr td.ColumnValue { border-bottom:dashed 1px #CCC; } div#events table.infolist tbody tr td.ColumnValue p { margin:.1em 2em; } /* Subsections : Parents ----------------------------------------------------- */ div#parents table.infolist tbody tr td.ColumnValue ol { margin:0; padding-top:0; } div#parents table.infolist tbody tr td.ColumnValue ol li { padding-bottom:.2em; } /* Subsections : Families ----------------------------------------------------- */ div#families table.infolist tbody tr td.ColumnValue p { margin-top:0; } div#families table.infolist tbody tr td.ColumnValue ol { margin:0; padding-top:0; } div#families table.infolist tbody tr td.ColumnValue ol li { padding-bottom:.2em; } /* Subsections : Addresses ----------------------------------------------------- */ div#addresses { padding-bottom:0; } div#addresses h4 { margin-bottom:0; } div#addresses table.infolist { border-bottom:solid 1px #FFF; } div#addresses table.infolist tbody tr td { padding-top:.2em; padding-bottom:.2em; } div#addresses table.infolist tbody tr td.ColumnAttribute { width:30%; border-bottom:dashed 1px #CCC; } div#addresses table.infolist tbody tr td.ColumnValue { border-bottom:dashed 1px #CCC; } /* Subsections : Attributes ----------------------------------------------------- */ /* Subsections : Gallery ----------------------------------------------------- */ #indivgallery h4 { margin-bottom:1em; } #indivgallery .thumbnail { margin:0; float:left; width:130px; height:150px; text-align:center; } #indivgallery .thumbnail a { display:block; margin:0; padding:0; background:none; } #indivgallery .thumbnail a img { margin:0; padding:0; border:solid 1px #999; } #indivgallery div.thumbnail p { /* ## remove this line and the comment markers from the line below to hide the description in Individual Gallery display: none; */ font-size:.6em; text-align:center; width:80%; margin:0 auto; padding:0; } /* Subsections : Narrative ----------------------------------------------------- */ div#narrative { padding-bottom:0; } #narrative p { margin-top:.5em; margin-bottom:0; padding:0 20px 1em 20px; } /* Subsections : References ----------------------------------------------------- */ #references ol { margin-top:0; margin-bottom:0; } /* Subsections : Source References ----------------------------------------------------- */ div#sourcerefs ol { list-style-type:decimal; } div#sourcerefs ol li ol { list-style-type:lower-alpha; } /* Subsections : Weblinks ----------------------------------------------------- */ /* Subsections : Pedigree ----------------------------------------------------- */ .pedigreegen { font-size:.9em; list-style:none; margin:.5em 0 0 0; padding:0 0 .7em 20px; } .pedigreegen li ol { list-style:none; margin-left:.5em; } .pedigreegen li ol li { padding-bottom:.2em; } .pedigreegen li ol li ol { list-style:decimal; margin-left:1.6em; } .pedigreegen li ol li ol li ol.spouselist { font-size:1em; list-style:none; margin-left:0; } .spouselist li.spouse ol { font-size:1em; list-style:decimal; margin-left:1.6em; } .spouse a { font-weight:normal; } .spouse:before { content: "+ "; } .thisperson { font-weight:bold; } /* Footer ----------------------------------------------------- */ #footer { clear:both; width:100%; font-size:12px; line-height:130%; color:#333; margin:0; padding:15px 0 0 0; background-color:#CCC; border-top:solid 1px #333; } #footer a, #footer a:visited { text-decoration:none; color:#333; } #footer a:hover { text-decoration:underline; } #footer img { border:0; margin:0 auto; vertical-align:middle; } #footer p#createdate { float:left; width:40%; text-align:left; margin-left:10px; } #footer p#copyright { float:right; width:40%; text-align:right; margin-right:10px; } #footer p#copyright img { margin-right:10px; } #user_footer { width:70%; float:left; margin:1em; } #user_footer p { font:normal 1em/1.2em serif; margin:0; padding:0; } /* Calendar Styles -------------------------------------------------------------------------------------------- */ /* Calendar : General */ body#WebCal { padding:0 14px; background-color:#333; } .calendar { empty-cells:show; width:100%; font-size:1em; font-weight:normal; margin:0; padding:0; border:none; border-collapse:collapse; } .calendar thead tr th { width:14%; font-weight:bold; font-size:14px; line-height:14px; text-align:center; text-transform:uppercase; padding:2px 0; } .calendar thead tr th.monthName { width:100%; font-weight:normal; font-size:2em; line-height:100%; text-transform:none; color:#333; padding:.3em 0 .2em 0; background-color:#FFF; border-bottom-width:0; } body#WebCal #CreatorInfo { float:right; font-size:12px; margin:-24px 10px 0 0; } .calendar thead tr th.weekend, .calendar thead tr th.weekday { color:#333; background-color:#EEE; border-style:solid; border-width:0 0 1px 0; border-color:#999; } .calendar thead tr th.saturday, .calendar thead tr th.sunday { } .calendar tfoot tr td { padding:.7em 5% 1em 5%; border-top:solid 4px #999; } .calendar tfoot tr td { vertical-align:middle; color:#333; background-color:#EEE; } /* Calendar : Date Numeral */ .calendar tbody tr td div.date { float:right; display:block; width:1.8em; font-weight:bold; font-size:1em; line-height:100%; text-align:center; color:#333; margin:0 0 0 .5em; padding:.2em 0; background-color:#CCC; } /* Calendar : Date Container */ .calendar tbody tr td { vertical-align:top; height:10em; padding:0; border-width:1px 0 0 1px; border-style:solid; border-color:#CCC; } .calendar tbody tr td.weekday { background-color:#FFF; } .calendar tbody tr td.weekend { background-color:#EEE; } .calendar tbody tr td.saturday { } .calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { border-top:none; } /* Calendar : Date Detail */ .calendar tbody tr td ul { list-style:none; font-family:sans-serif; font-size:.8em; margin:2.3em 0 .3em 0; padding:0; } .calendar tbody tr td ul li { display:block; width:92%; margin:0 4%; padding:.2em 0 .3em 0; border-top:dashed 1px #C1B398; } .calendar tbody tr td ul li:first-child { border:none; } /* Calendar : Birthday, Anniversary, Highlight */ .calendar tbody tr td ul li em { font-style:normal; color:#0A65B5; } .calendar tbody tr td ul li span.yearsmarried em { color:#453619; } .calendar tbody tr td.highlight { background-color:#E5F2FE; } .calendar tbody tr td.highlight div.date { color:#0A65B5; background-color:#C2E1FE; } /* Calendar : Previous-Next Month */ .calendar tbody tr td.previous, .calendar tbody tr td.next, .calendar tbody tr td.previous div.date, .calendar tbody tr td.next div.date { color:#CCC; background-color:#EEE; } /* Calendar : Full Year */ body#fullyearlinked div.content { width:963px; margin:0 auto; padding:15px 0 2px 2px; } body#fullyearlinked table.calendar { float:left; width:320px; height:18em; border:solid 1px #7D5925; } body#fullyearlinked table.calendar thead tr th { height:2em; } body#fullyearlinked table.calendar thead tr th.monthName { font-size:1.2em; padding:2px 0; } body#fullyearlinked table.calendar tbody tr td { height:3em; }