portfolio/src/components/css/Bai.css

85 lines
1.2 KiB
CSS

.Bai {
color: white;
display: flex;
flex-direction: column;
align-items: center;
padding: 10%;
}
.Bai * {
margin-top: 5px;
}
.Bai h1 {
margin-left: auto;
margin-right: auto;
}
.Bai p {
margin-left: auto;
margin-right: auto;
text-align: center;
}
.Bai img {
width:0;
height:0;
overflow: hidden;
transition: height 1s;
}
.Bai img.show {
margin-left: auto;
margin-right: auto;
height: 50vh;
width:max-content;
max-width: 50vw;
max-height: 50vh;
transition: height 2s;
}
.Bai button {
font-size: 24px;
margin-left: auto;
margin-right: auto;
background-color: #4f5f49;
border-style: none;
border-radius: 5px;
padding: 15px;
color: white;
}
.Bai input {
width:0;
height:0;
}
.Bai .prediction {
background-color: #373747;
border-radius: 10px;
padding: 8px;
font-size: 16px;
}
.Bai .content {
display: flex;
flex-direction: column;
}
.Bai .hide {
display: none;
}
.Bai .error {
display:none;
}
.Bai .error.enable{
justify-content: center;
display:flex;
color: white;
background-color: #CB2323;
padding: 8px;
border-radius: 5px;
}