V2EX自定义CSS很赞啊!

2012-05-18 23:06:41 +08:00
 xxwd001



截图不是很清楚,实际效果好很多!
5049 次点击
所在节点    分享发现
16 条回复
ichigo
2012-05-18 23:09:25 +08:00
我还是喜欢默认的,白底黑字,简单就好。
yetone
2012-05-18 23:10:12 +08:00
你这点阵字体。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
danzwl
2012-05-18 23:11:50 +08:00
不懂,但是要学CSS应该去哪里好?
xxwd001
2012-05-18 23:14:51 +08:00
@ichigo 可以尝试一下,还是挺不错的,发这个的时候随便换了一张背景图片,可能没那么协调!
@yetone NaLi???
vencentge
2012-05-18 23:15:04 +08:00
no matter what ,THS for share !
xxwd001
2012-05-18 23:16:44 +08:00
@danzwl 弄个博客玩玩,折腾一下基本的一些东西应该就懂了
chendeshen
2012-05-18 23:22:17 +08:00
共享一下嘛!!!或者教教也好~~~
xinkiang
2012-05-18 23:24:21 +08:00
可以贴一下代码嘛~
弄的这么花哨真的好么~
xxwd001
2012-05-18 23:27:28 +08:00
由于CSS大小有4K的限制,所以回复和回复提示没改动,可以看看减少一些不必要的代码
下面是代码:
#Wrapper {
background:url("http://i.minus.com/iWePZIBbaQ496.JPG") no-repeat 50% 0 ;
text-align: center; background-attachment: fixed; }
.box {
background-color: rgba(0,0,0,0.5);
color:white;
border-bottom: 2px solid rgba(0,0,0,0.4);
}
.topic_content, .reply_content{
color:#f0f0f0;
font-size:14px;
line-height:180%;
}
a:link,a:visited,a:active{
color:#1EB9ED;
text-shadow:none;
}
.inner{
padding:10px;
font-size:12px;
line-height:150%;
text-align:left;
}
.cell{
padding:10px;
font-siez:12px;
line-height:120%;
text-align:left;
border-bottom:1px solid rgba(234,234,234,0.5);
}
.mll,.mlt,.sll{
background-color:rgba(0,0,0,0.2);
color:white;
border:1px solid rgba(100,100,120,0.5);
}
.sl {
background-color:rgba(0,0,0,0.2);
color:white;
border-radius: 4px;
padding: 5px;
font-size: 14px;
border: 1px solid rgba(100,100,120,0.5);
box-shadow: 0pt 1px 2px rgba(0, 0, 0, 0.18) inset;
width: 310px;
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti !important;
}
.ml {
background-color:rgba(0,0,0,0.2);
color:white;
border-radius: 3px;
padding: 5px;
font-size: 14px;
border: 1px solid rgba(100,100,120,0.5);
display: block;
width: 310px;
height: 160px;
box-shadow: 0pt 1px 2px rgba(0, 0, 0, 0.18) inset;
font-family: "Panic Sans", "Menlo", "DejaVu Sans Mono", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti !important;
}
select,keygen {
background-color:rgba(0,0,0,0.2);
color:white;
box-sizing: border-box;
-webkit-box-align: center;
border: 1px solid rgba(100,100,120,0.5);
border-image: initial;
white-space: pre;
-webkit-rtl-ordering: logical;
cursor: default;
}
a.node:link, a.node:visited, a.node:active {
background-color: rgba(0,0,0,0.3);
color:white;
font-size: 10px;
line-height: 10px;
display: inline-block;
padding: 4px 4px 4px 4px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
text-decoration: none;
}
a.count_livid:link, a.count_livid:active {
background-color: rgba(0,0,0,0.2);
border-radius: 12px 12px 12px 12px;
color: white;
display: inline-block;
font-weight: bold;
line-height: 12px;
margin-right: 5px;
padding: 2px 10px;
text-decoration: none;
}
.item_node {
background: rgba(0,0,0,0.1);
border: 1px solid rgba(100,100,120,0.5);
border-radius: 4px 4px 4px 4px;
display: inline-block;
font-size: 12px;
line-height: 12px;
margin: 0 5px 5px 0;
padding: 4px 10px;
}
.item_node:hover {
text-decoration: none;
color: #088a08;

border: 1px solid rgba(234,234,234,0.5);
}
.no {
background-color: rgba(0,0,0,0.4);
border-radius: 10px 10px 10px 10px;
color: #CCCCCC;
display: inline-block;
font-size: 9px;
font-weight: 500;
line-height: 9px;
padding: 2px 5px;
}
a.op:link, a.op:visited, a.op:active {
background-color: rgba(0, 0, 0, 0.5);
color:#088a08;
font-size: 10px;
line-height: 10px;
display: inline-block;
padding: 3px 4px 3px 4px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px
text-decoration: none;
border: 1px solid rgba(100,100,120,0.5);
}
a.op:hover {
background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(234,234,234,0.5);
color: #1eb9ed;
}
.inner:hover a.thank:hover, .cell:hover a.thank:hover {
background-color: rgba(0, 0, 0, 0.1);
color:#088a08
}
element.style {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 5px 5px 5px 5px;
font-size: 12px;
line-height: 24px;
padding: 5px 10px;
}
.dock_area {
background-color: rgba(0,0,0,0.3);
background-image: url("/static/img/dock_shadow.png");
background-repeat: repeat-x;
color:white;
}
.f12 {
font-size: 12px;
color:rgba(8,139,8,1);
}
xxwd001
2012-05-18 23:36:55 +08:00
@chendeshen @xinkiang 忘记at了
chendeshen
2012-06-08 19:28:12 +08:00
@xxwd001 THX so much!
Semidio
2012-06-08 19:34:05 +08:00
liuhang0077
2012-06-08 19:45:44 +08:00
这个背景图有点。。。 我刚弄了个背景图 压缩好了 已经放在 性浪~


这个 我觉得好看一些
gucheen
2012-06-08 19:49:21 +08:00
@Semidio 我也用这个
Yang_NH
2012-06-09 01:09:17 +08:00
还是默认的好……
hzlzh
2012-06-09 01:18:53 +08:00
只用默认的,反正样式只对自己生效。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/36508

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX