V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xxwd001
V2EX  ›  分享发现

V2EX自定义CSS很赞啊!

  •  1
     
  •   xxwd001 · 2012-05-18 23:06:41 +08:00 · 4851 次点击
    这是一个创建于 4362 天前的主题,其中的信息可能已经有所发展或是发生改变。



    截图不是很清楚,实际效果好很多!
    16 条回复    1970-01-01 08:00:00 +08:00
    ichigo
        1
    ichigo  
       2012-05-18 23:09:25 +08:00   ❤️ 1
    我还是喜欢默认的,白底黑字,简单就好。
    yetone
        2
    yetone  
       2012-05-18 23:10:12 +08:00
    你这点阵字体。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    danzwl
        3
    danzwl  
       2012-05-18 23:11:50 +08:00
    不懂,但是要学CSS应该去哪里好?
    xxwd001
        4
    xxwd001  
    OP
       2012-05-18 23:14:51 +08:00
    @ichigo 可以尝试一下,还是挺不错的,发这个的时候随便换了一张背景图片,可能没那么协调!
    @yetone NaLi???
    vencentge
        5
    vencentge  
       2012-05-18 23:15:04 +08:00
    no matter what ,THS for share !
    xxwd001
        6
    xxwd001  
    OP
       2012-05-18 23:16:44 +08:00
    @danzwl 弄个博客玩玩,折腾一下基本的一些东西应该就懂了
    chendeshen
        7
    chendeshen  
       2012-05-18 23:22:17 +08:00   ❤️ 1
    共享一下嘛!!!或者教教也好~~~
    xinkiang
        8
    xinkiang  
       2012-05-18 23:24:21 +08:00
    可以贴一下代码嘛~
    弄的这么花哨真的好么~
    xxwd001
        9
    xxwd001  
    OP
       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
        10
    xxwd001  
    OP
       2012-05-18 23:36:55 +08:00
    @chendeshen @xinkiang 忘记at了
    chendeshen
        11
    chendeshen  
       2012-06-08 19:28:12 +08:00
    @xxwd001 THX so much!
    Semidio
        12
    Semidio  
       2012-06-08 19:34:05 +08:00
    liuhang0077
        13
    liuhang0077  
       2012-06-08 19:45:44 +08:00
    这个背景图有点。。。 我刚弄了个背景图 压缩好了 已经放在 性浪~


    这个 我觉得好看一些
    gucheen
        14
    gucheen  
       2012-06-08 19:49:21 +08:00
    @Semidio 我也用这个
    Yang_NH
        15
    Yang_NH  
       2012-06-09 01:09:17 +08:00
    还是默认的好……
    hzlzh
        16
    hzlzh  
       2012-06-09 01:18:53 +08:00
    只用默认的,反正样式只对自己生效。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   903 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:57 · PVG 03:57 · LAX 12:57 · JFK 15:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.