mr_web_nuxt/assets/css/index/index.scss
2023-06-28 19:02:53 +08:00

216 lines
4.0 KiB
SCSS

.home-download-button {
background-color: #228df2;
border: none;
color: #fff;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
padding: 10px 24px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
}
// 首页最外部盒子
.home-main-box {
padding-top: 10vw;
overflow: hidden;
// 首页内容盒子
.home-box {
width: 100%;
// background-color: var(--rootColor);
// 顶部内容
.top-content {
// 首页顶部标题盒子
.home-top-title-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: white;
h1 {
display: block;
font-size: 2em;
margin-block-start: 0.67em;
margin-block-end: 0.67em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
.home-top-title {
font-size: 62px;
letter-spacing: 5px;
}
.home-sub-title {
font-size: 25px;
font-weight: 400;
color: #aaa;
text-align: center;
letter-spacing: 3px;
}
}
// 下载按钮盒子
.home-download-box {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-top: 3vw;
.svg-content {
width: 20px;
height: 20px;
margin-right: 8px;
}
}
// 顶部展示图片
.top-show-box {
margin-top: 80px;
width: 100%;
height: 30vw;
overflow: hidden;
img {
cursor: pointer;
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
// 中间内容
.middle-box {
h2 {
font-size: 38px;
color: white;
font-weight: bold;
letter-spacing: 10px;
}
h3 {
font-size: 18px;
margin-top: 16px;
margin-bottom: 32px;
font-weight: 400;
color: #aaa;
text-align: center;
line-height: 1.5;
max-width: 500px;
}
.middle-img-box {
position: relative;
margin-top: 0px;
width: 100%;
height: 35vw;
cursor: pointer;
overflow: hidden;
>img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
// 中间盒子
.middle-content-big-box {
margin-top: 10vw;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
// 标题
.middle-content-title-box {
.middle-content-title {}
.middle-content-sub-title {}
}
}
// 一键建表 Navicat 图标
.create-table-navicat-img-box {
width: 100px;
height: 100px;
overflow: hidden;
position: absolute;
right: 30%;
top: 5%;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
// 底部内容
.bottom-box {
margin-top: 8vw;
display: flex;
flex-direction: column;
flex-wrap: wrap;
// gitee源码盒子
.gitee-box {
width: 80%;
margin: 0 auto;
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
height: 250px;
.gitee-img-box{
width: 298px;
height: 90px;
overflow: hidden;
img{
width: 100%;
height: 100%;
object-fit: contain;
}
}
.gitee-content-title {
font-size: 32px;
font-weight: 700;
color: #fff;
margin-bottom: 10px;
}
}
}
}
}