zoukankan      html  css  js  c++  java
  • 分享博客园的定制代码

    博客皮肤(118)
    Minyx2_Lite

    页面定制 CSS 代码

    .minyx{display:none !important;}
    /*====================== media =========================*/
    @media screen and (max- 360px){
        html, body {
            background: none;
        }
        img.avatar {display:none;}
        ul#topMnu,
        a.minyx,
        #rss,
        #sideLeft,
        #sideRight,
        #menu,
        #profile_block {
            display: none;
        }
        div#container {
             96%;
            padding: 0 2%;
            min- 0 !important;
        }
        div#content {
            margin-right: 0;
            float: none;
            padding-top: 190px;
        }
        div#sidebar {
            margin-left: 0;
             100%;
            float: none;
        }
        .commentbox_title, 
        #tbCommentBody {
             96%;
        }
        #sideMain {display:none;}
        #about {
            position: absolute;
             98%;
            top: -60px;
            left: 2%;
        }
        #div_digg {
            position: static;
        }
        #skyking-footer {
            margin-top: 30px;
            padding: 15px 20px 0;
        }
        #skyking-footer div {
             100%;
        }
        #skyking-footer span {
            float: none;
            border: none;
            padding: 0;
             100%;
            display: inline-block;
            margin-bottom: 15px;
        }
        #skyking-footer p {
            margin: 0;
            text-indent: 2em;
        }
    }
    @media screen and (min- 361px) and (max- 480px) {
        html, body {
            background: none;
        }
        ul#topMnu,
        a.minyx,
        #rss,
        #sideLeft,
        #sideRight,
        #menu,
        #profile_block {
            display: none;
        }
        img.avatar {
            30% !important;
            height:auto !important;
        }
        div#container {
             96%;
            padding: 0 2%;
            min- 0 !important;
        }
        div#content {
            margin-right: 0;
            float: none;
            padding-top: 290px;
        }
        div#sidebar {
            margin-left: 0;
             100%;
            float: none;
        }
        .commentbox_title, 
        #tbCommentBody {
             96%;
        }
        #sideMain {display:none;}
        #about {
            position: absolute;
             98%;
            top: -60px;
            left: 2%;
        }
        #div_digg {
            position: static;
        }
        #skyking-footer {
            margin-top: 30px;
            padding: 15px 20px 0;
        }
        #skyking-footer div {
             100%;
        }
        #skyking-footer span {
            float: none;
            border: none;
            padding: 0;
             100%;
            display: inline-block;
            margin-bottom: 15px;
        }
        #skyking-footer p {
            margin: 0;
            text-indent: 2em;
        }
    }
    @media screen and (min- 481px) and (max- 699px) {
        html, body {
            background: none;
        }
        ul#topMnu,
        a.minyx,
        #rss {
            display: none;
        }
        div#container {
             96%;
            padding: 0 2%;
            min- 0 !important;
        }
        div#content {
            margin-right: 0;
            float: none;
        }
        div#sidebar {
            margin-left: 0;
             100%;
            float: none;
            position:static;
        }
        #about {
            position: static;
        }
        .commentbox_title, 
        #tbCommentBody {
             96%;
        }
        #skyking-footer {
            margin-top: 30px;
            padding: 15px 20px 0;
        }
        #skyking-footer div {
             100%;
        }
        #skyking-footer span {
            float: none;
            border: none;
            padding: 0;
             100%;
            display: inline-block;
            margin-bottom: 15px;
        }
        #skyking-footer p {
            margin: 0;
            text-indent: 2em;
        }
        #div_digg {
            right: 15px;
        }
    }
    @media screen and (min- 700px) and (max- 972px) {
        div#container {
             96%;
            padding: 0 2%;
            min- 0 !important;
        }
        #wrapper {
            overflow-x:hidden;
        }
        #skyking-footer div {
             100%;
        }
        #skyking-footer span {
            float: left;
            margin-bottom: 15px;
            margin-left: 1%;
             22%;
            min-height: 120px;
        }
        div#sidebar div#sideRight,
        div#sidebar div#sideLeft {
            float: none;
             auto;
        }
        div#content {
            margin-right: 32%;
        }
        div#sidebar {
             30%;
            margin-left: -30%;
        }
        #about {
            position: static;
            display:none;
        }
        #div_digg {
            right: 15px;
        }
    }
    
    /*====================== common =========================*/
    body {-webkit-font-smoothing: antialiased;}
    .hide {
        display: none;
    }
    /*Webkit,Opera9.5+,Ie9+*/
        ::selection {
        background: #3D81EE;
        color: #FFF;
    }
    /*Mozilla Firefox*/
        ::-moz-selection {
        background: #3D81EE;
        color: #FFF;
    }
    a {
        margin: 0 2px;
        color: #3D81EE;
    	transition: 1s all ease;
    	-webkit-transition: 1s all ease;
    	-moz-transition: 1s all ease;
    }
    a:link, a:visited{
    	color:#169fe6 !important;
    	-webkit-transition: color 0.6s ease;
          -moz-transition: color 0.6s ease;
           -o-transition: color 0.6s ease;
        transition: all 0.6s ease;
    }
    a:hover, a:focus {
        color: #FFA500 !important;
        -webkit-transition: color 0.6s ease;
           -moz-transition: color 0.6s ease;
             -o-transition: color 0.6s ease;
        transition: all 0.6s ease;
    }
    a[target="_blank"] {
        cursor: alias;
        _cursor: pointer;
    }
    .barretSay { color:  #999; font-size: 14px; line-height: 24px;}
    .fullscreenbtn {
        top:15px !important;
        border-color: #CCC !important;
        position: fixed !important;
        z-index: 9999;
    }
    .fullscreenbtn:hover {
        background: #EFEFEF;
    }
    #container {margin-top:-18px !important;}
    /*====================== content =========================*/
    /*#content {
        text-shadow: 0 0 1px #CCC;
    }*/
    div#wrapper {
        overflow-x: hidden;
    }
    img.avatar {
        float: left;
        margin-right: 8px;
        margin-bottom: 20px;
        box-shadow: 2px 2px 5px #CCC;
        opactity: 0.9;
        filter: alpha(opacity=90);
           -moz-opacity: 0.9;
        opacity: 0.9;
    }
    ul#menu li {
        font-size:14px;
    }
    #content h3 {
        font-weight: bold;
        margin-right: 20px;
        background: #808080;
        color: #FFF;
        font-size: 22px;
        text-indent: 10px;
    /*
        background: #B4CCEB;
        border-radius: 5px;
        text-indent: 10px;
        box-shadow: 3px 3px 3px #8B8B8B;
    */
    }
    #content h4 {
        font-weight: bold;
    /*
        background: #B4CCEB;
        display: inline-block;
        border-radius: 3px;
        padding: 2px 6px;
    */
    }
    #content table {
        margin-left: 15px;
    }
    #content table thead {
        background: #EEE;
    }
    #content table tbody tr:hover {
        background: #DDD;
        cursor: pointer;
    }
    #cb_post_title_url {
        font-size: 26px;
        text-align: center;
        color: #000;
        display: block;
        line-height: 30px;
        text-shadow: 3px 3px 5px #CCC;
        letter-spacing: 1px;
        padding-bottom: 15px;
        -webkit-transition: all 0.6s ease;
           -moz-transition: all 0.6s ease;
            -ms-transition: all 0.6s ease;
             -o-transition: all 0.6s ease;
                transition: all 0.6s ease;
    }
    /*h2:hover #cb_post_title_url {
        color: #4893F3;
        -webkit-transform: rotateY(360deg);
           -moz-transform: rotateY(360deg);
             -o-transform: rotateY(360deg);
                transform: rotateY(360deg);
    }*/
    #container blockquote {
        background-image: none;
        margin-left: 0;
        margin:10px;
        background:#FCFCFC;
        border: none;
        border-left:6px solid #DBDBDB;
        font-size: 13px; 
        line-height: 24px;
        padding: 10px;
        padding-left: 24px;
    }
    blockquote p {
        margin-bottom: 10px;
    }
    table {
        border: 2px solid #CCC;
        box-shadow: 5px 5px 8px #CCC;
        border-radius: 12px;
    }
    table td {
        padding: 3px;
    }
    .cnblogs_code {
        margin-right: 15px;
        background-color: #FCFBFB;
        border: 1px dashed #CCC;
        padding: 5px;
        overflow-x: hidden;
        padding-left: 12px;
        position: relative;
    }
    .cnblogs_code:hover {
        border-style: solid;
    }
    .cnblogs_code pre {
        max- 100%;
    }
    .cnblogs_code_toolbar {
        display: none;
    }
    .cnblogs_code_hide {
        background-color: #F8F8EE;
    }
    #sideMain {
        overflow: hidden;
    }
    h1 small {
        text-transform: none !important;
        font-size: 14px;
        text-indent: 2em;
    }
    #lnkBlogTitle, h2 .PostTitle {
        transition: all 0.6s ease;
        -webkit-transition: all 0.6s ease;
             -o-transition: all 0.6s ease;
           -moz-transition: all 0.6s ease;
                transition: all 0.6s ease;
    }
    #lnkBlogTitle {
        font-family: Verdana, "Lucida Grande", Geneva, Arial, sans-serif;
    }
    h2:hover .PostTitle {
        padding-left: 20px;
        color: #FFB906;
    }
    code {
        background: #FCFCFC;
        border: 1px solid #CCC;
        padding: 0 5px;
        font-family: "Courier";
        line-height: 14px;
        font-size: 14px;
        word-wrap: break-word;
        border-radius: 4px;
        margin: 0 3px;
    }
    #lnkBlogTitle:hover {
        color: #FFB906;
    }
    #sidebar h2 {
        border-radius: 5px;
    }
    #pb2 {
        display: block;
    }
    #blog-news span {
        font-weight: bold;
    }
    #blog-news {
        overflow: hidden;
    }
    #about_title {
        margin: 0;
    }
    /* 不显示的部分 */
    #profile_block {margin-top:-5px;}
    #blog_news_kb,#under_post_news,#google_ad_c2,#under_post_kb,.ad_text_commentbox,#site_nav_under,#ad_under_post_holder,#HistoryToday,#logoFoot,#p_b_ing {
        display: none !important;
    }
    #post h2:nth-child(1) {
        border: none;
    }
    #Gallery table {
        border: none;
        box-shadow: none;
    }
    #Gallery table img {
        max- 200px;
    }
    #sideLeft h2, #sideRight h2 {
        background-color: #169fe6 !important;
        color: #FFF !important;
        border-bottom: none !important;
    }
    #TopViewPostsBlock li, #TopDiggPostsBlock li {
        display: block;
         218px;
        overflow: hidden;
        height: 18px;
        line-height: 18px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #post img {
        box-shadow: 5px 5px 8px #ccc;
        border: 1px solid #CCC;
        max- 96%;
        height: auto;
        cursor:pointer;
    }
    #post img:hover {
        opacity:0.8;-moz-opacity:0.8;filter:alpha(opacity=80);
    }
    
    .entry h3 {
    background-color: #2b3e53; 
    height: 35px; 
    line-height: 35px; 
    color: #ffffff; 
    padding: 0 10px; 
    border-radius: 3px; 
    box-shadow: 3px 3px 5px #2b3e53;
    }
    
    div#mySearchWrapper,div#mySearch {
        display: none;
        visibility: hidden;
    }
    .cnblogs_Highlighter {
        margin-right: 20px;
    }
    div.nogutter, .syntaxhighlighter {
        overflow: hidden;
        border: 1px solid #EEE;
    }
    #content div.syntaxhighlighter table {
        margin-left: 0;
    }
    #content .toolbar {
        background-color: #F8F8EE;
        border: 1px dashed #CCC;
    }
    #author_profile_info img {
        box-shadow: none;
        border: 0px solid #CCC;
    }
    #div_digg .diggit {
        font-weight: bold;
    }
    #footer {
        display: none;
    }
    fieldset.comment_quote {
        background: #FAFAFA;
        border:1px solid #E4E4E4;
    }/*
    #div_digg {
        position: fixed;
        bottom: 0;
        right: 308px;
        border: 1px dashed #EEE;
        border-radius: 5px;
        padding: 5px;
        background-color: white;
        z-index: 1001;
    }*/
    .buryit {
        margin-left: 0;
    }
    .cnblogs_code img {
       box-shadow: none !important;
       padding-right: 0 !important;
    }
    .cnblogs_code div {
        background:none;
    }
    .cnblogs_code span {
        background: none !important;
    }
    .runCode {
        position: absolute;
        top: 5px;
        right: 8px;
        cursor: pointer;
        border: 1px solid #CCC;
        padding: 3px;
        background: #EEE;
    }
    .runCode:hover {
        background: #CCC;
        color: #707070;
    }
    div#container {
       min- 480px !important;
    }
    #textCodeFile {
        display:none;
        visibility:hidden;
        height:0;
        0;
        overflow:hidden;
        font-size:0;
        line-height:0;
    }
    .alipay_support img {
        border:none !important;
    }
    
    ::-webkit-scrollbar-track-piece {
        background-color:#f5f5f5;
        border-left:1px solid #d2d2d2;
    }
    ::-webkit-scrollbar {
        13px;
        height:13px;
    }
    ::-webkit-scrollbar-thumb {
        background-color:#c2c2c2;
        background-clip:padding-box;
        border:1px solid #979797;
        min-height:28px;
    }
    ::-webkit-scrollbar-thumb:hover {
        border:1px solid #636363;
        background-color:#929292;
    }
    
    .search-hustskyking {
        padding: 10px;
        font-size: 14px;
        font-weight: bold;
        border: 1px dotted #CCC;
        margin: 8px 0;
        background: #F8F8F8;
    }
    .search-hustskyking:hover {
        background: #F1F1F1;
    }
    .search-hustskyking label {
        line-height:24px;
    }
    .search-hustskyking input {
         200px;
        line-height: 24px;
        *height: 20px;
        *line-height: 20px;
        font-size: 14px;
        color: #333;
        font-family: "宋体";
        vertical-align: middle;
    }
    .search-hustskyking  button{
        cursor: pointer;
         40px;
        margin-left: 10px;
        height: 24px;
        border: 1px solid #999;
        background: #ddd;
        color: #333;
        vertical-align: middle;
    }
    #profile_block {margin-top:-5px;}
    .translator:hover {background: #EEE;}
    
    /*====================== footer =========================*/
    #footer {
        display: none !important;
    }
    #skyking-footer {
        line-height: 24px;
        font-size: 14px;
        border-top: 1px solid #EFEFEF;
        background: #FAFAFA;
        padding: 30px 0;
        margin-top: 90px;
        overflow: hidden;
        clear: both;
    }
    #skyking-footer div {
        text-align: left;
        margin: 0 auto;
        font-family: Verdana, "Lucida Grande", Geneva, Arial, sans-serif;
         1200px;
        overflow: hidden;
    }
    #skyking-footer span {
        float: left;
         300px;
        padding: 0 45px;
        border-right: 2px solid #D8D8D8;
        display:inline-block;
        min-height: 120px;
    }
    #skyking-footer span:last-child {
        border-right: none;
    }
    #skyking-footer p {
        margin-left: 10px;
        text-indent: 2em;
    }
    #skyking-footer ul {
        padding-left: 30px;
        list-style-type: circle;
    }
    span.louzhu {
        font-size:12px;
        color:#000;
    }
    /*====================== utils =========================*/
    #toTop {
        background: url(http://images.cnblogs.com/cnblogs_com/hustskyking/508532/o_toTop.png) no-repeat -70px top;
         57px;
        height: 57px;
        overflow: hidden;
        position: fixed;
        right: 10px;
        bottom: 10px;
        zoom: 0.4;
        cursor: pointer;
    }
    #toTop:hover {
        background-position: left top;
    }
    .ani-light {
        animation: glow 0.6s infinite alternate ease-in-out;
        -webkit-animation: glow 0.6s infinite alternate ease-in-out;
             -o-animation: glow 0.6s infinite alternate ease-in-out;
           -moz-animation: glow 0.6s infinite alternate ease-in-out;
    }
    @-webkit-keyframes glow {
        0% {
            -webkit-box-shadow: 0 0 4px rgba(72, 106, 170, 0.5);
            border-color: rgba(160, 179, 214, 0.5);
        }
        100% {
            -webkit-box-shadow: 0 0 4px rgba(72, 106, 170, 1.0), 0 0 12px rgba(0, 140, 255, 1.0);
            border-color: rgba(160, 179, 214, 1.0);
        }
    }
    @-moz-keyframes glow {
        0% {
           -moz-box-shadow: 0 0 4px rgba(72, 106, 170, 0.5);
            border-color: rgba(160, 179, 214, 0.5);
        }
        100% {
            -moz-box-shadow: 0 0 4px rgba(72, 106, 170, 1.0), 0 0 12px rgba(0, 140, 255, 1.0);
            border-color: rgba(160, 179, 214, 1.0);
        }
    }
    @-o-keyframes glow {
        0% {
             -o-box-shadow: 0 0 4px rgba(72, 106, 170, 0.5);
            border-color: rgba(160, 179, 214, 0.5);
        }
        100% {
            -o-box-shadow: 0 0 4px rgba(72, 106, 170, 1.0), 0 0 12px rgba(0, 140, 255, 1.0);
            border-color: rgba(160, 179, 214, 1.0);
        }
    }
    @-ms-keyframes glow {
        0% {
            -ms-box-shadow: 0 0 4px rgba(72, 106, 170, 0.5);
            border-color: rgba(160, 179, 214, 0.5);
        }
        100% {
            -ms-box-shadow: 0 0 4px rgba(72, 106, 170, 1.0), 0 0 12px rgba(0, 140, 255, 1.0);
            border-color: rgba(160, 179, 214, 1.0);
        }
    }
    
    /* 2017年06月11日19:34于华师石牌校区修改 */
    #div_digg{
        z-index:999;
        48px;
        position: fixed;
        bottom: 0px;
        right: -20px;
        padding: 8px 8px 8px 10px;
        background-color: #fff;
        border: 1px solid #D9DBE1;
          -webkit-border-radius: 4px;
             -moz-border-radius: 4px;
                  border-radius: 4px;
        -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
                box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    }
    #div_digg .buryit{
        display:none;
    }
    #div_digg img
    {
        position: fixed;
        bottom: 150px;
        right: 12px;
        40px;
        height:44px;
        display:none;
    }
    
    #ad_under_post_holder{
      display:none;
    }
    .c_ad_block{
      display:none;
    }
    #ad_t2{
     display:none;
    }
    

    博客侧边栏公告(支持HTML代码) (支持 JS 代码)

    <html xmlns:wb="http://open.weibo.com/wb">
    <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
    <wb:follow-button uid="3167114231" type="gray_1" width="67" height="24"></wb:follow-button>
    
    

    页脚 HTML 代码

    <!--PageEndHtml Block Begin-->
    <div style="display:none">
    <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?46b5eb1c2c8c3d9dacc8a6a83507d30e";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
    
    
  • 相关阅读:
    个人管理:2,3月微薄整理
    ORM相关图片整理
    LmgORM项目 实体类转换器
    (转)Enterprise Architect 7.0入门教程
    禁止右键复制的代码
    UML示例图(转)学习
    Flash FMS Helloword
    模拟生成Guid
    Flash Media Server安装
    WebSphere创建删除概要文件
  • 原文地址:https://www.cnblogs.com/junhey/p/12706435.html
Copyright © 2011-2022 走看看