/* * SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 * * Base styling common for all Haketilo internal HTML pages * * This file is part of Haketilo. * * Copyright (C) 2021 Wojtek Kosior * * File is dual-licensed. You can choose either GPLv3+, CC BY-SA or both. * * 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 3 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, see . * * I, Wojtek Kosior, thereby promise not to sue for violation of this file's * licenses. Although I request that you do not make use of this code in a * proprietary program, I am not going to enforce this in court. */ body { font-family: sans-serif; background-color: #f0f0f0; color: #555; overflow: auto; } .bold, h1, h2, h3, label { font-weight: bold; } h1, h2, h3 { margin: 0.3em; text-shadow: 0 0 0 #454; text-align: center; } h2 { font-size: 120%; } h3 { font-size: 108%; } li { margin-top: 0.25em; margin-bottom: 0.25em; } li:first-child { margin-top: 0; } .hide { display: none !important; } button { background-color: #4CAF50; border: none; border-radius: 0.4em; color: white; text-align: center; text-decoration: none; display: inline-block; padding: 0.4em 0.8em; -moz-user-select: none; user-select: none; cursor: pointer; font: 400 0.9em sans-serif; } button:hover { box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); } body { --line-height: 0.4em; } div.top_line { height: var(--line-height); background: linear-gradient(#555, transparent); } div.bottom_line { height: var(--line-height); background: linear-gradient(transparent, #555); } .text_center { text-align: center; } .text_right { text-align: right; }