/*
 Theme Name: RuankaoPai
 Template: donovan 
 */

.wp-block-image figure img {
    box-shadow: 0 0 5px 5px #f3f3f3;
}

.token.comment {
    padding: 0;
    background: transparent;
}

code .token.operator,
code .token.entity,
code .token.url,
code .language-css .token.string,
code .style .token.string {
	color: #a67f59;
    background: transparent;
}


#content {
    --light-text-color: rgba(0, 0, 0, 0.9);
}



a, a:link, a:visited {
    color: #b10d26;
    color: #666;
    text-decoration: underline;
}



#links a {
    color: var(--footer-hover-text-color); 
    font-size: 0.9em;
}


article .wp-block-code {
    background: rgb(0,0,0);
    color: rgb(255,255,0);
}



/* 主容器样式 */
.wp-block-file {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.wp-block-file:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 文件链接样式 */
.wp-block-file a:not(.wp-block-file__button) {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-grow: 1;
    margin-right: 15px;
}

/* 文件图标 */
.wp-block-file a:not(.wp-block-file__button)::before {
    content: "📁";
    margin-right: 10px;
    font-size: 20px;
}

/* 下载按钮样式 */
.wp-block-file__button {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.wp-block-file__button:hover {
    background: linear-gradient(135deg, #5d7de8, #9666d6);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .wp-block-file {
        flex-direction: column;
        align-items: flex-start;
    }

    .wp-block-file a:not(.wp-block-file__button) {
        margin-bottom: 15px;
        margin-right: 0;
        width: 100%;
    }

    .wp-block-file__button {
        width: 100%;
    }
}



:root {
    --text-font: raleway, arial, helvetica, sans-serif;
    --button-color: black;
}

body {
    font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
}



/* 代码片断 */
pre, code, pre tt {
  font-family: Courier, 'Courier New', monospace;
}

pre {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 1em 1.5em;
  display: block;
  -webkit-overflow-scrolling: touch;
}

pre strong { 
    color: #00ff00;
}

pre em {
    font-style: normal;
}

.more-link, .more-link:link, .more-link:visited  {
    color: rgb(255, 255, 0);
    background: black;
}
