Cpp4App_test / web_page.css
HaochenGong
test
27d7788
body{
margin: 0; /* Remove the default margin */
padding: 0;
min-width: 100vw; /* Set the body's minimum width and height to the window's width and height */
min-height: 100vh;
background-color: white; /* Set the background color to white */
overflow-x: hidden; /* Hide the horizontal overflow (scrollbar only in the vertical direction) */
display: flex !important;
flex-direction: column !important; /* 按列布局 */
align-items: center !important;
color: rgb(40, 40, 40);
}
.title{
width: 100%;
height: 485px;
display: flex;
}
.title_half{
width: 50%;
height: 100%;
}
.title_half img{
width: 100%;
height: auto;
}
.title_content{
display: flex;
flex-direction: column; /* 按列布局 */
justify-content: center; /* 垂直方向居中 */
padding-left: 120px !important;
padding-right: 120px !important;
box-sizing: border-box !important;
}
.title_half p{
font-size: 21px !important;
margin-top: 10px;
font-weight: bolder;
}
h1{
font-size: 80px !important;
font-weight: bolder;
}
.choice{
display: flex;
width: 100%;
height: 80px;
margin-top: 50px !important;
}
.choice_btn{
width: 150px;
height: 50px;
display: flex;
flex-direction: column; /* 按列布局 */
justify-content: center; /* 垂直方向居中 */
align-items: center;
border-radius: 5px;
transition: color 0.3s ease, background-color 0.3s ease;
}
.start{
background-color: rgb(40, 40, 40);
color: white !important;
margin-right: 20px;
text-decoration: none !important;
}
.start:hover{
background-color: rgb(117, 209, 255) !important;
}
.view_examples{
color: rgb(40, 40, 40) !important;
}
.view_examples:hover{
color: rgb(24, 157, 246) !important;
}
.examples{
width: 100%;
margin-top: 60px;
padding-left: 120px;
padding-right: 120px;
box-sizing: border-box;
}
.head{
width: 100%;
display: flex;
justify-content: space-between;
}
h2{
font-size: 47px !important;
font-weight: bolder;
}
.examples p{
font-size: 18px !important;
font-weight: bolder;
margin-top: 20px;
margin-bottom: 40px !important;
}
.img_box{
display: flex;
justify-content: space-between;
}
.eg{
width: 25%;
}
.eg img{
width: 100%;
height: auto;
border: 3px solid rgb(234, 234, 234);
transition: border-color 0.5s ease, border-width 0.5s ease;
border-radius: 10px;
cursor: pointer;
}
.eg img:hover{
border-color: rgb(117, 209, 255); /* 悬停时边框颜色 */
border-width: 3px; /* 悬停时边框粗细 */
}
.eg p{
width: 100%;
height: 60px;
display: flex;
flex-direction: column; /* 按列布局 */
justify-content: center; /* 垂直方向居中 */
align-items: center;
margin: 0;
font-style: italic;
}
.workspace{
width: 100%;
margin-top: 80px;
padding-left: 120px;
padding-right: 120px;
box-sizing: border-box;
margin-bottom: 180px;
display: flex;
flex-direction: column; /* 按列布局 */
align-items: center;
}
.workspace_btn{
width: 350px;
display: flex;
justify-content: space-between; /* 垂直方向居中 */
align-items: center;
}
.btn{
width: 150px;
height: 45px;
border: 2px solid rgb(40, 40, 40);
transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
border-radius: 5px;
cursor: pointer;
}
.run{
color: white !important;
background-color: rgb(40, 40, 40) !important;
}
.btn:hover{
color: white !important;
background-color: rgb(117, 209, 255) !important;
border: white !important;
}
.space{
width: 80%;
}
label{
font-size: 18px;
font-weight: bolder;
margin-bottom: 10px;
}
.step1{
display: flex;
flex-direction: column; /* 按列布局 */
margin-top: 50px;
}
.url{
height: 50px;
margin-top: 20px !important;
margin-bottom: 100px !important;
font-size: 20px;
color: rgb(194, 194, 194);
padding-left: 10px;
border: 2px solid rgb(40, 40, 40);
border-radius: 5px !important;
}
.step2{
display: flex;
justify-content: space-between;
}
.img{
display: flex;
flex-direction: column; /* 按列布局 */
width: 40%;
}
.point{
width: 18%;
display: flex;
flex-direction: column; /* 按列布局 */
justify-content: center;
align-items: center;
}
.point img{
width: 80%;
height: auto;
}
.phone{
width: 100%;
height: 750px;
border: 2px solid rgb(40, 40, 40);
border-radius: 5px;
margin-top: 20px !important;
}
#image_input{
width: 100%;
height: 750px;
border: 2px solid rgb(40, 40, 40);
border-radius: 5px;
margin-top: 20px !important;
}