wanjingy.github.io / hw6 / static / style.css
style.css
Raw
a{text-decoration: none;}
p{margin: 0;}
body{
    background: url(background.jpg) no-repeat center center fixed; 
    background-size: cover;
    padding-top: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    font-weight: 500;
}
.search{
    margin: auto;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    width: 40%;
    border-radius: 20px;
    backdrop-filter: blur(20px);
}
.search .title{
    border-bottom: 1px solid white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    font-size: 36px;
    text-align: center;
    font-weight: lighter;
    padding: 10px;
}
.search form{
    margin-top: 30px;
    width: 100%;
}
.search label{
    color: lightblue;
}
.search i{
    font-style: normal;
    color: red;
}
.search input, select{
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    font-size: 18px;
    padding: 8px 10px;
    margin: 12px 0px;
    font-weight: normal;
}
.search #keyword, #category, #location{
    width: 100%;
    box-sizing: border-box;
}
.search .sec{
    float: left;
    width: 50%;
    box-sizing: border-box;
}
.search #autoloc{
    margin: auto 5px auto 8px;
    vertical-align: middle;
}
.search .button{
    padding: 12px 25px;
    border: none;
    margin-right: 3px;
}
.search #searchbt{
    background-color: rgb(236,116,46);
    box-shadow: 0px 3px rgb(232,89,39);
}
.search #searchbt:hover{
    background-color: rgb(253,143,84);
}
.search #clearbt{
    background-color: rgb(85,109,167);
    box-shadow: 0px 3px rgb(60,75,116);
}
.search #clearbt:hover{
    background-color: rgb(105, 128, 184);
}
.search .select-items{
    background-color: rgb(51,57,62);
}
.table{
    width: 85%;
    margin: 50px auto;
}
.table p{
    width: 100%;
    background-color: white;
    text-align: center;
    color: red;
    padding: 15px 0;
    font-weight: bold;
}
#events_table{
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    display: none;
}
#events_table tr{
    width: 100%;
}
#events_table th, td{
    border: 1px solid;
    text-align: center;
    padding: 20px 25px;
}
#events_table td:nth-child(1){
    white-space: nowrap;
}
#events_table td:nth-child(4){
    white-space: nowrap;
}
#events_table img{
    margin: auto;
    width: 112px;
    height: 64px;
}
#events_table a:link{
    color: black;
}
#events_table a:hover{
    color: blue;
}
#events_table a:visited{
    color: black;
}
#no_records{
    display: none;
}
#event_detail{
    margin: auto;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 35px 45px;
    width: 70%;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: auto;
    box-sizing: border-box;
    display: none;
}
#event_detail h1{
    color: white;
    margin: 0 auto 40px auto;
    font-size: 45px;
    width: fit-content;
    text-align: center;
}
#event_detail_info{
    float: left;
    width: 40%;
    font-size: 20px;
}
#event_detail_seatmap{
    float: left;
    width: 60%;
    height: min-content;
}
#event_detail_seatmap img{
    display: block;
    margin: auto;
}
#event_detail_info .info{
    margin: 10px 0;
}
#event_detail_info .info_tag{
    color: rgb(155, 255, 222);
    font-weight: bold;
    margin: 5px 0;
    font-size: 30px;
}
#event_detail_info .info_content{
    color: white;
    font-size: 20px;
    margin: 5px 0;
}
.info_content a:link{
    color: rgb(116, 179, 241);
}
.info_content a:hover{
    color: rgb(167, 82, 247)!important;
}
.info_content a:visited{
    color: rgb(116, 179, 241);
}
.info_status{
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 20px;
    color: white;
    margin: 5px 0;
    width: fit-content;
}
#show_venue{
    text-align: center;
    color: rgb(200, 200, 200);
    font-size: 40px;
    margin: 10px auto 40px auto;
    display: none;
    width: fit-content;
}
#arrow{
    border: solid rgb(200, 200, 200);
    border-width: 0 2px 2px 0;
    display: block;
    width: 25px;
    height: 25px;
    margin: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    padding: 3px;
}
#arrow:hover{
    cursor: pointer;
    border-color: white;
}
#venue_detail{
    background-color: whitesmoke;
    border-radius: 20px;
    width: 70%;
    padding: 10px;
    box-sizing: border-box;
    margin: 30px auto;
    display: none;
}
#venue_detail .venue_content{
    border-radius: 20px;
    border: 2px solid gray;
    width: 100%;
    height: 100%;
}
#venue_detail a{
    margin: auto;
    width: fit-content;
    display: block;
}
#venue_detail a:link{
    color: rgb(63, 147, 231);
}
#venue_detail a:hover{
    color: rgb(149, 69, 223)!important;
}
#venue_detail a:visited{
    color: rgb(63, 147, 231);
}
#venue_detail h1{
    border-bottom: 2px solid gray;
    margin: 20px auto;
    width: fit-content;
    padding: 0 10px;
    font-weight: normal;
    line-height: 1em;
    font-size: 30px;
}
#venue_detail .venue_info{
    width: 100%;
    overflow: auto;
    margin: 15px 0;
}
#venue_detail .address_content{
    float: left;
    border-right: 2px solid lightgray;
    width: 50%;
    box-sizing: border-box;
    padding: 10px 0;
}
#venue_detail .more_content{
    float: left;
    width: 50%;
    padding: 10px 0;
}
#venue_detail .address_info{
    width: fit-content;
    overflow: auto;
    margin: 0px auto 10px auto;
}
#venue_detail .address_tag{
    float: left;
    font-weight: bold;
}
#address_detail{
    float: left;
}
#venue_detail_img{
    margin: 20px auto;
    width: 112px;
    height: 64px;
    display: block;
}