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