Skip to content

Instantly share code, notes, and snippets.

@Kaiyuan
Last active December 22, 2015 15:29
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kaiyuan/6492559 to your computer and use it in GitHub Desktop.
Save Kaiyuan/6492559 to your computer and use it in GitHub Desktop.
V2EX 扁平化风格
#Top {background: #333;}
#Top, .item, .item_node, #Search div, .dock_area, .topic_buttons, .super.button, .topic_buttons:hover, .super.button:hover, #Wrapper {background-image: none !important;}
#Search div {background-color: #fff !important;border-radius: 19px;}
.topic_buttons {background-color: #eee;}
.normal.button,.normal.buttonhover {text-shadow: 0 0 0 #fff;}
.box, .normal.button, .normal.button:hover, textarea,input.sl {text-shadow: 0 0 0 #fff;box-shadow: 0 0 0 #fff !important;}
.box {border-width: 0;}
img[alt="V2EX"] {-webkit-filter: invert(100%);}
a, input {transition: all .3s;}
@Hwdee
Copy link

Hwdee commented Sep 10, 2013

V2EX 的 LOGO 不支持 Retina.

@Kaiyuan
Copy link
Author

Kaiyuan commented Sep 11, 2013

LOGO 是用 CSS3 滤镜将原来的黑色 LOGO 反色,因为 webkit 的反色滤镜还不支持 Retina,所以加了滤镜会变得模糊!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment