UI: Minor style fixes to node-details-description.
Blockquotes and unordered lists could have the first line badly indented since we introduced single-line comments. Now they both break the line before being displayed.
This commit is contained in:
parent
da14d34551
commit
5bcfa5218a
@ -38,7 +38,7 @@ $comments-width-max: 710px
|
|||||||
display: inline-block
|
display: inline-block
|
||||||
float: left
|
float: left
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
margin-right: 8px
|
margin-right: 10px
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
&.op
|
&.op
|
||||||
|
@ -394,14 +394,17 @@
|
|||||||
word-wrap: break-word
|
word-wrap: break-word
|
||||||
|
|
||||||
blockquote
|
blockquote
|
||||||
|
+clearfix
|
||||||
background-color: lighten($color-background-light, 5%)
|
background-color: lighten($color-background-light, 5%)
|
||||||
box-shadow: inset 5px 0 0 $color-background
|
box-shadow: inset 5px 0 0 $color-background
|
||||||
display: block
|
display: inline-block
|
||||||
|
width: 100%
|
||||||
font-size: 1em
|
font-size: 1em
|
||||||
margin:
|
margin:
|
||||||
|
bottom: 10px
|
||||||
left: 0
|
left: 0
|
||||||
right: 20px
|
right: 20px
|
||||||
bottom: 30px
|
top: 10px
|
||||||
padding: 5px 5px 5px 20px
|
padding: 5px 5px 5px 20px
|
||||||
text-shadow: 1px 1px 0 rgba(white, .2)
|
text-shadow: 1px 1px 0 rgba(white, .2)
|
||||||
|
|
||||||
@ -445,11 +448,10 @@
|
|||||||
+list-bullets
|
+list-bullets
|
||||||
|
|
||||||
ul
|
ul
|
||||||
margin-bottom: 25px
|
+clearfix
|
||||||
|
margin-bottom: 15px
|
||||||
|
|
||||||
li
|
li
|
||||||
margin-bottom: 7px
|
|
||||||
|
|
||||||
img
|
img
|
||||||
display: block
|
display: block
|
||||||
padding:
|
padding:
|
||||||
@ -461,8 +463,8 @@
|
|||||||
padding-left: 20px
|
padding-left: 20px
|
||||||
|
|
||||||
code, kbd, pre, samp
|
code, kbd, pre, samp
|
||||||
background-color: rgba($color-primary, .05)
|
background-color: darken(rgba($color-primary, .1), 30%)
|
||||||
color: darken($color-primary, 15%)
|
color: $color-primary
|
||||||
font-size: inherit
|
font-size: inherit
|
||||||
white-space: pre-line
|
white-space: pre-line
|
||||||
|
|
||||||
@ -471,7 +473,7 @@
|
|||||||
|
|
||||||
kbd
|
kbd
|
||||||
border:
|
border:
|
||||||
color: rgba($color-primary, .33)
|
color: darken(rgba($color-primary, .33), 50%)
|
||||||
radius: 3px
|
radius: 3px
|
||||||
style: solid
|
style: solid
|
||||||
width: 2px
|
width: 2px
|
||||||
@ -480,9 +482,13 @@
|
|||||||
font:
|
font:
|
||||||
size: .9em
|
size: .9em
|
||||||
weight: bold
|
weight: bold
|
||||||
margin: 2px
|
margin:
|
||||||
|
bottom: initial
|
||||||
|
left: 3px
|
||||||
|
right: 3px
|
||||||
|
top: initial
|
||||||
min-width: 15px
|
min-width: 15px
|
||||||
padding: 0 3px
|
padding: 0 5px
|
||||||
text:
|
text:
|
||||||
align: center
|
align: center
|
||||||
transform: uppercase
|
transform: uppercase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user