Removing old and obsoleted Cascading Stylesheets and javascript files

svn: r11737
This commit is contained in:
Rob G. Healey
2009-01-26 22:22:01 +00:00
parent cb3817e6f4
commit b648af6379
21 changed files with 744 additions and 10611 deletions

View File

@ -1,5 +1,5 @@
# codeset.m4 serial AM1 (gettext-0.10.40)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
# codeset.m4 serial 2 (gettext-0.16)
dnl Copyright (C) 2000-2002, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@ -10,7 +10,7 @@ AC_DEFUN([AM_LANGINFO_CODESET],
[
AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
[AC_TRY_LINK([#include <langinfo.h>],
[char* cs = nl_langinfo(CODESET);],
[char* cs = nl_langinfo(CODESET); return !cs;],
am_cv_langinfo_codeset=yes,
am_cv_langinfo_codeset=no)
])

View File

@ -1,5 +1,5 @@
# gettext.m4 serial 37 (gettext-0.14.4)
dnl Copyright (C) 1995-2005 Free Software Foundation, Inc.
# gettext.m4 serial 60 (gettext-0.17)
dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@ -15,7 +15,7 @@ dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006.
dnl Macro to add for using GNU gettext.
@ -63,8 +63,13 @@ AC_DEFUN([AM_GNU_GETTEXT],
ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
])])])])
define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
define([gt_included_intl],
ifelse([$1], [external],
ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
[yes]))
define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
gt_NEEDS_INIT
AM_GNU_GETTEXT_NEED([$2])
AC_REQUIRE([AM_PO_SUBDIRS])dnl
ifelse(gt_included_intl, yes, [
@ -78,7 +83,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
dnl Sometimes libintl requires libiconv, so first search for libiconv.
dnl Ideally we would do this search only after the
dnl if test "$USE_NLS" = "yes"; then
dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
dnl the configure script would need to contain the same shell code
dnl again, outside any 'if'. There are two solutions:
@ -94,7 +99,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
gt_INTL_MACOSX
dnl Set USE_NLS.
AM_NLS
AC_REQUIRE([AM_NLS])
ifelse(gt_included_intl, yes, [
BUILD_INCLUDED_LIBINTL=no
@ -104,6 +109,15 @@ AC_DEFUN([AM_GNU_GETTEXT],
LTLIBINTL=
POSUB=
dnl Add a version number to the cache macros.
case " $gt_needs " in
*" need-formatstring-macros "*) gt_api_version=3 ;;
*" need-ngettext "*) gt_api_version=2 ;;
*) gt_api_version=1 ;;
esac
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
dnl If we use NLS figure out what method
if test "$USE_NLS" = "yes"; then
gt_use_preinstalled_gnugettext=no
@ -122,28 +136,35 @@ AC_DEFUN([AM_GNU_GETTEXT],
dnl to use. If GNU gettext is available we use this. Else we have
dnl to fall back to GNU NLS library.
dnl Add a version number to the cache macros.
define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
[AC_TRY_LINK([#include <libintl.h>
]ifelse([$2], [need-formatstring-macros],
[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
if test $gt_api_version -ge 3; then
gt_revision_test_code='
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
changequote(,)dnl
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
changequote([,])dnl
], [])[extern int _nl_msg_cat_cntr;
'
else
gt_revision_test_code=
fi
if test $gt_api_version -ge 2; then
gt_expression_test_code=' + * ngettext ("", "", 0)'
else
gt_expression_test_code=
fi
AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
[AC_TRY_LINK([#include <libintl.h>
$gt_revision_test_code
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;],
[bindtextdomain ("", "");
return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
gt_cv_func_gnugettext_libc=yes,
gt_cv_func_gnugettext_libc=no)])
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
[eval "$gt_func_gnugettext_libc=yes"],
[eval "$gt_func_gnugettext_libc=no"])])
if test "$gt_cv_func_gnugettext_libc" != "yes"; then
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
dnl Sometimes libintl requires libiconv, so first search for libiconv.
ifelse(gt_included_intl, yes, , [
AM_ICONV_LINK
@ -154,52 +175,40 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
dnl even if libiconv doesn't exist.
AC_LIB_LINKFLAGS_BODY([intl])
AC_CACHE_CHECK([for GNU gettext in libintl],
gt_cv_func_gnugettext_libintl,
[$gt_func_gnugettext_libintl],
[gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCINTL"
gt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBINTL"
dnl Now see whether libintl exists and does not depend on libiconv.
AC_TRY_LINK([#include <libintl.h>
]ifelse([$2], [need-formatstring-macros],
[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
changequote(,)dnl
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
changequote([,])dnl
], [])[extern int _nl_msg_cat_cntr;
$gt_revision_test_code
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);],
[bindtextdomain ("", "");
return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
gt_cv_func_gnugettext_libintl=yes,
gt_cv_func_gnugettext_libintl=no)
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
[eval "$gt_func_gnugettext_libintl=yes"],
[eval "$gt_func_gnugettext_libintl=no"])
dnl Now see whether libintl exists and depends on libiconv.
if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
LIBS="$LIBS $LIBICONV"
AC_TRY_LINK([#include <libintl.h>
]ifelse([$2], [need-formatstring-macros],
[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
changequote(,)dnl
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
changequote([,])dnl
], [])[extern int _nl_msg_cat_cntr;
$gt_revision_test_code
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);],
[bindtextdomain ("", "");
return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
[LIBINTL="$LIBINTL $LIBICONV"
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
gt_cv_func_gnugettext_libintl=yes
eval "$gt_func_gnugettext_libintl=yes"
])
fi
CPPFLAGS="$gt_save_CPPFLAGS"
@ -210,8 +219,8 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
dnl use it. But if this macro is used in GNU gettext, and GNU
dnl gettext is already preinstalled in libintl, we update this
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
if test "$gt_cv_func_gnugettext_libc" = "yes" \
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
&& test "$PACKAGE" != gettext-runtime \
&& test "$PACKAGE" != gettext-tools; }; then
gt_use_preinstalled_gnugettext=yes
@ -234,8 +243,8 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
dnl Mark actions used to generate GNU NLS library.
BUILD_INCLUDED_LIBINTL=yes
USE_INCLUDED_LIBINTL=yes
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi
@ -271,7 +280,7 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
if test "$USE_NLS" = "yes"; then
AC_MSG_CHECKING([where the gettext function comes from])
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
gt_source="external libintl"
else
gt_source="libc"
@ -285,7 +294,7 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
if test "$USE_NLS" = "yes"; then
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
AC_MSG_CHECKING([how to link with libintl])
AC_MSG_RESULT([$LIBINTL])
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
@ -353,195 +362,18 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
])
dnl Checks for all prerequisites of the intl subdirectory,
dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
AC_DEFUN([AM_INTL_SUBDIR],
dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
m4_define([gt_NEEDS_INIT],
[
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([gt_GLIBC2])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
AC_REQUIRE([AC_ISC_POSIX])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
AC_REQUIRE([AC_C_CONST])dnl
AC_REQUIRE([bh_C_SIGNED])dnl
AC_REQUIRE([AC_C_INLINE])dnl
AC_REQUIRE([AC_TYPE_OFF_T])dnl
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl
AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
AC_REQUIRE([gt_TYPE_WINT_T])dnl
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
AC_REQUIRE([gl_AC_HEADER_STDINT_H])
AC_REQUIRE([gt_TYPE_INTMAX_T])
AC_REQUIRE([gt_PRINTF_POSIX])
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
AC_REQUIRE([AC_FUNC_MMAP])dnl
AC_REQUIRE([gl_GLIBC21])dnl
AC_REQUIRE([gt_INTDIV0])dnl
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
AC_REQUIRE([gt_INTTYPES_PRI])dnl
AC_REQUIRE([gl_XSIZE])dnl
AC_REQUIRE([gt_INTL_MACOSX])dnl
AC_CHECK_TYPE([ptrdiff_t], ,
[AC_DEFINE([ptrdiff_t], [long],
[Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
])
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h])
AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
__fsetlocking])
dnl Use the _snprintf function only if it is declared (because on NetBSD it
dnl is defined as a weak alias of snprintf; we prefer to use the latter).
gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
dnl Use the *_unlocked functions only if they are declared.
dnl (because some of them were defined without being declared in Solaris
dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
dnl on Solaris 2.5.1 to run on Solaris 2.6).
dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
case $gt_cv_func_printf_posix in
*yes) HAVE_POSIX_PRINTF=1 ;;
*) HAVE_POSIX_PRINTF=0 ;;
esac
AC_SUBST([HAVE_POSIX_PRINTF])
if test "$ac_cv_func_asprintf" = yes; then
HAVE_ASPRINTF=1
else
HAVE_ASPRINTF=0
fi
AC_SUBST([HAVE_ASPRINTF])
if test "$ac_cv_func_snprintf" = yes; then
HAVE_SNPRINTF=1
else
HAVE_SNPRINTF=0
fi
AC_SUBST([HAVE_SNPRINTF])
if test "$ac_cv_func_wprintf" = yes; then
HAVE_WPRINTF=1
else
HAVE_WPRINTF=0
fi
AC_SUBST([HAVE_WPRINTF])
AM_ICONV
AM_LANGINFO_CODESET
if test $ac_cv_header_locale_h = yes; then
gt_LC_MESSAGES
fi
if test -n "$INTL_MACOSX_LIBS"; then
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
fi
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
dnl because plural.y uses bison specific features. It requires at least
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
dnl compile.
dnl bison is only needed for the maintainer (who touches plural.y). But in
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
dnl the rule in general Makefile. Now, some people carelessly touch the
dnl files or have a broken "make" program, hence the plural.c rule will
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
dnl present or too old.
AC_CHECK_PROGS([INTLBISON], [bison])
if test -z "$INTLBISON"; then
ac_verc_fail=yes
else
dnl Found it, now check the version.
AC_MSG_CHECKING([version of bison])
changequote(<<,>>)dnl
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
changequote([,])dnl
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
esac
AC_MSG_RESULT([$ac_prog_version])
fi
if test $ac_verc_fail = yes; then
INTLBISON=:
fi
m4_divert_text([DEFAULTS], [gt_needs=])
m4_define([gt_NEEDS_INIT], [])
])
dnl Checks for special options needed on MacOS X.
dnl Defines INTL_MACOSX_LIBS.
AC_DEFUN([gt_INTL_MACOSX],
dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
AC_DEFUN([AM_GNU_GETTEXT_NEED],
[
dnl Check for API introduced in MacOS X 10.2.
AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
gt_cv_func_CFPreferencesCopyAppValue,
[gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
gt_save_LIBS="$LIBS"
LIBS="$LIBS -framework CoreFoundation"
AC_TRY_LINK([#include <CFPreferences.h>],
[CFPreferencesCopyAppValue(NULL, NULL)],
[gt_cv_func_CFPreferencesCopyAppValue=yes],
[gt_cv_func_CFPreferencesCopyAppValue=no])
CPPFLAGS="$gt_save_CPPFLAGS"
LIBS="$gt_save_LIBS"])
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
[Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
fi
dnl Check for API introduced in MacOS X 10.3.
AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
[gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
gt_save_LIBS="$LIBS"
LIBS="$LIBS -framework CoreFoundation"
AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
[gt_cv_func_CFLocaleCopyCurrent=yes],
[gt_cv_func_CFLocaleCopyCurrent=no])
CPPFLAGS="$gt_save_CPPFLAGS"
LIBS="$gt_save_LIBS"])
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
[Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
fi
INTL_MACOSX_LIBS=
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
fi
AC_SUBST([INTL_MACOSX_LIBS])
])
dnl gt_CHECK_DECL(FUNC, INCLUDES)
dnl Check whether a function is declared.
AC_DEFUN([gt_CHECK_DECL],
[
AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
[AC_TRY_COMPILE([$2], [
#ifndef $1
char *p = (char *) $1;
#endif
], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
if test $ac_cv_have_decl_$1 = yes; then
gt_value=1
else
gt_value=0
fi
AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
[Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
])

View File

@ -1,5 +1,5 @@
# iconv.m4 serial AM4 (gettext-0.11.3)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
# iconv.m4 serial AM6 (gettext-0.17)
dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@ -21,6 +21,7 @@ AC_DEFUN([AM_ICONV_LINK],
[
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
dnl those with the standalone portable GNU libiconv installed).
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
dnl accordingly.
@ -33,7 +34,7 @@ AC_DEFUN([AM_ICONV_LINK],
am_save_CPPFLAGS="$CPPFLAGS"
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [
am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no
AC_TRY_LINK([#include <stdlib.h>
@ -56,7 +57,85 @@ AC_DEFUN([AM_ICONV_LINK],
fi
])
if test "$am_cv_func_iconv" = yes; then
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [
dnl This tests against bugs in AIX 5.1 and HP-UX 11.11.
am_save_LIBS="$LIBS"
if test $am_cv_lib_iconv = yes; then
LIBS="$LIBS $LIBICONV"
fi
AC_TRY_RUN([
#include <iconv.h>
#include <string.h>
int main ()
{
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
returns. */
{
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
if (cd_utf8_to_88591 != (iconv_t)(-1))
{
static const char input[] = "\342\202\254"; /* EURO SIGN */
char buf[10];
const char *inptr = input;
size_t inbytesleft = strlen (input);
char *outptr = buf;
size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_utf8_to_88591,
(char **) &inptr, &inbytesleft,
&outptr, &outbytesleft);
if (res == 0)
return 1;
}
}
#if 0 /* This bug could be worked around by the caller. */
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
{
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
if (cd_88591_to_utf8 != (iconv_t)(-1))
{
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
char buf[50];
const char *inptr = input;
size_t inbytesleft = strlen (input);
char *outptr = buf;
size_t outbytesleft = sizeof (buf);
size_t res = iconv (cd_88591_to_utf8,
(char **) &inptr, &inbytesleft,
&outptr, &outbytesleft);
if ((int)res > 0)
return 1;
}
}
#endif
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
provided. */
if (/* Try standardized names. */
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
/* Try IRIX, OSF/1 names. */
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
/* Try AIX names. */
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
/* Try HP-UX names. */
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
return 1;
return 0;
}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
[case "$host_os" in
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
*) am_cv_func_iconv_works="guessing yes" ;;
esac])
LIBS="$am_save_LIBS"
])
case "$am_cv_func_iconv_works" in
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
*) am_func_iconv=yes ;;
esac
else
am_func_iconv=no am_cv_lib_iconv=no
fi
if test "$am_func_iconv" = yes; then
AC_DEFINE(HAVE_ICONV, 1,
[Define if you have the iconv() function and it works.])
fi
if test "$am_cv_lib_iconv" = yes; then
AC_MSG_CHECKING([how to link with libiconv])

View File

@ -940,17 +940,17 @@ msgid ""
" <b>Surname</b> - surname (last name)\n"
" <b>Title</b> - title (Dr., Mrs.)\n"
" <b>Prefix</b> - prefix (von, de, de la)\n"
" <b>Suffix</b> - suffix (Jr., Sr.)\n"
" <b>Call</b> - call name, or nickname\n"
" <b>Common</b> - call name, otherwise first part of Given\n"
" <b>Patronymic</b> - patronymic (father's name)\n"
" <b>Initials</b> - persons's first letters of given names\n"
"</tt>\n"
"Use the same keyword in UPPERCASE to force to upper. Parentheses and commas\n"
" <b>Suffix</b> - suffix (Jr., Sr.)"
" <b>Call</b> - call name, or nickname"
" <b>Common</b> - call name, otherwise first part of Given"
" <b>Patronymic</b> - patronymic (father's name)"
" <b>Initials</b> - persons's first letters of given names"
"</tt>"
"Use the same keyword in UPPERCASE to force to upper. Parentheses and commas"
"will be removed around empty fields. Other text will appear literally."
msgstr ""
"De volgende sleutelwoorden zullen vervangen worden door:\n"
"<tt> \n"
"De volgende sleutelwoorden zullen vervangen worden door:"
"<tt> "
" <b>Voornaam</b> -voornaam\n"
" <b>Achternaam</b> -achternaam\n"
" <b>Titel</b> -titel(Dr., Mst.)\n"
@ -21290,7 +21290,7 @@ msgid ""
"January 1\n"
"March 1\n"
"March 25\n"
"September 1\n"
"September 1"
msgstr ""
"1 Januari\n"
"1 Maart\n"

View File

@ -1,541 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Standard Styles for Printing
Style Author: Jason Simanek (2008)
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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
----------------------------------------------------------------------------
gray #A7A7A7
red #520
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
color:#000;
margin:0;
padding:0;
background-color:#FFF;
}
div {
margin:0;
padding:0;
}
img {
border:none;
margin:0;
}
.content { }
.content div.snapshot {
float:right;
margin:1.6em;
padding:0;
background:none;
}
.content div.snapshot div.thumbnail {
margin:0;
padding:0;
background:none;
}
.content .thumbnail a:link:after, .content .thumbnail a:visited:after {
content:"";
}
.fullclear {
width:100%;
height:1pt;
margin:0;
padding:0;
clear:both;
}
/* ------------------------------------------------------------------------------ */
/* General Text Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font:normal 16pt/18pt serif;
margin:0;
padding:0;
}
h2 {
font:normal 18pt/23pt serif;
display:inline;
margin:0;
padding:0;
}
h3 {
font:normal 18pt/23pt serif;
text-align:left;
display:inline;
margin:0 0 0 8pt;
padding:0;
}
h4 {
display:block;
clear:both;
font:normal 14pt/16pt serif;
margin:8pt 0 0 0;
padding:8pt 0 1pt 0;
border-top:solid .5pt #A7A7A7
}
h5, h6 {
font:normal 14pt/16pt serif;
font-style:italic;
margin:0;
padding:0;
}
p {
font:normal 11pt/14pt serif;
}
p#description {
margin:0 0 14pt 0;
}
a:link, a:visited {
color:#520;
text-decoration:underline;
}
.content a:link:after, content a:visited:after {
font-size:70%;
font-family:sans-serif;
content:" (" attr(href) ") ";
}
.content ol li a:link {
text-decoration:none;
}
.content ol li a:link:after, .content ol li a:visited:after {
content:"";
}
sup {
line-height:0;
}
ol {
font:normal .9em/1.6em sans-serif;
margin-top:0;
margin-bottom:0;
padding-top:.5em;
padding-bottom:0;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
padding:0 0 8pt 0;
margin:0 0 8pt 0;
border-bottom:solid .5pt #000;
}
#SiteTitle {
text-align:center;
margin:0;
padding:0;
}
#user_header {
font-style:italic;
text-align:center;
margin:0;
padding:0
}
#GRAMPSinfo {
font:normal 7pt/9pt sans-serif;
text-align:right;
margin:0;
padding:0;
}
.grampsid {
font-size:60%;
font-family:monospace;
color:#A7A7A7
}
#Navigation { display:none; }
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
margin:0;
padding:0;
clear:both;
border-top:solid .5pt #000;
}
#user_footer {
float:left;
width:70%;
}
#user_footer p {
font-style:italic;
}
#copyright {
margin:14pt 0 0 0;
font:normal .9em/1.2em sans-serif;
text-align:right;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles */
/* ------------------------------------------------------------------------------ */
table {
width:100%;
margin:0;
padding:0;
border:none;
border-collapse:collapse;
border-bottom:solid .5pt #FFF;
}
table thead tr th {
font:normal 11pt/13pt serif;
color:#000;
margin:0;
padding:0;
padding-bottom:1pt;
border-bottom:solid .5pt #000;
}
.content table thead tr th a {
text-decoration:none;
}
.content table thead tr th a:link:after, .content table thead tr th a:visited:after {
content:"";
}
table tbody tr td {
font:normal 9pt/11pt sans-serif;
vertical-align:middle;
padding:2pt 6pt 1pt 0;
border-bottom:dashed .5pt #A7A7A7;
}
.content table tbody tr td a {
text-decoration:none;
}
.content table tbody tr td a:link:after, .content table tbody tr td a:visited:after {
content:"";
}
table tr.BeginLetter td, table.infolist tr.BeginSurname td {
border-top:solid .5pt #A7A7A7;
}
table tbody tr td.ColumnRowLabel {
width:2%;
color:#A7A7A7;
text-align:center;
}
table tr td.ColumnLetter {
width:3%;
text-align:center;
}
table tr td.ColumnAttribute {
width:10%;
}
.content table tbody tr td.ColumnName a {
text-decoration:none;
}
table tbody tr td.ColumnBirth {
width:10%;
}
table tbody tr td.ColumnDeath {
width:10%;
text-decoration:underline;
}
table tbody tr td.ColumnParents {
font-size:70%;
}
table tbody tr td.ColumnParents span.mother:before {
content:"+ ";
}
table tbody p.EventNote {
padding-top:1em;
padding-bottom:1em;
border-top:dashed .5pt #A7A7A7;
}
/* ------------------------------------------------------------------------------ */
/* Home/Welcome Styles */
/* ------------------------------------------------------------------------------ */
#Home p {
margin:0 0 9pt 0;
}
#Home img {
float:right;
margin:0;
padding:0 0 9pt 9pt;
}
/* ------------------------------------------------------------------------------ */
/* Introduction Styles */
/* ------------------------------------------------------------------------------ */
#Introduction p {
margin:0 0 9pt 0;
}
#Introduction img {
float:right;
margin:0;
padding:0 0 9pt 9pt;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#Surnames { }
table.surnamelist tr thead th.ColumnSurname, #Surnames table.surnamelist tbody tr td.ColumnSurname {
width:50%;
}
table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after {
content:" ↓";
}
table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents {
width:35%;
}
/* ------------------------------------------------------------------------------ */
/* Individuals Styles */
/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#GalleryDetail h2 {
display:none;
}
#GalleryNav {
display:none;
}
#GalleryDisplay {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1pt #542;
}
#GalleryDetail h3 {
display:block;
text-align:center;
margin:2pt 0 8pt 0;
}
/* ------------------------------------------------------------------------------ */
/* Download Styles */
/* ------------------------------------------------------------------------------ */
#Download p {
margin:0 0 9pt 0;
}
#Download img {
float:right;
margin:0;
padding:0 0 9pt 9pt;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#researcher {
margin:16pt 0 0 0;
}
#Contact img {
float:right;
margin:0;
padding:0 0 9pt 9pt;
}
#researcher h3 {
margin:0;
}
#researcher span {
font:normal .9em/1.4em serif;
display:block;
float:left;
margin-right:.4em;
}
#city {
clear:left;
}
#city:after {
content:",";
}
#email {
clear:left;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#Home, #Introduction, #Download, #Contact {
padding:3em 20px;
}
/* SubSection Styles : Events */
/* ------------------------------------------------------------------------------ */
#IndividualDetail .ColumnValue {
padding:4pt 0;
}
.ColumnValue p {
font:normal 9pt/11pt sans-serif;
margin:1pt 0 0 18pt;
}
/* SubSection Styles : 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 .5pt #000;
}
#indivgallery div.thumbnail p {
font:normal 7pt/9pt sans-serif;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Pedigree */
/* ------------------------------------------------------------------------------ */
#pedigree a {
text-decoration:none;
}
.content #pedigree a:link:after, .content #pedigree a:visited:after {
content:"";
}
.pedigreegen {
font:normal 10pt/12pt sans-serif;
list-style:none;
margin:8pt 0 0 0;
padding:0 0 0 20px;
}
.pedigreegen li ol {
list-style:none;
margin-left:16pt;
}
.pedigreegen li ol li ol {
font:normal 9pt/11pt sans-serif;
list-style:decimal;
margin-left:16pt;
}
.pedigreegen li ol li ol li ol.spouselist {
list-style:none;
margin-left:0;
}
.spouselist li.spouse ol {
list-style:decimal;
margin-left:16pt;
}
.spouse a {
font-weight:normal;
font-style:normal;
}
.spouse:before {
content: "+ ";
}
.thisperson {
font-weight:bold;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
}
#treeContainer div.boxbg div.box a:link:after, #treeContainer div.boxbg div.box a:visited:after {
font-size:70%;
font-family:sans-serif;
content:"";
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font:normal .7em/1.4em sans-serif;
text-align:center;
text-decoration:none;
width:75pt;
padding:5pt 8pt;
margin:5pt 0 0 0;
background-color:#FFF;
border:solid 1pt #000;
}
.shadow {
display:none;
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:1pt;
margin:0;
padding:0;
background-color:#FFF;
border-bottom:solid .5pt #A7A7A7
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:1pt;
margin:0;
padding:0;
background-color:#FFF;
border-right:solid .5pt #A7A7A7
}
.ghline, .gvline {
display:none;
}

