* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*  取消 苹果浏览器自带样式,比如小号的输入框
       */
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: Helvetica, Tahoma, Arial, STXihei, “华文细黑”, Heiti, “黑体”, “Microsoft YaHei”, “微软雅黑”, SimSun, “宋体”, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #303030;
    background-image: url(https://dss3.baidu.com/-fo3dSag_xI4khGko9WTAnF6hhy/super/crop=0,0,1800,1125/sign=3e2342ae5e3d26973a9c521d68cb9ecb/aa64034f78f0f736310c33650555b319eac413e7.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    vertical-align: middle;
}

img {
    border: 0;
}

.header {
    width: 100%;
    height: 30px;
    background-color: rgba(15, 25, 50, .3);
    position: relative;
    vertical-align: middle;
}

.header-svg-icon {
    height: 20px;
    /* fill:#FFF; */
    fill: currentColor;
}

.header-svg-icon:hover {
    height: 20px;
    fill: rgb(47, 255, 44);
}

.menu-btn {
    border: none;
    background: transparent;
    width: 100px;
    height: 20px;
    margin: 5px;
    outline: none;
    color: #FFFFFF;
    float: right;
    cursor: pointer;
}

.menu-right-wrapper {
    width: 20rem;
    height: 100vh;
    background-color: rgba(15, 25, 50, .8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999999;
}

.menu-right-wrapper.show {
    right: 0;
}

.menu-right-wrapper.hidden {
    right: -20rem;
}

.page {
    font-size: 1rem;
    font-style: normal;
    /* font-weight: 600; */
    color: #000000;
    /* color: #fff; */
    height: auto;
    transition: all 1s;
}

.page a {
    color: #000000;
    /* color: #fff; */
}

.site-category {
    width: auto;
    min-height: 6rem;
    background-color: rgba(250, 250, 250, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    margin: 1%;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.cate-black,
.cate-black a {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.cate-white,
.cate-white a {
    background-color: rgba(250, 250, 250, 0.6);
    color: #000;
}

.cate-name {
    margin-left: 1rem;
}

.site-category ul {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    position: relative;
}

.site-li {
    float: left;
    /* display: inline-block; */
    /* 	display: inline;换行有空格间隙 */
    margin-top: 1rem;
    /* text-align: center; */
    width: 10%;
    /* PC  一行 10 个 网址 */
    position: relative;
    top: 0;
    left: 0;
}

.site-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    display: block;
    /* border-radius: 25%; */
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}


/*  图标点击 变圆形  */

.site-li a:hover .site-icon {
    border-radius: 50%;
    box-shadow: 0px 0px 20px #21FF30;
    /* border: 1px solid rgb(0, 252, 13); */
    /* outline: #00FF00 dotted thick; */
}


/* 缩小ico 图标 */

.icobg {
    border: 0.6rem solid #FFFFFF;
    /* boder-box用边框压缩 图片显示区域 为 2rem X 2rem*/
}

.site-title {
    width: 4rem;
    margin: 0 auto;
    height: auto;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    /* text-overflow: ellipsis; */
    /* border: 1px solid red; */
    text-align: center;
    margin-top: 0.5rem;
}


/* 			folderli  文件夹 图标 容器li */

.folderli {
    position: relative;
}

.site-folder {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    padding: 0;
    display: block;
    /* border-radius: 25%; */
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    /* border: 1px solid black; */
}

.site-folder-icon-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 99999;
}

.site-folder img {
    float: left;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.2rem;
    display: block;
    border-radius: 25%;
    /* border: 1px solid red; */
}

.site-folder-list-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(150, 150, 150, 0.8);
    z-index: 999990;
    display: none;
}

.site-folder-list {
    position: fixed;
    top: 20%;
    height: 60%;
    left: 2%;
    width: 96%;
    background-color: rgba(250, 250, 250, 0.9);
    border-radius: 1rem;
    padding-bottom: 1rem;
    overflow: hidden;
    /* 设置滚动 */
    color: #000000;
    /* color: #fff; */
    z-index: 999999;
    display: none;
}

.site-folder-list span {
    color: #000000;
}

.folder-name {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}


/* 右上角删除按钮 */

.del-btn {
    position: absolute;
    top: -1rem;
    right: 0rem;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 10;
    display: none;
    cursor: pointer;
}

.del-btn-img {
    width: 2rem;
    height: 2rem;
}


/* 第一个添加按钮 */

.addsite-btn .site-icon {
    /* background-color: #929297 !important; */
    background-color: #1afa2980 !important;
}


/* a标签模拟button */

.a-btn {
    display: block;
    /*a tag's default property is inline, it has no width and height property*/
    /* a href="javascript:void(0);" onclick="js_method()" */
    /*form用 button ,其他用a模拟,避免button在各种浏览器样式不同,以及enter触发btn*/
    height: 20px;
    width: 61px;
    background: url() no-repeat;
    text-indent: -9999px;
    /* 隐藏文字,用背景图 */
    outline: none;
}


/**向下 按钮.移动居中,跳动动画**/

@keyframes jump {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(20px) scale(1.1, 0.9);
    }
    75% {
        ransform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

.down-btn {
    position: absolute;
    top: 1rem;
    margin-left: 50%;
    /* -webkit-transform: translate(-50%, 0); */
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    animation: jump .5s linear infinite;
}


/**img 自适应**/

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}


/* pc  */

@media screen and (min-width: 500px) {
    body {
        min-height: 1000px;
    }
    .page {
        width: 1000px;
        margin: 0 auto;
        padding: 0;
    }
    .site-folder-list {
        width: 900px;
        left: calc((100% - 900px) / 2);
    }
}


/* pc end */


/* mb */

@media screen and (max-width: 500px) {
    body {
        background-color: #303030;
        /* background-image: url(https://dss0.baidu.com/-Po3dSag_xI4khGko9WTAnF6hhy/super/pic/item/64380cd7912397dd2aa27c615682b2b7d1a287f8.jpg); */
        background-size: cover;
        background-repeat: no-repeat;
    }
    .page {
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .site-li {
        margin-top: 1rem;
        width: 25%;
        /* 手机一行 4 个 网址 */
    }
    .site-folder-list {
        position: fixed;
        top: 20%;
        height: 60%;
        left: 2%;
        width: 96%;
        overflow: scroll;
        /* 设置滚动 */
    }
}


/* mb end */