/* #####################################
Author: siyue
Date:2023-05-27
相册的菜单样式
###################################### */

ul#album{
    background-color: #efe5d0;
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    padding: 10px;
    gap: 10px;
}

ul#album li{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% / 3 - 20px);
    background-color: rgba(255, 255, 255, .8);
    opacity: .8;
}

ul#album li:hover{
    opacity: 1;
    box-shadow: 2px 2px 2px 0px rgba(48, 48, 48, 0.3);
    transition: all 0.7s ease;
}

ul#album li a:link, ul#album li a:visited, ul#album li a:hover{
    display: block;
    padding: 10px;    
    border: 1px solid #ccc;
}

ul#album li a p{
    font-size: 90%;
}

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


/* ###############
06.自适应样式 
##################*/
 
/* 炒鸡小屏手机 (phones, 600px and down) */
 
@media only screen and (max-width: 600px) {
    ul#album li{
        flex-basis:auto;
    }
}
 
/* 中等手机以及竖屏平板 (portrait tablets and large phones, 600px and up) */
 
@media only screen and (min-width: 600px) {}
 
/* 横屏平板 (landscape tablets, 768px and up) */
 
@media only screen and (min-width: 768px) {
    ul#album li{
        flex-basis: calc(100% / 2 - 10px);
    }

}
 
/* 中小型笔记本电脑及台式机 (laptops/desktops, 992px and up) */
 
@media only screen and (min-width: 992px) {
    ul#album li{
        flex-basis: calc(100% / 3 - 20px);
    }
}
 
/* 宽屏笔记本及台式机 (large laptops and desktops, 1200px and up) */
 
@media only screen and (min-width: 1200px) {
  
}