View File

@ -1,905 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Basic - Ash
Style Author: Jason Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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 #000
gray dark #333
gray #999
gray light #CCC
gray very light #EEE
white #FFF
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Verdana, "Bitstream Vera Sans", Helvetica, 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 {
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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.4em;
font-weight:bold;
}
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;
}
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;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#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;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
float:right;
margin:0 0 2px 2px;
padding:0;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#999;
}
#Navigation {
margin:0;
padding:4px 0 0 0;
background-color:#EEE;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
border-bottom:1px solid #999;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol 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 ol li a:hover {
background-color:#CCC;
border-bottom:solid 1px #000;
}
#Navigation ol 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 ol li#CurrentSection a:hover {
background-color:#FFF;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#333;
margin:0;
padding:0;
clear:both;
background-color:#CCC;
border-top:solid 1px #333;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
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 Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#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;
}
#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:#999;
padding-left:5px;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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 {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #999;
}
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
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:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#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:#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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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 {
font-size:.6em;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
margin-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#000;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#EEE;
border:solid 1px #999;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#EEE;
border:solid 2px #333;
}
.shadow {
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:3px;
margin:0 0 0 16px;
padding:0;
background-color:#999;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:2px;
margin:0 0 0 16px;
padding:0;
background-color:#999;
}
#tree div div.gvline {
position:absolute;
z-index:1;
height:3px;
margin:0 0 0 14px;
padding:0;
background-color:#EEE;
}
#tree div div.ghline {
position:absolute;
z-index:1;
width:2px;
margin:0 0 0 14px;
padding:0;
background-color:#EEE;
}

View File

