Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
3aec5caa
Commit
3aec5caa
authored
Apr 15, 2013
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use sibling selectors for internal padding/borders
This addresses some of #370
parent
6b12541b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
16 deletions
+12
-16
common.scss
h/css/common.scss
+12
-16
No files found.
h/css/common.scss
View file @
3aec5caa
...
...
@@ -21,13 +21,12 @@ body {
}
p
{
margin
:
0
0
2em
0
;
-webkit-hyphens
:
auto
;
-moz-hyphens
:
auto
;
hyphens
:
auto
;
&
:last-child
{
margin
-bottom
:
0
;
&
+
p
{
margin
:
2em
0
0
;
}
}
...
...
@@ -312,9 +311,9 @@ blockquote {
.dropdown-menu
{
@include
rotateX
(
90deg
);
background
:
$white
;
border
:
solid
1px
$grayLighter
;
left
:
0
;
top
:
2em
;
border
:
solid
.1em
$grayLighter
;
float
:
left
;
opacity
:
0
;
pointer-events
:
none
;
...
...
@@ -332,13 +331,12 @@ blockquote {
}
li
{
cursor
:
pointer
;
line-height
:
1
;
text-align
:
left
;
margin
:
.4em
.5em
0
;
padding-bottom
:
.5em
;
border-bottom
:
dotted
1px
$grayLighter
;
padding
:
.5em
;
white-space
:
nowrap
;
cursor
:
pointer
;
&
:hover
{
color
:
black
;
}
...
...
@@ -362,8 +360,9 @@ blockquote {
cursor
:
default
;
}
}
&
:last-child
{
border-bottom
:
0
;
&
+
li
{
border-top
:
dotted
1px
$grayLighter
;
}
}
...
...
@@ -525,11 +524,6 @@ blockquote {
@include
force-wrap
;
clear
:
both
;
margin
:
.25em
0
;
p
:first-child
{
margin-top
:
0
;
}
p
:last-child
{
margin-bottom
:
0
;
}
}
...
...
@@ -580,7 +574,9 @@ blockquote {
border-left
:
1px
dotted
$grayLight
;
position
:
relative
;
&
:first-child
{
margin-top
:
.5em
;
}
&
:first-child
{
margin-top
:
.5em
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment