css content + struct-plugin prepared

This commit is contained in:
Silke Pisulla 2017-01-05 08:14:09 +01:00
commit 158656e27e
3 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,67 @@
/**
* This file provides the design styles for the main-content.
*
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
*/
#dokuwiki__content.main-content {
/* + + + source block + + + */
.code {
margin-top: @grid;
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* min-width: 1440px */
@media @screen_min-xlg {
#dokuwiki__content.main-content {
p, a,
li, dl,
td, th,
label,
button {
font-size: .88rem;
line-height: 140%;
* {
font-size: inherit;
line-height: inherit;
}
}
.code {
font-size: .75rem;
}
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* max-width: 1199px */
@media @screen_max-xlg {
#dokuwiki__content.main-content {
p, a,
li, dl,
td, th,
label,
button {
font-size: 1rem;
line-height: 140%;
* {
font-size: inherit;
line-height: inherit;
}
}
.code {
font-size: .94rem;
}
}
}

24
css/plugins/struct.less Normal file
View file

@ -0,0 +1,24 @@
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* all media */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
#dokuwiki__content {
.structaggregation {
@link-height: 1.5rem;
position: relative;
padding-bottom: @link-height;
margin-bottom: @grid;
.table {
margin-bottom: 0;
}
> a {
position: absolute;
bottom: 0;
height: @link-height;
margin-bottom: 0;
}
}
}

View file

@ -71,12 +71,14 @@ css/area_sidebar-search.less = all
css/area_nav-pagetools.less = all
css/area_main-sidebar.less = all
css/area_sidetools.less = all
css/area_main-content.less = all
; _____________ plugin styles _____________
css/plugins/magic-matcher.less = all
css/plugins/do_tasks.less = all
css/plugins/struct.less = all
; _____________ print styles _____________