Skip to content

Instantly share code, notes, and snippets.

@P233
Last active December 9, 2016 07:51
Show Gist options
  • Save P233/6658661 to your computer and use it in GitHub Desktop.
Save P233/6658661 to your computer and use it in GitHub Desktop.
体积稍大,需要压缩: http://cssminifier.com/
a:link, a:visited, a:active {
color: #8e8d93;
-webkit-transition: all .15s;
-moz-transition: all .15s;
-ms-transition: all .15s;
-o-transition: all .15s;
transition: all .15s;
}
a.top:link, a.top:visited, a.top:active {
color: #000;
text-shadow: none;
}
a.top:hover {
color: #8e8d93;
text-shadow: none;
}
a.tab_current:link, a.tab_current:visited, a.tab_current:active {
background-color: #f63b30;
}
a.tab_current:hover {
background-color: #f63b30;
}
a.count_livid:link, a.count_livid:active {
padding: 0;
width: 30px;
height: 16px;
border: 2px solid #0c63ff;
border-radius: 16px;
background: inherit;
color: #0c63ff;
text-align: center;
font-size: 12px;
line-height: 16px;
}
a.count_livid:hover {
background: #0c63ff;
color: #fff;
}
a.count_livid:visited {
border-color: #8e8d93;
color: #8e8d93;
}
a.count_livid:visited:hover {
border-color: #8e8d93;
background-color: #8e8d93;
color: #fff;
}
a.tb:hover {
background-color: #f63b30;
color: #fff;
text-shadow: none;
}
.item_title a {
color: #222;
}
.gray a {
color: #8e8d93 !important;
}
.header a {
color: #f63b30;
}
#Top {
border-bottom: 1px solid #cfcfcf;
background-color: #f7f7f7;
background-image: none;
/* 解决 ios7 safari 中出现的 double border */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
#Wrapper {
background: url(http://p233.github.com/assets/codepen/v2ex-theme-bg/diamond.png) fixed;
/* retian display */
/* background: url(http://p233.github.com/assets/codepen/v2ex-theme-bg/diamond_retina.png) fixed; */
}
.box {
overflow: hidden;
border-bottom: none;
border-radius: 6px;
background: rgba(255, 255, 255, .85);
box-shadow: none;
color: #222 !important;
text-shadow: none;
}
.topic_content, .reply_content {
color: #222 !important;
}
.cell {
border-bottom: 1px solid #eaeaea;
}
.item {
background: none;
}
.topic_buttons {
border-radius: 0 0 5px 5px;
background: none;
}
.super.button, .normal.button {
padding: 5px 15px;
border: none;
background: #4ed34a;
box-shadow: none;
color: #fff;
text-shadow: none;
font-weight: normal;
-webkit-transition: all .15s;
-moz-transition: all .15s;
-ms-transition: all .15s;
-o-transition: all .15s;
transition: all .15s;
-webkit-appearance: none;
}
.super.button:hover, .normal.button:hover {
border: none;
background: #8e8d93;
box-shadow: none;
color: #fff;
text-shadow: none;
font-weight: normal;
}
.item_node {
padding: 5px 10px;
border: none;
border-radius: 3px;
background: #8e8d93;
color: #fff !important;
}
.item_node:hover {
border: none;
background: #4ed34a;
}
.fade {
color: #b5b5b5;
}
.dock_area {
background: #f7f7f7;
background-image: none;
}
.subtle {
border-bottom: 1px solid #eaeaea;
}
.transparent {
border: 2px dashed rgba(0, 0, 0, 0.1) !important;
background-color: transparent !important;
}
.online {
padding: 2px 8px;
background: #4ed34a;
line-height: 12px;
}
img.avatar {
-moz-border-radius: 5px;
border-radius: 5px;
}
.sl {
padding: 5px 8px;
width: 310px;
border: none;
background: #eee;
box-shadow: none;
}
.ml {
width: 316px;
border: none;
background: #eee;
box-shadow: none;
}
.sll, .mll, .mle {
border: none;
background: #eee;
box-shadow: none;
}
.sl:focus, .sll:focus, .ml:focus, .mll:focus, .mle:focus {
outline: none;
border: none;
background: #fefefe;
box-shadow: none;
color: #353535;
}
.topic_content .gist {
width: 660px !important;
}
.reply_content .gist {
width: 610px !important;
}
/*------- animation, IE9 请不要使用以下样式 -------*/
#Top, .box {
opacity: 0;
-webkit-transform: scale(1.5, 1.5);
-moz-transform: scale(1.5, 1.5);
-ms-transform: scale(1.5, 1.5);
-o-transform: scale(1.5, 1.5);
transform: scale(1.5, 1.5);
-webkit-animation: zoom_out 0.5s ease forwards;
-moz-animation: zoom_out 0.5s ease forwards;
-ms-animation: zoom_out 0.5s ease forwards;
-o-animation: zoom_out 0.5s ease forwards;
animation: zoom_out 0.5s ease forwards;
}
@-webkit-keyframes zoom_out {
to {
opacity: 1;
-webkit-transform: scale(1, 1);
}
}
@-moz-keyframes zoom_out {
to {
opacity: 1;
-moz-transform: scale(1, 1);
}
}
@-ms-keyframes zoom_out {
to {
opacity: 1;
-ms-transform: scale(1, 1);
}
}
@-o-keyframes zoom_out {
to {
opacity: 1;
-o-transform: scale(1, 1);
}
}
@keyframes zoom_out {
to {
opacity: 1;
transform: scale(1, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment