Files
gitlab-instance-0a899031_no…/src/pages/index/index.scss
2025-04-03 04:44:11 -05:00

311 lines
7.2 KiB
SCSS

.index {
// background-color: #002329;
// width: 100vw;
// padding-top: 80px;
height: 100vh;
// height: 100%;
// padding-left: 100px;
// padding-right: 100px;
// background-color: yellow;
.index-book {
// margin-top: 80px;
// width: 100%;
min-height: 300px;
// padding: 20px;
display: flex;
flex-direction: column-reverse;
align-items: center;
justify-content: space-between;
// background-color: #f0f0f0;
// background-color: #f0f5ff;
// background-color: yellow;
.index_book_left {
min-width: 600px;
min-height: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
// background-color: rgb(208, 255, 0);
.left_title {
font-size: 50px;
font-weight: 700;
color: #69b1ff;
}
.left_text {
font-size: 30px;
}
.left_mobile {
margin-top: 20px;
width: 100%;
font-size: 30px;
display: flex;
flex-direction: column;
// align-items: center;
// justify-content: space-around;
// background-color: yellow;
}
.card {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.cardItem {
padding: 20px;
// padding-top: 20px;
width: 500px;
// height: 300px;
margin-bottom: 20px;
display: flex;
flex-direction: row;
background-color: rgb(var(--color-gray-50) / var(--tw-bg-opacity, 1));
// background-color: yellow;
background-color: #f0f5ff;
border-radius: 20px;
// align-items: center;
// justify-content: center;
.cardItem_left {
// width: 100px;
// height: 100%;
// background-color: #69b1ff;
display: flex;
flex-direction: column;
// align-items: center;
// justify-content: center;
margin-right: 40px;
.cardItem_left_img {
width: 80px;
height: 80px;
}
.youtubeSvg {
position: relative;
top: -5px;
}
}
.cardItem_right {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// background-color: red;
.cardItem_rightUp {
width: 100%;
height: 80px;
// background-color: aquamarine;
display: flex;
flex-direction: row;
font-weight: 700;
font-size: 35px;
// align-items: center;
// justify-content: center;
}
.cardItem_rightDown {
width: 100%;
// height: 200px;
flex: 1;
// background-color: red;
display: flex;
flex-direction: row;
// align-items: center;
// justify-content: center;
font-size: 30px;
flex-wrap: wrap;
color: #262626;
}
}
.left_mobile {
margin-top: 20px;
// width: 100%;
font-size: 30px;
display: flex;
flex-direction: column;
// background-color: aqua;
// align-items: center;
// justify-content: space-around;
// background-color: yellow;
}
}
}
.left_btn {
margin-top: 40px;
// background-color: aqua;
// display: none;
.startRead {
width: 500px;
}
}
}
.index_book_img {
margin-top: 80px;
width: 400px;
height: 400px;
}
}
.svgItems {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
// background-color: yellow;
margin-top: 20px;
// padding: 20px;
.bookImg {
display: none;
}
}
.index_btn {
// background-color: yellow;
// margin-top: 40px;
.startRead {
width: 200px;
}
}
.footer {
position: absolute;
// position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 60px;
// margin-bottom: 20px;
font-size: 14px;
// background-color: yellow;
}
}
@media (min-width: 1536px) {
.index {
// padding: 100px;
// height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// background-color: aqua;
position: relative;
.index-book {
width: 100%;
max-width: 1400px;
// max-width: 2000px;
// padding: 20px;
display: flex;
flex-direction: row;
align-items: center;
// justify-content: center;
justify-content: space-between;
background-color: #f0f5ff;
border-radius: 20px;
.index_book_left {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
// background-color: yellow;
// background-color: #69b1ff;
.left_mobile {
display: none;
}
.card {
display: none;
}
.left_btn {
display: flex;
.startRead {
// display: flex;
width: 200px;
}
}
}
.index_book_img {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// height: 100%;
// background-color: yellow;
.book_img{
margin-bottom: 40px;
}
}
}
.svgItems {
// width: 1400px;
width: 100%;
max-width: 1400px;
margin-top: 80px;
// padding: 0px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
// background-color: #69b1ff;
// background-color: yellow;
// background-color: brown;
.svgItem {
// min-width: 1400px;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
// background-color: #69b1ff;
.bookImg {
width: 350px;
height: 350px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// background-color: yellow;
.bookImg_text {
margin-top: 20px;
font-size: 30px;
}
}
}
}
.index_btn {
.startRead {
display: none;
}
}
.footer {
position: absolute;
// position: fixed;
bottom: 0px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 60px;
// margin-bottom: 20px;
font-size: 14px;
// background-color: yellow;
}
}
}
.footer_div {
width: 100%;
height: 60px;
}