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