/*
Theme Name:     技术点滴
Theme URI:      https://jsdd.net
Description:    Child theme for the Twenty twenty theme 
Author:         吴杰
Author URI:     https://wujie.me
Template:       twentytwelve
Version:        0.1.0
*/
@import url("../twentytwelve/style.css");
@import url("https://npm.elemecdn.com/lxgw-wenkai-screen-webfont@1.1.0/style.css");

a:focus {
	outline: none;
}



body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    text-rendering: optimizeLegibility;
    color: #444;
}


#page {
    min-width:75%;
}

/* .site-description{
    background-image: -webkit-linear-gradient(left, #a6cbe7, #ff0052 25%, #39dc46 50%, #ff0000 75%, #4a39dc);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-background-size: 200% 100%;
    background-size: 200% 100%;
    -webkit-animation: masked-animation 5s infinite linear;
    animation: masked-animation 5s infinite linear;
} */

.entry-content pre code {
    font-size: 12px;
    padding: 0 5px;
    line-height: 1.8;
    /* display: inline-block; */
    overflow-x: auto;
    vertical-align: middle;
    border-radius: 3px;
    color: #c0341d;
    border: none !important;
}

.entry-content pre, .comment-content pre {
    padding: 12px;
    padding: 0.857142857rem !important;
}

.entry-content .code-toolbar .toolbar{
    line-height:0.6
}

div.code-toolbar>.toolbar {
    position: absolute;
    z-index: 10;
    top: 0.1em;
    right: .2em;
    transition: opacity .3s ease-in-out;
    opacity: 0;
}

.entry-content p pre code {
    border-radius: 3px;
}

.comments-area article header cite, .comments-area article header time {
    display: block;
    margin-left: 60px;
    margin-left: 4.29rem;
}

.wp-block-image figcaption {
    padding-top: 0em !important;
}

/* 标签云样式自定义 */
.widget_tag_cloud .tagcloud { 
    overflow: hidden;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-size: 12px !important;
    line-height: 1.4;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_tag_cloud .tagcloud a:hover {
    background-color: #0088cc;
    color: #fff;
}

/* 标签计数样式 */
.widget_tag_cloud .tagcloud a .tag-link-count {
    display: inline-block;
    margin-left: 3px;
    font-size: 11px;
    opacity: 0.7;
}

/* 优化引用块样式 */
.entry-content blockquote {
    border-left: 4px solid #0088cc !important;
    background-color: #f8f9fa !important;
    margin: 1.5em 0 !important;
    padding: 1.2em 2.5em !important;
    position: relative !important;
    border-radius: 0 4px 4px 0 !important;
    color: #555 !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.entry-content blockquote p {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
}

.entry-content blockquote::before {
    content: "\201C" !important;  /* 使用Unicode编码表示左引号 */
    font-family: "Georgia", serif !important;
    font-size: 4em !important;
    color: rgba(0,136,204,0.2) !important;
    position: absolute !important;
    left: 10px !important;
    top: -10px !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
