diff --git a/css/area_main-content.less b/css/area_main-content.less new file mode 100644 index 0000000..e6aeee9 --- /dev/null +++ b/css/area_main-content.less @@ -0,0 +1,67 @@ +/** + * This file provides the design styles for the main-content. + * + * @author Jana Deutschlaender + */ + + +#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; + } + } +} diff --git a/css/plugins/struct.less b/css/plugins/struct.less new file mode 100644 index 0000000..eec790a --- /dev/null +++ b/css/plugins/struct.less @@ -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; + } + } +} diff --git a/style.ini b/style.ini index 64ea103..0744537 100755 --- a/style.ini +++ b/style.ini @@ -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 _____________