diff --git a/m4/codeset.m4 b/m4/codeset.m4 index a6e67ec49..223955b45 100644 --- a/m4/codeset.m4 +++ b/m4/codeset.m4 @@ -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 ], - [char* cs = nl_langinfo(CODESET);], + [char* cs = nl_langinfo(CODESET); return !cs;], am_cv_langinfo_codeset=yes, am_cv_langinfo_codeset=no) ]) diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 624a80785..c9ae1f7de 100644 --- a/m4/gettext.m4 +++ b/m4/gettext.m4 @@ -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 , 1995-2000. -dnl Bruno Haible , 2000-2003. +dnl Bruno Haible , 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 -]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 +$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 -]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 -]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 ]) - gt_CHECK_DECL(_snwprintf, [#include ]) - - 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 ]) - gt_CHECK_DECL(fgets_unlocked, [#include ]) - gt_CHECK_DECL(getc_unlocked, [#include ]) - - 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 ], - [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 ], [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"]) ]) diff --git a/m4/iconv.m4 b/m4/iconv.m4 index 654c41589..66bc76f48 100644 --- a/m4/iconv.m4 +++ b/m4/iconv.m4 @@ -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 @@ -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 +#include +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]) diff --git a/po/nl.po b/po/nl.po index 03dc3303a..dafc6c95b 100644 --- a/po/nl.po +++ b/po/nl.po @@ -940,17 +940,17 @@ msgid "" " Surname - surname (last name)\n" " Title - title (Dr., Mrs.)\n" " Prefix - prefix (von, de, de la)\n" -" Suffix - suffix (Jr., Sr.)\n" -" Call - call name, or nickname\n" -" Common - call name, otherwise first part of Given\n" -" Patronymic - patronymic (father's name)\n" -" Initials - persons's first letters of given names\n" -"\n" -"Use the same keyword in UPPERCASE to force to upper. Parentheses and commas\n" +" Suffix - suffix (Jr., Sr.)" +" Call - call name, or nickname" +" Common - call name, otherwise first part of Given" +" Patronymic - patronymic (father's name)" +" Initials - persons's first letters of given names" +"" +"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" -" \n" +"De volgende sleutelwoorden zullen vervangen worden door:" +" " " Voornaam -voornaam\n" " Achternaam -achternaam\n" " Titel -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" diff --git a/src/data/NWeb-Print_Default.css b/src/data/NWeb-Print_Default.css deleted file mode 100644 index 1198d73d8..000000000 --- a/src/data/NWeb-Print_Default.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Basic-Ash.css b/src/data/NWeb-Screen_Basic-Ash.css deleted file mode 100644 index 68a12460a..000000000 --- a/src/data/NWeb-Screen_Basic-Ash.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Basic-Cypress.css b/src/data/NWeb-Screen_Basic-Cypress.css deleted file mode 100644 index acdb3337f..000000000 --- a/src/data/NWeb-Screen_Basic-Cypress.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Basic-Lilac.css b/src/data/NWeb-Screen_Basic-Lilac.css deleted file mode 100644 index 381cde707..000000000 --- a/src/data/NWeb-Screen_Basic-Lilac.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Basic-Peach.css b/src/data/NWeb-Screen_Basic-Peach.css deleted file mode 100644 index 25bc3ec5e..000000000 --- a/src/data/NWeb-Screen_Basic-Peach.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Basic-Spruce.css b/src/data/NWeb-Screen_Basic-Spruce.css deleted file mode 100644 index 2a234a7a7..000000000 --- a/src/data/NWeb-Screen_Basic-Spruce.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Mainz.css b/src/data/NWeb-Screen_Mainz.css deleted file mode 100644 index 1a5f2cf19..000000000 --- a/src/data/NWeb-Screen_Mainz.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Nebraska.css b/src/data/NWeb-Screen_Nebraska.css deleted file mode 100644 index 01f3b37b7..000000000 --- a/src/data/NWeb-Screen_Nebraska.css +++ /dev/null @@ -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 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 . ----------------------------------------------------------------------------- - - -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; -} diff --git a/src/data/NWeb-Screen_Sharp.css b/src/data/NWeb-Screen_Sharp.css deleted file mode 100644 index c2afee834..000000000 --- a/src/data/NWeb-Screen_Sharp.css +++ /dev/null @@ -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 -*/ diff --git a/src/data/Web_Evergreen.css b/src/data/Web_Evergreen.css deleted file mode 100644 index 8524560fc..000000000 --- a/src/data/Web_Evergreen.css +++ /dev/null @@ -1,1352 +0,0 @@ -/* ----------------------------------------------------------------------------- -GRAMPS Cascading Style Sheet -Style Name: Evergreen State *Washington* -Style Author: Jason Simanek (2008) -Modified by Rob G. Healey, June 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 to learn more! - -License ----------------------------------------------------------------------------- -Copyright 2008 Rob G. Healey -This file is part of the GRAMPS program. - -GRAMPS is free software: you can redistribute it and/or modify it under the -terms of the GNU General Public License as published by the Free Software -Foundation, version 2 of the License. - -GRAMPS is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with -GRAMPS. If not, see . ----------------------------------------------------------------------------- - - -Color Palette ----------------------------------------------------------------------------- -green darkest #426E40 -green dark #139400 -green #1ED416 -green light #6AF364 -green lightest #D8F3D6 -white #FAFAFA -black #000 - -====== Ancestor Graph Color Scheme ===== -Males = Blue #1E90FF -Females = Pink #F3C; -Unknown = black #000 ----------------------------------------------------------------------------- - - - ---------------------------------------------------------------------------- - General Element Styles - ---------------------------------------------------------------------------- -*/ -body { - font-family:Georgia, serif; - margin:0; - padding:0; -} -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 { - width:965px; - margin:0 auto; - padding-bottom:.5em; - background-color:#FAFAFA; - color:#426E40; -} -.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:normal 2em/1.2em serif; -} -h2 { - display:none; -} -h3 { - font-size:2em; - line-height:1.3em; - font-weight:normal; - font-style:italic; - text-align:center; - margin:0; - color:#426E40; - padding:.3em 20px 0 20px; - border-bottom:double 4px #000; -} -h4 { - font-size:1em; - font-weight:normal; - font-style:italic; - color:#426E40; - text-align:center; - margin:0; - padding:.5em 0 .2em 0; - border-bottom:dashed 1px #000; -} -h5, h6 { - font-style:italic; - margin:1.3em 0 .5em 1em; -} -p { - font:normal 1.1em/1.4em serif; -} -p#description { - max-width:800px; - margin:0; - padding:1em 20px; - background-color:#FAFAFA; -} -a:link { - color:#7D5925; - text-decoration:none; -} -a:hover, a:active { - background-color:#426E40; -} -a:visited { - text-decoration:none; -} -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; - color:#426E40; -} -ol li a:hover { - text-decoration:none; - background-color:#426E40; - color:#FAFAFA; -} -a { - color:#426E40; - text-decoration:none; -} -a:visited { - color:#426E40; -} -a:hover { - background-color:#426E40; - color:#FAFAFA; - text-decoration:none; -} - -/* - ------------------------------------------------------------------------------ - Header Styles - ------------------------------------------------------------------------------ -*/ -#header { - width:100%; - height:2cm; - padding:0; - margin:0; - background-color:#22822A; - border-top:solid 4px #D30; - border-bottom:solid 2px #D30; -} -#SiteTitle { - font:italic 2em serif; - color:#FAFAFA; - margin:0; - padding:0; - float:center; - text-align:center; - vertical-align:middle; -} -#GRAMPSinfo { - font:normal .8em/1.2em sans-serif; - float:right; - margin:0; - padding:.7em .8em; - color:#FAFAFA; -} -#GRAMPSinfo a { - color:#FAFAFA; - text-decoration:none; -} -#GRAMPSinfo a:hover { - background-color:#426E40; -} -.grampsid { - font:normal .8em/1.2em monospace; - color:#426E40; -} -p#user_header { - font-size:1.3em; - text-align:left; - color:#FAFAFA; - margin:0; - padding:.2em 0 .6em 20px; - background-color:#139400; -} - -/* -************************************************************************************************** - Navigation Menu Elements -************************************************************************************************** -*/ -#navigation { - width:100%; - height:30px; - list-style-type:none; - text-align:center; - vertical-align:middle; - font-size:10px; - margin:0; - padding:0; - background-color:#6AF364; - border-top:solid 4px #D30; - border-bottom:solid 4px #D30; -} -#navigation ul li { - display:inline; - width:2em; - text-align:center; - font-size:10px; - padding:0; - margin:0; -} -#navigation ul li a { - font-size:14px; - color:#000; - text-decoration:none; - margin:0; - padding:4px; -} -#navigation ul li a:hover { - background-color:#000; - color:#FAFAFA; -} -#navigation ul li#CurrentSection a { - border-right:solid 2px #D30; - border-left:solid 2px #D30; - bborder-top:solid 4px #D30; - border-bottom:solid 1px #FAFAFA; - font-family:Georgia, serif; - font-weight:bold; - font-style:italic; - font-size:16px; - padding:4px; - text-decoration:none; - background-color:#FAFAFA; - color:#426E40; -} -#navigation ul li#CurrentSection a:hover { - background-color:#426E40; - color:#FAFAFA; -} - -/* -************************************************************************************************** - Calendar Elements -************************************************************************************************** -*/ -.calendar { - empty-cells:show; - width:100%; - font-size:1em; - font-weight:normal; - margin:0; - padding:0; - background-color:#FAFAFA; - border:none; - border-collapse:collapse; -} -.calendar thead tr th { - width:12%; - font-weight:normal; - text-align:center; - text-transform:uppercase; - padding:.2em 0 .1em 0; - background-color:#6AF364; -} -.calendar thead tr th.monthName { - font-style:italic; - width:100%; - font-size:2em; - line-height:100%; - text-transform:none; - padding:.3em 0 .2em 0; - background-color:#FAFAFA; - color:#426E40; -} -.calendar thead tr th.weekend, .calendar thead tr th.weekday { - background-color:#426E40; - color:#FAFAFA; - border:solid 1px #6AF364; -} -.week3, .week4, .week5 { - border-bottom:solid 1px #000; -} -.calendar tbody tr td { - vertical-align:top; - height:10em; - padding:0; - border-width:1px 0 0 1px; - border-style:solid; - border-color:#000; -} -.calendar tbody tr td.previous, .calendar tbody tr td.next { - background-color:#D8F3D6; -} -.calendar tbody tr td.weekday { - background-color:#FAFAFA; -} -.calendar tbody tr td.weekend { - background-color:#D8F3D6; -} -.calendar tbody tr td.saturday { - border-right:solid 1px #000; -} -.calendar tbody tr td.sunday { - border-left:solid 1px #000; -} -.calendar tbody tr td#emptyDays { - border:solid 1px #000; -} -.calendar tbody tr td ul { - list-style:none; - font-family:sans-serif; - font-size:.8em; - margin:2.3em 0 .3em 0; - padding:0; -} -.calendar tbody tr td ul li { - display:block; - width:92%; - margin:0 4%; - padding:.2em 0 .3em 0; - border-top:dashed 1px #000; -} -.calendar tbody tr td ul li em { - font-style:normal; - color:#0A65B5; -} -.calendar tbody tr td ul li span.yearsmarried em { - color:#426E40; -} -.calendar tfoot tr td { - padding:.7em 5% 1em 5%; - background-color:#6AF364; -} -.calendar tfoot tr td.note { - border-top:solid 2px #D30; - background-color:#000; - color:#FAFAFA; -} -.date { - float:right; - display:block; - width:1.8em; - font-size:1.2em; - line-height:100%; - text-align:center; - background-color:#6AF364; - color:#000; - margin:0 0 0 .5em; - padding:.2em 0; -} -.previous span.date, .next span.date { - background-color:#000; - color:#FAFAFA; -} -.highlight div.date { - background-color:#1E90FF; - color:#FAFAFA; -} - -/* - ------------------------------------------------------------------------------ - Main Table Styles - ------------------------------------------------------------------------------ -*/ -table.infolist { - width:100%; - margin:0; - padding:0; -} -table.infolist tr th { - font:normal 1.1em/1.2em serif; - background-color:#1ED416; - color:#FAFAFA; - margin:0; - padding:.2em 10px; - border-bottom:double 4px #426E40; -} -table.infolist tr th a { - color:#426E40; - text-decoration:none; -} -table.infolist tr th a:hover { - background-color:#426E40; - color:#FAFAFA; -} -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; - color:#426E40; -} -table.infolist tr td a:hover { - background-color:#426E40; - color:#FAFAFA; -} -table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td { - border-top:solid 2px #6AF364; -} -table.infolist tr td.ColumnLetter { - width:3%; - text-align:center; -} -table.infolist tbody tr td.ColumnBirth { - font-size:.9em; - color:#426E40; - width:10%; -} -table.infolist tbody tr td.ColumnDeath { - font-size:.9em; - width:10%; -} -table.infolist tbody tr td.ColumnRowLabel { - width:2%; - color:#426E40; - 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 { - color:#426E40; - display:block; -} -table.infolist tbody tr td.ColumnParents span.mother:before { - content:"+ "; -} - -/* ------------------------------------------------------------------------------- - Surnames Styles ------------------------------------------------------------------------------- -*/ -#Surnames { - font:normal .5cm sans-serif; -} -#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:#FAFAFA; - text-align:left; - text-decoration:none; - padding:.2em 10px; -} -table.surnamelist tr th:hover { - background:none; -} -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:#6AF364; -} -table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after { - content:" ↓"; -} -table#SortByName tbody tr td.ColumnSurname { - background-color:#FAFAFA; - padding:0; -} -table#SortByName tbody tr td.ColumnSurname a { - display:block; - padding:.1em 10px .3em 10px; -} -table#SortByCount tbody tr td.ColumnQuantity { - background-color:#FAFAFA; -} -table.surnamelist tbody tr td.ColumnSurname:hover, table#SortByName tbody tr td.ColumnSurname:hover { - background-color:#6AF364; - color:#FAFAFA; -} -table.surname { - border-bottom:solid 2px #6AF364; -} -table.surname tbody tr td { - border-bottom:dashed 1px #000; -} -table.surname thead tr th.ColumnName { - width:20%; - padding-left:20px; -} -table.surname tbody tr td.ColumnName { - width:20%; - padding:0; - background-color:#FAFAFA; -} -table.surname tbody tr td.ColumnName a { - display:block; - padding:.6em 10px .6em 20px; -} -table.surname tbody tr td.ColumnName a span.grampsid { } - -table.surname tbody tr td.ColumnName:hover { - background-color:#426E40; - color:#FAFAFA; -} -table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents { - width:25%; -} - -/* ------------------------------------------------------------------------------- - Individuals Styles ------------------------------------------------------------------------------- -*/ -#Individuals { - font:normal .5cm sans-serif; -} -#Individuals table.individuallist { - border-bottom:solid 2px #426E40; -} -#Individuals table.individuallist tbody tr td { - border-bottom:dashed 1px #000; -} -#Individuals table.individuallist tbody tr td a { - text-decoration:none; - color:#426E40; -} -#Individuals table.individuallist tbody tr td a:hover { - background-color:#426E40; - color:#FAFAFA; -} -table.individuallist tbody tr td.ColumnSurname a { - text-decoration:none; - color:#426E40; -} -table.individuallist tbody tr td.ColumnSurname a:hover, table.individuallist tbody tr td.ColumnSurname a:active { - background-color:#426E40; - cursor:default; - color:#FAFAFA; -} -table.individuallist tbody tr td.ColumnName { - padding:0; - background-color:#FAFAFA; -} -table.individuallist tbody tr td.ColumnName a { - display:block; - padding:.6em 10px; - vertical-align:middle; - color:#426E40; -} -table.individuallist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; - text-decoration:none; -} -#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; - color:#FAFAFA; -} -#IndividualDetail table.infolist tr td a:hover { - background-color:#426E40; - text-decoration:none; - color:#FAFAFA; -} -#IndividualDetail table.infolist tbody tr td.ColumnAttribute { - width:10%; - color:#426E40; -} - -/* ------------------------------------------------------------------------------- - Sources Styles ------------------------------------------------------------------------------- -*/ -#Sources { - font:normal .5cm sans-serif; -} -#Sources table.infolist tbody tr td.ColumnRowLabel { - padding-bottom:0; -} -#Sources table.infolist tbody tr td.ColumnName { - background-color:#FAFAFA; - padding:0; -} -#Sources table.infolist tbody tr td.ColumnName a { - font-size:.9em; - padding:.1em 10px .3em 10px; - color:#426E40; -} -#Sources table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; -} -#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; - background-color:#FAFAFA; - color:#426E40; -} -#Places table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; -} - -/* ------------------------------------------------------------------------------- - 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 { - background-color:#FAFAFA; - padding:0; -} -#Gallery table.infolist tbody tr td.ColumnName a { - padding:.1em 10px .3em 10px; - color:#426E40; -} -#Gallery table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; -} -#GalleryNav { - font:normal 1em/1em sans-serif; - margin:1em 0 0 0; - padding:1.2em 0 1.4em 0; - text-align:center; -} -#GalleryNav a { - text-decoration:none; - border:solid 2px #426E40; - color:#426E40; -} -#GalleryNav a:hover { - background-color:#426E40; - color:#FAFAFA; -} -#GalleryNav a#Previous { - padding:.5em .7em .3em .7em; -} -#GalleryNav a#Next { - padding:.5em 1.9em .3em 1.9em; -} -#GalleryPages { - margin:0 1em; -} -#GalleryCurrent { - font-family:Georgia, sans-serif; - font-size:2em; - font-weight:bold; - font-style:italic; -} -#GalleryTotal { - font-weight:normal; -} -#GalleryDisplay { - text-align:center; -} -#GalleryDisplay img { - margin:0 auto; - border:solid 2px #426E40; -} -#GalleryDetail div#summaryarea{ - margin:0; - padding:2em 0 0 0; -} -#GalleryDetail div#summaryarea h3 { - font-family:Georgia, serif; - font-size:2em; - font-weight:bold; - font-style:italic; - text-align:center; -} -#GalleryDetail div h4 { - margin-top:0; -} -#GalleryDetail div#summaryarea table.gallery { - padding-bottom:0; - margin-top:1.5em; - margin-bottom:0; - border-style:solid; - border-width:8px 0 0 0; - border-color:#6AF364; -} - -/* ------------------------------------------------------------------------------- - Contact Styles ------------------------------------------------------------------------------- -*/ -#Contact #summaryarea { - width:500px; - margin:0 auto; - padding:3em; -} -#Contact #summaryarea img { - float:right; - margin:20px; -} -#researcher { - font:normal 1.5em/1.4em serif; - margin-top:.3em; -} -#researcher h3 { - font:normal 1.2em/1.4em serif; - padding:0; - float:left; - text-align:center; -} -#researcher span { - ont-family:serif; - font-size:.9em; - font-size-adjust:none; - font-stretch:normal; - font-style:normal; - font-variant:normal; - font-weight:normal; - line-height:1.4em; - display:block; - float:left; - margin-right:0.4em; -} -#streetaddress { - background-color:#139400; - color:#FAFAFA; - width:80%; -} -#city:after { - content:","; -} -#country { - clear:left; -} -#email { - clear:left; - color:#FAFAFA; -} -#email a { - text-decoration:none; - color:#426E40; -} -#email a:hover { - background-color:#426E40; - color:#FAFAFA; -} - -/* ------------------------------------------------------------------------------- - 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; -} -div.subsection h4 { - margin-bottom:.5em; -} -div.subsection table, div.subsection ol, div.subsection p { - font-size:.9em; -} -div.subsection a { - text-decoration:none; - color:#426E40; -} -div.subsection a:hover { - background-color:#426E40; - color:#FAFAFA; -} -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; - color:#426E40; -} -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 2px #426E40; - color:#426E40; -} -#IndividualDetail div#events table.infolist tbody tr td.ColumnValue { - border-bottom:solid 2px #000; - color:#426E40; -} -#IndividualDetail div#events table.infolist tbody tr td.ColumnValue a { - text-decoration:none; - color:#426E40; -} -#IndividualDetail div#events table.infolist tbody tr td.ColumnValue a:hover { - background-color:#426E40; - color:#FAFAFA; -} -table.infolist tbody tr td.ColumnValue p { - font-family:sans-serif; - 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%; - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue { - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue a { - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue a:hover { - color:#FAFAFA; -} -div#parents table.infolist tbody tr td.ColumnValue ol { - margin:0; - padding-top:0; -} -div#parents table.infolist tbody tr td.ColumnValue ol li { - color:#426E40; - padding-bottom:.2em; -} -div#parents table.infolist tbody tr td.ColumnValue ol li a:hover { - color:#FAFAFA; -} - -/* ------------------------------------------------------------------------------- - Individuals Styles : Families ------------------------------------------------------------------------------- -*/ -div#families table.infolist { - margin-top:.5em; - color:#426E40; -} -div#families table.infolist tbody tr td.ColumnValue a { - color:#426E40; -} -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; -} -div#families table.infolist tbody tr td.ColumnValue ol li a { - color:#426E40; - text-decoration:none; -} -div#families table.infolist tbody tr td.ColumnValue ol li a:hover { - background-color:#426E40; - color:#FAFAFA; -} - -/* ------------------------------------------------------------------------------- - Individuals Styles : Addresses ------------------------------------------------------------------------------- -*/ -div#addresses { - padding-bottom:0; - color:#426E40; -} -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 2px #6AF364; - color:#426E40; -} -div#addresses table.infolist tbody tr td.ColumnValue { - border-bottom:solid 2px #6AF364; -} - -/* --------------------------------------------------------------------------------- - 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 2px #000; -} -#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 - ------------------------------------------------------------------------------ -*/ -div#References { - background-color:#1ED416; - color:#FAFAFA; -} -h4 { - font:italic .8cm serif; -} -li a { - font:bold .5cm serif; - background:none; - color:#426E40; -} -li a:hover { - background-color:#426E40; - color:#FAFAFA; -} - -/* ---------------------------------------------------------------------------------- - 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:#FAFAFA; - border-bottom:solid .7em #000; -} -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:#426E40; - padding-left:20px; -} - -/* --------------------------------------------------------------------------------- - SubSection Styles : Weblinks --------------------------------------------------------------------------------- -*/ - -/* --------------------------------------------------------------------------------- - Individuals Styles : Pedigree ---------------------------------------------------------------------------------- -*/ -div#pedigree { - padding-bottom:1.2em; -} -#pedigree a { - text-decoration:none; - color:#426E40; -} -#pedigree a:hover { - background-color:#426E40; - color:#FAFAFA; -} -.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:#1ED416; -} -.spouse:before { - content: "+ "; -} -.thisperson { - font-weight:bold; -} - -/* ---------------------------------------------------------------------------------- - Individuals Styles : Ancestors Tree ---------------------------------------------------------------------------------- -*/ -#tree { - page-break-before:always; - margin:0; - padding:0; -} -#treeContainer { - position:relative; - z-index:1; -} -.boxbg { - font:normal .3cm sans-serif; - position:absolute; - margin:0; - padding:0; -} -.boxbg div { - position:relative; - z-index:10; - display:block; - color:#FAFAFA; - text-align:center; - vertical-align:middle; - text-decoration:none; - margin:5px; - width:160px; - padding:5px 5px 7px 5px; -} -.boxbg div a { - position:relative; - z-index:10; - display:block; - text-align:center; - vertical-align:middle; - text-decoration:none; - margin:5px; - width:160px; - padding:5px 5px 7px 5px; - color:#FAFAFA; -} -.boxbg div:hover { - position:relative; - z-index:999; - font-size:1.3em; - width:210px; - padding:10px 4px 12px 4px; - background-color:#153282; - color:#FAFAFA; -} -.boxbg div a:hover { - position:relative; - z-index:999; - font-size:1em; - width:210px; - color:#FAFAFA; -} -.male { - background-color:#1E90FF; - color:#FAFAFA; -} -.male div { - background-color:#1E90FF; - color:#FAFAFA; -} -.female { - background-color:#F3C; - color:#FAFAFA; -} -.female div { - background-color:#F3C; - color:#FAFAFA; -} -.unknown { - background-color:#000; - color:#FAFAFA; -} -.unknown div { - background-color:#000; - color:#FAFAFA; -} -.shadow { - display:none; -} -#tree div div.bvline { - position:absolute; - z-index:2; - height:5px; - margin:0 0 0 16px; - padding:0; - background-color:#426E40; -} -#tree div div.bhline { - position:absolute; - z-index:2; - width:5px; - margin:0 0 0 16px; - padding:0; - background-color:#426E40; -} -.ghline, .gvline { - display:none; -} - -/* - ------------------------------------------------------------------------------ - Footer Styles - ------------------------------------------------------------------------------ -*/ -#footer { - width:100%; - height:1.5cm; - background-color:#139400; - color:#FAFAFA; - font-size:14px; - margin:0; - padding:0; - clear:both; - border-top:solid 2px #D30; - border-bottom:solid 4px #D30; -} -#footer a { - text-decoration:none; - color:#FAFAFA; -} -#footer a:hover { - text-decoration:none; - background-color:#426E40; -} -#footer img { - border:0; - margin:0; - background:none; -} -#footer p#createdate { - float:left; - width:40%; - text-align:left; - margin-left:10px; -} -#footer p#copyright { - float:right; - width:40%; - text-align:right; - margin-right:10px; - color:#FAFAFA; -} -#footer p#copyright img { - margin-right:10px; -} -#footer p#quality { - font-size:.8em; - float:center; - width:80%; - text-align:center; -} -#footer p#quality img { - float:center; -} -#user_footer { - background-color:#1ED416; - width:70%; - float:left; - margin:1em; -} -#user_footer p { - font:normal 1em/1.2em serif; - color:#FAFAFA; - margin:0; - padding:0; -} diff --git a/src/data/Web_Simply-Red.css b/src/data/Web_Simply-Red.css deleted file mode 100644 index 6280fb9b9..000000000 --- a/src/data/Web_Simply-Red.css +++ /dev/null @@ -1,1126 +0,0 @@ -/* ----------------------------------------------------------------------------- -GRAMPS Cascading Style Sheet -Style Name: Simply Red -Style Author: Jason Simanek (2008) -Modified July 2008 by Rob G. Healey -$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 to learn more! - -License ----------------------------------------------------------------------------- -Copyright 2008 Rob G. Healey -This file is part of the GRAMPS program. - -GRAMPS is free software: you can redistribute it and/or modify it under the -terms of the GNU General Public License as published by the Free Software -Foundation, version 2 of the License. - -GRAMPS is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with -GRAMPS. If not, see . ----------------------------------------------------------------------------- - - -Color Palette ----------------------------------------------------------------------------- -green darkest 426e40 -green dark #C47170 -green #F33 -blue #DD9091 -green very light #F6F2EE -gray #D3D3D3 -green #5D835F -black #000 -white #FAFAFF - -###############################Sex based color cheme ############################ -Males #1E90FF -fAMALES #F3C -uNKNOWN #000 ----------------------------------------------------------------------------- -*/ - -/* ---------------------------------------------------------------------------- */ -/* 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:#C47170; - margin:0; - padding:.2em 0 .2em 20px; - background-color:#FAFAFA; - border-bottom:solid 1px #F33; -} -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 { - color:#000; - text-decoration:none; -} -a:hover, a:active { - background-color:#DD9091; - color:#FAFAFA; - text-decoration:none; -} -a:visited { - color:#903; - text-decoration:none; -} - -/* ------------------------------------------------------------------------------- - Header Styles ------------------------------------------------------------------------------- -*/ -#header { - margin:0; - padding:0; - background-color:#D30; - height:2cm; -} -#SiteTitle { - font:italic .9cm #FAFAFA; - float:center; - text-align:center; - color:#FAFAFA; - margin:0 auto; - padding:0; - -} -#header p { - font-weight:bold; - color:#F33; - margin:0; -} -#GRAMPSinfo { - font-size:14px; - line-height:120%; - float:right; - margin:10px; - padding:0; - color:#FAFAFA; -} -#GRAMPSinfo a { - color:#FAFAFA; -} -.grampsid { - font:normal .8em/1.2em monospace; - color:#903; -} - -/* -------------------------------------------------------------------------------------------------- - Navigation Elements -------------------------------------------------------------------------------------------------- -*/ - -#navigation { - margin:0; - background-color:#C1B398; -} -#navigation ul { - list-style:none; - min-width:770px; - height:32px; - margin:0; - padding:0 0 0 12px; - border-bottom:1px solid #903; -} -#navigation ul li { - margin:0; - padding:0; - float:left; -} -#navigation ul li a { - display:block; - font-size:16px; - line-height:100%; - font-weight:bold; - text-decoration:none; - margin:0; - padding:5px; - color:#000; -} -#navigation ul li a:hover { - background-color:#C47170; - COLOR:#fafafa; -} -#navigation ul li#CurrentSection a { - font-size:16px; - border-top:solid 1px #F33; - border-right:solid 1px #F6F2EE; - border-left:solid 1px #F6F2EE; - border-bottom:solid 1px #F6F2EE; - background-color:#FAFAFA; - color:#903; -} -#navigation ul li#CurrentSection a:hover { - background-color:#000; - color:#FAFAFA; -} - -/* -************************************************************************************************** - Calendar Elements -************************************************************************************************** -*/ -.calendar { - empty-cells:show; - width:100%; - font-size:1em; - font-weight:normal; - margin:0; - padding:0; - border:none; - border-collapse:collapse; -} -.calendar thead tr th { - width:14%; - text-align:center; - text-transform:uppercase; - padding:.2em 0 .1em 0; -} -.calendar thead tr th.monthName { - font-style:italic; - width:100%; - font-size:2em; - line-height:100%; - text-transform:none; - padding:.3em 0 .2em 0; - background-color:#FAFAFA; - color:#C47170; -} -.calendar thead tr th.weekend, .calendar thead tr th.weekday { - border:solid 1px #000; - background-color:#C47170; - color:#FAFAFA; -} -.calendar thead tr th.saturday, .calendar thead tr th.sunday { } - -.calendar tbody tr td { - vertical-align:top; - height:10em; - padding:0; - border-width:1px 0 0 1px; - border-style:solid; - border-color:#903; -} -.calendar tbody tr td.weekday { - background-color:#FAFAFA; -} -.calendar tbody tr td.weekend { - background-color:#CDEFAA; -} -.calendar tbody tr td.saturday { - border-right:solid 1px #000; - } -.calendar tbody tr td.sunday { - border-left:solid 1px #000; -} -.calendar tbody tr td#emptyDays { - background-color:#D3D3D3; - line-height:100%; - border:solid 1px #903; -} -.calendar tbody tr td ul { - list-style:none; - font-family:sans-serif; - font-size:.8em; - margin:2.3em 0 .3em 0; - padding:0; -} -.calendar tbody tr td ul li { - display:block; - width:92%; - margin:0 4%; - padding:.2em 0 .3em 0; - border-top:dashed 1px #000; -} -.calendar tbody tr td ul li em { - font-style:normal; - color:#0A65B5; -} -.calendar tbody tr td ul li span.yearsmarried em { - color:#903; -} -.calendar tfoot tr td { - padding:.7em 5% 1em 5%; -} -.calendar tfoot tr td.note { - border-top:solid 2px #F33; - background-color:#000; - vertical-align:middle; - font-size:.8em; - height:1cm; - color:#FAFAFA; -} -.date { - float:right; - display:block; - width:1.8em; - font-size:1.2em; - line-height:100%; - text-align:center; - color:#000; - margin:0 0 0 .5em; - padding:.2em 0; - background-color:#C1B900; -} -.highlight div.date { - background-color:#1E90FF; - color:#FAFAFA; -} - -.next span.date, .previous span.date { - background-color:#903; - color:#FAFAFA; -} - -/* ------------------------------------------------------------------------------- -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:#DD9091; - border-top:solid 1px #F33; - border-bottom:solid 1px #F33; -} -table.infolist tr th:first-child { - border-left:solid 1px #F33; -} -table.infolist tr th:last-child { - border-right:solid 1px #F33; -} -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 #DD909A; -} -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 #DD9091; - 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 { - background-color:#DD9091; - color:#FAFAFA; - padding:0; -} -table.surnamelist thead tr th.ColumnQuantity { - background-color:#DD9091; - color:#FAFAFA; - 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:#DD9091; - color:#FAFAFA; -} -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:#FAFAFA; -} -table.infolist tbody tr td.ColumnSurname a { - padding:.1em 10px; -} -table.infolist tbody tr td.ColumnSurname a:hover { - padding:.1em 10px; - background-color:#DD9091; -} -table.surname { - border-bottom:solid 1px #5D835F; -} -table.surname tbody tr td { - border-bottom:dashed 1px #DD9091; -} -table.surname tbody tr td.ColumnName { - width:20%; - padding:0; - background-color:#DD9091; -} -table.surname tbody tr td.ColumnName a { - display:block; - padding:.6em 10px .6em 20px; -} -table.surname tbody tr td.ColumnName a:hover { - background-color:#DD9091; -} -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 #F33; -} -#Individuals table.individuallist tbody tr td { - border-bottom:dashed 1px #DD9091; -} -#Individuals table.individuallist tbody tr td a:hover { - background-color:#DD9091; - text-decoration:none; - color:#FAFAFA; -} -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 { - background-color:#FAFAFA; - padding:0; -} -table.individuallist tbody tr td.ColumnName a { - display:block; - padding:.6em 10px; -} -table.individuallist tbody tr td.ColumnName a:hover { } - -#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:#F33; - 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; -} -#SourceDetail div#references ol li a:hover { - background-color:#DD9091; - text-decoration:none; -} - -/* ------------------------------------------------------------------------------ */ -/* 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 { - color:#FAFAFA; -} -#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:#FAFAFA; - border:solid 1px #DD909A; -} -#GalleryNav a:hover { - background-color:#DD9091; - color:#FAFAFA; -} -#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 #F33; -} -#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:#FAFAFA; - border-style:solid; - border-width:8px 0 0 0; - border-color:#DD9091; -} - -/* ------------------------------------------------------------------------------ */ -/* Contact Styles */ -/* ------------------------------------------------------------------------------ */ -#Contact #summaryarea { - width:500px; - margin:2em auto; - padding:3em; - background-color:#F6F2EE; - border:solid 1px #F33; -} -#Contact #summaryarea img { - float:right; - margin:0; - padding:0; - border:solid 1px #F33; -} -#researcher { - margin-top:.3em; -} -#researcher h3 { - padding:0; -} -#researcher span { - display:block; - float:left; - margin-right:.4em; -} -#streetaddress { - background-color:#208BAA; - color:#FAFAFA; - width:85%; -} -#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 #DD9091; -} -div#events table.infolist tbody tr td.ColumnValue { - border-bottom:dashed 1px #DD9091; -} -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 #DD9091; -} -div#addresses table.infolist tbody tr td.ColumnValue { - border-bottom:dashed 1px #DD9091; -} - -/* 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 #F33; -} -#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 { - font:normal .3cm sans-serif; - position:absolute; - margin:0; - padding:0; -} -.boxbg div { - position:relative; - z-index:10; - display:block; - color:#FAFAFA; - text-align:center; - vertical-align:middle; - text-decoration:none; - margin:5px; - width:160px; - padding:5px 5px 7px 5px; -} -.boxbg div a { - position:relative; - z-index:10; - display:block; - text-align:center; - vertical-align:middle; - text-decoration:none; - margin:5px; - width:160px; - padding:5px 5px 7px 5px; - color:#FAFAFA; -} -.boxbg div:hover { - position:relative; - z-index:999; - font-size:1.3em; - width:210px; - padding:10px 4px 12px 4px; - background-color:#153282; - color:#FAFAFA; -} -.boxbg div a:hover { - position:relative; - z-index:999; - font-size:1em; - width:210px; - color:#FAFAFA; -} -.male { - background-color:#1E90FF; - color:#FAFAFA; -} -.male div { - background-color:#1e90ff; - color:#FAFAFA; -} -.female { - background-color:#F3C; - color:#FAFAFA; -} -.female div { - background-color:#F3C; - color:#FAFAFA; -} -.unknown { - background-color:#000; - color:#FAFAFA; -} -.unknown div { - background-color:#000; - color:#FAFAFA; -} -.shadow { - -} -#tree div div.bvline { - position:absolute; - z-index:2; - height:3px; - margin:0 0 0 16px; - padding:0; - background-color:#903; -} -#tree div div.bhline { - position:absolute; - z-index:2; - width:2px; - margin:0 0 0 16px; - padding:0; - background-color:#903; -} -#tree div div.gvline { - position:absolute; - z-index:1; - height:3px; - margin:0 0 0 14px; - padding:0; - background-color:#903; -} -#tree div div.ghline { - position:absolute; - z-index:1; - width:2px; - margin:0 0 0 14px; - padding:0; - background-color:#903; -} - -/* ------------------------------------------------------------------------------ */ -/* Footer Styles */ -/* ------------------------------------------------------------------------------ */ -#footer { - width:100%; - height:1.5cm; - color:#C47170; - margin:0; - padding:0; - clear:both; - background-color:#D30; - border-top:solid 1px #DD909A; -} -#footer img { - border:0; -} -#footer p#copyright { - margin:1em; - float:right; - color:#FAFAFA; -} -#footer p#copyright p { - margin:0; -} -#footer p#copyright img { - margin-right:10px; - float:right; -} -#footer p#createdate { - float:left; - margin-left:10px; - color:#FAFAFA; -} -#footer p#createdate a { - color:#FAFAFA; - text-decoration:none; -} -#footer p#quality { - float:center; - text-align:center; - color:#FAFAFA; -} -#footer p#quality a { - color:#FAFAFA; - text-decoration:none; -} -#footer p#quality img { - float:center; -} -#user_footer { - width:70%; - float:left; - margin:1em; -} -#user_footer p { - margin:0; -} diff --git a/src/data/Web_Visually.css b/src/data/Web_Visually.css index d26a1c394..5f2e9db7e 100644 --- a/src/data/Web_Visually.css +++ b/src/data/Web_Visually.css @@ -3,61 +3,62 @@ Copyright Holder and License ************************************************************************************************** GRAMPS Cascading Style Sheet -Style Name: Evergreen State *Washington* for the Visually Impaired +Style Name: Visually Impaired Stylesheet Style Author: Jason M. Simanek (2008) -Modified by Rob G. Healey, June 2008 -$Id$ +Modified by Rob G. Healey (C) 2008-2009 ************************************************************************************************** -This website was created with GRAMPS +This website was created with GRAMPS +http://www.gramps-project.org -------------------------------------------------------------------------------------------------- -GRAMPS is a Free Software Project for Genealogy, offering a professional -genealogy program, and a wiki open to all. It is a community project, created, -developed and governed by genealogists. +GRAMPS is a Free Software Project for Genealogy, offering a professional genealogy program, +and a wiki open to all. It is a community project, created, developed and governed by genealogists. -Go to to learn more! +Go to http://gramps-project.org to learn more! -------------------------------------------------------------------------------------------------- Copyright 2008 Rob G. Healey This file is part of the GRAMPS program. -GRAMPS is free software: you can redistribute it and/or modify it under the -terms of the GNU General Public License as published by the Free Software -Foundation, version 2 of the License. +GRAMPS is 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. +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 . +You should have received a copy of the GNU General Public License along with GRAMPS. If not, +see . -------------------------------------------------------------------------------------------------- - Color Palette -------------------------------------------------------------------------------------------------- -green darkest #426E40 -green dark #139400 -green #1ED416 -green light #6AF364 -green lightest #D8F3D6 -white #FAFAFA -black #000 +brown darkest #453619 +brown dark #542 +brown light #C1B398 +gray #696969 +green #6AF364 +green lighter #D8F3D6 +green lightest #5D835F -====== Ancestor Graph Color Scheme ===== -Males = Blue #1E90FF -Females = Pink #F3C; -Unknown = black #000 -*/ +===== Ancestor Graph Color Scheme ===== +Males #E5F2FE +Females #FFC0CB +Unknown #000 -/* NarrativeWeb Styles +===== Web Graphics ===== +Males Web_Gender_Male.png +Females Web_Gender_Female.png + + NarrativeWeb Styles -------------------------------------------------------------------------------------------- */ /* General Elements ----------------------------------------------------- */ body { - font-family:Georgia, serif; + color:#000; margin:0; padding:0; + background-color:#FFF; } div { margin:0; @@ -68,9 +69,9 @@ table { border-collapse:collapse; } th { + font-weight:bold; + text-align:left; padding:1px 3em 1px 0.5em; - font-weight: bold; - text-align: left; } td { vertical-align:top; @@ -84,26 +85,21 @@ img { background:none; } .content { - width:965px; - margin:0 auto; - padding-bottom:.5em; - background-color:#FAFAFA; - color:#426E40; + background-color:#FFF; } .content div.snapshot { - margin:0; + float:right; + margin:1.6em; padding:0; background:none; } .content div.snapshot div.thumbnail { margin:0; - padding:2em 0 0 0; + padding:0; background:none; } -.content div.snapshot div.thumbnail a { - display:block; - width:96px; - margin:0 auto; +.content div.snapshot div.thumbnail p { + display:none; } .fullclear { width:100%; @@ -122,48 +118,37 @@ h2 { display:none; } h3 { - font-size:2em; - line-height:1.3em; - font-weight:normal; - font-style:italic; - color:#426E40; - text-align:center; + width:80%; + font:normal 2em/1.2em serif; + text-align:left; margin:0; - padding:.3em 20px 0 20px; - border-bottom:double 4px #000; + padding:.5em 20px .2em 20px; + border:double 4px #453619; } h4 { - font-size:1em; - font-weight:normal; - font-style:italic; - color:#426E40; - text-align:center; + font:normal 1.2em/1.2em serif; + color:$FFF; margin:0; - padding:.5em 0 .2em 0; - border-bottom:dashed 1px #000; + padding:.2em 0 .2em 20px; + background-color:#C1B398; + border-bottom:solid 1px #453619; } 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:#FAFAFA; + background-color:#FFF; } -a:link { - color:#7D5925; - text-decoration:none; -} -a:hover, a:active { - background-color:#426E40; -} -a:visited { - text-decoration:none; +p a { + color:#FFF; + text-decoration:underline; } sup { line-height:0; @@ -177,104 +162,97 @@ ol { } ol li a { text-decoration:none; - color:#426E40; } ol li a:hover { - text-decoration:none; - background-color:#426E40; - color:#FAFAFA; + text-decoration:underline; } a { - color:#426E40; - text-decoration:none; + color:#542; } a:visited { - color:#426E40; + color:#542; } a:hover { - background-color:#426E40; - color:#FAFAFA; - text-decoration:none; + color:#542; + text-decoration:underline; +} +span.preposition { + padding-left:1em; + padding-right:1em; } .grampsid { font:normal .8em/1.2em monospace; - color:#426E40; + color:#696969; } /* Header ----------------------------------------------------- */ -#header { - width:100%; - height:1cm; - padding:0 0 .9em 0; +#header { margin:0; - background-color:#139400; - border-top:solid 4px #D30; - border-bottom:solid 2px #D30; + height:1.5cm; + padding:0 0 .9em 0; + background-color:#542; + border-bottom:solid 1px #453619; } #SiteTitle { - font:italic 2em serif; - color:#FAFAFA; + color:#FFF; margin:0; - padding:0; - float:center; - text-align:center; - vertical-align:middle; + padding:.5em 0 0 20px; } p#user_header { font-size:1.3em; text-align:left; - color:#FAFAFA; + color:#6AF364; margin:0; padding:.2em 0 .6em 20px; - background-color:#139400; + background-color:#542; } /* Navigation ----------------------------------------------------- */ #navigation, #subnavigation { - width:100%; - height:35px; - list-style-type:none; - text-align:center; - vertical-align:middle; + margin:0; + padding:0; +} +#navigation ul, #subnavigation ul { + list-style:none; + min-width:770px; + height:32px; + margin:0; + padding:0 0 0 9px; background-color:#6AF364; - border-top:solid 4px #D30; - border-bottom:solid 4px #D30; + border-bottom:solid 2px #453619; } #navigation ul li, #subnavigation ul li { - display:inline; - width:2em; - text-align:center; margin:0; + float:left; } #navigation ul li a, #subnavigation ul li a { - font-size:14px; - color:#000; + display:block; + float:left; + font:normal 16px/100% serif; + color:#542; text-decoration:none; margin:0; - padding:4px; + padding:8px 13px; + } #navigation ul li a:hover, #subnavigation ul li a:hover { - background-color:#000; - color:#FAFAFA; + background-color:#C1B398; + border-bottom:solid 1px #453619; } #navigation ul li#CurrentSection a, #subnavigation ul li#CurrentSection a { - border-right:solid 2px #D30; - border-left:solid 2px #D30; - border-top:solid 2px #D30; - border-bottom:solid 2px #FAFAFA; - font-family:Georgia, serif; - font-weight:bold; - font-style:italic; - font-size:16px; - text-decoration:none; - background-color:#FAFAFA; - color:#426E40; + font-size:19px; + margin-top:-6px; + padding-top:11px; + padding-bottom:8px; + border-right:solid 1px #453619; + border-left:solid 1px #453619; + border-bottom:solid 1px #000; + background-color:#FFF; } #navigation ul li#CurrentSection a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#FFF; } #subnavigation ul li#CurrentSection a { border-width:0 0 1px 0; @@ -286,22 +264,18 @@ table.infolist { width:100%; margin:0; padding:0; + background-color:#D8F3D6; } table.infolist tr th { font:normal 1.1em/1.2em serif; - background-color:#1ED416; - color:#FAFAFA; + color:#FFF; margin:0; padding:.2em 10px; - border-bottom:double 4px #426E40; -} -table.infolist tr th a { - color:#426E40; - text-decoration:none; + background-color:#6AF364; + border-bottom:solid 1px #453619; } table.infolist tr th a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#C1B398; } table.infolist tr td { font:normal 1.1em/1.4em serif; @@ -311,14 +285,9 @@ table.infolist tr td { table.infolist tr td a { display:block; text-decoration:none; - color:#426E40; -} -table.infolist tr td a:hover { - background-color:#426E40; - color:#FAFAFA; } table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td { - border-top:solid 2px #6AF364; + border-top:solid 1px #453619; } table.infolist tr td.ColumnLetter { width:3%; @@ -326,7 +295,7 @@ table.infolist tr td.ColumnLetter { } table.infolist tbody tr td.ColumnBirth { font-size:.9em; - color:#426E40; + color:#000; width:10%; } table.infolist tbody tr td.ColumnDeath { @@ -335,7 +304,7 @@ table.infolist tbody tr td.ColumnDeath { } table.infolist tbody tr td.ColumnRowLabel { width:2%; - color:#426E40; + color:#696969; padding-left:20px; } table.infolist tbody tr td.ColumnType { @@ -349,7 +318,6 @@ 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 { - color:#426E40; display:block; } table.infolist tbody tr td.ColumnParents span.mother:before { @@ -358,9 +326,7 @@ table.infolist tbody tr td.ColumnParents span.mother:before { /* Surnames ----------------------------------------------------- */ -#Surnames { - font:normal .5cm sans-serif; -} +#Surnames { } #SurnameDetail p#description { padding-top:0; } table.surnamelist tr thead th.ColumnSurname, #Surnames table.surnamelist tbody tr td.ColumnSurname { width:50%; @@ -370,44 +336,43 @@ table.surnamelist tr th { } table.surnamelist tr th a, table.surnamelist tr th a:visited { display:block; - color:#FAFAFA; + color:#FFF; text-align:left; text-decoration:none; padding:.2em 10px; } table.surnamelist tr th:hover { - background:none; + 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:#6AF364; + 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 { - background-color:#FAFAFA; 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:#FAFAFA; + background-color:#FFF; } table.surnamelist tbody tr td.ColumnSurname:hover, table#SortByName tbody tr td.ColumnSurname:hover { - background-color:#6AF364; - color:#FAFAFA; + background-color:#C1B398; } table.surname { - border-bottom:solid 2px #6AF364; + border-bottom:solid 1px #453619; } table.surname tbody tr td { - border-bottom:dashed 1px #000; + border-bottom:dashed 1px #453619; } table.surname thead tr th.ColumnName { width:20%; @@ -416,17 +381,17 @@ table.surname thead tr th.ColumnName { table.surname tbody tr td.ColumnName { width:20%; padding:0; - background-color:#FAFAFA; + 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 { } - +table.surname tbody tr td.ColumnName a span.grampsid { + display:none; +} table.surname tbody tr td.ColumnName:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#C1B398; } table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents { width:25%; @@ -434,46 +399,32 @@ table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents /* Individuals ----------------------------------------------------- */ -#Individuals { - font:normal .5cm sans-serif; -} +#Individuals { } #Individuals table.individuallist { - border-bottom:solid 2px #426E40; + border-bottom:solid 1px #453619; } #Individuals table.individuallist tbody tr td { - border-bottom:dashed 1px #000; -} -#Individuals table.individuallist tbody tr td a { - text-decoration:none; - color:#426E40; + border-bottom:dashed 1px #453619; } #Individuals table.individuallist tbody tr td a:hover { - background-color:#426E40; - color:#FAFAFA; -} -table.individuallist tbody tr td.ColumnSurname a { text-decoration:none; - color:#426E40; } table.individuallist tbody tr td.ColumnSurname a:hover, table.individuallist tbody tr td.ColumnSurname a:active { - background-color:#426E40; cursor:default; - color:#FAFAFA; + color:black; + background:none; } table.individuallist tbody tr td.ColumnName { padding:0; - background-color:#FAFAFA; + background-color:#FFF; } table.individuallist tbody tr td.ColumnName a { display:block; padding:.6em 10px; vertical-align:middle; - color:#426E40; } table.individuallist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; - text-decoration:none; + background-color:#C1B398; } #IndividualDetail div table.infolist tr td, #Individuals div table.infolist tr td p { font:normal .9em/1.2em sans-serif; @@ -481,38 +432,30 @@ table.individuallist tbody tr td.ColumnName a:hover { } #IndividualDetail div table.infolist tr td a, #Individuals div table.infolist tr td p a { display:inline; - color:#FAFAFA; } #IndividualDetail table.infolist tr td a:hover { - background-color:#426E40; - text-decoration:none; - color:#FAFAFA; + text-decoration:underline; } #IndividualDetail table.infolist tbody tr td.ColumnAttribute { width:10%; - color:#426E40; + color:#696969; } /* Sources ----------------------------------------------------- */ -#Sources { - font:normal .5cm sans-serif; -} +#Sources { } #Sources table.infolist tbody tr td.ColumnRowLabel { padding-bottom:0; } #Sources table.infolist tbody tr td.ColumnName { - background-color:#FAFAFA; padding:0; } #Sources table.infolist tbody tr td.ColumnName a { font-size:.9em; padding:.1em 10px .3em 10px; - color:#426E40; } #Sources table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#C1B398; } #SourceDetail div#references ol li { padding-bottom:.5em; @@ -526,12 +469,9 @@ table.individuallist tbody tr td.ColumnName a:hover { } #Places table.infolist tbody tr td.ColumnName a { padding:.1em 10px .3em 10px; - background-color:#FAFAFA; - color:#426E40; } #Places table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#C1B398; } /* Gallery @@ -541,16 +481,13 @@ table.individuallist tbody tr td.ColumnName a:hover { padding-bottom:0; } #Gallery table.infolist tbody tr td.ColumnName { - background-color:#FAFAFA; padding:0; } #Gallery table.infolist tbody tr td.ColumnName a { padding:.1em 10px .3em 10px; - color:#426E40; } #Gallery table.infolist tbody tr td.ColumnName a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#C1B398; } #GalleryNav { font:normal 1em/1em sans-serif; @@ -559,13 +496,12 @@ table.individuallist tbody tr td.ColumnName a:hover { text-align:center; } #GalleryNav a { + font-weight:bold; text-decoration:none; - border:solid 2px #426E40; - color:#426E40; + border:solid 1px #453619; } #GalleryNav a:hover { - background-color:#426E40; - color:#FAFAFA; + background-color:#D8F3D6; } #GalleryNav a#Previous { padding:.5em .7em .3em .7em; @@ -577,10 +513,7 @@ table.individuallist tbody tr td.ColumnName a:hover { margin:0 1em; } #GalleryCurrent { - font-family:Georgia, sans-serif; - font-size:2em; - font-weight:bold; - font-style:italic; + font:bold 1.2em/1em sans-serif; } #GalleryTotal { font-weight:normal; @@ -590,17 +523,14 @@ table.individuallist tbody tr td.ColumnName a:hover { } #GalleryDisplay img { margin:0 auto; - border:solid 2px #426E40; + border:solid 1px #453619; } #GalleryDetail div#summaryarea{ margin:0; padding:2em 0 0 0; } #GalleryDetail div#summaryarea h3 { - font-family:Georgia, serif; - font-size:2em; - font-weight:bold; - font-style:italic; + font:normal 1.2em/1.2em serif; text-align:center; } #GalleryDetail div h4 { @@ -610,9 +540,10 @@ table.individuallist tbody tr td.ColumnName a:hover { padding-bottom:0; margin-top:1.5em; margin-bottom:0; + background-color:#D8F3D6; border-style:solid; border-width:8px 0 0 0; - border-color:#6AF364; + border-color:#453619; } /* Contact @@ -621,10 +552,11 @@ table.individuallist tbody tr td.ColumnName a:hover { width:500px; margin:0 auto; padding:3em; + background-color:#F1ECE2; } #Contact #summaryarea img { float:right; - margin:20px; + margin:0; } #researcher { font:normal 1.5em/1.4em serif; @@ -633,8 +565,6 @@ table.individuallist tbody tr td.ColumnName a:hover { #researcher h3 { font:normal 1.2em/1.4em serif; padding:0; - float:left; - text-align:center; } #researcher span { float:left; @@ -643,7 +573,7 @@ table.individuallist tbody tr td.ColumnName a:hover { margin-right:.4em; } #streetaddress { - width:60%; + width:70%; } #city:after { content:","; @@ -653,15 +583,12 @@ table.individuallist tbody tr td.ColumnName a:hover { } #email { clear:left; - color:#FAFAFA; } #email a { text-decoration:none; - color:#426E40; } #email a:hover { - background-color:#426E40; - color:#FAFAFA; + text-decoration:underline; } /* Subsections @@ -682,6 +609,7 @@ table.individuallist tbody tr td.ColumnName a:hover { } div.subsection{ padding-bottom:.5em; + background-color:#D8F3D6; } div.subsection h4 { margin-bottom:.5em; @@ -691,11 +619,9 @@ div.subsection table, div.subsection ol, div.subsection p { } div.subsection a { text-decoration:none; - color:#426E40; } div.subsection a:hover { - background-color:#426E40; - color:#FAFAFA; + text-decoration:underline; } div.subsection table.infolist { width:100%; @@ -709,33 +635,38 @@ div.subsection table.infolist { ----------------------------------------------------- */ div#events { padding-bottom:0; - color:#426E40; } div#events h4 { margin-bottom:0; + border:none; +} +#IndividualDetail div#events table.infolist thead tr th { + font-weight:bold; + font-size:12px; + line-height:12px; + font-family:sans-serif; + text-transform:uppercase; + color:#542; + padding-top:6px; + padding-bottom:4px; + background-color:#6AF364; +} +#IndividualDetail div#events table.infolist thead tr th:first-child { + padding-left:20px; } #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 2px #426E40; - color:#426E40; + border-bottom:solid 1px #453619; } #IndividualDetail div#events table.infolist tbody tr td.ColumnValue { - border-bottom:solid 2px #000; - color:#426E40; -} -#IndividualDetail div#events table.infolist tbody tr td.ColumnValue a { - text-decoration:none; - color:#426E40; -} -#IndividualDetail div#events table.infolist tbody tr td.ColumnValue a:hover { - background-color:#426E40; - color:#FAFAFA; + border-bottom:solid 1px #453619; } table.infolist tbody tr td.ColumnValue p { font-family:sans-serif; + color:#696969; margin:.2em 0 0 2em; } @@ -749,37 +680,19 @@ div#parents table.infolist { } div#parents table.infolist tbody tr td.ColumnAttribute { width:19%; - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue { - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue a { - color:#426E40; -} -div#parents table.infolist tbody tr td.ColumnValue a:hover { - color:#FAFAFA; } div#parents table.infolist tbody tr td.ColumnValue ol { margin:0; padding-top:0; } div#parents table.infolist tbody tr td.ColumnValue ol li { - color:#426E40; padding-bottom:.2em; } -div#parents table.infolist tbody tr td.ColumnValue ol li a:hover { - color:#FAFAFA; -} /* Subsections : Families ----------------------------------------------------- */ div#families table.infolist { margin-top:.5em; - color:#426E40; -} -div#families table.infolist tbody tr td.ColumnValue a { - color:#426E40; } div#families table.infolist tbody tr td.ColumnValue p { margin-top:0; @@ -791,20 +704,11 @@ div#families table.infolist tbody tr td.ColumnValue ol { div#families table.infolist tbody tr td.ColumnValue ol li { padding-bottom:.2em; } -div#families table.infolist tbody tr td.ColumnValue ol li a { - color:#426E40; - text-decoration:none; -} -div#families table.infolist tbody tr td.ColumnValue ol li a:hover { - background-color:#426E40; - color:#FAFAFA; -} /* Subsections : Addresses ----------------------------------------------------- */ div#addresses { padding-bottom:0; - color:#426E40; } div#addresses table.infolist tbody tr td { padding-top:.4em; @@ -812,11 +716,10 @@ div#addresses table.infolist tbody tr td { } div#addresses table.infolist tbody tr td.ColumnAttribute { width:30%; - border-bottom:solid 2px #6AF364; - color:#426E40; + border-bottom:solid 1px #453619; } div#addresses table.infolist tbody tr td.ColumnValue { - border-bottom:solid 2px #6AF364; + border-bottom:solid 1px #453619; } /* Subsections : Gallery @@ -840,7 +743,7 @@ div#addresses table.infolist tbody tr td.ColumnValue { #indivgallery .thumbnail a img { margin:0; padding:0; - border:solid 2px #000; + border:solid 1px #453619; } #indivgallery div.thumbnail p { font:normal .7em/1.4em sans-serif; @@ -864,22 +767,6 @@ div#narrative { /* Subsections : References ----------------------------------------------------- */ -div#References { - background-color:#1ED416; - color:#FAFAFA; -} -h4 { - font:italic .8cm serif; -} -li a { - font:bold .5cm serif; - background:none; - color:#426E40; -} -li a:hover { - background-color:#426E40; - color:#FAFAFA; -} /* Subsections : Source References ----------------------------------------------------- */ @@ -898,8 +785,8 @@ div#summaryarea { div#summaryarea table.infolist { margin:0; padding:0; - background:#FAFAFA; - border-bottom:solid .7em #000; + 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; @@ -910,11 +797,11 @@ div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a } div#summaryarea table.infolist tbody tr td.ColumnAttribute { width:14%; - color:#426E40; + color:#696969; padding-left:20px; } -/* Subsections : Web Links +/* Subsections : Weblinks ----------------------------------------------------- */ /* Subsections : Pedigree @@ -924,11 +811,9 @@ div#pedigree { } #pedigree a { text-decoration:none; - color:#426E40; } #pedigree a:hover { - background-color:#426E40; - color:#FAFAFA; + text-decoration:underline; } .pedigreegen { font:normal .9em/1.2em sans-serif; @@ -956,7 +841,7 @@ div#pedigree { .spouse a { font-weight:normal; font-style:normal; - color:#1ED416; + color:#6AF364; } .spouse:before { content: "+ "; @@ -971,6 +856,7 @@ div#pedigree { page-break-before:always; margin:0; padding:0; + background:none; } #treeContainer { position:relative; @@ -986,26 +872,27 @@ div#pedigree { position:relative; z-index:10; display:block; - font:bold .9em/1.4em sans-serif; + font:normal .7em/1.4em sans-serif; text-align:center; text-decoration:none; - color:#FFF; + color:#542; width:118px; padding:5px 20px 7px 20px; margin-top:-25px; margin-left:16px; - background-color:#F6F2EE; - border:solid 1px #426E40; + background-color:#D8F3D6; + border:solid 1px #453619; } #treeContainer div.boxbg a:hover { position:relative; z-index:999; font-size:1em; text-decoration:none; + color:#542; width:190px; margin-left:-20px; padding:10px 25px 12px 25px; - border:solid 2px #426E40; + border:solid 2px #453619; } #treeContainer div.boxbg a:hover, #treeContainer div.AncCol3 a:hover, #treeContainer div.AncCol4 a:hover { margin-top:-44px; @@ -1041,14 +928,18 @@ div#pedigree { #treeContainer div.boxbg a:hover span.thumbnail { display:block; } +#TreeContainer div.male, #treeContainer div.male a { - background-color:#1E90FF; + background:url(../images/Web_Gender_Male.png) #BCEAF6 no-repeat top right; } +#TreeContainer div.female, #treeContainer div.female a { - background-color:#F3C; + background:url(../images/Web_Gender_Female.png) #FFC0CB no-repeat top right; } +#treeContainer div.unknown, #treeContainer div.unknown a { background-color:#000; + color:#FAFAFA; } .shadow { display:none; @@ -1056,18 +947,18 @@ div#pedigree { #tree div div.bvline { position:absolute; z-index:2; - height:5px; + height:1px; margin:0 0 0 16px; padding:0; - background-color:#426E40; + background-color:#453619; } #tree div div.bhline { position:absolute; z-index:2; - width:5px; + width:1px; margin:0 0 0 16px; padding:0; - background-color:#426E40; + background-color:#453619; } .ghline, .gvline { display:none; @@ -1076,64 +967,63 @@ div#pedigree { /* Footer ----------------------------------------------------- */ #footer { - width:100%; + clear:both; height:1.5cm; - background-color:#139400; - color:#FAFAFA; + width:100%; + font-size:12px; + line-height:130%; + font-family:sans-serif; + color:#FFF; margin:0; padding:0; - clear:both; - border-top:solid 2px #D30; - border-bottom:solid 4px #D30; + background-color:#542; + border-top:solid 8px #6AF364; } -#footer a { +#footer a, #footer a:visited { text-decoration:none; - color:#FAFAFA; + color:#FFF; } #footer a:hover { - text-decoration:none; - background-color:#228B22; + text-decoration:underline; } #footer img { border:0; - margin:0; - float:center; + margin:0 auto; + vertical-align:middle; } #footer p#createdate { - font-size:.8em; float:left; width:40%; text-align:left; margin-left:10px; + color:#FFF; } #footer p#copyright { float:right; width:40%; text-align:right; + color:#FFF; margin-right:10px; - color:#FAFAFA; } #footer p#copyright img { margin-right:10px; } #footer p#quality { - font-size:.8em; - float:center; - width:80%; + width:100%; text-align:center; + color:#FFF; } #footer p#quality img { float:center; } #user_footer { - background-color:#1ED416; width:70%; float:left; margin:1em; } #user_footer p { font:normal 1em/1.2em serif; - color:#FAFAFA; + color:#6AF364; margin:0; padding:0; } @@ -1141,6 +1031,10 @@ div#pedigree { /* Calendar Styles -------------------------------------------------------------------------------------------- */ /* Calendar : General */ +body#WebCal { + padding:0 14px; + background-color:#542; +} .calendar { empty-cells:show; width:100%; @@ -1148,42 +1042,64 @@ div#pedigree { font-weight:normal; margin:0; padding:0; - background-color:#FAFAFA; border:none; border-collapse:collapse; } .calendar thead tr th { - width:12%; + width:14%; font-weight:normal; + font-size:18px; + line-height:18px; text-align:center; text-transform:uppercase; - padding:.2em 0 .1em 0; - background-color:#6AF364; -} -#CreatorInfo { - float:right; - margin:-24px 10px 0 0; + padding:2px 0; } .calendar thead tr th.monthName { - font-style:italic; width:100%; font-size:2em; line-height:100%; text-transform:none; + color:#542; padding:.3em 0 .2em 0; - background-color:#FAFAFA; - color:#426E40; + background-color:#FFF; } -.calendar thead tr th.weekend, .calendar thead tr th.weekday { - background-color:#426E40; - color:#FAFAFA; - border:solid 1px #6AF364; +#CreatorInfo { + float:right; + color:#FFF; + margin:-24px 10px 0 0; } -.calendar tbody tr.week5, .calendar tbody tr.week6 { - border-bottom:solid 1px #000; +.calendar thead tr th.weekend, +.calendar thead tr th.weekday { + font-style:italic; + color:#000; + background-color:#6AF364; + border:solid 2px #453619; +} +.calendar thead tr th.saturday, +.calendar thead tr th.sunday { } +.calendar tfoot tr td { + padding:.7em 5% 1em 5%; + border-top:solid 4px #6AF364; +} +.calendar tfoot tr td { + vertical-align:middle; + color:#542; + background-color:#D8F3D6; } /* Calendar : Date Numeral */ +.calendar tbody tr td div.date { + float:right; + display:block; + width:1.8em; + font-size:1.2em; + line-height:100%; + text-align:center; + color:#542; + margin:0 0 0 .5em; + padding:.2em 0; + background-color:#D8F3D6; +} /* Calendar : Date Container */ .calendar tbody tr td { @@ -1192,22 +1108,22 @@ div#pedigree { padding:0; border-width:1px 0 0 1px; border-style:solid; - border-color:#000; -} -.calendar tbody tr td.previous, .calendar tbody tr td.next { - background-color:#D8F3D6; + border-color:#453619; } .calendar tbody tr td.weekday { - background-color:#FAFAFA; + background-color:#FFF; } .calendar tbody tr td.weekend { background-color:#D8F3D6; } .calendar tbody tr td.saturday { - border-right:solid 1px #000; + border-right:solid 1px #453619; + } +.calendar tbody tr td.sunday { + border-left:solid 1px #453619; } .calendar tbody tr td:first-child { - border-left:none; + border-left:solid 1px #453619; } .calendar tbody tr:first-child td { border-top:none; @@ -1217,7 +1133,7 @@ div#pedigree { .calendar tbody tr td ul { list-style:none; font-family:sans-serif; - font-size:.8em; + font-size:1em; margin:2.3em 0 .3em 0; padding:0; } @@ -1226,7 +1142,7 @@ div#pedigree { width:92%; margin:0 4%; padding:.2em 0 .3em 0; - border-top:dashed 1px #000; + border-top:dashed 1px #453619; } .calendar tbody tr td ul li:first-child { border:none; @@ -1238,38 +1154,23 @@ div#pedigree { color:#0A65B5; } .calendar tbody tr td ul li span.yearsmarried em { - color:#426E40; + color:#453619; } -.calendar tfoot tr td { - padding:.7em 5% 1em 5%; - background-color:#6AF364; +.calendar tbody tr td.highlight { + } -.calendar tfoot tr td.note { - border-top:solid 2px #D30; - background-color:#000; - color:#FAFAFA; +.calendar tbody tr td.highlight div.date { + color:#0A65B5; + background-color:#C2E1FE; } -.date { - float:right; - display:block; - width:1.8em; - font-size:1.2em; - line-height:100%; - text-align:center; - background-color:#6AF364; - color:#000; - margin:0 0 0 .5em; - padding:.2em 0; -} -.previous span.date, .next span.date { - background-color:#000; - color:#FAFAFA; -} -.highlight div.date { - background-color:#1E90FF; - color:#FAFAFA; - font-weight:bold; - font-style:italic; + +/* Calendar : Previous-Next Month */ +.calendar tbody tr td.previous, +.calendar tbody tr td.next, +.calendar tbody tr td.previous div.date, +.calendar tbody tr td.next div.date { + color:#333; + background-color:#D8F3D6; } /* Calendar : Full Year */ @@ -1277,13 +1178,12 @@ body#fullyear div.content, body#fullyearlinked div.content { width:963px; margin:0 auto; padding:15px 0 2px 2px; - background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat; } body#fullyear table.calendar, body#fullyearlinked table.calendar { float:left; width:320px; height:18em; - border:solid 1px #7D5925; + border:solid 1px #453619; } body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th { height:2em; diff --git a/src/data/Web_styleswitcher.js b/src/data/Web_styleswitcher.js deleted file mode 100644 index bc1629f80..000000000 --- a/src/data/Web_styleswitcher.js +++ /dev/null @@ -1,3 +0,0 @@ -var StyleFile = "narrative" + document.cookie.charAt(6) + ".css"; -document.writeln(''); -document.writeln(''); diff --git a/src/data/Web_styleswitcherMenu.js b/src/data/Web_styleswitcherMenu.js deleted file mode 100644 index dd4edc72d..000000000 --- a/src/data/Web_styleswitcherMenu.js +++ /dev/null @@ -1 +0,0 @@ -document.write(); diff --git a/src/plugins/Calendar.py b/src/plugins/Calendar.py index e99957b1b..5078f1394 100644 --- a/src/plugins/Calendar.py +++ b/src/plugins/Calendar.py @@ -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, diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index 4c07dcd76..9fe5cfd4f 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -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('\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\n') of.write('\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,48 +1129,50 @@ 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): - for fhandle in family_list: - fam = self.database.get_family_from_handle(fhandle) - father_handle = fam.get_father_handle() - mother_handle = fam.get_mother_handle() - if father_handle == person.get_handle(): - spouse_handle = mother_handle - else: - continue # with next person if this was the marriage event - 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() + # add anniversary if requested + if self.anniv: + for fhandle in family_list: + fam = self.database.get_family_from_handle(fhandle) + father_handle = fam.get_father_handle() + mother_handle = fam.get_mother_handle() + if father_handle == person.get_handle(): + spouse_handle = mother_handle + else: + continue # with next person if this was the marriage event + if spouse_handle: + spouse = self.database.get_person_from_handle(spouse_handle) + if spouse: + spouse_name = _get_short_name(spouse) + short_name = _get_short_name(person) - # 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) - 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) - event_obj = event.get_date_object() - year = event_obj.get_year() - month = event_obj.get_month() - day = event_obj.get_day() - text = _('%(spouse)s and %(person)s') % { - 'spouse' : spouse_name, - 'person' : short_name} - self.add_day_item(text, year, month, day, 'anniversary') + 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) + event_obj = event.get_date_object() + 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} + + 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, %(age)d year old') % { + 'person' : text, + 'age' : years} + elif years > 1: + txt_str = _('%(person)s, %(age)d years old') % { + 'person' : text, + 'age' : years} + + # an anniversary + elif event == 'Anniversary': + + txt_str = _('%(couple)s, %(years)d year anniversary') % { + 'couple' : text, + 'years' : years} + txt_str = '%s' % 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 + #------------------------------------------------------------------------- # # diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index c149c5b14..277722849 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -7,6 +7,7 @@ # Copyright (C) 2007-2009 Stephane Charette # Copyright (C) 2008 Brian G. Matherly # Copyright (C) 2008 Jason M. Simanek +# Copyright (C) 2008-2009 Rob G. Healey # # 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') 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('\n') # birth column @@ -909,9 +910,8 @@ class SurnamePage(BasePage): of.write('\t\t\n') of.write('\t\t\t') 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('\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\n') + for ltr in alphabet: + of.write('\t\t\t\n' % (ltr, ltr)) + else: + of.write('%s\n' % ltr) + of.write('\t\t\n') + of.write('\t
') + if ltr in alpha_list: + of.write('%s
\n') + if order_by == self.ORDER_BY_COUNT: of.write('\t\n') of.write('\t\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\n') - of.write('\t\t\t\n' % last_letter) + of.write('\t\t\t\n' % (last_letter, last_letter)) of.write('\t\t\t\n') @@ -1423,6 +1438,27 @@ class SurnameListPage(BasePage): of.write(' (%d)' % opt_val) of.write('') + 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',
%s') + of.write('%s') self.surname_link(of, name_to_md5(surname), surname) of.write('