Created
June 12, 2014 10:40
-
-
Save Paul-Browne/e6612fe3e339f4fb79cd to your computer and use it in GitHub Desktop.
indent styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 767px) { | |
.m-no-break > p { | |
display: inline; | |
} | |
.m-no-break > p, | |
.m-indent > p { | |
margin-bottom: 0; | |
} | |
.m-no-break, | |
.m-indent { | |
margin-bottom: 1.5295em; | |
} | |
.m-no-break > p + [class*="m-col-"], | |
.m-no-break > p + .clearfix, | |
.m-indent > p + [class*="m-col-"], | |
.m-indent > p + .clearfix { | |
margin-top: 1.5295em; | |
} | |
.m-indent > p + p, | |
.m-indent > .clearfix + p, | |
.m-indent > [class*="m-col-"] + p { | |
text-indent: 2.5em; | |
} | |
} | |
@media only screen and (min-width: 768px) { | |
.d-no-break > p { | |
display: inline; | |
} | |
.d-no-break > p, | |
.d-indent > p { | |
margin-bottom: 0; | |
} | |
.d-no-break, | |
.d-indent { | |
margin-bottom: 1.5295em; | |
} | |
.d-no-break > p + [class*="d-col-"], | |
.d-no-break > p + .clearfix, | |
.d-indent > p + [class*="d-col-"], | |
.d-indent > p + .clearfix { | |
margin-top: 1.5295em; | |
} | |
.d-indent > p + p, | |
.d-indent > .clearfix + p, | |
.d-indent > [class*="d-col-"] + p { | |
text-indent: 2.5em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment