body {
    font-family: "MiSans", "微软雅黑", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
}

a, a:hover, a:active, a:visited {
    text-decoration: none;
}

.header {
    background-color: rgb(255, 255, 255);
    height: 50px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    margin: 0, auto;
    overflow: hidden;
    border-bottom: #545b62 solid 1px;
}

.header b {
    font-size: 16px;
    margin: 0;
    margin-left: 20px;
    padding: 0;
    text-align: center;
    line-height: 50px;
    display: inline-block;
}

.header b a, a:hover, a:active, a:visited {
    color: black;
    text-decoration: none;
}

.header-right {
    font-size: 16px;
    margin: 0;
    margin-right: 20px;
    padding: 0;
    text-align: center;
    line-height: 50px;
    display: block;
    float: right;
}

.header-right a {
    color: rgb(102, 102, 102); 
    margin-left: 15px;
    transition: transform 0.5s ease;
}

.header-right a:hover img {
    transform: scale(1.1);
}

.header-right img {
    padding-top: 12px;
}

.container {
    margin: 66px auto 0 auto;
    padding: 0 20px;
}

.container img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

.markdown-body {
    margin: 0 auto;
    max-width: 800px;
}

.markdown-body a {
    color: #007bff;
    text-decoration: none;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: calc(100% - 50px);
    background-color: #f4f4f4;
    padding: 0 20px;
    margin: 50px 0 0 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 100;
    overflow: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #0056b3;
}

.sidebar ul ul {
    margin-left: 20px;
}

.sidebar ul ul a {
    background-color: #6c757d;
}

.sidebar ul ul a:hover {
    background-color: #545b62;
}