@ -1,915 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Basic - Cypress
Style Author: Jason Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet with colors from the original 'Tranquil' stylesheet
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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 #000
slate dark #454
slate #7C8F7C
slate light #9DBF9D
slate very light #E0E6E0
white #FFF
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Verdana, "Bitstream Vera Sans", Helvetica, 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 {
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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.4em;
font-weight:bold;
}
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:#454;
margin:0;
padding:.2em 0 .2em 20px;
background-color:#E0E6E0;
border-bottom:solid 1px #7C8F7C;
}
h5, h6 {
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p {
font-size:14px;
line-height:17px;
}
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:#E0E6E0;
color:#000;
text-decoration:underline;
}
a:visited {
color:#000;
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
padding:15px 15px 2px 15px;
margin:0;
background-color:#454;
}
#SiteTitle {
color:#E0E6E0;
margin:0 0 3px 0;
}
#Header p {
font-size:1em;
font-weight:bold;
color:#E0E6E0;
margin:0;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
color:#E0E6E0;
float:right;
margin:0 0 2px 2px;
padding:0;
}
#GRAMPSinfo a {
color:#E0E6E0;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#7C8F7C;
}
#Navigation {
margin:0;
padding:4px 0 0 0;
background-color:#454;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
border-bottom:1px solid #7C8F7C;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol li a {
display:block;
font-size:12px;
line-height:100%;
font-weight:bold;
text-decoration:none;
color:#E0E6E0;
margin:0;
padding:5px 5px;
background-color:#454;
}
#Navigation ol li a:hover {
color:#454;
padding-top:4px;
background-color:#9DBF9D;
border-top:solid 1px #454;
border-bottom:solid 1px #000;
}
#Navigation ol li#CurrentSection a {
color:#454;
padding-bottom:4px;
border-top:solid 1px #7C8F7C;
border-right:solid 1px #7C8F7C;
border-left:solid 1px #7C8F7C;
border-bottom:solid 1px #FFF;
background-color:#FFF;
}
#Navigation ol li#CurrentSection a:hover {
padding-top:5px;
background-color:#FFF;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#E0E6E0;
margin:0;
padding:0;
clear:both;
background-color:#454;
border-top:solid 1px #454;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
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:#9DBF9D;
border-top:solid 1px #7C8F7C;
border-bottom:solid 1px #7C8F7C;
}
table.infolist tr th:first-child {
border-left:solid 1px #7C8F7C;
}
table.infolist tr th:last-child {
border-right:solid 1px #7C8F7C;
}
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 #9DBF9D;
}
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 #9DBF9D;
padding-top:1em;
padding-bottom:1em;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#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:#E0E6E0;
}
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:#E0E6E0;
}
table.infolist tbody tr td.ColumnSurname a {
padding:.1em 10px;
}
table.infolist tbody tr td.ColumnSurname a:hover {
padding:.1em 10px;
background-color:#9DBF9D;
}
table.surname {
border-bottom:solid 1px #E0E6E0;
}
table.surname tbody tr td {
border-bottom:dashed 1px #9DBF9D;
}
table.surname tbody tr td.ColumnName {
width:20%;
padding:0;
background-color:#E0E6E0;
}
table.surname tbody tr td.ColumnName a {
display:block;
padding:.6em 10px .6em 20px;
}
table.surname tbody tr td.ColumnName a:hover {
background-color:#9DBF9D;
}
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 Styles */
/* ------------------------------------------------------------------------------ */
#Individuals { }
#Individuals table.individuallist {
border-bottom:solid 1px #E0E6E0;
}
#Individuals table.individuallist tbody tr td {
border-bottom:dashed 1px #9DBF9D;
}
#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:#E0E6E0;
}
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:#9DBF9D;
}
#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:#7C8F7C;
padding-left:5px;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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:#E0E6E0;
}
#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:#E0E6E0;
border:solid 1px #7C8F7C;
}
#GalleryNav a:hover {
background-color:#9DBF9D;
}
#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 {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #7C8F7C;
}
#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:#E0E6E0;
border-style:solid;
border-width:8px 0 0 0;
border-color:#9DBF9D;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
margin:2em auto;
padding:3em;
background-color:#E0E6E0;
border:solid 1px #7C8F7C;
}
#Contact #summaryarea img {
float:right;
margin:0;
padding:0;
border:solid 1px #7C8F7C;
}
#researcher {
margin-top:.3em;
}
#researcher h3 {
padding:0;
}
#researcher span {
display:block;
float:left;
margin-right:.4em;
}
#streetaddress {
width:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#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:#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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:dashed 1px #9DBF9D;
}
div#events table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #9DBF9D;
}
div#events table.infolist tbody tr td.ColumnValue p {
margin:.1em 2em;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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 #9DBF9D;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #9DBF9D;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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 #7C8F7C;
}
#indivgallery div.thumbnail p {
font-size:.6em;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
margin-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#000;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#E0E6E0;
border:solid 1px #7C8F7C;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#E0E6E0;
border:solid 2px #454;
}
.shadow {
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:3px;
margin:0 0 0 16px;
padding:0;
background-color:#7C8F7C;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:2px;
margin:0 0 0 16px;
padding:0;
background-color:#7C8F7C;
}
#tree div div.gvline {
position:absolute;
z-index:1;
height:3px;
margin:0 0 0 14px;
padding:0;
background-color:#E0E6E0;
}
#tree div div.ghline {
position:absolute;
z-index:1;
width:2px;
margin:0 0 0 14px;
padding:0;
background-color:#E0E6E0;
}

View File

@ -1,905 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Basic - Lilac
Style Author: Jason Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet with colors from the original 'Business' stylesheet
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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 #000
lilac dark #2E2E61
lilac #669
lilac light #B4B4CB
lilac very light #E0E0E9
white #FAFAFF
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Verdana, "Bitstream Vera Sans", Helvetica, 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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.4em;
font-weight:bold;
}
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;
}
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;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#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;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
float:right;
margin:0 0 2px 2px;
padding:0;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#669;
}
#Navigation {
margin:0;
padding:4px 0 0 0;
background-color:#E0E0E9;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
border-bottom:1px solid #669;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol 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 ol li a:hover {
background-color:#B4B4CB;
border-bottom:solid 1px #000;
}
#Navigation ol 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 ol li#CurrentSection a:hover {
background-color:#FAFAFF;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#2E2E61;
margin:0;
padding:0;
clear:both;
background-color:#B4B4CB;
border-top:solid 1px #2E2E61;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
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 Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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 {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #669;
}
#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 Styles */
/* ------------------------------------------------------------------------------ */
#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:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
margin-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#000;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#E0E0E9;
border:solid 1px #669;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#E0E0E9;
border:solid 2px #2E2E61;
}
.shadow {
}
#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;
}

View File

@ -1,905 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Basic - Peach
Style Author: Jason Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet with a new orange color scheme.
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Verdana, "Bitstream Vera Sans", Helvetica, sans-serif;
color:#36220B;
margin:0;
padding:0;
background-color:#FFFBE7;
}
div {
margin:0;
padding:0;
}
img {
border:none;
margin:0;
}
.thumbnail a:hover {
background:none;
}
.content {
background-color:#FFFBE7;
}
.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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.4em;
font-weight:bold;
}
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:#EA8414;
margin:0;
padding:.2em 0 .2em 20px;
background-color:#FFE09F;
border-bottom:solid 1px #8C581C;
}
h5, h6 {
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p {
font-size:14px;
line-height:17px;
}
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:#36220B;
text-decoration:underline;
}
a:hover, a:active {
background-color:#FFE09F;
color:#36220B;
text-decoration:underline;
}
a:visited {
color:#36220B;
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
padding:15px 15px 2px 15px;
margin:0;
background-color:#FFE09F;
}
#SiteTitle {
color:#EA8414;
margin:0 0 3px 0;
}
#Header p {
font-size:1em;
font-weight:bold;
color:#8C581C;
margin:0;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
float:right;
margin:0 0 2px 2px;
padding:0;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#8C581C;
}
#Navigation {
margin:0;
padding:4px 0 0 0;
background-color:#FFE09F;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
border-bottom:1px solid #8C581C;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol li a {
display:block;
font-size:12px;
line-height:100%;
font-weight:bold;
text-decoration:none;
margin:0;
padding:5px 5px;
background-color:#FFE09F;
}
#Navigation ol li a:hover {
background-color:#FFC35E;
border-bottom:solid 1px #36220B;
}
#Navigation ol li#CurrentSection a {
padding-bottom:4px;
border-top:solid 1px #8C581C;
border-right:solid 1px #8C581C;
border-left:solid 1px #8C581C;
border-bottom:solid 1px #FFFBE7;
background-color:#FFFBE7;
}
#Navigation ol li#CurrentSection a:hover {
background-color:#FFFBE7;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#8C581C;
margin:0;
padding:0;
clear:both;
background-color:#FFC35E;
border-top:solid 1px #EA8414;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
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:#FFC35E;
border-top:solid 1px #8C581C;
border-bottom:solid 1px #8C581C;
}
table.infolist tr th:first-child {
border-left:solid 1px #8C581C;
}
table.infolist tr th:last-child {
border-right:solid 1px #8C581C;
}
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 #FFC35E;
}
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 #FFC35E;
padding-top:1em;
padding-bottom:1em;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#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:#FFE09F;
}
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:#FFE09F;
}
table.infolist tbody tr td.ColumnSurname a {
padding:.1em 10px;
}
table.infolist tbody tr td.ColumnSurname a:hover {
padding:.1em 10px;
background-color:#FFC35E;
}
table.surname {
border-bottom:solid 1px #FFE09F;
}
table.surname tbody tr td {
border-bottom:dashed 1px #FFC35E;
}
table.surname tbody tr td.ColumnName {
width:20%;
padding:0;
background-color:#FFE09F;
}
table.surname tbody tr td.ColumnName a {
display:block;
padding:.6em 10px .6em 20px;
}
table.surname tbody tr td.ColumnName a:hover {
background-color:#FFC35E;
}
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 Styles */
/* ------------------------------------------------------------------------------ */
#Individuals { }
#Individuals table.individuallist {
border-bottom:solid 1px #FFE09F;
}
#Individuals table.individuallist tbody tr td {
border-bottom:dashed 1px #FFC35E;
}
#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:#FFE09F;
}
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:#FFC35E;
}
#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:#8C581C;
padding-left:5px;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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:#FFE09F;
}
#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:#FFE09F;
border:solid 1px #8C581C;
}
#GalleryNav a:hover {
background-color:#FFC35E;
}
#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 {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #8C581C;
}
#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:#FFE09F;
border-style:solid;
border-width:8px 0 0 0;
border-color:#FFC35E;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
margin:2em auto;
padding:3em;
background-color:#FFE09F;
border:solid 1px #8C581C;
}
#Contact #summaryarea img {
float:right;
margin:0;
padding:0;
border:solid 1px #8C581C;
}
#researcher {
margin-top:.3em;
}
#researcher h3 {
padding:0;
}
#researcher span {
display:block;
float:left;
margin-right:.4em;
}
#streetaddress {
width:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#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:#FFFBE7;
}
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;
}
/* SubSection Styles : Summary Area */
/* ------------------------------------------------------------------------------ */
div#summaryarea {
min-height:100px;
background:none;
}
div#summaryarea table.infolist {
margin:0;
padding:0;
background:#FFFBE7;
border-bottom:solid .7em #FFFBE7;
}
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;
}
/* SubSection Styles : Events */
/* ------------------------------------------------------------------------------ */
div#events {
padding-bottom:0;
}
div#events h4 {
margin-bottom:0;
}
div#events table.infolist {
border-bottom:solid 1px #FFFBE7;
}
div#events table.infolist tbody tr td {
padding-top:.2em;
padding-bottom:.2em;
}
div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:dashed 1px #FFC35E;
}
div#events table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #FFC35E;
}
div#events table.infolist tbody tr td.ColumnValue p {
margin:.1em 2em;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : Addresses */
/* ------------------------------------------------------------------------------ */
div#addresses {
padding-bottom:0;
}
div#addresses h4 {
margin-bottom:0;
}
div#addresses table.infolist {
border-bottom:solid 1px #FFFBE7;
}
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 #FFC35E;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #FFC35E;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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 #8C581C;
}
#indivgallery div.thumbnail p {
font-size:.6em;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
margin-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#36220B;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#FFE09F;
border:solid 1px #8C581C;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#FFE09F;
border:solid 2px #8C581C;
}
.shadow {
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:3px;
margin:0 0 0 16px;
padding:0;
background-color:#EA8414;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:2px;
margin:0 0 0 16px;
padding:0;
background-color:#EA8414;
}
#tree div div.gvline {
position:absolute;
z-index:1;
height:3px;
margin:0 0 0 14px;
padding:0;
background-color:#FFE09F;
}
#tree div div.ghline {
position:absolute;
z-index:1;
width:2px;
margin:0 0 0 14px;
padding:0;
background-color:#FFE09F;
}

View File

