body {
    font-family: Verdana, Candara, Arial, Helvetica, Microsoft YaHei, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #121212;
    color: #e0e0e0;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    background-color: #121212;
}

.container {
    margin: 8px;
}

#page-container {
    position: relative;
    min-height: 97vh;
    background-color: #121212;
}

#content-wrap {
    padding-bottom: 4rem;
}

#footer {
    position: absolute;
    bottom: 0;
    height: 4rem;
    left: 0;
    right: 0;
}

footer {
    height: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    font-weight: normal;
    color: #ffffff;
    border-top: 2px solid #FF6600;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}
footer a:hover {
    color: #FF6600;
}

nav {
    font-size: larger;
    border-bottom: 2px solid #FF6600;
    margin-bottom: 8px;
}

nav ul {
    list-style-type: none;
    margin: auto;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    justify-content: left;
    white-space: nowrap;
}

nav li {
    display: inline;
    box-sizing: border-box;
    text-align: center;
    padding: 8px 16px 4px 2px;
}

nav a:link, nav a:visited, nav a:active {
    color: #ffffff;
    text-decoration: none;
}

nav a:hover{
    color: #FF6600;
    font-weight: 500;
}

code {
    font-family: Consolas, 'Courier New', monospace;
}

.card {
    border: 1px solid #FF6600;
    color: #e0e0e0;
    background-color: #1e1e1e;
    position: relative;
    margin-bottom: 16px;
    cursor: pointer;
    padding: 1% 2%;
    font-size: larger;
    line-height: 1.6;
}

.card-title {
    padding: 12px 12px 4px 12px;
    font-size: xx-large;
    font-family: Georgia, 'Times New Roman', Times, STKaiti, KaiTi, serif;
    font-weight: 500;
    color: #ffffff;
}

.card-tag {
    padding: 0 12px;
    color: #FF6600;
}

.card-text {
    overflow-wrap: break-word;
    padding: 12px;
}

.card-text a{
    color: #FF6600;
    text-decoration: none;
}

.shadow-box {
    box-shadow: 0 2px 5px 0 rgba(255, 102, 0, 0.16), 0 2px 10px 0 rgba(255, 102, 0, 0.12);
    transition: 0.3s;
}

.shadow-box:hover {
    box-shadow: 0 4px 10px 0 rgba(255, 102, 0, 0.2), 0 4px 20px 0 rgba(255, 102, 0, 0.19);
}

.badge-hover {
    cursor: pointer;
    transition: 0.3s;
}

.paginator {
    width: 100%;
    min-height: 3em;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.paginator div {
    border: 2px solid #FF6600;
    background-color: #1e1e1e;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
    padding: 10px;
}
.paginator div:hover {
    background-color: #FF6600;
    color: #121212;
}

.toc-level-1{
    list-style-type: none;
}

.toc-level-2 {
    list-style-type: decimal;
}

.toc-level-3 {
    list-style-type: disc;
}

.toc-level-4 {
    list-style-type: circle;
}

.toc-level-5 {
    list-style-type: square;
}

.toc-level-6 {
    list-style-type: square;
}

.archive-item time, .tag-item time , .category-item time{
    float: right;
    color: #FF6600;
}

#back-top {
    display: none;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 50px;
    right: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: 0.6s;
    z-index: 2;
    background-color: #FF6600;
    color: #ffffff;
    text-align: center;
    border-width: 0;
    outline: none;
    cursor: pointer;
}

#back-top:hover{
    background-color: #e55a00;
    box-shadow: 0 4px 10px 0 rgba(255, 102, 0, 0.3);
}

@media screen and (max-width: 600px) {
    #back-top {
        bottom: 20px;
        right: 15px;
        background: rgba(255, 102, 0, 0.8);
    }
}

img {
    max-width: 100%;
    max-height: 100%;
}

.badge {
    display: inline-block;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    padding: 3px;
    border: #FF6600 2px solid;
    background-color: #121212;
    color: #ffffff;
    cursor: pointer;
}
.badge:hover {
    background-color: #FF6600;
    color: #121212;
}

article {
    overflow-wrap: break-word;
    font-size: larger;
    word-break: break-word;
    line-height: 1.6;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    font-family: "Roboto Slab", "Droid Serif", AvenirNext-Bold, "Avenir Bold", "Times New Roman", Times, Georgia, STKaiti, KaiTi, serif;
    font-weight: bold;
    color: #ffffff;
}

article h2,
article h3,
article h4,
article h5,
article h6 {
    margin-block-start: 1em;
    margin-block-end: 0.5em;
}

article h1 {
    font-size: 1.7em;
    margin: 0.67em 0;
}

article h2 {
    border-bottom: 2px solid #FF6600;
    font-size: 1.5em;
}

article h3 {
    font-size: 1.3em;
}

article h4 {
    font-size: 1.2em;
}

article h5,
article h6 {
    font-size: 1em;
}

article p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

article *::selection {
    background: #FF6600;
    color: #fff;
}

article table {
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0;
    vertical-align: middle;
    text-align: left;
    min-width: 50%;
}

article table td,
article table th {
    padding: 5px 8px;
    border: 1px solid #FF6600;
}
article table th {
    background-color: #2d2d2d;
}

article a {
    color: #FF6600;
    text-decoration: none;
}

article blockquote {
    margin-left: 0;
    padding: 0 1em;
    font-size: smaller;
    border-left: 5px solid #FF6600;
    background-color: #2d2d2d;
}

article pre {
    overflow-x: auto;
    background-color: #2d2d2d;
    padding: 10px;
}

article code {
    color: #FF6600;
    padding: .065em .4em;
}

article .copyright{
    display: none;
}