﻿/*
Theme Name: Carter
Theme URL: https://github.com/gnehs/Carter
Description: Cater by Gnehs
Author: 棒棒勝
Author URI: https://github.com/gnehs/Carter
Version: 3.0.0
GitHub Theme URI: gnehs/Carter
*/

/*
	文章內頁
*/


/*文章內頁標題用的CSS*/

.post .description>a {
    color: #fff;
}


/*文章的文字可讀性提升*/

post p,
post {
    font-size: 16px;
    line-height: 1.8em;
}


/*文章內頁圖片修正及樣式美化*/

post img {
    height: auto;
    max-width: 100%;
    max-width: calc(100% - 20px);
    margin: 10px;
}


/* 文章內頁標籤修正 */

.post .ts.label {
    text-shadow: 0 0 0px black;
}

/* 近期迴響 */

#recentcomments>.recentcomments {
    line-height: 1.14286em;
    padding: 5px 3px;
}



/*
	卷軸樣式
	很棒棒的卷軸這樣，還會影響到 NAV
*/

::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}


/*
 	圖片對齊(置右、置中)
*/

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    float: right;
}

img.alignleft {
    float: left;
}



post.inverted code {
    color: #bd4147 !important;
}


/*
    SweetAlert
*/

.swal-overlay--show-modal {
    background-color: #000000a3;
}

.swal-modal {
    background-color: #fff;
}

.inverted .swal-modal {
    background-color: #2b2b2b;
}

.inverted .swal-button--cancel {
    color: #2b2b2b !important;
}