Created
January 29, 2015 13:20
-
-
Save eri-trabiccolo/f2e7ed675093674de08d to your computer and use it in GitHub Desktop.
home content dividers
This file contains hidden or 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
/* remove sidebar borders on home*/ | |
.home #left.widget-area, | |
.home #right.widget-area{ | |
border: none; | |
} | |
.home #left.widget-area:after, | |
.home #right.widget-area:before{ | |
border: none; | |
} | |
/* add #content borders on home */ | |
.home #content { | |
position: relative; | |
} | |
.home #content:before, | |
.home #content:after{ | |
content: ''; | |
position: absolute; | |
height: 96%; | |
} | |
.home #content:before{ | |
border-left: 2px solid white; | |
left: -20px; | |
top: 2%; | |
} | |
.home #content:after{ | |
border-right: 2px solid white; | |
right: -20px; | |
bottom: 2%; | |
} | |
@media ( min-width: 1200px){ | |
.home #content:before{ | |
left: -30px; | |
} | |
.home #content:after{ | |
right: -30px; | |
} | |
} | |
@media ( max-width: 767px ){ | |
.home #content:before, | |
.home #content:after{ | |
border: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment