diff --git a/src/data/Web_Basic-Ash.css b/src/data/Web_Basic-Ash.css index e066aeae0..e1c3aa4bd 100644 --- a/src/data/Web_Basic-Ash.css +++ b/src/data/Web_Basic-Ash.css @@ -91,6 +91,7 @@ img { h1 { font-size:1.4em; font-weight:bold; + margin:0; } h2 { display:none; @@ -118,6 +119,7 @@ h5, h6 { p { font-size:14px; line-height:17px; + margin:0; } p#description { padding:0 15px 1em 15px; @@ -171,12 +173,12 @@ a:visited { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#EEE; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; @@ -184,12 +186,12 @@ a:visited { padding:0 0 0 12px; border-bottom:1px solid #999; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; @@ -199,11 +201,11 @@ a:visited { padding:5px 5px; background-color:#EEE; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#CCC; border-bottom:solid 1px #000; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { padding-bottom:4px; border-top:solid 1px #999; border-right:solid 1px #999; @@ -214,6 +216,9 @@ a:visited { #navigation ul li#CurrentSection a:hover { background-color:#FFF; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -913,7 +918,7 @@ div#sourcerefs ol li ol { line-height:130%; color:#333; margin:0; - padding:0; + padding:15px 0 0 0; background-color:#CCC; border-top:solid 1px #333; } @@ -1022,8 +1027,7 @@ body#WebCal #CreatorInfo { padding:.7em 5% 1em 5%; border-top:solid 4px #999; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#333; background-color:#EEE; @@ -1062,7 +1066,7 @@ body#WebCal #CreatorInfo { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1112,3 +1116,29 @@ body#WebCal #CreatorInfo { color:#CCC; background-color:#EEE; } + +/* 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; +} diff --git a/src/data/Web_Basic-Lilac.css b/src/data/Web_Basic-Lilac.css index 30508ef69..b94487e0c 100644 --- a/src/data/Web_Basic-Lilac.css +++ b/src/data/Web_Basic-Lilac.css @@ -4,7 +4,7 @@ Copyright Holder and License ************************************************************************************************** GRAMPS Cascading Style Sheet Style Name: Basic - Lilac -Style Author: Jason Simanek (2008) +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 @@ -91,6 +91,7 @@ img { h1 { font-size:1.4em; font-weight:bold; + margin:0; } h2 { display:none; @@ -118,6 +119,7 @@ h5, h6 { p { font-size:14px; line-height:17px; + margin:0; } p#description { padding:0 15px 1em 15px; @@ -171,12 +173,12 @@ a:visited { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#E0E0E9; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; @@ -184,12 +186,12 @@ a:visited { padding:0 0 0 12px; border-bottom:1px solid #669; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; @@ -199,11 +201,11 @@ a:visited { padding:5px 5px; background-color:#E0E0E9; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#B4B4CB; border-bottom:solid 1px #000; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { padding-bottom:4px; border-top:solid 1px #669; border-right:solid 1px #669; @@ -214,6 +216,9 @@ a:visited { #navigation ul li#CurrentSection a:hover { background-color:#FAFAFF; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -913,7 +918,7 @@ div#sourcerefs ol li ol { line-height:130%; color:#2E2E61; margin:0; - padding:0; + padding:15px 0 0 0; background-color:#B4B4CB; border-top:solid 1px #2E2E61; } @@ -1022,8 +1027,7 @@ body#WebCal #CreatorInfo { padding:.7em 5% 1em 5%; border-top:solid 4px #B4B4CB; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#2E2E61; background-color:#EEE; @@ -1062,7 +1066,7 @@ body#WebCal #CreatorInfo { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1112,3 +1116,29 @@ body#WebCal #CreatorInfo { 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; +} diff --git a/src/data/Web_Basic-Peach.css b/src/data/Web_Basic-Peach.css index 2aeaae1a8..fb9d7f5e9 100644 --- a/src/data/Web_Basic-Peach.css +++ b/src/data/Web_Basic-Peach.css @@ -91,6 +91,7 @@ img { h1 { font-size:1.4em; font-weight:bold; + margin:0; } h2 { display:none; @@ -118,6 +119,7 @@ h5, h6 { p { font-size:14px; line-height:17px; + margin:0; } p#description { padding:0 15px 1em 15px; @@ -128,7 +130,8 @@ p a:link { sup { line-height:0; } -ol { } +ol { +} ol li a { text-decoration:none; } @@ -170,12 +173,12 @@ a:visited { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#FFE09F; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; @@ -183,12 +186,12 @@ a:visited { padding:0 0 0 12px; border-bottom:1px solid #8C581C; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; @@ -198,11 +201,11 @@ a:visited { padding:5px 5px; background-color:#FFE09F; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#FFC35E; border-bottom:solid 1px #36220B; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { padding-bottom:4px; border-top:solid 1px #8C581C; border-right:solid 1px #8C581C; @@ -213,6 +216,9 @@ a:visited { #navigation ul li#CurrentSection a:hover { background-color:#FFFBE7; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -912,7 +918,7 @@ div#sourcerefs ol li ol { line-height:130%; color:#8C581C; margin:0; - padding:0; + padding:15px 0 0 0; background-color:#FFC35E; border-top:solid 1px #EA8414; } @@ -1021,8 +1027,7 @@ body#WebCal #CreatorInfo { padding:.7em 5% 1em 5%; border-top:solid 4px #8C581C; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#8C581C; background-color:#FFFBE7; @@ -1061,7 +1066,7 @@ body#WebCal #CreatorInfo { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1111,3 +1116,29 @@ body#WebCal #CreatorInfo { color:#FFE09F; background-color:#FFFBE7; } + +/* 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; +} diff --git a/src/data/Web_Basic-Spruce.css b/src/data/Web_Basic-Spruce.css index f13012752..0f752d986 100644 --- a/src/data/Web_Basic-Spruce.css +++ b/src/data/Web_Basic-Spruce.css @@ -91,6 +91,7 @@ img { h1 { font-size:1.4em; font-weight:bold; + margin:0; } h2 { display:none; @@ -118,6 +119,7 @@ h5, h6 { p { font-size:14px; line-height:17px; + margin:0; } p#description { padding:0 15px 1em 15px; @@ -171,12 +173,12 @@ a:visited { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { margin:0; padding:4px 0 0 0; background-color:#EAEEF4; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:22px; @@ -184,12 +186,12 @@ a:visited { padding:0 0 0 12px; border-bottom:1px solid #7CA3DD; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; @@ -199,11 +201,11 @@ a:visited { padding:5px 5px; background-color:#EAEEF4; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#BFD0EA; border-bottom:solid 1px #000; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { padding-bottom:4px; border-top:solid 1px #7CA3DD; border-right:solid 1px #7CA3DD; @@ -214,6 +216,9 @@ a:visited { #navigation ul li#CurrentSection a:hover { background-color:#FFF; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -913,7 +918,7 @@ div#sourcerefs ol li ol { line-height:130%; color:#204D91; margin:0; - padding:0; + padding:15px 0 0 0; background-color:#BFD0EA; border-top:solid 1px #204D91; } @@ -1022,8 +1027,7 @@ body#WebCal #CreatorInfo { padding:.7em 5% 1em 5%; border-top:solid 4px #7CA3DD; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#204D91; background-color:#EEE; @@ -1062,7 +1066,7 @@ body#WebCal #CreatorInfo { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1112,3 +1116,29 @@ body#WebCal #CreatorInfo { color:#BFD0EA; background-color:#EAEEF4; } + +/* 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; +} diff --git a/src/data/Web_Mainz.css b/src/data/Web_Mainz.css index 8d2eeff9c..5efedbab9 100644 --- a/src/data/Web_Mainz.css +++ b/src/data/Web_Mainz.css @@ -10,7 +10,7 @@ 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 www.gramps-project.org to learn more! +Go to http://gramps-project.org to learn more! License ---------------------------------------------------------------------------- @@ -105,6 +105,7 @@ h1 { font-size:1.8em; font-weight:normal; font-style:italic; + margin:0; } h2 { display:none; @@ -136,6 +137,7 @@ h5, h6 { p { font-size:14px; line-height:17px; + margin:0; } p#description { padding:0 15px 1em 15px; @@ -180,7 +182,7 @@ a:visited { color:#7D5925; margin:0 0 7px 50px; } -#Header p { +#header p { font-size:1em; font-weight:bold; font-style:italic; @@ -190,26 +192,26 @@ a:visited { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { font-family:sans-serif; width:965px; margin:0 auto; padding:0; background:url(../images/Web_Mainz_MidLight.png) #FFF2C6; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; - height:24px; + height:23px; margin:0; padding:0 0 0 12px; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; padding:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; font-size:12px; line-height:100%; @@ -219,22 +221,27 @@ a:visited { margin:0; padding:6px 8px 5px 8px; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#FFFFE7; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { font-family:Georgia, serif; font-weight:bold; font-style:italic; padding:5px 15px 5px 15px; - border-top:solid 1px yellow; - border-bottom:solid 1px yellow; + background-image:url(../images/Web_Mainz_Mid.png); border-style:dashed; - border-width:1px; + border-width:1px 1px 0 1px; border-color:#7D5925; } #navigation ul li#CurrentSection a:hover { } +#subnavigation { + background-image:url(../images/Web_Mainz_Mid.png); +} +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -901,7 +908,7 @@ div#sourcerefs ol li ol { line-height:130%; font-family:sans-serif; margin:0 auto; - padding:0; + padding:15px 0 0 0; background:url(../images/Web_Mainz_MidLight.png) #FFF2C6; border-top:dashed 1px #7D5925; } @@ -995,8 +1002,7 @@ div#sourcerefs ol li ol { padding:.7em 5% 1em 5%; border-top:double 4px #7D5925; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#7D5925; background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat; @@ -1035,7 +1041,7 @@ div#sourcerefs ol li ol { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1086,3 +1092,30 @@ div#sourcerefs ol li ol { color:#D8C19F; background:url(../images/Web_Mainz_MidLight.png) #FFF2C6 repeat; } + +/* Calendar : Full Year */ +body#fullyear div.content, body#fullyearlinked div.content { + width:963px; + margin:0 auto; + padding:15px 0 2px 2px; + background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat; +} +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; +} diff --git a/src/data/Web_Nebraska.css b/src/data/Web_Nebraska.css index 697352005..bc5b569b6 100644 --- a/src/data/Web_Nebraska.css +++ b/src/data/Web_Nebraska.css @@ -199,11 +199,11 @@ p#user_header { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { margin:0; padding:0; } -#navigation ul { +#navigation ul, #subnavigation ul { list-style:none; min-width:770px; height:32px; @@ -212,11 +212,11 @@ p#user_header { background-color:#A97; border-bottom:solid 1px #542; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { margin:0; float:left; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { display:block; float:left; font:normal 16px/100% serif; @@ -226,11 +226,11 @@ p#user_header { padding:8px 13px; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#C1B398; border-bottom:solid 1px #542; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { font-size:19px; margin-top:-6px; padding-top:11px; @@ -243,6 +243,9 @@ p#user_header { #navigation ul li#CurrentSection a:hover { background-color:#FFF; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -1063,8 +1066,7 @@ body#WebCal { padding:.7em 5% 1em 5%; border-top:solid 4px #A97; } -.calendar tfoot tr td.note { - height:1cm; +.calendar tfoot tr td { vertical-align:middle; color:#542; background-color:#F6F2EE; @@ -1102,7 +1104,7 @@ body#WebCal { .calendar tbody tr td.saturday { } -.calendar tbody tr td.sunday { +.calendar tbody tr td:first-child { border-left:none; } .calendar tbody tr:first-child td { @@ -1152,3 +1154,30 @@ body#WebCal { color:#A97; background-color:#F6F2EE; } + +/* Calendar : Full Year */ +body#fullyear div.content, body#fullyearlinked div.content { + width:963px; + margin:0 auto; + padding:15px 0 2px 2px; + background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat; +} +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; +} diff --git a/src/data/Web_Visually.css b/src/data/Web_Visually.css index 357c13f26..7c56ab50b 100644 --- a/src/data/Web_Visually.css +++ b/src/data/Web_Visually.css @@ -124,9 +124,9 @@ h3 { line-height:1.3em; font-weight:normal; font-style:italic; + color:#426E40; text-align:center; margin:0; - color:#426E40; padding:.3em 20px 0 20px; border-bottom:double 4px #000; } @@ -194,6 +194,10 @@ a:hover { color:#FAFAFA; text-decoration:none; } +.grampsid { + font:normal .8em/1.2em monospace; + color:#426E40; +} /* Header ----------------------------------------------------- */ @@ -215,24 +219,6 @@ a:hover { text-align:center; vertical-align:middle; } -#GRAMPSinfo { - font:normal .8em/1.2em sans-serif; - float:right; - margin:0; - padding:.7em .8em; - color:#FAFAFA; -} -#GRAMPSinfo a { - color:#FAFAFA; - text-decoration:none; -} -#GRAMPSinfo a:hover { - background-color:#426E40; -} -.grampsid { - font:normal .8em/1.2em monospace; - color:#426E40; -} p#user_header { font-size:1.3em; text-align:left; @@ -244,7 +230,7 @@ p#user_header { /* Navigation ----------------------------------------------------- */ -#navigation { +#navigation, #subnavigation { width:100%; height:35px; list-style-type:none; @@ -254,24 +240,24 @@ p#user_header { border-top:solid 4px #D30; border-bottom:solid 4px #D30; } -#navigation ul li { +#navigation ul li, #subnavigation ul li { display:inline; width:2em; text-align:center; margin:0; } -#navigation ul li a { +#navigation ul li a, #subnavigation ul li a { font-size:14px; color:#000; text-decoration:none; margin:0; padding:4px; } -#navigation ul li a:hover { +#navigation ul li a:hover, #subnavigation ul li a:hover { background-color:#000; color:#FAFAFA; } -#navigation ul li#CurrentSection a { +#navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { border-right:solid 2px #D30; border-left:solid 2px #D30; border-top:solid 2px #D30; @@ -288,6 +274,9 @@ p#user_header { background-color:#426E40; color:#FAFAFA; } +#subnavigation ul li#CurrentSection a { + border-width:0 0 1px 0; +} /* Main Table ----------------------------------------------------- */ @@ -1169,6 +1158,10 @@ div#pedigree { padding:.2em 0 .1em 0; background-color:#6AF364; } +#CreatorInfo { + float:right; + margin:-24px 10px 0 0; +} .calendar thead tr th.monthName { font-style:italic; width:100%; @@ -1187,6 +1180,10 @@ div#pedigree { .calendar tbody tr.week5, .calendar tbody tr.week6 { border-bottom:solid 1px #000; } + +/* Calendar : Date Numeral */ + +/* Calendar : Date Container */ .calendar tbody tr td { vertical-align:top; height:10em; @@ -1207,12 +1204,14 @@ div#pedigree { .calendar tbody tr td.saturday { border-right:solid 1px #000; } -.calendar tbody tr td.sunday { - border-left:solid 1px #000; +.calendar tbody tr td:first-child { + border-left:none; } -.calendar tbody tr td#emptyDays { - border:solid 1px #000; +.calendar tbody tr:first-child td { + border-top:none; } + +/* Calendar : Date Detail */ .calendar tbody tr td ul { list-style:none; font-family:sans-serif; @@ -1227,6 +1226,11 @@ div#pedigree { padding:.2em 0 .3em 0; border-top:dashed 1px #000; } +.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; @@ -1265,3 +1269,30 @@ div#pedigree { font-weight:bold; font-style:italic; } + +/* Calendar : Full Year */ +body#fullyear div.content, body#fullyearlinked div.content { + width:963px; + margin:0 auto; + padding:15px 0 2px 2px; + background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat; +} +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; +} diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index c2dc80279..17ff226ea 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -44,9 +44,9 @@ Refactoring. This is an ongoing job until this plugin is in a better shape. TODO list: - change filename for one_day pages to yyyy/mm/dd.html (just numbers) - progress bar, rethink its usage + - in year navigation, use month in link, or 'fullyear' - untangle calendar_build, it's too complex the way it is - - correct surname (prefix missing, or misinterpreted) - - add_day_item and self.calendar seem to be adding list entries as list (list of list) + - use standard Gramps method to display surname, see _get_regular_surname - daylight saving not just for USA and Europe - move the close_file() from one_day() to caller """ @@ -105,8 +105,6 @@ from DateHandler import parser as _dp # constants # #------------------------------------------------------------------------ -_CALENDARSCREEN = "calendar-screen.css" -_CALENDARPRINT = "calendar-print.css" # This information defines the list of styles in the Web calendar # options dialog as well as the location of the corresponding SCREEN @@ -325,9 +323,8 @@ class WebCalReport(Report): my_date = '...' else: my_date = '...' #Incomplete date as in about, circa, etc. - item = [(my_date, text, event)] # ???? Why is this a list? - day_list.append(item) + day_list.append((my_date, text, event)) month_dict[day] = day_list self.calendar[month] = month_dict @@ -405,14 +402,14 @@ class WebCalReport(Report): """ Copies all the necessary files """ - # Copy the _CALENDARSCREEN stylesheet + # Copy the normal stylesheet if self.css != "": fname = os.path.join(const.DATA_DIR, self.css) - self.copy_file(fname, _CALENDARSCREEN, "styles") + self.copy_file(fname, self.css, "styles") - # copy calendar-print stylesheet + # copy print stylesheet fname = os.path.join(const.DATA_DIR, "Web_Print-Default.css") - self.copy_file(fname, _CALENDARPRINT, "styles") + self.copy_file(fname, "Web_Print-Default.css", "styles") # Copy GRAMPS favicon fname = os.path.join(const.IMAGE_DIR, "favicon.ico") @@ -452,7 +449,7 @@ class WebCalReport(Report): # add a link to blank_year() if requested navs.append(('blankyear', _('Blank Calendar'), self.blankyear)) - of.write('
\n') # end header + if self.multiyear: + # create Year Navigation menu + self.display_year_navs(of, nr_up, str(year)) + # adjust the months being created if self.partyear is True # and year is eequal to current year, then start_month is current month self.start_month = 1 @@ -567,6 +568,8 @@ class WebCalReport(Report): # identify currentsection for proper highlighting self.display_month_navs(of, nr_up, year, currsec1, use_home) + of.write('