@ -1,905 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Basic - Spruce
Style Author: Jason Simanek (2008)
Note: Adapted from GRAMPS original Modern Style stylesheet with a new blue color scheme.
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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 #000
blue dark #204D91
blue #7CA3DD
blue light #BFD0EA
blue very light #EAEEF4
white #FFF
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Verdana, "Bitstream Vera Sans", Helvetica, 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 {
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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.4em;
font-weight:bold;
}
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:#204D91;
margin:0;
padding:.2em 0 .2em 20px;
background-color:#EAEEF4;
border-bottom:solid 1px #7CA3DD;
}
h5, h6 {
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p {
font-size:14px;
line-height:17px;
}
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:#EAEEF4;
color:#000;
text-decoration:underline;
}
a:visited {
color:#000;
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
padding:15px 15px 2px 15px;
margin:0;
background-color:#EAEEF4;
}
#SiteTitle {
color:#204D91;
margin:0 0 3px 0;
}
#Header p {
font-size:1em;
font-weight:bold;
color:#7CA3DD;
margin:0;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
float:right;
margin:0 0 2px 2px;
padding:0;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#7CA3DD;
}
#Navigation {
margin:0;
padding:4px 0 0 0;
background-color:#EAEEF4;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
border-bottom:1px solid #7CA3DD;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol li a {
display:block;
font-size:12px;
line-height:100%;
font-weight:bold;
text-decoration:none;
margin:0;
padding:5px 5px;
background-color:#EAEEF4;
}
#Navigation ol li a:hover {
background-color:#BFD0EA;
border-bottom:solid 1px #000;
}
#Navigation ol li#CurrentSection a {
padding-bottom:4px;
border-top:solid 1px #7CA3DD;
border-right:solid 1px #7CA3DD;
border-left:solid 1px #7CA3DD;
border-bottom:solid 1px #FFF;
background-color:#FFF;
}
#Navigation ol li#CurrentSection a:hover {
background-color:#FFF;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#204D91;
margin:0;
padding:0;
clear:both;
background-color:#BFD0EA;
border-top:solid 1px #204D91;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
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:#BFD0EA;
border-top:solid 1px #7CA3DD;
border-bottom:solid 1px #7CA3DD;
}
table.infolist tr th:first-child {
border-left:solid 1px #7CA3DD;
}
table.infolist tr th:last-child {
border-right:solid 1px #7CA3DD;
}
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 #BFD0EA;
}
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 #BFD0EA;
padding-top:1em;
padding-bottom:1em;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#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:#EAEEF4;
}
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:#EAEEF4;
}
table.infolist tbody tr td.ColumnSurname a {
padding:.1em 10px;
}
table.infolist tbody tr td.ColumnSurname a:hover {
padding:.1em 10px;
background-color:#BFD0EA;
}
table.surname {
border-bottom:solid 1px #EAEEF4;
}
table.surname tbody tr td {
border-bottom:dashed 1px #BFD0EA;
}
table.surname tbody tr td.ColumnName {
width:20%;
padding:0;
background-color:#EAEEF4;
}
table.surname tbody tr td.ColumnName a {
display:block;
padding:.6em 10px .6em 20px;
}
table.surname tbody tr td.ColumnName a:hover {
background-color:#BFD0EA;
}
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 Styles */
/* ------------------------------------------------------------------------------ */
#Individuals { }
#Individuals table.individuallist {
border-bottom:solid 1px #EAEEF4;
}
#Individuals table.individuallist tbody tr td {
border-bottom:dashed 1px #BFD0EA;
}
#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:#EAEEF4;
}
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:#BFD0EA;
}
#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:#7CA3DD;
padding-left:5px;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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:#EAEEF4;
}
#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:#EAEEF4;
border:solid 1px #7CA3DD;
}
#GalleryNav a:hover {
background-color:#BFD0EA;
}
#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 {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #7CA3DD;
}
#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:#EAEEF4;
border-style:solid;
border-width:8px 0 0 0;
border-color:#BFD0EA;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
margin:2em auto;
padding:3em;
background-color:#EAEEF4;
border:solid 1px #7CA3DD;
}
#Contact #summaryarea img {
float:right;
margin:0;
padding:0;
border:solid 1px #7CA3DD;
}
#researcher {
margin-top:.3em;
}
#researcher h3 {
padding:0;
}
#researcher span {
display:block;
float:left;
margin-right:.4em;
}
#streetaddress {
width:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#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:#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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:dashed 1px #BFD0EA;
}
div#events table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #BFD0EA;
}
div#events table.infolist tbody tr td.ColumnValue p {
margin:.1em 2em;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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 #BFD0EA;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #BFD0EA;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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 #7CA3DD;
}
#indivgallery div.thumbnail p {
font-size:.6em;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
margin-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#000;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#EAEEF4;
border:solid 1px #7CA3DD;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#EAEEF4;
border:solid 2px #204D91;
}
.shadow {
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:3px;
margin:0 0 0 16px;
padding:0;
background-color:#7CA3DD;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:2px;
margin:0 0 0 16px;
padding:0;
background-color:#7CA3DD;
}
#tree div div.gvline {
position:absolute;
z-index:1;
height:3px;
margin:0 0 0 14px;
padding:0;
background-color:#EAEEF4;
}
#tree div div.ghline {
position:absolute;
z-index:1;
width:2px;
margin:0 0 0 14px;
padding:0;
background-color:#EAEEF4;
}

View File

