/* * Style for FAB theme * * webtrees: Web based Family History software * Copyright (C) 2011 webtrees development team. * * Derived from PhpGedView * Copyright (C) 2002 to 2010 PGV Development Team. All rights reserved. * * 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 * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * $Id$ */ /* Add a permanent scrollbar, to prevent "flickering" when hover effects lengthen page */ html {overflow-y:scroll;} .submenu { background-color:#EEE; border:thin solid #AAA; } /* Thin grey borders around block-level elements */ input, textarea, fieldset, .border1, .block, .descriptionbox, .facts_label, .facts_label02, .facts_label03, .facts_value, .lifespan_outer, .list_label, .list_label_wrap, .list_value, .list_value_wrap, .messagebox, .optionbox, .person_box, .person_boxF, .person_boxNN, .person0, .person1, .person2, .person3, .person4, .person5 .subbar, #indi_main_blocks, #tabs, .topbottombar { margin:3px; padding:3px; border:1px solid DarkGray; border-radius:3px; font-family:inherit; } img.block { border:none; height:20px; vertical-align:middle; } .line1 {vertical-align:bottom;} .line2 {vertical-align:middle;} .line3 {vertical-align:bottom;} .line4 {vertical-align:middle;} legend { font-weight:bold; } /* Indicate that the parent died shortly after the birth */ .parentdeath { border:1px solid Black; } /* Hyperlinks: regular and help */ a { text-decoration:none; } a:link, a:visited { color:DarkSlateGray; } a:hover, a:active { color:White !important; background-color:DarkSlateGray; } a.help { font-weight:bold; text-shadow:Black 1px 1px 1px; color:Yellow !important; cursor:help; } body { color:DimGray; background-color:White; font:12px sans-serif; /* Use the browser's default font - give control to the user */ margin:0; } img { border:0; } /* Various text styles */ .warning, .error, .largeError { color:red; font-weight:bold; } /* Fact labels */ .label { font-weight:bold; } /* Main name on INDI/FAM/etc. pages */ .name_head { font-size:150%; } /* Elements used on every page */ #header { color:#888; text-align:center; } #topMenu { clear:both; text-align:center; padding-top:1em; } #content { margin-top:1em; margin-bottom:1em; } #footer { clear:both; text-align:center; width:99%; } /* Block level objects, such as header, footer, etc. */ .block {background-color:#EEE; clear:none;} .blockheader {font-weight:bold;} .charts_block {overflow:auto;} /* Pending edits */ .change_new, .nameblue { border:solid blue 2px !important; } .change_old, .namered { color:#888 !important; text-decoration:line-through !important; } /* Use CSS menus based on nested