zoukankan      html  css  js  c++  java
  • 自定义你的博客园样式

    在自己的博客管理 后台里面 有

    貌似不同的模板对应的HTML也不同

    这是我暂时的代码  挺丑的

        @charset 'UTF8';
        html,
        body {
            font-family: "微软雅黑","verdana", "Arial", "Helvetica", "sans-serif";
            box-shadow: 2px 2px 1px #888888;
        }
    
        body {
            background-color: #d3d3d3;
        }
    
        a {
            &:hover {
                text-decoration: none;
            }
        }
    
        #sub {
            display: none
        }
    
        #main_container {
            position: relative;
            padding-top: 80px;
        }
    
        #leftmenu {
            position: absolute;
            top: 0px;
            width: 100%;
            height: 100px;
            background-color: #20375f;
            box-sizing: border-box;
            h3 {
                display: none;
            }
            ul {
                margin: 15px 5px 5px 8px;
                li {
                    float: left;
                    margin-bottom: 0;
                    height: 40px;
                    a {
                        display: block;
                        height: 30px;
                        padding: 5px 10px !important;
                        line-height: 30px;
                        font-size: 15px;
                        text-align: center;
                        color: white !important;
                        border-radius: 4px;
                        border: none;
                        letter-spacing: 3px;
                        transition: all 200ms ease-in-out;
                        &:hover {
                            box-shadow: 0 0 9px 5px #2daebf !important;
                            background-color: #2daebf !important;
                            cursor: pointer;
                            margin: 0 0;
                            transform: scale(1.2);
                        }
                    }
                }
                &:after {
                    content: ' ';
                    clear: both;
                    height: 0;
                    display: block;
                    visibility: hidden;
                }
            }
            &>ul {
                li:nth-child(1), li:nth-child(4), #MyLinks1_XMLLink {
                    display: none;
                }
            }
        }
        #blog-sidecolumn {
            &>h3, &>ul {
                display: none;
            }
            .mySearch {
                .catListTitle {
                    display: none;
                }
                #widget_my_zzk {
                    text-align: right;
                    padding-right: 10px;
                    margin-top: 0;
                    height: 30px;
                    input {
                        vertical-align: initial;
                        display: inline;
                        margin: 5px;
                    }
                    .input_my_zzk {
                        width: 140px;
                        border-radius: 12px;
                        padding: 0 8px;
                        border: none;
                        transition: all 200ms ease-in-out;
                        &:focus {
                             200px;
                            height: 30px;
                            margin: 0;
                            transition: all 200ms ease-in-out;
                            outline: 0;
                        }
                    }
                    .btn_my_zzk {
                        //background: -webkit-linear-gradient(left, #fff, #c0c0c0);
                        border: none;
                        border-radius: 13px;
                        &:hover {
                            cursor: pointer;
                        }
                    }
                }
            }
        }
        #widget_my_google {
            display: none;
        }
        #topview_posts_wrap {
            display: none;
        }
    
        #main_content {
            margin-left: 0;
            float: none;
        }
        #content {
            margin-left: 0;
            background-color: transparent;
            border: none;
            .post {
                padding: 10px;
                border: none;
                border-radius: 5px;
                background-color: rgb(238, 238, 238);
                box-shadow: 0px 0px 6px #636363;
                .cnblogs_code {
                    border-radius: 5px;
                }
            }
            .date {
                span {
                    background-color: transparent;
                }
            }
        }

     

    http://www.cnblogs.com/7c00/  他得很漂亮!

  • 相关阅读:
    mallocbrk/mmap
    CMAKE相关
    cmake指定编译器版本及路径
    mmap 详解
    linux——tool 好好工具
    nm C /usr/lib/libstdc++.so.6 | grep runtime_error显示operator=存在
    程序可执行文件分析常用命令
    Linux中多种方法实时记录历史命令(转)
    HTML——CSS的基础语法1
    HTML的正确入门姿势——基本结构与基本标签
  • 原文地址:https://www.cnblogs.com/cart55free99/p/4217222.html
Copyright © 2011-2022 走看看