@ -1,911 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Mainz
Style Author: Jason Simanek (2008)
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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 #000
brown #7D5925
brown light #D8C19F
green #767D25
yellow #FFF2C6
yellow light #FFFCE7
----------------------------------------------------------------------------
Style Images
----------------------------------------------------------------------------
Body images/NWeb_Mainz_Bkgd.png
Header images/NWeb_Mainz_Header.png
Middle images/NWeb_Mainz_Mid.png
Middle Light images/NWeb_Mainz_MidLight.png
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
font-family:Georgia, serif;
color:#7D5925;
margin:0;
padding:0;
background:url(images/NWeb_Mainz_Bkgd.png) #000 repeat;
}
div {
margin:0;
padding:0;
}
img {
border:none;
margin:0;
}
.thumbnail a:hover {
background:none;
}
.content {
width:965px;
margin:0 auto;
padding-bottom:.5em;
background:url(images/NWeb_Mainz_Mid.png) #FFF2C6 repeat;
}
.content div.snapshot {
margin:0;
padding:0;
background:none;
}
.content div.snapshot div.thumbnail {
margin:0;
padding:2em 0 0 0;
background:none;
}
.content div.snapshot div.thumbnail a {
display:block;
width:96px;
margin:0 auto;
}
.fullclear {
width:100%;
height:1px;
margin:0;
padding:0;
clear:both;
}
/* ------------------------------------------------------------------------------ */
/* General Text Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font-size:1.8em;
font-weight:normal;
font-style:italic;
}
h2 {
display:none;
}
h3 {
font-size:2em;
line-height:1.3em;
font-weight:normal;
font-style:italic;
color:#767D25;
text-align:center;
margin:0;
padding:.3em 20px 0 20px;
}
h4 {
font-size:1.4em;
font-weight:normal;
font-style:italic;
color:#767D25;
text-align:center;
margin:0;
padding:.5em 0 .2em 0;
border-bottom:dashed 1px #7D5925;
}
h5, h6 {
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p {
font-size:14px;
line-height:17px;
}
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:#7D5925;
text-decoration:underline;
}
a:hover, a:active {
color:#7D5925;
text-decoration:underline;
background-color:#FFFCE7;
}
a:visited {
color:#7D5925;
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
width:965px;
margin:0 auto;
padding:5em 0 2px 0;
background:url(images/NWeb_Mainz_Header.png) repeat-x top left;
}
#SiteTitle {
color:#7D5925;
margin:0 0 7px 50px;
}
#Header p {
font-size:1em;
font-weight:bold;
font-style:italic;
color:#7D5925;
margin:0 0 5px 50px;
}
#GRAMPSinfo {
font-size:14px;
line-height:120%;
font-style:italic;
float:right;
margin:0 20px 2px 2px;
padding:0;
}
.grampsid {
font:normal .8em/1.2em monospace;
}
#Navigation {
font-family:sans-serif;
width:965px;
margin:0 auto;
padding:0;
background:url(images/NWeb_Mainz_MidLight.png) #FFF2C6;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:22px;
margin:0;
padding:0 0 0 12px;
}
#Navigation ol li {
margin:0;
padding:0;
float:left;
}
#Navigation ol li a {
display:block;
font-size:12px;
line-height:100%;
font-weight:normal;
color:#7D5925;
text-decoration:none;
margin:0;
padding:6px 8px 5px 8px;
}
#Navigation ol li a:hover {
background-color:#FFFCE7;
}
#Navigation ol 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;
border-style:dashed;
border-width:1px;
border-color:#7D5925;
}
#Navigation ol li#CurrentSection a:hover {
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:965px;
margin:0 auto;
padding:0;
clear:both;
background:url(images/NWeb_Mainz_MidLight.png) #FFF2C6;
border-top:dashed 1px #7D5925;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
margin:0;
}
#copyright {
margin:1em;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles - infolist variations */
/* ------------------------------------------------------------------------------ */
table {
font-size:14px;
margin:0 15px 1em 15px;
padding:0;
border:none;
border-collapse:collapse;
}
table tr th {
font-weight: bold;
text-align: left;
margin:0;
padding:.1em 10px;
border-bottom:double 4px #7D5925;
}
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:dashed 1px #D8C19F;
}
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 #D8C19F;
padding-top:1em;
padding-bottom:1em;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#Surnames { }
#SurnameDetail p#description { padding-top:0; }
table.surnamelist {
margin-left:auto;
margin-right:auto;
}
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:after, table#SortByCount thead tr th.ColumnQuantity a:after {
content:" ↓";
}
table.infolist tbody tr td.ColumnSurname {
padding:0;
background:url(images/NWeb_Mainz_MidLight.png) #FFF2C6 repeat;
}
table.infolist tbody tr td.ColumnSurname a {
padding:.1em 10px;
}
table.infolist tbody tr td.ColumnSurname a:hover {
padding:.1em 10px;
}
table.surname tbody tr td {
border-bottom:dashed 1px #D8C19F;
}
table.surname tbody tr:last-child td {
border:none;
}
table.surname tbody tr td.ColumnName {
width:20%;
padding:0;
background:url(images/NWeb_Mainz_MidLight.png) #FFF2C6 repeat;
}
table.surname tbody tr td.ColumnName a {
display:block;
padding:.6em 10px .6em 20px;
}
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 Styles */
/* ------------------------------------------------------------------------------ */
#Individuals { }
#Individuals table.individuallist tbody tr td {
border-bottom:dashed 1px #D8C19F;
}
#Individuals table.individuallist tbody tr:last-child td {
border:none;
}
#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:url(images/NWeb_Mainz_MidLight.png) #FFF2C6 repeat;
}
table.individuallist tbody tr td.ColumnName a {
display:block;
padding:.6em 10px;
vertical-align:middle;
}
#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:#767D25;
padding-left:5px;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 Styles */
/* ------------------------------------------------------------------------------ */
#Places table.infolist {
margin:0 auto;
}
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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;
}
#GalleryNav {
font-size:.8em;
margin:0;
padding:2.2em 0 0 0;
text-align:center;
}
#GalleryNav a {
font-weight:bold;
font-style:italic;
color:#FFF2C6;
text-decoration:none;
background:url(images/NWeb_Mainz_Bkgd.png) #7D5925 repeat;
border:outset 3px #000;
}
#GalleryNav a:hover {
border:outset 3px #7D5925;
}
#GalleryNav a:active {
border:solid 3px #000;
}
#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:2em;
font-weight:normal;
font-style:italic;
}
#GalleryTotal {
font-weight:normal;
}
#GalleryDisplay {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #7D5925;
}
#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;
border-style:double;
border-width:4px 0 0 0;
border-color:#7D5925;
}
#GalleryDetail div#summaryarea table.gallery tbody tr td.ColumnAttribute {
color:#767D25;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
margin:0 auto;
padding:1em 3em;
}
#Contact #summaryarea img {
display:block;
margin:0 auto;
padding:0;
border:solid 1px #7D5925;
}
#researcher {
text-align:center;
margin-top:.7em;
}
#researcher h3 {
padding:0;
}
#streetaddress {
display:block;
}
#city:after {
content:",";
}
#country { }
#email {
display:block;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#Home, #Introduction, #Download, #Contact {
min-height:500px;
padding:1.5em 0 3em 0;
}
#Home p, #Introduction p, #Surnames p, #Individuals p, #Sources p, #Places p, #Gallery p, #Download p, #Contact p {
margin:0 20px 1em 20px;
padding-top:1em;
}
#Home img, #Introduction img, #Download img {
float:right;
margin:0;
padding:0 20px 3em 20px;
}
div.subsection{
padding-bottom:.5em;
}
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;
}
/* SubSection Styles : Summary Area */
/* ------------------------------------------------------------------------------ */
div#summaryarea {
min-height:100px;
background:none;
}
div#summaryarea table.infolist {
width:100%;
margin:1.5em 0 0 0;
padding:0;
border-style:double;
border-width:4px 0 0 0;
border-color:#7D5925;
}
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;
}
/* SubSection Styles : Events */
/* ------------------------------------------------------------------------------ */
div#events {
padding-bottom:0;
}
div#events h4 {
margin-bottom:0;
}
div#events table.infolist tbody tr td {
padding-top:.2em;
padding-bottom:.2em;
}
div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:dashed 1px #D8C19F;
}
div#events table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #D8C19F;
}
div#events table.infolist tbody tr td.ColumnValue p {
margin:.1em 2em;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : 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;
}
/* SubSection Styles : Addresses */
/* ------------------------------------------------------------------------------ */
div#addresses {
padding-bottom:0;
}
div#addresses h4 {
margin-bottom:0;
}
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 #D8C19F;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:dashed 1px #D8C19F;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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 #7D5925;
}
#indivgallery div.thumbnail p {
font-size:.6em;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
#references ol {
margin-top:0;
margin-bottom:0;
}
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : 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;
}
/* SubSection Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
}
#treeContainer {
position:relative;
z-index:1;
padding-bottom:1.4em;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font-size:.8em;
color:#7D5925;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#FFFCE7;
border:dotted 2px #7D5925;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
text-decoration:none;
width:210px;
margin-top:.5em;
margin-left:0;
padding:10px 4px 12px 4px;
background-color:#FFFCE7;
border:solid 2px #7D5925;
}
.shadow {
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:2px;
margin:2px 0 0 16px;
padding:0;
background-color:#D8C19F;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:1px;
margin:2px 0 0 16px;
padding:0;
background-color:#D8C19F;
}
#tree div div.gvline {
position:absolute;
z-index:1;
height:2px;
margin:0 0 0 14px;
padding:0;
background:none;
}
#tree div div.ghline {
position:absolute;
z-index:1;
width:1px;
margin:0 0 0 14px;
padding:0;
background:none;
}

View File

@ -1,946 +0,0 @@
/*
----------------------------------------------------------------------------
GRAMPS Cascading Style Sheet
Style Name: Nebraska
Style Author: Jason Simanek (2008)
$Id$
----------------------------------------------------------------------------
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 <http://www.gramps-project.org/> to learn more!
License
----------------------------------------------------------------------------
Copyright 2008 Jason M. Simanek
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
----------------------------------------------------------------------------
brown darkest #453619
brown dark #542
brown #A97
brown light #C1B398
brown lightest #F6F2EE
gray #696969
green #5D835F
----------------------------------------------------------------------------
*/
/* ---------------------------------------------------------------------------- */
/* General Element Styles */
/* ---------------------------------------------------------------------------- */
body {
color:#000;
margin:0;
padding:0;
background-color:#fff;
}
div {
margin:0;
padding:0;
}
table {
border:none;
border-collapse:collapse;
}
th {
padding:1px 3em 1px 0.5em;
font-weight: bold;
text-align: left;
}
td {
vertical-align:top;
padding:0;
}
img {
border:none;
margin:0;
}
.thumbnail a:hover {
background:none;
}
.content {
background-color:#FFF;
}
.content div.snapshot {
float:right;
margin:1.6em;
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 Styles */
/* ------------------------------------------------------------------------------ */
h1 {
font:normal 2em/1.2em serif;
}
h2 {
display:none;
}
h3 {
font:normal 2em/1.2em serif;
text-align:left;
margin:0;
padding:.5em 20px .2em 20px;
}
h4 {
font:normal 1.2em/1.2em serif;
color:white;
margin:0;
padding:.2em 0 .2em 20px;
background-color:#C1B398;
border-bottom:solid 1px #542;
}
h5, h6 {
font:normal 1em/1.2em serif;
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p {
font:normal 1.1em/1.4em serif;
}
p#description {
color:#542;
max-width:800px;
margin:0;
padding:1em 20px;
background-color:#FFF;
}
p a:link {
text-decoration:underline;
}
sup {
line-height:0;
}
ol {
font:normal .9em/1.6em sans-serif;
margin-top:0;
margin-bottom:0;
padding-top:.5em;
padding-bottom:0;
}
ol li a {
text-decoration:none;
}
ol li a:hover {
text-decoration:underline;
}
a:link {
color:#542;
}
a:visited {
color:#542;
}
a:hover {
color:#542;
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* Header/Navigation Styles */
/* ------------------------------------------------------------------------------ */
#Header {
padding:0 0 .9em 0;
margin:0;
background-color:#542;
border-bottom:solid 1px #453619;
}
#SiteTitle {
color:#FFF;
margin:0;
padding:.5em 0 0 20px;
}
#GRAMPSinfo {
font:normal .8em/1.2em sans-serif;
float:right;
margin:0;
padding:.7em .8em;
color:#A97;
}
#GRAMPSinfo a {
color:#fff;
text-decoration:none;
}
#GRAMPSinfo a:hover {
text-decoration:underline;
background:none;
}
.grampsid {
font:normal .8em/1.2em monospace;
color:#696969;
}
p#user_header {
font-size:1.3em;
text-align:left;
color:#A97;
margin:0;
padding:.2em 0 .6em 20px;
background-color:#542;
}
#Navigation {
margin:0;
padding:0;
}
#Navigation ol {
list-style:none;
min-width:770px;
height:32px;
margin:0;
padding:0 0 0 9px;
background-color:#A97;
border-bottom:solid 1px #542;
}
#Navigation ol li {
margin:0;
float:left;
}
#Navigation ol li a {
display:block;
float:left;
font:normal 16px/100% serif;
color:#542;
text-decoration:none;
margin:0;
padding:8px 13px;
}
#Navigation ol li a:hover {
background-color:#C1B398;
border-bottom:solid 1px #542;
}
#Navigation ol 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;
background-color:#FFF;
}
#Navigation ol li#CurrentSection a:hover {
background-color:#FFF;
}
/* ------------------------------------------------------------------------------ */
/* Footer Styles */
/* ------------------------------------------------------------------------------ */
#footer {
width:100%;
color:#A97;
margin:0;
padding:0;
clear:both;
background-color:#542;
border-top:solid 8px #A97;
}
#user_footer {
width:70%;
float:left;
margin:1em;
}
#user_footer p {
font:normal 1em/1.2em serif;
color:#A97;
margin:0;
padding:0;
}
#copyright {
margin:1em;
font:normal .9em/1.2em sans-serif;
float:right;
}
#copyright p {
margin:0;
}
#copyright a:hover {
background:none;
}
/* ------------------------------------------------------------------------------ */
/* Main Table Styles */
/* ------------------------------------------------------------------------------ */
table.infolist {
width:100%;
margin:0;
padding:0;
background-color:#F6F2EE;
}
table.infolist tr th {
font:normal 1.1em/1.2em serif;
color:#FFF;
margin:0;
padding:.2em 10px;
background-color:#A97;
border-bottom:solid 1px #542;
}
table.infolist tr th a:hover {
background-color:#C1B398;
}
table.infolist tr td {
font:normal 1.1em/1.4em serif;
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 #C1B398;
}
table.infolist tr td.ColumnLetter {
width:3%;
text-align:center;
}
table.infolist tbody tr td.ColumnBirth {
font-size:.9em;
color:#5D835F;
width:10%;
}
table.infolist tbody tr td.ColumnDeath {
font-size:.9em;
width:10%;
}
table.infolist tbody tr td.ColumnRowLabel {
width:2%;
color:#696969;
padding-left:20px;
}
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 #C1B398;
padding-top:1em;
padding-bottom:1em;
}
/* ------------------------------------------------------------------------------ */
/* Surnames Styles */
/* ------------------------------------------------------------------------------ */
#Surnames { }
#SurnameDetail p#description { padding-top:0; }
table.surnamelist tr thead th.ColumnSurname, #Surnames table.surnamelist tbody tr td.ColumnSurname {
width:50%;
}
table.surnamelist tr th {
padding:0;
}
table.surnamelist tr th a, table.surnamelist tr th a:visited {
display:block;
color:#FFF;
text-align:left;
text-decoration:none;
padding:.2em 10px;
}
table.surnamelist tr th:hover {
background-color:#C1B398;
}
table.surnamelist thead tr th.ColumnLetter {
padding-left:20px;
padding-right:10px;
}
table#SortByName thead tr th.ColumnSurname, table#SortByCount thead tr th.ColumnQuantity {
background-color:#C1B398;
}
table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after {
content:" ↓";
}
table#SortByName tbody tr td.ColumnSurname {
padding:0;
background-color:#FFF;
}
table#SortByName tbody tr td.ColumnSurname a {
display:block;
padding:.1em 10px .3em 10px;
}
table#SortByCount tbody tr td.ColumnQuantity {
background-color:#FFF;
}
table.surnamelist tbody tr td.ColumnSurname:hover, table#SortByName tbody tr td.ColumnSurname:hover {
background-color:#C1B398;
}
table.surname {
border-bottom:solid 1px #A97;
}
table.surname tbody tr td {
border-bottom:dashed 1px #C1B398;
}
table.surname thead tr th.ColumnName {
width:20%;
padding-left:20px;
}
table.surname tbody tr td.ColumnName {
width:20%;
padding:0;
background-color:#FFF;
}
table.surname tbody tr td.ColumnName a {
display:block;
padding:.6em 10px .6em 20px;
}
table.surname tbody tr td.ColumnName a span.grampsid {
display:none;
}
table.surname tbody tr td.ColumnName:hover {
background-color:#C1B398;
}
table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents {
width:25%;
}
/* ------------------------------------------------------------------------------ */
/* Individuals Styles */
/* ------------------------------------------------------------------------------ */
#Individuals { }
#Individuals table.individuallist {
border-bottom:solid 1px #A97;
}
#Individuals table.individuallist tbody tr td {
border-bottom:dashed 1px #C1B398;
}
#Individuals table.individuallist tbody tr td a:hover {
text-decoration: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:#FFF;
}
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:#C1B398;
}
#IndividualDetail div table.infolist tr td, #Individuals div table.infolist tr td p {
font:normal .9em/1.2em sans-serif;
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:#696969;
}
/* ------------------------------------------------------------------------------ */
/* Sources Styles */
/* ------------------------------------------------------------------------------ */
#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 {
font-size:.9em;
padding:.1em 10px .3em 10px;
}
#Sources table.infolist tbody tr td.ColumnName a:hover {
background-color:#C1B398;
}
#SourceDetail div#references ol li {
padding-bottom:.5em;
}
/* ------------------------------------------------------------------------------ */
/* Places Styles */
/* ------------------------------------------------------------------------------ */
#Places { }
#Places table.infolist tbody tr td.ColumnName {
padding:0;
}
#Places table.infolist tbody tr td.ColumnName a {
padding:.1em 10px .3em 10px;
}
#Places table.infolist tbody tr td.ColumnName a:hover {
background-color:#C1B398;
}
/* ------------------------------------------------------------------------------ */
/* Gallery Styles */
/* ------------------------------------------------------------------------------ */
#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:#C1B398;
}
#GalleryNav {
font:normal 1em/1em sans-serif;
margin:1em 0 0 0;
padding:1.2em 0 1.4em 0;
text-align:center;
}
#GalleryNav a {
font-weight:bold;
text-decoration:none;
border:solid 1px #542;
}
#GalleryNav a:hover {
background-color:#F6F2EE;
}
#GalleryNav a#Previous {
padding:.5em .7em .3em .7em;
}
#GalleryNav a#Next {
padding:.5em 1.9em .3em 1.9em;
}
#GalleryPages {
margin:0 1em;
}
#GalleryCurrent {
font:bold 1.2em/1em sans-serif;
}
#GalleryTotal {
font-weight:normal;
}
#GalleryDisplay {
text-align:center;
}
#GalleryDisplay img {
margin:0 auto;
border:solid 1px #542;
}
#GalleryDetail div#summaryarea{
margin:0;
padding:2em 0 0 0;
}
#GalleryDetail div#summaryarea h3 {
font:normal 1.2em/1.2em serif;
text-align:center;
}
#GalleryDetail div h4 {
margin-top:0;
}
#GalleryDetail div#summaryarea table.gallery {
padding-bottom:0;
margin-top:1.5em;
margin-bottom:0;
background-color:#F6F2EE;
border-style:solid;
border-width:8px 0 0 0;
border-color:#C1B398;
}
/* ------------------------------------------------------------------------------ */
/* Contact Styles */
/* ------------------------------------------------------------------------------ */
#Contact #summaryarea {
width:500px;
margin:0 auto;
padding:3em;
background-color:#F1ECE2;
}
#Contact #summaryarea img {
float:right;
margin:0;
}
#researcher {
font:normal 1.5em/1.4em serif;
margin-top:.3em;
}
#researcher h3 {
font:normal 1.2em/1.4em serif;
padding:0;
}
#researcher span {
font:normal .9em/1.4em serif;
display:block;
float:left;
margin-right:.4em;
}
#streetaddress {
width:70%;
}
#city:after {
content:",";
}
#country {
clear:left;
}
#email {
clear:left;
}
#email a {
text-decoration:none;
}
#email a:hover {
text-decoration:underline;
}
/* ------------------------------------------------------------------------------ */
/* SubSection Styles */
/* ------------------------------------------------------------------------------ */
#Home, #Introduction, #Contact {
padding:2em 0 3em 0;
}
#Download {
padding:1em 0 3em 0;
}
#Home p, #Introduction p, #Download p {
margin:0 20px 1em 20px;
}
#Home img, #Introduction img, #Download img {
float:right;
margin:0;
padding:0 20px 3em 2em;
}
div.subsection{
padding-bottom:.5em;
background-color:#F6F2EE;
}
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;
}
div.subsection table.infolist {
width:100%;
margin:0;
}
#IndividualDetail div.subsection table tr td:first-child {
padding-left:20px;
}
/* Individuals Styles : Events */
/* ------------------------------------------------------------------------------ */
div#events {
padding-bottom:0;
}
div#events h4 {
margin-bottom:0;
}
#IndividualDetail div#events table.infolist tbody tr td {
padding-top:.4em;
padding-bottom:.8em;
}
#IndividualDetail div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:solid 1px #C1B398;
}
#IndividualDetail div#events table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #C1B398;
}
table.infolist tbody tr td.ColumnValue p {
font-family:sans-serif;
color:#696969;
margin:.2em 0 0 2em;
}
/* SubSection Styles : Attributes */
/* ------------------------------------------------------------------------------ */
/* Individuals Styles : Parents */
/* ------------------------------------------------------------------------------ */
div#parents table.infolist {
margin-top:.5em;
}
div#parents table.infolist tbody tr td.ColumnAttribute {
width:19%;
}
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;
}
/* Individuals Styles : Families */
/* ------------------------------------------------------------------------------ */
div#families table.infolist {
margin-top:.5em;
}
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;
}
/* Individuals Styles : Addresses */
/* ------------------------------------------------------------------------------ */
div#addresses {
padding-bottom:0;
}
div#addresses table.infolist tbody tr td {
padding-top:.4em;
padding-bottom:.4em;
}
div#addresses table.infolist tbody tr td.ColumnAttribute {
width:30%;
border-bottom:solid 1px #C1B398;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #C1B398;
}
/* SubSection Styles : 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 #542;
}
#indivgallery div.thumbnail p {
font:normal .7em/1.4em sans-serif;
text-align:center;
width:80%;
margin:0 auto;
padding:0;
}
/* SubSection Styles : Narrative */
/* ------------------------------------------------------------------------------ */
div#narrative {
padding-bottom:0;
}
#narrative p {
font:normal .9em/1.4em sans-serif;
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* SubSection Styles : References */
/* ------------------------------------------------------------------------------ */
/* SubSection Styles : Source References */
/* ------------------------------------------------------------------------------ */
div#sourcerefs ol {
list-style-type:decimal;
}
div#sourcerefs ol li ol {
list-style-type:lower-alpha;
}
/* SubSection Styles : Summary Area */
/* ------------------------------------------------------------------------------ */
div#summaryarea {
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 {
font:normal .9em/1.2em sans-serif;
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%;
color:#696969;
padding-left:20px;
}
/* SubSection Styles : Weblinks */
/* ------------------------------------------------------------------------------ */
/* Individuals Styles : Pedigree */
/* ------------------------------------------------------------------------------ */
div#pedigree {
padding-bottom:1.2em;
}
#pedigree a {
text-decoration:none;
}
#pedigree a:hover {
text-decoration:underline;
}
.pedigreegen {
font:normal .9em/1.2em sans-serif;
list-style:none;
margin:.5em 0 0 0;
padding:0 0 0 20px;
}
.pedigreegen li ol {
list-style:none;
margin-left:.5em;
}
.pedigreegen li ol li ol {
font:normal 1em/1.4em sans-serif;
list-style:decimal;
margin-left:1.6em;
}
.pedigreegen li ol li ol li ol.spouselist {
list-style:none;
margin-left:0;
}
.spouselist li.spouse ol {
list-style:decimal;
margin-left:1.6em;
}
.spouse a {
font-weight:normal;
font-style:normal;
color:#A97;
}
.spouse:before {
content: "+ ";
}
.thisperson {
font-weight:bold;
}
/* Individuals Styles : Ancestors Tree */
/* ------------------------------------------------------------------------------ */
#tree {
page-break-before:always;
margin:0;
padding:0;
background:none;
}
#treeContainer {
position:relative;
z-index:1;
}
.boxbg {
position:absolute;
margin:0;
padding:0;
background:none;
}
.boxbg div a {
position:relative;
z-index:10;
display:block;
font:normal .7em/1.4em sans-serif;
color:#542;
text-align:center;
text-decoration:none;
width:148px;
padding:5px 5px 7px 5px;
margin-top:1em;
margin-left:16px;
background-color:#F6F2EE;
border:solid 1px #542;
}
.boxbg div a:hover {
position:relative;
z-index:999;
font-size:1em;
color:#542;
width:210px;
margin-top:0;
margin-left:0;
padding:10px 4px 12px 4px;
border:solid 2px #542;
}
.shadow {
display:none;
}
#tree div div.bvline {
position:absolute;
z-index:2;
height:1px;
margin:0 0 0 16px;
padding:0;
background-color:#C1B398;
}
#tree div div.bhline {
position:absolute;
z-index:2;
width:1px;
margin:0 0 0 16px;
padding:0;
background-color:#C1B398;
}
.ghline, .gvline {
display:none;
}

