xref: /webtrees/resources/css/_markdown.css (revision 1db5ed466f60783a4c0315be1592344f8de58f3b)
1*1db5ed46SGreg Roach/**
2*1db5ed46SGreg Roach * webtrees: online genealogy
3*1db5ed46SGreg Roach * Copyright (C) 2020 webtrees development team
4*1db5ed46SGreg Roach * This program is free software: you can redistribute it and/or modify
5*1db5ed46SGreg Roach * it under the terms of the GNU General Public License as published by
6*1db5ed46SGreg Roach * the Free Software Foundation, either version 3 of the License, or
7*1db5ed46SGreg Roach * (at your option) any later version.
8*1db5ed46SGreg Roach * This program is distributed in the hope that it will be useful,
9*1db5ed46SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
10*1db5ed46SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11*1db5ed46SGreg Roach * GNU General Public License for more details.
12*1db5ed46SGreg Roach * You should have received a copy of the GNU General Public License
13*1db5ed46SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
14*1db5ed46SGreg Roach */
15*1db5ed46SGreg Roach
16*1db5ed46SGreg Roach/* markdown formatting */
17*1db5ed46SGreg Roach
18*1db5ed46SGreg Roach.markdown {
19*1db5ed46SGreg Roach    /* Tables and pre-formatted text can break the layout. */
20*1db5ed46SGreg Roach    overflow-x: auto;
21*1db5ed46SGreg Roach}
22*1db5ed46SGreg Roach
23*1db5ed46SGreg Roach.markdown p {
24*1db5ed46SGreg Roach    margin: 0 0 0.5em;
25*1db5ed46SGreg Roach    white-space: pre-wrap;
26*1db5ed46SGreg Roach}
27*1db5ed46SGreg Roach
28*1db5ed46SGreg Roach.markdown table {
29*1db5ed46SGreg Roach    border-collapse: collapse;
30*1db5ed46SGreg Roach    margin-bottom: 5px;
31*1db5ed46SGreg Roach}
32*1db5ed46SGreg Roach
33*1db5ed46SGreg Roach.markdown th {
34*1db5ed46SGreg Roach    font-weight: bold;
35*1db5ed46SGreg Roach}
36*1db5ed46SGreg Roach
37*1db5ed46SGreg Roach.markdown td,
38*1db5ed46SGreg Roach.markdown th {
39*1db5ed46SGreg Roach    border: solid thin #000;
40*1db5ed46SGreg Roach    padding: 3px;
41*1db5ed46SGreg Roach}
42*1db5ed46SGreg Roach
43*1db5ed46SGreg Roach.markdown img {
44*1db5ed46SGreg Roach    max-width: 100%;
45*1db5ed46SGreg Roach    height: auto;
46*1db5ed46SGreg Roach}
47