/* #####################################
作者:Rebecca
联系:wyyklh123@126.com
日期:2020-06-20
spring的菜单样式
####################################### */

/*01.结构化框架容器的样式*/
body {
    text-align: center;
}

header {
    margin-top: 30px;
    margin-bottom: 10px;
    font-family:
        STKaiti, "华文行楷", Microsoft YaHei, "微软雅黑", sans-serif;
    font-size: 120%
}

main {
    margin-top: 10px;
    padding: 100px;
    width: 60%;
    margin: 10px auto;
    text-align: center;
}

footer {
    background-image: url(../images/);
    border-top: 1px solid #8b8989;
    margin-top: 10px;
    text-align: center;
    padding: 10px;
    font-size: 100%;
    font-family: STKaiti, "华文行楷", Microsoft YaHei, "微软雅黑", sans-serif;
    color: black;
}

/*02.Inline Elements 的样式*/
figure {
    margin: 0;
    padding: 0;
}


/*03.自定义class或id的样式*/
ul#spring {
    background-color: ;
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
}

ul#spring li {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% / 3 - 40px);
    margin: 10px;
    border-radius: 5px;
    opacity: 1;
    box-shadow: 0px 2px 2px 1px rgba(5, 15, 24, .2);
}

ul#spring li:hover {
    opacity: 0.8;
    transition: all 0.6s;
}

ul#spring li a img {
    max-width: 100%;
    border-radius: 5px;
}

ul#spring li a:link,
ul#spring li a:visited,
ul#spring li a:hover {
    font-family: STKaiti, "华文行楷", Microsoft YaHei, "微软雅黑", sans-serif;
    color: rgba(0, 0, 0, .8);
    display: block;
    background-color: rgba(255, 255, 255, .8);
    border-bottom: none;
    font-size: 120%;
    padding: 10px;
    text-decoration: none;
}

.foot {
    color: black;
}


/*04. 自适应样式*/

/* 炒鸡小屏手机 (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    ul#spring li {
        flex-basis: auto;
    }

    #spring {
        display: block;
    }

    nav {
        margin-top: 0px;
    }

    /* 中等手机以及竖屏平板 (portrait tablets and large phones, 600px and up) */
    @media only screen and (min-width: 600px) {
        ul#spring li {
            flex-basis: calc(100% / 1 - 40px);
        }

        /* 横屏平板 (landscape tablets, 768px and up) */

        @media only screen and (min-width: 768px) {

            ul#spring li {
                flex-basis: calc(100% / 1 - 40px);
            }
        }

        /* 中小型笔记本电脑及台式机 (laptops/desktops, 992px and up) */

        @media only screen and (min-width: 900px) {
            ul#spring li {
                flex-basis: calc(100% / 3 - 60px);
            }
        }

        /* 宽屏笔记本及台式机 (large laptops and desktops, 1200px and up) */

        @media only screen and (min-width: 1200px) {}