View File

@ -1,278 +0,0 @@
/* GRAMPS Cascading Style Sheet */
/* Standard Tags {{{1
*/
HTML {
background: #ddd;
}
BODY {
font-size: 14px;
font-family: "Lucida Grande", "Trebuchet MS", Geneva, Lucida, sans-serif;
color: #000;
margin: 10px;
padding: 0px;
}
A:link {
color: #f60;
text-decoration: none;
}
A:hover {
text-decoration: underline;
}
A:active {
border: 1px solid #ddd;
}
A:visited {
color: #33f;
text-decoration: none;
}
P {
margin: 0px 10px 5px 10px;
text-align: justify;
}
H1 {
font-weight: normal;
margin: 0;
font-size: 100%;
}
H2 {
}
H3 {
font-weight: bold;
font-size: 15px;
padding-top: 10px;
text-align: center;
}
H4 {
font-size:16px;
font-weight:bold;
padding:10px 0px 0px 15px;
color:#fb3;
border-bottom:1px solid #fd9;
}
H5 {
margin-bottom: 0.5em;
}
H6 {
font-weight: normal;
font-style: italic;
font-size: 100%;
margin-left: 1em;
margin-top: 1.3em;
margin-bottom: 0.8em;
}
IMG {
border: none;
}
SUP {
line-height: 0%;
}
TABLE {
border: none;
border-collapse: collapse;
}
TH {
padding: 5px;
font-weight: bold;
text-align: center;
text-transform: lowercase;
font-size: 90%;
color: #444;
}
TD {
vertical-align: top;
padding: 2px 2px 2px 2px;
}
/* Custom {{{1
*/
/* main data table */
TABLE.infolist {
border: 0;
width: 80%;
margin: 10px 10% 10px 10%;
}
TABLE.infolist TH {
border-bottom: 1px solid #454;
}
TABLE.infolist TH A {
text-decoration: none;
}
TABLE.infolist TR > TD:first-child {
min-width: 6em;
}
TD.category {
font-weight: bold;
}
TD.field {
}
TD.data {
}
TD.note {
}
#summaryarea TABLE.infolist TR TD {
font-weight: bold;
}
#summaryarea TABLE.infolist TR TD:first-child {
font-weight: normal;
font-size: 10px;
}
SPAN.grampsid {
font-size: 9px;
font-weight: bold;
}
/* float left and right */
.leftwrap {
float: left;
margin: 5px;
margin-right: 1em;
margin-left: 6em;
}
.rightwrap {
float: right;
margin: 5px;
margin-left: 1em;
margin-right: 6em;
}
.centered {
text-align: center;
}
/* navigation links */
#navheader {
padding: 5px;
background-color: #fff;
border: 1px solid #000;
margin: 2px;
}
.navtitle {
font-size: 120%;
font-weight: bold;
text-transform: lowercase;
margin: 4px 4px 10px 4px;
}
.navbyline {
float: right;
font-size: 12px;
color: #444;
text-transform: lowercase;
}
.navbyline A {
color: #444;
text-transform: uppercase;
font-size: 8px;
font-weight: bold;
}
.nav {
font-size: 12px;
word-spacing: 5px;
text-transform: lowercase;
margin: 5px;
}
.nav A {
text-decoration: none;
border: 1px solid #699;
padding: 1px 3px;
}
/* image display */
.img_navbar {
margin: 0;
margin-bottom: 4px;
padding: 10px;
text-align: center;
}
.portrait {
text-align: center;
margin: 5px;
margin-right: 20px;
padding: 3px;
border-color: #363;
border-width: 1px;
}
.snapshot P {
text-align: center;
}
.thumbnail {
margin: 10px 10% 10px 10%;
}
#gallery .thumbnail {
margin: 1em;
float:left;
width:150px;
height:150px;
text-align:center;
}
.thumbnail P {
margin: 0;
padding: 0;
font-size: smaller;
}
/* pedigree display */
#pedigree { }
.pedigreebox {
margin: 5px 10px 5px 10px;
background-color: #ddd;
border: 1px solid #630;
padding: 5px;
line-height: 140%;
}
.pedigreegen {
margin-top: 5px;
padding: 2px 0px 2px 25px;
border-top: 1px dashed #630;
border-left: 1px dashed #630;
}
#pedigree .pedigreebox .pedigreegen:first-child {
border: none;
}
.spouse:before {
content: "+ ";
}
.thisperson {
font-weight: bold;
}
/* other section ids */
#content {
padding: 4px;
background-color: #fff;
border: 1px solid #000;
margin: 10px 2px 10px 2px;
}
#footer {
padding: 4px;
background-color: #fff;
border: 1px solid #000;
margin: 2px;
clear: both;
}
.fullclear {
clear: both;
}
#copyright {
margin: 7px 10px 5px 10px;
font-size: 12px;
float: right;
}
#summaryarea, #events, #families, #gallery, #narrative, #parents, #pedigree, #references, #sourcerefs, #weblinks, .snapshot {
border: 1px dashed #630;
margin: 5px 5px 10px 5px;
padding: 5px 5px 10px 5px;
}
#attributes { }
#researcher {
margin: 5px 50% 5px 5px;
text-align: center;
}
.box { font-size: 12px; height: 48px; padding-left: 5px; vertical-align: middle;}
.bvline { position: absolute; background-color: #000000; font-size: 0pt; z-index: 3; height: 1px;}
.bhline { position: absolute; background-color: #000000; font-size: 0pt; z-index: 3; width: 1px;}
.border { position: absolute; background-color: #000000; font-size: 0pt; z-index: 4; width: 160px; height: 50px; }
.boxbg { position: absolute; background-color: #cccccc; z-index: 5; width: 158px; height: 48px;}
.shadow { position: absolute; background-color: #999999; z-index: 1; width: 158px; height: 48px; }
.ghline { position: absolute; background-color: #999999; font-size: 0pt; z-index: 1; width: 1px;}
.gvline { position: absolute; background-color: #999999; font-size: 0pt; z-index: 1; height: 1px;}
/* 1}}}
vim:foldmethod=marker
*/

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
var StyleFile = "narrative" + document.cookie.charAt(6) + ".css";
document.writeln('<link href="' + StyleFile + '" rel="stylesheet" type="text/css" media="screen" />');
document.writeln('<style type="text/css">!-- narrative' + document.cookie.charAt(6) + '--></style>');

View File

@ -1 +0,0 @@
document.write(<ul id="styleswitcherMenu"><li id="style"><a href="javascript: document.cookie='style='; window.location.reload();">Normal View</a></li><li id="style2"><a href="javascript: document.cookie='style=2'; window.location.reload();">High Contrast View</a></li></ul>);

View File

@ -309,6 +309,8 @@ class Calendar(Report):
"""
This method runs through the data, and collects the relevant dates
and text.
age and years must be greater than zero, else why do it???
"""
people = self.database.get_person_handles(sort_handles=False)
self.progress.set_pass(_('Applying Filter...'), len(people))
@ -349,7 +351,7 @@ class Calendar(Report):
if father is not None:
father_lastname = father.get_primary_name().get_surname()
short_name = self.get_name(person, father_lastname)
if age >= 0:
if age > 0:
alive = probably_alive(person, self.database, make_date(self.year, month, day))
if ((self.alive and alive) or not self.alive):
comment = ""
@ -397,8 +399,8 @@ class Calendar(Report):
month = event_obj.get_month()
day = event_obj.get_day()
years = self.year - year
if years >= 0:
text = _("%(spouse)s and\n %(person)s, %(nyears)d") % {
if years > 0:
text = _("%(spouse)s and\n %(person)s, %(nyears)d year anniversary") % {
'spouse' : spouse_name,
'person' : short_name,
'nyears' : years,

View File

@ -42,7 +42,6 @@ dst start/stop from Calendar.py, etc.
2008 Kees Bakker
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
@ -227,7 +226,6 @@ class WebCalReport(Report):
self.end_year = menu.get_option_by_name('end_year').get_value()
self.fullyear = menu.get_option_by_name('fullyear').get_value()
self.blankyear = menu.get_option_by_name('blankyear').get_value()
self.maiden_name = menu.get_option_by_name('maiden_name').get_value()
@ -264,7 +262,6 @@ class WebCalReport(Report):
self.today = datetime.date(today[0], today[1], today[2])
self.warn_dir = True # Only give warning once.
self.imgs = []
# self.calendar is a dict; key is the month number
# Each entry in the dict is also a dict; key is the day number.
@ -313,7 +310,7 @@ class WebCalReport(Report):
if month > 0:
try:
my_date = datetime.date(year, month, day)
my_date = _make_date(year, month, day)
except ValueError:
my_date = '...'
else:
@ -397,7 +394,11 @@ class WebCalReport(Report):
"""
Copies all the necessary files
"""
# Copy the normal stylesheet
# initialize imgs to fill
imgs = []
# Copy the screen stylesheet
if self.css != "":
fname = os.path.join(const.DATA_DIR, self.css)
self.copy_file(fname, self.css, "styles")
@ -406,16 +407,22 @@ class WebCalReport(Report):
fname = os.path.join(const.DATA_DIR, "Web_Print-Default.css")
self.copy_file(fname, "Web_Print-Default.css", "styles")
if self.css == "Web_Mainz.css":
# Copy Mainz Style Images
imgs += ["Web_Mainz_Bkgd.png",
"Web_Mainz_Header.png",
"Web_Mainz_Mid.png",
"Web_Mainz_MidLight.png",
]
# Copy GRAMPS favicon
fname = os.path.join(const.IMAGE_DIR, "favicon.ico")
self.copy_file(fname, "favicon.ico", "images")
imgs += ["favicon.ico"]
# copy copyright image
if 0 < self.copy < len(_CC):
fname = os.path.join(const.IMAGE_DIR, 'somerights20.gif')
self.copy_file(fname, 'somerights20.gif', 'images')
imgs += ["somerights20.gif"]
for f in self.imgs:
for f in imgs:
from_path = os.path.join(const.IMAGE_DIR, f)
self.copy_file(from_path, f, "images")
@ -441,9 +448,6 @@ class WebCalReport(Report):
# Add a link for year_glance() if requested
navs.append(('fullyear', _('Year Glance'), self.fullyear))
# add a link to blank_year() if requested
navs.append(('blankyear', _('Blank Calendar'), self.blankyear))
of.write('<div id="subnavigation">\n')
of.write('\t<ul>\n')
@ -469,7 +473,7 @@ class WebCalReport(Report):
url = url_fname
if not url.startswith('http:'):
url = '/'.join(subdirs + [url_fname])
if not _has_webpage_extension(url):
if not url.endswith(self.ext):
url += self.ext
cs = cs and ' id="CurrentSection"' or ''
@ -568,7 +572,7 @@ class WebCalReport(Report):
def calendar_build(self, of, cal, year, month):
"""
This does the work of building the calendar
'cal' - one of "yg", "by", "wc"
'cal' - one of "yg", "wc"
'month' - month number 1, 2, .., 12
"""
@ -652,11 +656,11 @@ class WebCalReport(Report):
nweeks = len(monthinfo)
for week_row in range(0, nweeks):
week = monthinfo[week_row]
of.write('\t\t<tr class="week%d">\n' % (week_row+1))
# if you look this up in wikipedia, the first week is called week0
of.write('\t\t<tr class="week%d">\n' % week_row)
for day_col in range(0, 7):
dayclass = get_class_for_daycol(day_col)
hilightday = 'highlight ' + dayclass
day = week[day_col]
if day == 0: # a day in the previous or next month
@ -667,51 +671,46 @@ class WebCalReport(Report):
specday = firstweek_nextmonth[day_col]
specclass = "next " + dayclass
#if specclass[0] == 'p': # previous day of last month
# of.write('\t\t\t<td id="prevday%d" ' % specday)
#else: # next day of next month
# of.write('\t\t\t<td id="nextday%d" ' % specday)
of.write('\t\t\t<td class="%s">\n' % specclass)
of.write('\t\t\t\t<div class="date">%d</div>\n' % specday)
of.write('\t\t\t</td>\n')
else: # normal day number in current month
if cal == "by": # blank_year() doesn't need any highlighting or hyperlinks
of.write('\t\t\t<td id="%s%02d" class="%s">\n' % (shrt_month, day, dayclass))
of.write('\t\t\t\t<div class="date">%d</div>\n' % day)
of.write('\t\t\t</td>\n')
else:
thisday = datetime.date.fromordinal(current_ord)
of.write('\t\t\t<td id="%s%02d" ' % (shrt_month, day))
if thisday.month == month: # Something this month
holiday_list = self.holidays.get(month, {}).get(thisday.day, [])
bday_anniv_list = self.calendar.get(month, {}).get(thisday.day, [])
if (holiday_list > []) or (bday_anniv_list > []):
evt_date = time.strptime('%d/%d/%d' % (year, month, day), '%Y/%m/%d')
hilightday = 'highlight ' + dayclass
# specify day class for this day
of.write('class="%s">\n' % hilightday)
# Year at a Glance
if cal == "yg":
did_some = self.one_day(of, year, evt_date, cal, holiday_list, bday_anniv_list)
if did_some:
# Notice the code in one_day(): cal_fname = '%s%d%s' % (shrt_month, day, self.ext)
# TODO. Create file for one_day()
# create yyyymmdd date string for "One Day" calendar pages filename
two_digit_month = '%02d' % month
two_digit_day = '%02d' % day
fname_date = str(year) + str(two_digit_month) + str(two_digit_day)
# create web link to corresponding "One Day" page...
# The HREF is relative to the year path.
fname = '%s%d%s' % (shrt_month, day, self.ext)
fname = '/'.join([lng_month, fname])
of.write('class="%s">\n' % hilightday)
of.write('\t\t\t\t<a id="%s%d" href="%s" title="%s%d">\n'
% (shrt_month, day, fname, shrt_month, day))
fname = '%s%s' % (fname_date, self.ext)
fname = '/'.join([lng_month, fname_date])
of.write('\t\t\t\t<a id="%s" href="%s" title="%s%d">\n'
% (fname_date, fname, shrt_month, day))
of.write('\t\t\t\t\t<div class="date">%d</div>\n' % day)
of.write('\t\t\t\t</a>\n')
else:
of.write('class="%s">\n' % dayclass)
of.write('\t\t\t\t<div class="date">%d</div>\n' % day)
one_day_cal = "OneDay"
# WebCal
elif cal == 'wc':
of.write('class="%s">\n' % hilightday)
else:
one_day_cal = "WebCal"
of.write('\t\t\t\t<div class="date">%d</div>\n' % day)
self.one_day(of, year, evt_date, cal, holiday_list, bday_anniv_list)
self.one_day(of, thisday, one_day_cal, holiday_list, bday_anniv_list)
# no holiday/ bday/ anniversary this day
else:
@ -732,7 +731,7 @@ class WebCalReport(Report):
# close the week/ row
of.write('\t\t</tr>\n')
if cal in ("yg", "by"):
if cal == "yg":
# Fill up till we have 6 rows, so that the months align properly
for i in range(nweeks, 6):
of.write('\t\t<tr class="week%d">\n' % (i+1))
@ -825,7 +824,7 @@ class WebCalReport(Report):
fname = os.path.join(self.html_dir, subdir, fname)
if not _has_webpage_extension(fname):
if not fname.endswith(self.ext):
fname += self.ext
destdir = os.path.dirname(fname)
@ -839,154 +838,62 @@ class WebCalReport(Report):
def close_file(self, of):
of.close()
def one_day(self, of, year, event_date, cal, holiday_list, bday_anniv_list):
def one_day(self, of, event_date, one_day_cal, holiday_list, bday_anniv_list):
"""
This method creates the One Day page for "Year At A Glance"
'holiday_list' - list of holidays to display on this day
'bday_anniv_list' - list of birthdays and anniversaries to display on this day
one or both of these dictionaries will possibly hav something in it
'day_list' - a combination of both dictionaries to be able to create one day
date, text, event --- are necessary for figuring the age or years married
nyears, date, text, event --- are necessary for figuring the age or years married
for each year being created...
"""
# initialize day_list
day_list = []
# holiday on this day
if holiday_list > []:
for p in holiday_list:
for line in p.splitlines():
day_list.append((event_date, line, _('Holiday')))
# call day_list to fill
day_list = fill_day_list(event_date, holiday_list, bday_anniv_list)
# birthday/ anniversary on this day
if bday_anniv_list > []:
for date, text, event in bday_anniv_list:
# This is one_day in the year-at-a-glance calendar
if one_day_cal == "OneDay":
# '...' signifies an incomplete date for an event. See add_day_item()
txt_str = None
if date != '...':
years = year - date.year
# break up event_date to get year, month, day for this day
year, month, day = event_date.year, event_date.month, event_date.day
# a birthday
if event == 'birthday':
if years == 1:
txt_str = _('%(short_name)s, <em>%(age)d</em> year old') % {
'short_name' : text,
'age' : years}
elif 2 <= years <= 105:
txt_str = _('%(short_name)s, <em>%(age)d</em> years old') % {
'short_name' : text,
'age' : years}
# TODO. Think about this limit a bit more.
# if age is greater than 105,
# STOP! Do Nothing!!!
else:
txt_str = None
# an anniversary
elif event == 'anniversary':
# if married years is less than 76 years
if 1 <= years < 75:
txt_str = _('%(couple)s, <em>%(nyears)d</em> year anniversary') % {
'couple' : text,
'nyears' : years}
txt_str = '<span class="yearsmarried">%s</span>' % txt_str
# TODO. Think about this limit a bit more.
# if married years is greater than 75 years,
# STOP! Do Nothing!!!
else:
txt_str = None
# incomplete date
else:
txt_str = None
if txt_str is not None:
day_list.append((date, txt_str, event))
# something for this day
if day_list > []:
if cal == 'yg':
# This is a one_day in the year-at-a-glance calendar
# slice up event_date to get year, month, and day
year, month, day = event_date[0], event_date[1], event_date[2]
# create fname date string for "One Day" calendar pages filename
# using yyyymmdd for filename
two_digit_month = '%02d' % month
two_digit_day = '%02d' % day
fname_date = str(year) + str(two_digit_month) + str(two_digit_day)
# define names for long and short month
lng_month = _get_long_month_name(month)
shrt_month = _get_short_month_name(month)
# Name the file, and create it (see code in calendar_build)
cal_fname = '%s%d%s' % (shrt_month, day, self.ext)
fpath = os.path.join(str(year), lng_month)
of = self.create_file(cal_fname, fpath)
of = self.create_file(fname_date, fpath)
nr_up = 2 # number of directory levels up to get to root
# set date display as in user prevferences
my_date = gen.lib.Date()
my_date.set_yr_mon_day(year, month, day)
my_date = _dd.display(my_date)
self.calendar_common(of, 2, year, lng_month, _('One Day Within A Year'), my_date)
self.calendar_common(of, nr_up, year, lng_month, _('One Day Within A Year'), my_date)
of.write('\t<h3 id="OneDay">%s</h3>\n' % my_date)
of.write('\t<ul>\n')
for date, text, event in day_list:
of.write('\t\t<li>%s</li>\n' % text)
of.write('\t</ul>\n')
# for both "WebCal" and "One Day"
of.write('\t\t\t\t\t<ul>\n')
for nyears, date, text, event in day_list:
of.write('\t\t\t\t\t\t<li>%s</li>\n' % text)
of.write('\t\t\t\t\t</ul>\n')
# Only close the file for "Year At A Glance"
if cal == 'yg':
self.write_footer(of, 2)
self.close_file(of)
# Let caller know we did output something.
return day_list > []
def blank_year(self, year):
"""
This method will create the Printable Full Year One Page Calendar...
"""
nr_up = 1 # Number of directory levels up to get to root
# Name the file, and create it
cal_fname = 'blankyear'
of = self.create_file(cal_fname, str(year))
# Page Title
if not self.multiyear:
title = ' '.join([str(year), _(' Blank Calendar')])
else:
title = _('Blank Calendar')
self.calendar_common(of, nr_up, year, 'blankyear', title, 'fullyear')
# generate progress pass for "Blank Year"
self.progress.set_pass(_('Creating Blank Year calendars'), self.end_month - self.start_month)
for month in range(self.start_month, self.end_month + 1):
# build the calendar
self.calendar_build(of, "by", year, month)
of.write('<tfoot>\n')
of.write('\t<tr><td colspan="7"></td></tr>\n')
of.write('</tfoot>\n')
of.write('</table>\n\n')
# increase progress bar
self.progress.step()
# Write footer and close file
# if calendar is one_day(), write footer, and close the file
if one_day_cal == "OneDay":
self.write_footer(of, nr_up)
self.close_file(of)
@ -1016,9 +923,6 @@ class WebCalReport(Report):
of.write('</p>\n')
of.write('</div>\n\n')
# generate progress pass for "Year At A Glance"
self.progress.set_pass(_('Creating Year At A Glance calendars'), self.end_month - self.start_month)
for month in range(self.start_month, self.end_month + 1):
# build the calendar
@ -1034,7 +938,7 @@ class WebCalReport(Report):
of.write('\t</tfoot>\n')
of.write('</table>\n\n')
# increase progress bar
# increment progress bar
self.progress.step()
# write footer section, and close file
@ -1050,20 +954,12 @@ class WebCalReport(Report):
"""
# open progress meter bar
self.progress = Utils.ProgressMeter(_("Generate XHTML Calendars"), '')
self.progress = Utils.ProgressMeter(_("Web Calendar Report"), '')
# get data from database for birthdays/ anniversaries
# TODO. Verify that we collect correct info based on start_year
self.collect_data(self.start_year)
if self.css == "Web_Mainz.css":
# Copy Mainz Style Images
self.imgs += ["Web_Mainz_Bkgd.png",
"Web_Mainz_Header.png",
"Web_Mainz_Mid.png",
"Web_Mainz_MidLight.png",
]
# Copy all files for the calendars being created
self.copy_calendar_files()
@ -1096,10 +992,6 @@ class WebCalReport(Report):
# create "WebCal" calendar pages
self.normal_cal(cal_year)
# create "Blank Year" calendar page
if self.blankyear:
self.blank_year(cal_year)
# create "Year At A Glance" and "One Day" calendar pages
if self.fullyear:
self.year_glance(cal_year)
@ -1127,10 +1019,6 @@ class WebCalReport(Report):
# create "WebCal" calendar pages
self.normal_cal(cal_year)
# create "Blank Year" calendar page
if self.blankyear:
self.blank_year(cal_year)
# create "Year At A Glance"
if self.fullyear:
self.year_glance(cal_year)
@ -1143,6 +1031,9 @@ class WebCalReport(Report):
This method provides information and header/ footer to the calendar month
"""
# define progress bar pass
self.progress.set_pass(_('Creating Calendars ...'), 12)
# do some error correcting if needed
if self.multiyear:
if self.end_year < self.start_year:
@ -1151,9 +1042,6 @@ class WebCalReport(Report):
nr_up = 1 # Number of directory levels up to get to self.html_dir / root
# generate progress pass for "WebCal"
self.progress.set_pass(_('Creating WebCal calendars'), self.end_month - self.start_month)
for month in range(self.start_month, self.end_month + 1):
# Name the file, and create it
@ -1207,18 +1095,16 @@ class WebCalReport(Report):
if birth_ref:
birth_event = self.database.get_event_from_handle(birth_ref.ref)
birth_date = birth_event.get_date_object()
death_ref = person.get_death_ref()
death_date = None
if death_ref:
death_event = self.database.get_event_from_handle(death_ref.ref)
death_date = death_event.get_date_object()
# if person is dead, STOP! Nothing further to do
if death_date == None:
living = probably_alive(person, self.database, _make_date(this_year, 1, 1), 0)
# determine birthday information???
if self.birthday and birth_date is not None:
# determine if birthdadate is a valid date???
complete_date = False
if birth_date.is_valid():
complete_date = True
if complete_date:
# add birthday if requested
if self.birthday and birth_date != None and ((self.alive and living) or not self.alive):
year = birth_date.get_year()
month = birth_date.get_month()
day = birth_date.get_day()
@ -1243,12 +1129,13 @@ class WebCalReport(Report):
father_name = father.get_primary_name()
father_lastname = _get_regular_surname(sex, father_name)
short_name = _get_short_name(person, father_lastname)
# Huh? Why translate this?
alive = probably_alive(person, self.database, _make_date(this_year, month, day))
text = _('%(short_name)s') % {'short_name' : short_name}
self.add_day_item(text, year, month, day, 'birthday')
if ((self.alive and alive) or not self.alive):
self.add_day_item(text, year, month, day, 'Birthday')
# add anniversary if requested
if self.anniv and ((self.alive and living) or not self.alive):
if self.anniv:
for fhandle in family_list:
fam = self.database.get_family_from_handle(fhandle)
father_handle = fam.get_father_handle()
@ -1260,20 +1147,10 @@ class WebCalReport(Report):
if spouse_handle:
spouse = self.database.get_person_from_handle(spouse_handle)
if spouse:
death_ref = spouse.get_death_ref()
death_date = None
if death_ref:
death_event = self.database.get_event_from_handle(death_ref.ref)
death_date = death_event.get_date_object()
# if spouse is dead, STOP! Nothing more to do!
if death_date == None:
spouse_name = _get_short_name(spouse)
short_name = _get_short_name(person)
if self.alive:
if not probably_alive(spouse, self.database, _make_date(this_year, 1, 1), 0):
continue
are_married = _get_marrital_status(fam, self.database)
are_married = get_marrital_status(fam, self.database)
if are_married is not None:
for event_ref in fam.get_event_ref_list():
event = self.database.get_event_from_handle(event_ref.ref)
@ -1281,10 +1158,21 @@ class WebCalReport(Report):
year = event_obj.get_year()
month = event_obj.get_month()
day = event_obj.get_day()
# determine if anniversary date is a valid date???
complete_date = False
if event_obj.get_valid():
complete_date = True
if complete_date:
text = _('%(spouse)s and %(person)s') % {
'spouse' : spouse_name,
'person' : short_name}
self.add_day_item(text, year, month, day, 'anniversary')
alive1 = probably_alive(person, self.database, _make_date(this_year, month, day))
alive2 = probably_alive(spouse, self.database, _make_date(this_year, month, day))
if ((self.alive and alive1 and alive2) or not self.alive):
self.add_day_item(text, year, month, day, 'Anniversary')
#------------------------------------------------------------------------
#
@ -1399,10 +1287,6 @@ class WebCalOptions(MenuReportOptions):
fullyear.set_help(_('Whether to create A one-page mini calendar with dates highlighted'))
menu.add_option(category_name, 'fullyear', fullyear)
blankyear = BooleanOption(_('Create "Printable Blank" Calendar(s)'), False)
blankyear.set_help(_('Whether to create A Full Year Printable calendar'))
menu.add_option(category_name, 'blankyear', blankyear)
country = EnumeratedListOption(_('Country for holidays'), 0 )
for index, item in enumerate(_COUNTRIES):
country.add_item(index, item)
@ -1898,12 +1782,6 @@ def _get_marrital_status(family, db):
are_married = None
return are_married
def _has_webpage_extension(fname):
for ext in ('.html', '.htm' '.shtml', '.cgi', '.php', '.php3'):
if fname.endswith(ext):
return True
return False
# Simple utility list to convert Gramps day-of-week numbering to calendar.firstweekday numbering
_dow_gramps2iso = [ -1, calendar.SUNDAY, calendar.MONDAY, calendar.TUESDAY, calendar.WEDNESDAY, calendar.THURSDAY, calendar.FRIDAY, calendar.SATURDAY ]
@ -1923,6 +1801,91 @@ def _get_long_month_name(month):
def _get_short_month_name(month):
return _shrt_month[month]
def fill_day_list(event_date, holiday_list, bday_anniv_list):
"""
Will fill day_list and return it to its caller one_day()
holiday_list, or bday_anniv_list -- will always have something in it...
event_date -- date for this day_list
'day_list' - a combination of both dictionaries to be able to create one day
nyears, date, text, event --- are necessary for figuring the age or years married
for each year being created...
"""
# initialize day_list
day_list = []
# holiday on this day
if holiday_list > []:
# will force holidays to be first in the list
nyears = 0
for p in holiday_list:
for line in p.splitlines():
day_list.append((nyears, event_date, line, _('Holiday')))
# birthday/ anniversary on this day
if bday_anniv_list > []:
for date, text, event in bday_anniv_list:
# '...' signifies an incomplete date for an event. See add_day_item()
txt_str = None
if date != '...':
years = event_date.year - date.get_year()
# a birthday
if event == 'Birthday':
if years is 1:
txt_str = _('%(person)s, <em>%(age)d</em> year old') % {
'person' : text,
'age' : years}
elif years > 1:
txt_str = _('%(person)s, <em>%(age)d</em> years old') % {
'person' : text,
'age' : years}
# an anniversary
elif event == 'Anniversary':
txt_str = _('%(couple)s, <em>%(years)d</em> year anniversary') % {
'couple' : text,
'years' : years}
txt_str = '<span class="yearsmarried">%s</span>' % txt_str
if txt_str is not None:
day_list.append((years, date, txt_str, event))
# if there is more than one event on any given date, sort them based on years
# for birthdays and anniversaries.
# holidays will always appear first in the list.
if len(day_list) > 1:
day_list.sort()
return day_list
def get_marrital_status(family, db):
"""
Returns the marital status of two people, a couple
are_married will either be the marriage event or None if not married anymore
"""
are_married = None
for event_ref in family.get_event_ref_list():
event = db.get_event_from_handle(event_ref.ref)
if event.type in [gen.lib.EventType.MARRIAGE,
gen.lib.EventType.MARR_ALT]:
are_married = event
elif event.type in [gen.lib.EventType.DIVORCE,
gen.lib.EventType.ANNULMENT,
gen.lib.EventType.DIV_FILING]:
are_married = None
return are_married
#-------------------------------------------------------------------------
#
#

View File

@ -7,6 +7,7 @@
# Copyright (C) 2007-2009 Stephane Charette <stephanecharette@gmail.com>
# Copyright (C) 2008 Brian G. Matherly
# Copyright (C) 2008 Jason M. Simanek <jason@bohemianalps.com>
# Copyright (C) 2008-2009 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
@ -780,8 +781,8 @@ class IndividualListPage(BasePage):
# firstname column
of.write('\t\t\t<td class="ColumnName">')
url = self.report.build_url_fname_html(person.handle, 'ppl')
self.person_link(of, url,
_nd.display_given(person), person.gramps_id)
first_suffix = _get_prefix_suffix_name(person.gender, person.primary_name)
self.person_link(of, url, first_suffix, person.gramps_id)
of.write('</td>\n')
# birth column
@ -909,9 +910,8 @@ class SurnamePage(BasePage):
of.write('\t\t<tr>\n')
of.write('\t\t\t<td class="ColumnName">')
url = self.report.build_url_fname_html(person.handle, 'ppl', True)
self.person_link(of, url,
person.get_primary_name().get_first_name(),
person.gramps_id)
first_suffix = _get_prefix_suffix_name(person.gender, person.primary_name)
self.person_link(of, url, first_suffix, person.gramps_id)
of.write('</td>\n')
# birth column
@ -1352,6 +1352,20 @@ class SurnameListPage(BasePage):
'will lead to a list of individuals in the '
'database with this same surname.'))
alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
alpha_list = self.get_alpha_list(person_handle_list)
of.write('\t<table id="alpha_list"\n')
of.write('\t\t<tr>\n')
for ltr in alphabet:
of.write('\t\t\t<td class="ColumnLetter">')
if ltr in alpha_list:
of.write('<a href="#%s">%s</a></td>\n' % (ltr, ltr))
else:
of.write('%s</td>\n' % ltr)
of.write('\t\t</tr>\n')
of.write('\t</table>\n')
if order_by == self.ORDER_BY_COUNT:
of.write('\t<table id="SortByCount" class="infolist surnamelist">\n')
of.write('\t<thead>\n')
@ -1393,10 +1407,11 @@ class SurnameListPage(BasePage):
# the surname
letter = normalize('NFC', surname)[0].upper()
if letter != last_letter:
if letter is not last_letter:
last_letter = letter
of.write('\t\t<tr class="BeginLetter">\n')
of.write('\t\t\t<td class="ColumnLetter">%s</td>\n' % last_letter)
of.write('\t\t\t<td class="ColumnLetter">')
of.write('<a name="%s">%s</a></td>\n' % (last_letter, last_letter))
of.write('\t\t\t<td class="ColumnSurname">')
self.surname_link(of, name_to_md5(surname), surname)
of.write('</td>\n')
@ -1423,6 +1438,27 @@ class SurnameListPage(BasePage):
of.write('&nbsp;(%d)' % opt_val)
of.write('</a>')
def get_alpha_list(self, ind_list):
"""
Will get the alphabetical list for the surname list page
"""
alpha_list = []
for person_handle in ind_list:
person = self.report.database.get_person_from_handle(person_handle)
primary_name = person.get_primary_name()
surname = primary_name.get_surname()
if surname:
alpha_ltr = surname[0]
if alpha_ltr in alpha_list:
pass
else:
alpha_list.append(alpha_ltr)
alpha_list.sort()
return alpha_list
class IntroductionPage(BasePage):
def __init__(self, report, title):
@ -2757,6 +2793,7 @@ class NavWebReport(Report):
ind_list = self.database.get_person_handles(sort_handles=False)
self.progress.set_pass(_('Applying Filter...'), len(ind_list))
ind_list = self.filter.apply(self.database, ind_list, self.progress)
return ind_list
def copy_css(self, css_file):
@ -2791,6 +2828,7 @@ class NavWebReport(Report):
"""
local_list = sort_people(self.database, ind_list)
self.progress.set_pass(_("Creating surname pages"), len(local_list))
SurnameListPage(self, self.title, ind_list, SurnameListPage.ORDER_BY_NAME, self.surname_fname)
@ -3300,11 +3338,6 @@ class NavWebOptions(MenuReportOptions):
else:
self.__yearsafterdeath.set_available(True)
def make_default_style(self, default_style):
"""Make the default output style for the Web Pages Report."""
pass
# FIXME. Why do we need our own sorting? Why not use Sort.Sort?
def sort_people(db, handle_list):
sname_sub = {}
@ -3334,8 +3367,25 @@ def sort_people(db, handle_list):
slist.sort(lambda x, y: locale.strcoll(x[0], y[0]))
entries = [x[1] for x in slist]
sorted_lists.append((name, entries))
return sorted_lists
# Modified _get_regular_surname from WebCal.py to get prefix, first name, and suffix
def _get_prefix_suffix_name(sex, name):
""" Will get prefix and suffix for all people passed through it """
first = name.get_first_name()
prefix = name.get_surname_prefix()
if prefix:
first = prefix + " " + first
if sex == gen.lib.Person.FEMALE:
return first
else:
suffix = name.get_suffix()
if suffix:
first = first + ", " + suffix
return first
pmgr = PluginManager.get_instance()
pmgr.register_report(
name = 'navwebpage',