码迷,mamicode.com
首页 > 其他好文 > 详细

blog主题——黑夜

时间:2020-02-21 16:32:39      阅读:79      评论:0      收藏:0      [点我收藏+]

标签:refresh   menu   beat   ini   feed   clist   input   border   header   

blog主题,存储一下

/* Author: Io_oTI*/


/*Public*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.5s;
}

::selection,
::-moz-selection {
    background: rgba(204, 204, 204, 0.7);
}

html {
    background: #202125;
}

html,
body {
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 14px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

h1 {
    font-size: 31px;
    font-weight: bold
}

h2 {
    font-size: 23px;
    font-weight: bold
}

h3,
.entrylistItemTitle {
    font-size: 15px;
    font-weight: bold
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color: gray;
    text-decoration: none;
}

a:hover {
    color: #E30;
}

canvas {
    position: fixed;
    z-index: -1;
}

/*header*/

#header {
    height: 240px;
}

#blogTitle,
#navigator {
    text-align: center;
}

a#Header1_HeaderTitle {
    font-size: 48px;
    padding: 0px 5px;
    border-radius: 10px;
}

a#Header1_HeaderTitle:hover {
    color: gray;
    /* box-shadow: 0px 2px 3px 1px black; */
}

#navList li {
    display: inline-block;
}

.blogStats {
    width: 240px;
    margin: auto;
    border-radius: 1em;
    background: #C4E17F linear-gradient(to right, #C4E17F, #C4E17F 12.5%, #F7FDCA 12.5%, #F7FDCA 25%, #FECF71 25%, #FECF71 37.5%, #F0776C 37.5%, #F0776C 50%, #DB9DBE 50%, #DB9CBE 62.5%, #C49CDE 62.5%, #C49CDE 75%, #669AE1 75%, #669AE1 87.5%, #62C2E4 87.5%, #62C2E4) repeat scroll 0% 0%;
    background-size: 200%;
    animation: conveyor 4s ease infinite;
}


/*main*/

#main {
    margin: auto;
    padding: 0 20px;
}


/*mainContent*/

#mainContent {
    margin: 0 auto;
}


/*main panel*/

.day,
.commentform,
.entrylist,
#post_detail,
#blog-comments-placeholder,
#myposts,
.gallery {
    margin: 0px auto 20px;
}

.forFlow {
    border-radius: 3px;
    background: rgba(51, 51, 51, 0.7);
}

.dayTitle {
    float: left;
    margin-right: 20px;
}

.postCon,
.entrylistPostSummary {
    margin: 10px auto;
}

.dayTitle,
.postTitle {
    font-size: 20px;
    padding-top: 20px;
}

.postBody {
    padding: 0px;
}

.cnblogs_code {
    border: none;
    border-radius: 3px;
    background: rgba(204, 204, 204, 1);
}

.code_img_opened,
.cnblogs_code a,
.cnblogs_code div,
.cnblogs_code img {
    background: none;
}


/*paging*/

.topicListFooter {
    margin: 0px;
}

.pager {
    margin: 0 0 20px;
    padding: 5px;
    border-radius: 3px;
    background: rgba(238, 238, 238, 0.7);
}

.pager a {
    border-color: lightgray;
    border-radius: 3px;
}

.pager a:hover {
    color: #3F51B5;
}

/*option*/

#green_channel {
    max-width: 271px;
    float: right;
    border: none;
    margin: 0;
    overflow: unset;
}

#green_channel a {
    float: left;
    margin: 3px 6px 3px 0px;
    padding: 3px 7px;
    background: none;
    box-shadow: none;
    text-shadow: none;
    border-radius: 3px;
    vertical-align: middle;
}

#green_channel #green_channel_weibo,
#green_channel #green_channel_wechat {
    padding: 0px 2px;
}

#div_digg {
    float: right;
    width: 124px;
    margin: 1px 6px;
    padding: 10px 0;
}

.diggit,
.buryit,
#green_channel #green_channel_digg,
#green_channel #green_channel_follow,
#green_channel #green_channel_favorite {
    background: rgba(34, 34, 34, 0.7);
}

.diggit:hover {
    background: rgba(153, 204, 153, 0.7);
}

.buryit:hover {
    background: rgba(153, 153, 204, 0.7);
}

#green_channel #green_channel_digg:hover {
    background: rgba(45, 174, 191, 0.7);
}

