1*e759aebbSGreg Roach/** 2*e759aebbSGreg Roach * webtrees: online genealogy 3*e759aebbSGreg Roach * Copyright (C) 2019 webtrees development team 4*e759aebbSGreg Roach * This program is free software: you can redistribute it and/or modify 5*e759aebbSGreg Roach * it under the terms of the GNU General Public License as published by 6*e759aebbSGreg Roach * the Free Software Foundation, either version 3 of the License, or 7*e759aebbSGreg Roach * (at your option) any later version. 8*e759aebbSGreg Roach * This program is distributed in the hope that it will be useful, 9*e759aebbSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 10*e759aebbSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11*e759aebbSGreg Roach * GNU General Public License for more details. 12*e759aebbSGreg Roach * You should have received a copy of the GNU General Public License 13*e759aebbSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 14*e759aebbSGreg Roach */ 15*e759aebbSGreg Roach 16*e759aebbSGreg Roach/* 17*e759aebbSGreg Roach * Base formatting, resets, etc. 18*e759aebbSGreg Roach */ 19*e759aebbSGreg Roach 20*e759aebbSGreg Roach/* Keep the page as tall as the window, so the footer can remain at the bottom. */ 21*e759aebbSGreg Roach.wt-global { 22*e759aebbSGreg Roach display: flex; 23*e759aebbSGreg Roach min-height: 100vh; 24*e759aebbSGreg Roach flex-direction: column; 25*e759aebbSGreg Roach} 26*e759aebbSGreg Roach 27*e759aebbSGreg Roach.wt-main-container { 28*e759aebbSGreg Roach flex: 1; 29*e759aebbSGreg Roach} 30*e759aebbSGreg Roach 31*e759aebbSGreg Roach/* Scrollbars */ 32*e759aebbSGreg Roach.wt-global { 33*e759aebbSGreg Roach /* Prevent redraws when dynamic content requires a scrollbar. */ 34*e759aebbSGreg Roach overflow-y: scroll; 35*e759aebbSGreg Roach /* Any wide content will have its own horizontal scrollbar */ 36*e759aebbSGreg Roach overflow-x: hidden; 37*e759aebbSGreg Roach} 38*e759aebbSGreg Roach 39