/* * Style for FAB theme * * webtrees: Web based Family History software * Copyright (C) 2014 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /* Add a permanent scrollbar, to prevent "flickering" when hover effects lengthen page */ html { overflow-y: scroll; } body { color: #555; background-color: #fff; font: 14px/1.42857 sans-serif; /* Use the browser’s prefered font */ margin: 0; } .submenu { background-color: #eee; border: thin solid #aaa; } /* Round corners to 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, #indi_main_blocks, #tabs, #save-cancel, .topbottombar { margin: 4px; padding: 4px; border-radius: 4px; } img.block { border: none; height: 20px; vertical-align: middle; } .line1, .line2, .line3 { vertical-align: middle; } #hourglass_chart img.line4 { vertical-align:middle; } .line5 { vertical-align: top; } legend { font-weight: bold; } /* Indicate that the parent died shortly after the birth */ .parentdeath { border: 1px solid #000; } /* Hyperlinks: regular and help */ a { text-decoration: none; } a:link, a:visited { color: #369; } a:hover, a:active { text-decoration: underline; } a.gallery img { border: 0; border-radius: 4px; margin: 4px; } input:required:valid, textarea:required:valid { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAONJREFUeNpi/P//PwMlgImBQjDwBrCgCzDOF2Zg+Adk/AOGDRvQfHZGoDWMxgyMDMb/Q1/NIt0F/xk8gIbNZPj7P41YL4AUGsM1//rfkuyeYMzw8z9xXgBqgNm0nuHnv0D/IH/juavmngV6oYY4F3z7y2DqY2oMpANB9MYl684yfP9Xw3Dzzw7sXgQmJGTM0MbjwdDKc0b2vt5/EM2QwunBoMyCVS1YPYYAMOwZ7FmiGLLYzjBYsSQD+QpALAjErNgMYERPyoyMjMxAih+IOYD4LxD/hOJfQLV/MaJ9NC8wAAQYAPbPfH2KJKx/AAAAAElFTkSuQmCC); background-position: right top; background-repeat: no-repeat; } input:required:invalid, textarea:required:invalid { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMpJREFUeNpi/P//PwMlgImBQjAMDGBBF1jFyOgBpFqAuOYPA8MOoAI4P+z//x0YJoBiARkvYWA486+k5D+IBuJqZD66WnAMogvMA9o4F6j4R3Lyf2R6IQODMVEGTAW6CoirgfjMB2/v/yB6CgNDYQ8W14IwRiB+A7rgOwNDYLChofGcrVvPgugfDAzR/yFhwUAwDJqBNj6Ulf0PooEhV4jMx+YCRvSknAeMBWDotwgwMKRzMTCcfQW0GcQHxkbNJCyxwDiaFxgAAgwAYy67YIOQ//cAAAAASUVORK5CYII=); background-position: right top; background-repeat: no-repeat; } html[dir=rtl] input:required:valid, html[dir=rtl] textarea:required:valid, html[dir=rtl] input:required:invalid, html[dir=rtl] textarea:required:invalid { background-position: left top; } /* Various text styles */ .warning, .error, .largeError { color: #f00; font-weight: bold; } /* Fact labels */ .label { font-weight: bold; } .quickfacts a { font-size: smaller; padding: 0 3px; } /* Main name on INDI/FAM/etc. pages */ .name_head { font-size: larger; } /* Elements used on every page */ #header { color: #888; text-align: center; } #header-user-links { float: right; } html[dir=rtl] #header-user-links { float: left; } #header-title { font-size: x-large; float: left; clear: left; } html[dir=rtl] #header-title { float: right; clear: right; } #header-menu { clear: both; text-align: center; padding-top: 12px; } #content { margin-top: 12px; margin-bottom: 12px; } #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; } #link_change_blocks { clear: both; margin: 0 auto; padding: 25px 0 0 0; text-align: center; width: 400px; } #link_change_blocks span { padding: 0 50px; } #link_change_blocks span span { padding: 0 3px; } #random_picture { text-align: center; } #random_picture_box { width: 100%; } /* Pending edits - TODO perhaps show differently in different contexts? */ .new { outline: solid #00f 1px; } .old { outline: solid #f00 1px; } /* Set stack level for top two header menu rows */ .makeMenu ul, #main-menu ul { z-index: 210; } /* Use CSS menus based on nested