SPR-908: QS - margin, padding, font-size

This commit is contained in:
Silke Pisulla 2017-03-30 10:39:12 +02:00
commit eeaa70e6b8
4 changed files with 24 additions and 15 deletions

View file

@ -1,11 +1,11 @@
/** /**
* This styles the section editing buttons and highlighting * This styles the section editing buttons and highlighting
*/ */
#dokuwiki__content.main-content {
@button-margin: .5rem; // FIXME shouldn't we have something in our base.less for this?
#dokuwiki__content.main-content {
div.section_highlight { div.section_highlight {
clear: right; // FIXME why? clear: right;
background: repeating-linear-gradient( background: repeating-linear-gradient(
-45deg, -45deg,
@highlight-odd-ini_text, @highlight-odd-ini_text,
@ -13,13 +13,14 @@
@highlight-even-ini_text 10px, @highlight-even-ini_text 10px,
@highlight-even-ini_text 20px, @highlight-even-ini_text 20px,
); );
border-color: @ini_background_page_header;
} }
.secedit button { .secedit button {
clear: both; clear: both;
font-size: 100%; font-size: 100%;
margin-top: -1em; margin-top: -1em;
margin-bottom: @button-margin; margin-bottom: @small-spacing;
} }
.editbutton_section { .editbutton_section {
@ -41,7 +42,7 @@
height: 1em; height: 1em;
width: 1em; width: 1em;
background-size: contain; background-size: contain;
margin-left: @button-margin; margin-left: @small-spacing;
} }
&:hover, &:hover,

View file

@ -19,14 +19,22 @@
border: 1px solid @ini_existing; border: 1px solid @ini_existing;
} }
} }
}
}
> div {
> ul,
> ol {
> li {
margin-bottom: @small-spacing;
}
} }
} }
.wikipagefooter { .wikipagefooter {
> hr { > hr {
margin-top: 3em; margin-top: 3em;
margin-bottom: 0.5em; margin-bottom: .5em;
border-top: dashed @ini_border_light 2px; border-top: dashed @ini_border_light 2px;
border-bottom: none; border-bottom: none;
} }

View file

@ -87,9 +87,9 @@
/* icons */ /* icons */
@noopentasks-background: #ECECEC; /* metabox tabs + num in icons + tabinclude */ @noopentasks-background: #ECECEC; /* metabox tabs + num in icons + tabinclude + code, pre, samp, kbd */
@noopentasks-border: #BBB; /* metabox tabs + num in icons */ @noopentasks-border: #BBB; /* metabox tabs + num in icons + code, pre, samp, kbd */
@noopentasks-color: #666; /* metabox tabs + num in icons */ @noopentasks-color: #666; /* metabox tabs + num in icons + code, pre, samp, kbd */
/* navigation left */ /* navigation left */
@ -126,10 +126,10 @@
@font-size-head6: @font-size-default; @font-size-head6: @font-size-default;
@font-size-head5: @font-size-default + @font-scale-factor; @font-size-head5: @font-size-default + @font-scale-factor;
@font-size-head4: @font-size-default + (@font-scale-factor * 2); @font-size-head4: @font-size-default + (@font-scale-factor * 3);
@font-size-head3: @font-size-default + (@font-scale-factor * 3); @font-size-head3: @font-size-default + (@font-scale-factor * 5);
@font-size-head2: @font-size-default + (@font-scale-factor * 4); @font-size-head2: @font-size-default + (@font-scale-factor * 7);
@font-size-head1: @font-size-default + (@font-scale-factor * 5); @font-size-head1: @font-size-default + (@font-scale-factor * 9);
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + */

View file

@ -1,5 +1,5 @@
@media @screen_max-md{ @media @screen_max-md {
#plugin__highlightparent{ #plugin__highlightparent {
clear: both; clear: both;
margin-top: 1rem; margin-top: 1rem;
} }