/*
Theme Name:Book
Author:Fieeos
Description:简约
Version:1.0
Tags:wordpress极简单栏主题
*/
@import url('https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.9/tailwind.min.css');

@font-face {
    font-family: PGZY;
    src: url('./fonts/PGZY.woff2') format('woff2');
}
body {
    font-family: 'PGZY' !important;
    max-width: 770px;
}

header {
    border-bottom: 1px solid #e5e7eb;
}

header nav a {
    margin-right: 10px;
}

::selection {
    color: #fff;
    background-color: #8b8b8b;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    display: inline-block!important;
    color: inherit!important;
    font-weight: 500!important;
    line-height: 1.3!important;
    margin-bottom: 5px!important;
    margin-top: 10px!important;
    box-shadow: inset 0 -0.55em #e2e2e2!important;
}

h1,
.h1 {
    font-size: 1.5rem!important;
}

h2,
.h2 {
    font-size: 1.3rem!important;
}

h3,
.h3 {
    font-size: 1.2rem!important;
}

h4,
.h4 {
    font-size: 1.1rem!important;
}

h5,
.h5 {
    font-size: 1rem!important;
}

h6,
.h6 {
    font-size: 0.9rem!important;
}

a,
ins,
u {
    text-decoration-skip: ink edges;
}

abbr[title] {
    border-bottom: 0.05rem dotted;
    cursor: help;
    text-decoration: none;
}

kbd {
    border-radius: 0.2rem;
    line-height: 1.25;
    padding: 0.1rem 0.2rem;
    background: #303742;
    color: #fff;
    font-size: 0.7rem;
}

mark {
    background: #ffe9b3;
    color: #3b4351;
    border-bottom: 0.05rem solid #ffd367;
    border-radius: 0.2rem;
    padding: 0.05rem 0.1rem 0;
}

blockquote {
    border-left: 0.1rem solid #dadee4;
    margin-left: 0;
    padding: 0.5rem 1rem;
}

blockquote p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0.8rem 0 0.8rem 0.8rem;
    padding: 0;
}

ul ul,
ul ol,
ol ul,
ol ol {
    margin: 0.8rem 0 0.8rem 0.8rem;
}

ul li,
ol li {
    margin-top: 0.4rem;
}

ul {
    list-style: disc inside;
}

ul ul {
    list-style-type: circle;
}

ol {
    list-style: decimal inside;
}

ol ol {
    list-style-type: lower-alpha;
}

dl dt {
    font-weight: bold;
}

dl dd {
    margin: 0.4rem 0 0.8rem 0;
}

html {
    background: #eeeeee;
    overflow-y: scroll;
}
.aboutme .container .info .rss {
    font-size: 14px;
    padding: 5px 15px;
}

article div a:hover {
    box-shadow: inset 0 -0.55em #e2e2e2;
}

.post-meta {
    color: #999;
}

.markdown-body {
    color: #232323;
}

.markdown-body p {
    margin-top: 0;
    margin-bottom: 10px;
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre,
.markdown-body details {
    margin-top: 0;
    margin-bottom: 15px;
}
/*页面，文章内九宫格*/
.gallery-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.gallery-item:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
footer {
    color: #999;
}

#btnScrollToTop {
    display: none;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    cursor: pointer;
}

#btnScrollToTop:hover {
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}