#green_channel #green_channel_follow:hover {
    background: rgba(227, 49, 0, 0.7);
}

#green_channel #green_channel_favorite:hover {
    background: rgba(255, 181, 21, 0.7);
}

.diggit,
.buryit {
    width: 59px;
    height: 24px;
    padding: 0px 6px;
    text-align: left;
    position: relative;
    border-radius: 3px;
}

.buryit {
    margin: 2px 0px 0px 6px;
}

.diggit:before,
.buryit:before {
    top: 3px;
    right: 6px;
    position: absolute;
    font-weight: bold;
}

.diggit:before {
    color: rgba(255, 0, 0, 0.5);
    content: "?";
    animation: beats 1s ease infinite;
}

.buryit:before {
    color: black;
    content: "?";
}

.buryit:hover:before {
    animation: rotate 0.5s ease infinite;
}

.diggnum,
.burynum {
    color: white;
}


/*comment title*/

.feedback_area_title,
#commentform_title {
    font-size: 16px;
    font-weight: bold;
}

#commentform_title {
    padding: 0;
    background-image: none;
}


/*comment*/

.feedbackItem {
    margin-top: 20px;
    border-radius: 4px;
    background: rgba(34, 34, 34, 0.7);
}

.feedbackListSubtitle {
    margin-top: 10px;
    padding: 5px 10px;
}

.feedbackCon {
    padding: 5px 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background: rgba(68, 68, 68, 0.7);
}

.feedbackManage {
    float: right;
}

div.commentform input.author {
    color: lightgray;
    padding: 0;
    font-size: 14px;
    border: none;
    background-color: transparent;
    background-image: none;
}

.commentbox_title,
div.commentform textarea {
    width: 100%;
}


/* menu button */

.tols {
    right: 0px;
    bottom: 91px;
    width: 30px;
    margin: 5px;
    padding: 5px;
    position: fixed;
}

.back-top,
.refresh-cmts {
    width: 20px;
    height: 20px;
    display: block;
}

.back-top {
    display: none;
    margin-bottom: 10px;
    animation: tly .6s ease infinite;
}

.back-top:before {
    border-left: 3px solid black;
    border-top-left-radius: 2px;
    border-top: 3px solid black;
    content: '';
    display: block;
    height: 12px;
    left: 2.3px;
    position: absolute;
    top: 5px;
    transform: rotate(45deg);
    width: 12px;
}

.refresh-cmts {
    border-radius: 100%;
    border-width: 3px;
    border-style: solid;
    border-color: black transparent black black;
}

.refresh-cmts:before,
.refresh-cmts:after {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    content: '';
    display: block;
    position: relative;
}

.refresh-cmts:before {
    top: -5px;
    right: -12px;
    width: 3px;
    height: 8px;
}

.refresh-cmts:after {
    top: -7px;
    right: -7px;
    width: 8px;
    height: 3px;
}

.refresh-cmts:hover {
    animation: rot .8s ease;
}

.show {
    display: block;
}

#menu {
    display: none;
}

#menu~label {
    right: 0px;
    bottom: 61px;
    position: fixed;
    cursor: pointer;
    display: block;
    margin: 5px;
    padding: 5px;
    transition: all .5s ease;
}

#menu~label span {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    display: block;
    height: 3px;
    margin: 3px auto;
    transition: transform .8s ease;
    width: 20px;
}

#menu:checked~label .top {
    -webkit-transform: translateY(5.5px) rotate(-45deg);
    -moz-transform: translateY(5.5px) rotate(-45deg);
    -ms-transform: translateY(5.5px) rotate(-45deg);
    -o-transform: translateY(5.5px) rotate(-45deg);
    transform: translateY(5.5px) rotate(-45deg);
}

#menu:checked~label .middle {
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
}

#menu:checked~label .bottom {
    -webkit-transform: translateY(-5.5px) rotate(45deg);
    -moz-transform: translateY(-5.5px) rotate(45deg);
    -ms-transform: translateY(-5.5px) rotate(45deg);
    -o-transform: translateY(-5.5px) rotate(45deg);
    transform: translateY(-5.5px) rotate(45deg);
}

#menu:checked~#sideBar {
    right: 0px;
}

#menu:checked~label,
#menu:checked~.tols {
    right: 280px;
}

/*sideBar*/

