﻿/*
Theme Name:     Mrxu子主题
Theme URI:      https: //mrxu.net/
Description:    Child theme for the B2 PRO
Author:         Mrxu子主题模版
Author URI:     https: //mrxu.net/
Template:       b2
Version:        5.4.2
*/

/*下面是您自己DIY的css样式代码*/
/**代码高亮开始**/
.code-highlight-wrapper {
    position: relative;
    margin: 1.5em 0;
    border-radius: 6px;
    box-shadow: 0px 8px 20px -10px rgba(0,0,0,0.2);
}
.entry-content pre.prettyprint {
    position: relative;
    background: #21252b !important;
    padding: 50px 20px 20px !important;
    margin: 0 !important;
    overflow-x: auto;
}
.entry-content pre.prettyprint:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 25px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fc625d;
    z-index: 2;
}
.entry-content pre.prettyprint:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fdbc40;
    z-index: 2;
}
ol.linenums:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 75px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #35cd4b;
    z-index: 2;
}
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(255,255,255,0.1);
    color: #feff33;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}
 
.copy-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}
 
.copy-btn:active {
    transform: translateY(0);
}
@media (max-width: 768px) {
    .copy-btn {
        padding: 6px 12px;
        font-size: 13px;
        top: 8px;
        right: 8px;
    }
    
    .entry-content pre.prettyprint {
        padding-top: 40px !important;
    }
}
/**代码高亮结束**/