xref: /template/sprintdoc/css/area_main-content.less (revision 06938c6d7cfdb2afaaaf1c0f28f4dfc02822f817)
1/**
2 * This file provides the design styles for the main-content.
3 *
4 * @author Jana Deutschlaender <deutschlaender@cosmocode.de>
5 */
6
7#dokuwiki__content.main-content {
8
9    .level2 {
10        p a.media {
11            img {
12                border: 1px dotted @color-site-bg;
13
14            }
15            &:hover, &:focus, &:active {
16                img {
17                    border: 1px solid @color-link;
18                }
19            }
20
21        }
22    }
23    div.section_highlight{
24        background: repeating-linear-gradient(
25            -45deg,
26            @ini_background_neu,
27            @ini_background_neu 10px,
28            @ini_background 10px,
29            @ini_background 20px,
30        );
31    }
32    .secedit {
33        float: right;
34        margin-top: 0;
35        position: relative;
36        z-index: 2;
37        top: 0;
38
39        button {
40            background-color: transparent;
41            color: transparent;
42            border-color: transparent;
43
44            &::after {
45                content: '';
46                display: inline-block;
47                background: transparent url("svg.php?svg=pencil.svg&f=link") center center no-repeat;
48                height: 1em;
49                width: 1em;
50                background-size: contain;
51                margin-left: 0.5rem; // FIXME hard coded in plugins/edit.less
52            }
53
54            &:hover,
55            &:active,
56            &:focus {
57                background-color: @button_color;
58                color: @button_background;
59                border-color: @button_background;
60            }
61        }
62    }
63}
64
65/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
66/* min-width: 1440px */
67
68@media @screen_min-xlg {
69}
70
71/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
72/* max-width: 1199px */
73
74@media @screen_max-xlg {
75}
76