#sideBar {
    top: 0px;
    right: -280px;
    width: 280px;
    height: 100%;
    overflow-y: auto;
    position: fixed;
    transition: all .5s ease;
    background: rgba(51, 51, 51, 0.7);
}

#sideBarMain {
    padding: 55px 0px;
}

.profile {
    border-radius: 100%;
    display: block;
    height: 150px;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    width: 150px;
}

.head-img {
    top: 10px;
    width: 120px;
    border-radius: 100%;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    animation: scales_bs 1s linear infinite;
}

#profile_block {
    text-align: center;
}

#blog-calendar {
    color: white;
    margin: 10px 15px;
    padding: 10px;
    font-size: 12px;
    border-radius: 3px;
    background: rgba(34, 34, 34, 0.7);
}

#blog-calendar:hover {
    background: rgba(153, 204, 153, 0.7);
}

#blog-calendar td:hover {
    border-radius: 3px;
    background: rgba(119, 170, 119, 0.7);
}

.CalNextPrev,
.CalNextPrev {
    font-weight: bold;
}

.div_my_zzk {
    margin: 20px 0px;
}

.input_my_zzk,
.btn_my_zzk,
.comment_btn,
#commentbox_opt a,
div.commentform textarea {
    color: gray;
    margin: 2px auto;
    padding: 2px 5px;
    border: none;
    border-radius: 3px;
    background: rgba(68, 68, 68, 0.7);
}

/* .btn_my_zzk,
.comment_btn,
#commentbox_opt a {
    color: gray;
    background: gray;
} */

.btn_my_zzk:hover,
.comment_btn:hover,
#commentbox_opt a:hover {
    background: rgba(34, 34, 34, 0.7);
}

.input_my_zzk,
input.btn_my_zzk {
    width: 100%;
    height: 25px;
}

#RecentCommentsBlock {
    padding: 8px;
    font-size: 12px;
    border-radius: 5px;
    background: rgba(34, 34, 34, 0.7);
}

.commentform {
    margin: 0
}

.input_my_zzk:hover,
.input_my_zzk:focus,
.comment_textarea:hover,
.comment_textarea:focus {
    outline: 0;
    color: gray;
    background: rgba(34, 34, 34, 0.7)
}

#leftcontentcontainer {
    padding: 0px 15px;
}

div#blog-sidecolumn div {
    margin-bottom: 15px;
}

.catListTitle {
    margin-bottom: 5px;
}


/*footer*/

#footer {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    background: rgba(51, 51, 51, 0.7);
}


/* Responsive */

@media (min-width: 768px) {

    #main {
        width: 90%;
    }

    .forFlow {
        padding: 10px;
    }
}

@media (min-width: 992px) {
    #main {
        width: 75%;
    }

    .forFlow {
        padding: 15px;
    }
}

@media (min-width: 1200px) {

    #main {
        width: 60%;
    }

    .forFlow {
        padding: 20px;
    }

}


/*animation*/

@keyframes conveyor {
    50% {
        background-position: 100% 0%;
    }
}

@keyframes beats {
    40% {
        transform: scale(1.1, 1.1);
        text-shadow: 0px 0px 1px rgba(255, 0, 0, 0.5);
    }
}

@keyframes rotate {
    25% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

@keyframes rot {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes tly {
    75% {
        -webkit-transform: translateY(2px);
        -moz-transform: translateY(2px);
        -ms-transform: translateY(2px);
        -o-transform: translateY(2px);
        transform: translateY(2px);
    }
}

@keyframes scales_bs {
    50% {
        box-shadow: 0px 0px 0px 10px rgba(0, 0, 0, 0.5);
    }

    100% {
        box-shadow: 0px 0px 0px 20px rgba(0, 0, 0, 0);
    }
}

@keyframes scales {
    50% {
        transform: scale(1.05, 1.05);
    }
}


/*AD Kill*/

.newsItem h3,
.diggword,
#author_profile,
#comment_nav,
#lnkBlogLogo,
#under_post_news,
#under_post_kb,
#ad_t2,
#ad_c1,
#ad_c2,
#cnblogs_c1,
#cnblogs_c2 {
    display: none;
}

原生:Custom

blog主题——黑夜

标签:refresh   menu   beat   ini   feed   clist   input   border   header   

原文地址:https://www.cnblogs.com/yuzijiangorz/p/12341662.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!