xref: /webtrees/resources/css/_markdown.css (revision d11be7027e34e3121be11cc025421873364403f9)
11db5ed46SGreg Roach/**
21db5ed46SGreg Roach * webtrees: online genealogy
3*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
41db5ed46SGreg Roach * This program is free software: you can redistribute it and/or modify
51db5ed46SGreg Roach * it under the terms of the GNU General Public License as published by
61db5ed46SGreg Roach * the Free Software Foundation, either version 3 of the License, or
71db5ed46SGreg Roach * (at your option) any later version.
81db5ed46SGreg Roach * This program is distributed in the hope that it will be useful,
91db5ed46SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
101db5ed46SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111db5ed46SGreg Roach * GNU General Public License for more details.
121db5ed46SGreg Roach * You should have received a copy of the GNU General Public License
131db5ed46SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
141db5ed46SGreg Roach */
151db5ed46SGreg Roach
161db5ed46SGreg Roach/* markdown formatting */
171db5ed46SGreg Roach
181db5ed46SGreg Roach.markdown {
19d1a8402eSGreg Roach    /* Pre-formatted text can break the layout. */
20d1a8402eSGreg Roach    overflow-wrap: break-word;
21d1a8402eSGreg Roach}
22d1a8402eSGreg Roach
23d1a8402eSGreg Roach.markdown p code {
24d1a8402eSGreg Roach    /* Bootstrap makes code text red */
25d1a8402eSGreg Roach    color: inherit;
261db5ed46SGreg Roach}
271db5ed46SGreg Roach
281db5ed46SGreg Roach.markdown p {
291adf58a6SGreg Roach    margin: 0 0 0.5rem;
301db5ed46SGreg Roach}
311db5ed46SGreg Roach
3267721f6fSGreg Roach.markdown blockquote p {
33df17ff38SGreg Roach    border-left: solid thick lightgray;
34df17ff38SGreg Roach    padding-left: 0.5rem;
35df17ff38SGreg Roach}
36df17ff38SGreg Roach
371db5ed46SGreg Roach.markdown table {
381db5ed46SGreg Roach    border-collapse: collapse;
391db5ed46SGreg Roach    margin-bottom: 5px;
401db5ed46SGreg Roach}
411db5ed46SGreg Roach
421db5ed46SGreg Roach.markdown th {
431db5ed46SGreg Roach    font-weight: bold;
441db5ed46SGreg Roach}
451db5ed46SGreg Roach
461db5ed46SGreg Roach.markdown td,
471db5ed46SGreg Roach.markdown th {
481db5ed46SGreg Roach    border: solid thin #000;
491db5ed46SGreg Roach    padding: 3px;
501db5ed46SGreg Roach}
511db5ed46SGreg Roach
521db5ed46SGreg Roach.markdown img {
531db5ed46SGreg Roach    max-width: 100%;
541db5ed46SGreg Roach    height: auto;
551db5ed46SGreg Roach}
56