1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

utom在吗?

本帖由 泪随风逝2006-08-06 发布。版面名称:谈天说地

  1. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    帮我修改一个css可以吗??
    国外的模板,显示中文有点丑,不懂怎么改。
    另外帮我找一个地方改一个颜色。
    仅此:lovely:





    PHP:
    /* project: internet center template
       author: luka cvrk (www.solucija.com) */

    table {width100%;}
    /* default styles
       -------------- */
       
    body 
        
    padding0
        
    margin0
        
    font0.7em Tahomasans-serif
        
    line-height1.5em;
        
    background#fff; 
        
    color#454545;
        
    }

    {
        
    color#185DA0;
        
    backgroundinherit;
        
    text-decorationnone;
    }

    a:hover {
        
    color#9EC068;
        
    backgroundinherit;    
        
    text-decorationnone;
    }

    a.title {
        
    color#FE6700;
        
    background#FFF;
    }

    .
    banner {
        
    padding-bottom2px;
        
    padding-top2px;
        
    text-aligncenter;
        }
    h1 {
        
    fontbold 2em ArialSans-Serif;
       
    padding-top20px;    
        
    margin0;
        
    text-aligncenter;
    }

    h1 ah2 a {
        
    text-decorationnone;
    }

    h1 a:hoverh2 a:hover {
        
    color#FF6600;
        
    background#FFF;
    }


    h2 
        
    margin0
        
    padding0
        
    fontbold 1.7em ArialSans-Serif
    }

    h2 
        
    font-size15px;
        
    margin-bottom5px
        
    color#000; 
        
    backgroundinherit;
    }

    {    
        
    margin0 0 5px 0;
        
    }

    ul 
        
    margin0
        
    padding 0
        list-
    style none
    }

    form 
        
    margin0
    }

    input.search 
        
    width199px
        
    bordernone;
        
    backgroundurl(images/input.gif); 
        
    padding4px
        
    border1px solid #9EC068;
    }

    input.login 
        
    width150px;
        
    bordernone
        
    backgroundurl(images/logininput.gif); 
        
    padding4px
    }

    /* layout
       ------ */

    .logo {
       
    text-alignleft;
       
    padding2px;
    }
    .
    content 
        
    margin10px auto;
        
    width760px
    }

    .
    header 
        
    height45px
    }

    .
    top_info {
        
    floatright;
        
    width570px;
        
    padding0 0 4px 0;
        
    border-bottom1px solid #eee;
    }

        .
    top_info_left {
            
    width240px;
            
    floatleft;
        }

        .
    top_info_right {
            
    floatright;
            
    width290px;
            
    padding0 0 0 35px;
            
    border-left1px solid #eee;
        
    }

    .
    slogan {
        
    font-size0.9em;
        
    width180px;
    }


    .
    bar 
        
    clearboth;
        
    font-size1.1em;
        
    height30px
        
    margin0 0 0 0px
    }

        .
    bar li 
            
    margin0
            
    padding4px 10px 8px 10px;
            
    color#808080;
            
    background#FFF;
            
    floatleft
        }
        
        .
    bar li:hover a
            
    background#FFFFFF url(images/bar.gif) no-repeat center bottom; 
            
    color#9EC068;
            
    font-weightbold
            
    padding-bottom8px
        }

        .
    bar a 
            
    font-weightbold;
            
    color#4A8EBC; 
            
    backgroundinherit;    
        } 

    .
    search_field 
        
    background#DCF2B8 url(images/barbg.gif) no-repeat; 
        
    color#000;
        
    border-top1px solid #9EC068;
        
    border-bottom1px solid #9EC068;
        
    clearboth;
        
    text-aligncenter
        
    padding10px 0 5px 0;
    }

    .
    subheader {
        
    margin3px 0 10px 0;
        
    padding8px;
        
    background#f4f4f4 url(images/subheaderbg.gif) no-repeat;
        
    color#808080;
        
    border-bottom1px solid #ccc;
    }

    td#usermenu a {text-align: left; background-color: White; display: block; margin: 0; padding: 4px;}
    td#usermenu a:hover {background-color: #E4E4E4;}
    td#usermenu a.highlight {background-color: #fcc;}
    /* left side
       --------- */

    .left {
        
    floatleft;
        
    width525px;
        
    margin0 0 10px 0;
    }
        .
    left_articles {
            
    margin0px 0 10px 0;
            
    padding2px;
        }

        .
    left_links {
            
    border1px solid #eee;
            
    padding10px 10px 10px 15px;    
            
    margin0 0 10px 0;
        }
        
        .
    left_links:hover {
            
    border1px solid #ccc;
        
    }
        
        .
    left_message {
            
    border1px solid #eee;
            
    padding10px 10px 10px 75px;    
            
    margin0 0 10px 0;
            
    background#fff url(images/questionmark.gif) no-repeat center left;
            
    color#454545; 
        
    }
        
        .
    left_message:hover {
            
    border1px solid #ccc;
        
    }
        
            .
    left_side {
                
    floatleft;
                
    width250px;
            }
            
            .
    right_side {
                
    floatright;
                
    width220px;
                
    border-left1px solid #eee;
                
    padding0 0 0 20px;
            }
            
        .
    left_box {
            
    background#f4f4f4;
            
    color#000;
            
    border1px solid #ccc;
            
    padding10px;
            
    text-aligncenter;
            }
        
    /* right side
       ---------- */
            
    .right {
        
    floatright;
        
    width220px;
        
    margin0 0 10px 0;
    }

        .
    right_login {
            
    padding10px;
            
    margin0 0 10px 0;
            
    background#A9D4F2;
            
    color#246088;
            
    border-top1px solid #4A8EBC;
            
    border-bottom1px solid #4A8EBC;
        
    }

        .
    right_articles {
            
    border1px solid #eee;
            
    padding8px;    
            
    margin0 0 10px 0;
        }
        
        .
    right_articles:hover {
            
    border1px solid #ccc;
        
    }
            
    .
    image {
        
    floatleft;
        
    margin0 9px 3px 0;
    }

    /* footer
       ------ */

    .footer {
        
    clearboth
        
    text-aligncenter;
        
    line-height1.8em;
        
    color#808080;
        
    background#FFF;
        
    padding5px 0 5px 0;
        
    border-top1px solid #eee;
        
    font-size10px;
    }

    .
    footer a {
        
    color#9EC068;
        
    background#fff;
    }
    /* item
       ------ */
    th {background-color#DCF2B8; color: #FFFFFF; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica;}

    th a{background-color#DCF2B8; color: #FFFFFF; padding : 2px; vertical-align : middle; font-family: Verdana, Arial, Helvetica;}

    .item {border1px dotted #9EC068;}
    .itemHead {padding3pxborder1px solid #FFFFFF; color: #FFFFFF; background-color: #DCF2B8;}
    .itemInfo {
        
    text-aligncenter;
        
    padding3px;
        
    border-left1px solid #FFFFFF;
        
    border-right1px solid #FFFFFF;
        
    color#54606C;
        
    background-color#f4f4f4;
    }
    .
    itemTitle a:link, .itemTitle a:active, .itemTitle a:visited {color#FFFFFF; font-weight: bold; text-decoration: none;}
    .itemTitle a:hover {color#FFFFFF; font-weight: bold; text-decoration: underline;}
    .itemPoster {font-size10px;}
    .
    itemPostDate {font-size10px;}
    .
    itemStats {font-size10px;}
    .
    itemBody {padding-left3px;}
    .
    itemText {margin-top3pxmargin-bottom3pxline-height120%;}
    .
    itemText:first-letter {}
    .
    itemFoot {text-aligncenterpadding:3pxborder:1px solid #FFFFFF; color: #708090; background-color: #E2E6E9;}
    .itemAdminLink {font-size10px;}
    .
    itemPermaLink {font-size10px;}

    .
    outer {border1px dotted #D3D3D3;}
    .head {background-color#F8E8B1; color: #696767; padding: 3px; font-weight: bold;}
    .even {background-color#f5f5f5; padding: 3px;}
    .odd {background-color#FFFFFF; padding: 3px;}
    tr.even td {background-color#f5f5f5; padding: 3px;}
    tr.odd td {background-color#ffffff; padding: 3px;}
    .foot {background-color#f5f5f5; padding: 3px; font-weight: bold;}

    /* listing
       ------ */

    li {margin-left1px; list-styleurl(images/arrow.gifcircle insidecolor#000000;}


    div.errorMsg {background-color#FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
    div.confirmMsg {background-color#DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
    div.resultMsg {background-color #CCCCCC; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}

    div.xoopsQuote {color#FF6600; background-color: #ffffff; border: 1px dashed #FFCC00; padding: 6px;}

    .comTitle {font-weightboldmargin-bottom2px;}
    .
    comText {padding2px;}
    .
    comUserStat {font-size10pxcolor#2F5376; font-weight:bold; border: 1px solid silver; background-color: #ffffff; margin: 2px; padding: 2px;}
    .comUserStatCaption {font-weightnormal;}
    .
    comUserStatus {margin-left2pxmargin-top10pxcolor#2F5376; font-weight:bold; font-size: 10px;}
    .comUserRank {margin2px;}
    .
    comUserRankText {font-size10px;font-weight:bold;}
    .
    comUserRankImg {border0;}
    .
    comUserName {}
    .
    comUserImg {margin2px;}
    .
    comDate {font-weightnormalfont-styleitalicfont-sizesmaller;}
    .
    comDateCaption {font-weightboldfont-stylenormal;}

    .
    statstable margin:0pxpadding:0pxwidth:autofont-sizesmallfont-weightnormal;}
    .
    stats vertical-alignbottomwidth:625pxmargin:0border0;}
    .
    statsimg vertical-alignbottomwidth:25pxtext-align:center;}
    .
    statsimgweekday vertical-alignbottomfont-sizesmallfont-weightnormal;}
    .
    statswords border-width0font-sizex-smallbackground-colortransparentfont-weightnormaltext-align:centerwidth:25px;}
    .
    statsfore width30%; padding:2px;}
    .
    statsdiv text-align:centerpadding:0px;}

    div.xoopsCode {    font-size12px;
        
    font-familyFixedSys"Courier New",Courier,monospace;
        
    background#ffffff;
        
    border1px dashed #FFCC00;
        
    color#385a72;
        
    width500px;
        
    height200px;
        
    margin0.5em;
        
    overflowauto;
        
    padding3px 3px 3px 3px;
    }

    html {
        
    scrollbar-3dlight-color:#d1d7dc;
        
    scrollbar-arrow-color:#006699;
        
    scrollbar-darkshadow-color:#d9e2ec;
        
    scrollbar-face-color:#D1DCEB;
        
    scrollbar-highlight-color:#ffffff;
        
    scrollbar-shadow-color:#D1DCEB;
        
    scrollbar-track-color:#eaedf4;
    }
    /* CBB */

    tr.foot td {background-color#f7f7f7; padding: 3px; font-weight: bold;}

    /* color -- dropdown menu for Forum */
    div.dropdown adiv.dropdown .menubar a{
        
    color:#FFF;
    }

    div.dropdown .menudiv.dropdown .menubardiv.dropdown .itemdiv.dropdown .separator{
        
    background-color#2F5376; /* color set in your theme/style.ss .th{} is recommended */
        
    color:#FFF;
    }

    div.dropdown .separator{
        
    border1px inset #e0e0e0;
    }

    div.dropdown .menu a:hoverdiv.dropdown .userbar a:hover{
        
    color#333;
    }
    /* color - end */


    /* direction -- for rtl */
    div.dropdown uldiv.dropdown .userbar{
        
    directionltr;
    }

    div.dropdown li ul {
        
    left: -150px !important/* for IE, tune the value if necessary */
    }
    div.dropdown li>ul 
        
    left: -1px !important/* for non-IE, tune the value if necessary */
    }

    div.dropdown .userbar{
        
    floatright !important;  /* need a more formal solution, any help would be appreciated */
    }
    /* direction fix end */
     
  2. 小仙女

    小仙女 New Member

    注册:
    2005-09-08
    帖子:
    3,187
    赞:
    15
    不在,他给我打晕了

    :)
     
  3. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    这个“管理员”的字体的颜色改为浅蓝:lovely:
     
  4. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
  5. 控制面板

    控制面板 New Member

    注册:
    2006-07-27
    帖子:
    101
    赞:
    0
    文字大小问题罢了。

    诸如 11px/10px 的拉丁文字符,对应修改为中文的 12px 即可。
     
  6. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    很难看,怎么改?
     
  7. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    不懂,直接把改好的给我就可以了:lovely:
     
  8. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    然后……
     
  9. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    我要出去了,回来再找你
     
  10. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
  11. 控制面板

    控制面板 New Member

    注册:
    2006-07-27
    帖子:
    101
    赞:
    0
    理论上来说,line-height 使用相对值较好,例如 % 或者 em。

    font-size 可以设置一个基本值,其他的使用 em/small/large 等相对值,当然如果用户很少修改文字的大小来浏览,可以都使用精确值。

    font-family ,选择一个合适的字体集,既要保证中文的正常显示,也要使英文看上去比较舒服。
     
  12. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    感谢,修改了一下line-height,确实好多了。
    我在3楼说的问题呢?如何解决?
     
  13. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    不是啊,我是要改变它的颜色,但是找不到是哪个
     
  14. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    :lovely: 等待中
     
  15. 不学无术

    不学无术 Ulysses 的元神

    注册:
    2005-08-31
    帖子:
    16,714
    赞:
    39
    HTML:
    .even {background-color: #f5f5f5; padding: 3px;} 
    后面加上:

    HTML:
    .even a:link, .even a:visited {
        color: #xxx; /*这里颜色自己设置*/
        text-decoration: none;
    }
    .even a:hover, .even a:active {
        color: #xxx; /*自己设置*/
        text-decoration: underline;
    }
     
  16. 泪随风逝

    泪随风逝 New Member

    注册:
    2005-09-17
    帖子:
    2,891
    赞:
    17
    谢谢不学