some improvements in wiki formatting;

fix property order in _issue.scss
This commit is contained in:
mrliptontea
2015-02-21 23:57:44 +01:00
parent d32999101e
commit 2997bdf085
5 changed files with 21 additions and 17 deletions

View File

@@ -65,6 +65,7 @@ Latest (master):
+ Changed some trackers default colors
+ Bolded user name on issue page if it's current user
* Issue's journal appearance changed once again
+ Some improvements in wiki formatting
v1.1.0 (2015-02-15):

View File

@@ -74,8 +74,8 @@ $font-size-large-px: 18px !default;
$font-size-small: .86em !default;
$font-size-small-px: 12px !default;
$font-size-h1: 2.285em !default;
$font-size-h2: 1.857em !default;
$font-size-h1: 2.25em !default;
$font-size-h2: 1.75em !default;
$font-size-h3: 1.5em !default;
$font-size-h4: 1.286em !default;
$font-size-h5: 1em !default;
@@ -86,7 +86,7 @@ $line-height-large: 1.33 !default;
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
$headings-font-weight: 700 !default;
$headings-line-height: 1.2 !default;
$headings-line-height: 1.4 !default;
//== Wiki

View File

@@ -247,13 +247,13 @@ table.attributes {
&:before {
display: block;
content: "";
position: absolute;
top: -($line-height-computed + 2px);
left: 22px;
width: 4px;
height: $line-height-computed;
background-color: darken($body-bg, 5%);
content: "";
z-index: -1;
}
@@ -354,15 +354,15 @@ table.attributes {
}
&:before {
position: absolute;
display: block;
content: "";
position: absolute;
top: 5px;
left: -($bubble-padding-horizontal * 1.5 + 6px / 2);
width: 6px;
height: 6px;
border-radius: 50%;
background-color: $gray-light;
content: "";
}
}

View File

@@ -18,14 +18,14 @@ div.wiki {
h5,
h6 {
margin-top: 1em;
margin-bottom: .5em;
margin-bottom: $wiki-font-size;
font-weight: $headings-font-weight;
line-height: $headings-line-height;
}
h1 { font-size: $font-size-h1; }
h2 { font-size: $font-size-h2; }
h3 { font-size: $font-size-h3; }
h1 { font-size: $font-size-h1; line-height: 1.2; }
h2 { font-size: $font-size-h2; line-height: 1.225; }
h3 { font-size: $font-size-h3; line-height: 1.43; }
h4 { font-size: $font-size-h4; }
h5 { font-size: $font-size-h5; }
h6 { font-size: $font-size-h6; }
@@ -65,16 +65,19 @@ div.wiki {
}
}
p,
ul,
ol {
padding-left: 2em;
margin-bottom: 1em;
}
ul,
ol {
padding-left: 1.5em;
ul,
ol {
list-style-type: lower-roman;
ol {
list-style-type: lower-alpha;
}
margin-bottom: 0;
}
}

File diff suppressed because one or more lines are too long