xref: /template/sprintdoc/css/area_content.less (revision bd04be26c697600e206f99572d5bc8b9881d6b1d)
1/**
2 * This file provides the design styles for the page content.
3 *
4 * @author Jana Deutschlaender <deutschlaender@cosmocode.de>
5 */
6
7.content .row {
8    > .col-xs-12 {
9        box-shadow: @box-shadow;
10
11        #dokuwiki__content {
12            position: relative;
13
14            &::before {
15                content: '';
16                position: absolute;
17                top: 0;
18                left: 0;
19                height: @page-header_height;
20                box-sizing: border-box;
21                width: 100%;
22                background-color: @ini_background_page_header;
23                border-bottom: 1px solid @ini_border_light;
24            }
25
26            .msg-area + * {
27                clear: both;
28                padding-top: 1em; // as h1
29            }
30
31            #plugin__highlightparent {
32                clear: none;
33                display: block;
34
35                + * {
36                    clear: both;
37                    padding-top: 1em; // as h1
38                }
39            }
40        }
41    }
42}
43
44
45.main-content > .level2,
46.main-content > .level1,
47.main-content > .level3,
48.main-content > .level4,
49.main-content > .level5,
50.main-content > .level6 {
51    //padding-bottom: 1rem;
52
53    > p, > ul > li .li {
54        a {
55            font-size: inherit;
56        }
57    }
58}
59
60
61.level1,
62.level2,
63.level3,
64.level4,
65.level5,
66.level6 {
67    line-height: @line-height-default;
68
69    div, p, th, td, textarea,
70    h1, h2, h3, h4, h5, h6,
71    dl, dt, dd, ol, ul, li {
72        line-height: @line-height-default;
73    }
74}
75