/* ************************************************************************************************** Copyright Holder and License ************************************************************************************************** GRAMPS Cascading Style Sheet Style Name: Basic - Lilac Style Author: Jason M. Simanek (2008) Note: Adapted from GRAMPS original Modern Style stylesheet with colors from the original 'Business' 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 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 lilac dark #2E2E61 lilac #669 lilac light #B4B4CB lilac very light #E0E0E9 white #FAFAFF ------------------------------------------------------------------------------------------- # $Id$ NarrativeWeb Styles -------------------------------------------------------------------------------------------- General Elements ----------------------------------------------------- */ body { font-family:sans-serif; color:#000; margin:0; padding:0; background-color:#FAFAFF; } div { margin:0; padding:0; } img { border:none; margin:0; } .thumbnail a:hover { background:none; } .content { background-color:#FAFAFF; } .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:#2E2E61; margin:0; padding:.2em 0 .2em 20px; background-color:#E0E0E9; border-bottom:solid 1px #669; } 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:#E0E0E9; color:#000; text-decoration:underline; } a:visited { color:#000; text-decoration:underline; } .grampsid { font:normal .8em/1.2em monospace; color:#669; } /* Header ----------------------------------------------------- */ #header { padding:15px 15px 2px 15px; margin:0; background-color:#E0E0E9; } #SiteTitle { color:#2E2E61; margin:0 0 3px 0; } #header p { font-size:1em; font-weight:bold; color:#669; margin:0; } /* Navigation ----------------------------------------------------- */ #navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#E0E0E9; } #navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; margin:0; padding:0 0 0 12px; border-bottom:1px solid #669; } #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:#E0E0E9; } #navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#B4B4CB; border-bottom:solid 1px #000; } #navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { padding-bottom:4px; border-top:solid 1px #669; border-right:solid 1px #669; border-left:solid 1px #669; border-bottom:solid 1px #FAFAFF; background-color:#FAFAFF; } #navigation ul li#CurrentSection a:hover { background-color:#FAFAFF; } #subnavigation ul li#CurrentSection a { border-width:0 0 1px 0; } /* 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:#B4B4CB; border-top:solid 1px #669; border-bottom:solid 1px #669; } table.infolist tr th:first-child { border-left:solid 1px #669; } table.infolist tr th:last-child { border-right:solid 1px #669; } 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 #B4B4CB; } 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 #B4B4CB; 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:#E0E0E9; } 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:#E0E0E9; } table.infolist tbody tr td.ColumnSurname a { padding:.1em 10px; } table.infolist tbody tr td.ColumnSurname a:hover { padding:.1em 10px; background-color:#B4B4CB; } table.surname { border-bottom:solid 1px #E0E0E9; } table.surname tbody tr td { border-bottom:dashed 1px #B4B4CB; } table.surname tbody tr td.ColumnName { width:20%; padding:0; background-color:#E0E0E9; } table.surname tbody tr td.ColumnName a { display:block; padding:.6em 10px .6em 20px; } table.surname tbody tr td.ColumnName a:hover { background-color:#B4B4CB; } 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 #E0E0E9; } #Individuals table.individuallist tbody tr td { border-bottom:dashed 1px #B4B4CB; } #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:#E0E0E9; } 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:#B4B4CB; } #IndividualDetail div table.infolist tr td, #Individuals div table.infolist tr td p { vertical-align:top; } #IndividualDetail div table.infolist tr td a, #Individuals div table.infolist tr td p a { display:inline; } #IndividualDetail table.infolist tr td a:hover { text-decoration:underline; } #IndividualDetail table.infolist tbody tr td.ColumnAttribute { width:10%; color:#669; padding-left:5px; } /* 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:#E0E0E9; } #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:#E0E0E9; border:solid 1px #669; } #GalleryNav a:hover { background-color:#B4B4CB; } #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 #669; } #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:#E0E0E9; border-style:solid; border-width:8px 0 0 0; border-color:#B4B4CB; } /* Contact ----------------------------------------------------- */ #Contact #summaryarea { width:500px; margin:2em auto; padding:3em; background-color:#E0E0E9; border:solid 1px #669; } #Contact #summaryarea img { float:right; margin:0; padding:0; border:solid 1px #669; } #researcher { margin-top:.3em; } #researcher h3 { padding:0; } #researcher span { display:block; float:left; margin-right:.4em; } #streetaddress { width:85%; } #city:after { content:","; } #country { clear:left; } #email { clear:left; } #email a { text-decoration:none; } #email a:hover { text-decoration:underline; } /* Subsections ----------------------------------------------------- */ #Home, #Introduction, #Download, #Contact { padding:1.5em 0 3em 0; } #Home p, #Introduction p, #Download p, #Contact p { margin:0 20px 1em 20px; } #Home img, #Introduction img, #Download img, #Contact img { float:right; margin:0; padding:0 20px 3em 20px; } div.subsection{ padding-bottom:.5em; background-color:#FAFAFF; } 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:#FAFAFF; border-bottom:solid .7em #FAFAFF; } 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 #FAFAFF; } 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 #B4B4CB; } div#events table.infolist tbody tr td.ColumnValue { border-bottom:dashed 1px #B4B4CB; } 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 #FAFAFF; } 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 #B4B4CB; } div#addresses table.infolist tbody tr td.ColumnValue { border-bottom:dashed 1px #B4B4CB; } /* 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 #669; } #indivgallery div.thumbnail p { 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; } /* Subsections : Ancestors Tree ----------------------------------------------------- */ #tree { page-break-before:always; margin:0; padding:0; background:none; } #treeContainer { position:relative; z-index:1; margin-bottom:1.4em; } #treeContainer div.boxbg { position:absolute; margin:0; padding:0; background:none; } #treeContainer div.boxbg a, #treeContainer div.boxbg span.unlinked { position:relative; z-index:10; display:block; font:normal .8em/1.4em sans-serif; text-align:center; text-decoration:none; color:#000; width:118px; padding:5px 20px 7px 20px; margin-top:-25px; margin-left:16px; background-color:#E0E0E9; border:solid 1px #669; } #treeContainer div.boxbg a:hover { position:relative; z-index:999; font-size:1em; text-decoration:none; width:190px; margin-left:-20px; padding:10px 25px 12px 25px; border:solid 2px #2E2E61; } #treeContainer div.boxbg a:hover, #treeContainer div.AncCol3 a:hover, #treeContainer div.AncCol4 a:hover { margin-top:-44px; } #treeContainer div.boxbg a.noThumb, #treeContainer div.AncCol3 a, #treeContainer div.AncCol4 a, #treeContainer div.AncCol3 span.unlinked, #treeContainer div.AncCol4 span.unlinked { margin-top:10px; } #treeContainer div.boxbg a.noThumb:hover { margin-top:0; } #treeContainer div.AncCol0 a:hover { margin-left:12px; } #treeContainer div.AncCol4 a:hover { margin-left:-60px; } #treeContainer div.boxbg span.thumbnail { display:block; height:65px; margin:0 auto; padding:4px 0; } #treeContainer div.boxbg span.thumbnail img { height:65px; margin:0 auto; } #treeContainer div.boxbg a:hover span.thumbnail, #treeContainer div.boxbg a:hover span.thumbnail img { height:80px; } #treeContainer div.AncCol3 span.thumbnail, #treeContainer div.AncCol4 span.thumbnail { display:none; } #treeContainer div.boxbg a:hover span.thumbnail { display:block; } #treeContainer div.male a, #treeContainer div.male span.unlinked, #treeContainer div.female a , #treeContainer div.female span.unlinked { background-position:top right; background-repeat:no-repeat; } #treeContainer div.male a, #treeContainer div.male span.unlinked { background-image:url(../images/Web_Gender_Male.png); } #treeContainer div.female a, #treeContainer div.female span.unlinked { background-image:url(../images/Web_Gender_Female.png); } .shadow { display:none; } #tree div div.bvline { position:absolute; z-index:2; height:3px; margin:0 0 0 16px; padding:0; background-color:#669; } #tree div div.bhline { position:absolute; z-index:2; width:2px; margin:0 0 0 16px; padding:0; background-color:#669; } #tree div div.gvline { position:absolute; z-index:1; height:3px; margin:0 0 0 14px; padding:0; background-color:#E0E0E9; } #tree div div.ghline { position:absolute; z-index:1; width:2px; margin:0 0 0 14px; padding:0; background-color:#E0E0E9; } /* Footer ----------------------------------------------------- */ #footer { clear:both; width:100%; font-size:12px; line-height:130%; color:#2E2E61; margin:0; padding:15px 0 0 0; background-color:#B4B4CB; border-top:solid 1px #2E2E61; } #footer a, #footer a:visited { text-decoration:none; color:#2E2E61; } #footer a:hover { text-decoration:underline; } #footer img { border:0; margin:0; 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; } #footer p#quality { width:100%; text-align:center; padding-bottom:14px; margin-bottom:0; } #footer p#quality img { float:center; } #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:#2E2E61; } .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:#2E2E61; 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:#2E2E61; background-color:#EEE; border-style:solid; border-width:0 0 1px 0; border-color:#B4B4CB; } .calendar thead tr th.saturday, .calendar thead tr th.sunday { } .calendar tfoot tr td { padding:.7em 5% 1em 5%; border-top:solid 4px #B4B4CB; } .calendar tfoot tr td { vertical-align:middle; color:#2E2E61; 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:#2E2E61; margin:0 0 0 .5em; padding:.2em 0; background-color:#B4B4CB; } /* 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:#B4B4CB; } .calendar tbody tr td.weekday { background-color:#FFF; } .calendar tbody tr td.weekend { background-color:#E0E0E9; } .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:#2E2E61; } .calendar tbody tr td ul li span.yearsmarried em { color:#2E2E61; } .calendar tbody tr td.highlight { background-color:#FFEBC2; } .calendar tbody tr td.highlight div.date { color:#FF7C27; background-color:#FFCF6C; } /* 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:#B4B4CB; background-color:#E0E0E9; } /* Calendar : Full Year */ body#fullyear div.content, body#fullyearlinked div.content { width:963px; margin:0 auto; padding:15px 0 2px 2px; } body#fullyear table.calendar, body#fullyearlinked table.calendar { float:left; width:320px; height:18em; border:solid 1px #7D5925; } body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th { height:2em; } body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName { font-size:1.2em; padding:2px 0; } body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td { height:3em; } body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td { display:none; }