Skip to content

Instantly share code, notes, and snippets.

@benpigchu
Last active February 13, 2017 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benpigchu/cb59a57f2aa560a9bdb596136821ef2e to your computer and use it in GitHub Desktop.
Save benpigchu/cb59a57f2aa560a9bdb596136821ef2e to your computer and use it in GitHub Desktop.
Citrus design for v2ex
*{border-radius:0!important;position:relative}
.box{box-shadow:none}
.sep20:not(:first-child):not(:last-child){display:none}
.box:not(.transparent):not(:nth-child(1)):not(:nth-child(2)):before{content:"";height:20px;display:block;border:inherit}
#Main>.box:not(.transparent){box-shadow:0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)!important}
.box.transparent{margin-top:20px;margin-bottom:20px;}
.box.transparent+.sep20+.box:before{display:none}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment