| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/zinisoft.net/gem/sass/ |
Upload File : |
/* ====== scene ===== */
.scene-container {
display: flex;
// display: none;
position: absolute;
justify-content: center;
touch-action: none;
width: 100%;
height: 100%;
background-color: $clr-black;
z-index: 9999;
top: 0;
left: 0;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.scene-background {
background-position: center center;
position: relative;
width: 100%;
height: 100%;
background-size: cover;
}
/* ====== scene1 ===== */
.scene1-el-1 {
background-image: url("../img/scene1-el-1.png");
background-position: center center;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-size: cover;
}
.scene1-img {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, 0);
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.scene1-el-2 {
// background-image: url("../img/scene1-moon.png");
// background-position: center center;
// background-size: cover;
// width: percentage(641/1440);
// height: percentage(444/768);
// position: absolute;
// top: 9%;
// left: 50%;
// transform: translateX(-50%);
// position: absolute;
// top: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
@include breakpoint(md) {
transform: translateY(-60%);
}
@include breakpoint(xl) {
transform: translateY(-70%);
}
}
.scene1-el-3 {
// background-image: url("../img/scene1-glow.png");
// background-position: center center;
// background-size: cover;
// width: percentage(767/1440);
// height: percentage(592/768);
// position: absolute;
// top: 50%;
// left: 50%;
// transform: translate(-50%, -50%);
position: relative;
top: 5%;
}
/* ====== scene2 ===== */
.scene2-el-1 {
// left: 288px;
// bottom: 190px;
position: absolute;
bottom: 5%;
left: percentage(288/1503);
@include breakpoint(md) {
bottom: percentage(190/960);
}
}
.scene2-el-2 {
// top: 182px;
// right: 102px;
top: 2%;
right: 5%;
width: percentage(305/768);
position: absolute;
@include breakpoint(md) {
width: auto;
}
@include breakpoint(lg) {
top: percentage(182/960);
right: percentage(166/1503);
}
}
.scene2-el-3 {
// left: 302px;
// top: 120px;
position: absolute;
top: 2%;
left: 5%;
width: percentage(109/768);
@include breakpoint(md) {
width: auto;
}
@include breakpoint(lg) {
top: percentage(120/960);
left: percentage(302/1503);
}
}
.scene2-el-4 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* ====== scene4 ===== */
.scene4-el-1 {
position: absolute;
width: percentage(116/768);
@include breakpoint(md) {
width: auto;
}
&.left {
// top: 490px;
// left: 163px;
bottom: 5%;
left: 5%;
@include breakpoint(md) {
bottom: unset;
top: 80%;
left: 10%;
}
@include breakpoint(lg) {
top: percentage(490/960);
left: percentage(163/1538);
}
}
&.right {
// right: 252px;
// top: 242px;
top: 5%;
right: 5%;
@include breakpoint(md) {
top: 10%;
right: 10%;
}
@include breakpoint(lg) {
top: percentage(242/960);
right: percentage(252/1538);
}
}
}
/*=== scence 3 ===*/
.scene3-el-1 {
position: absolute;
top: percentage(34/768);
left: percentage(100/1440);
width: percentage(1037/1440);
height: percentage(700/768);
max-height: 700px;
max-width: 1037px;
img {
max-height: 100%;
max-width: 100%;
}
}
.scene3-el-2 {
img {
width: 100%;
}
}
/*=== scence 5 ===*/
.scene5-el-1 {
position: absolute;
bottom: percentage(92/768);
left: 50%;
@include translate(-50%, 0);
width: percentage(407/1440);
height: percentage(371/768);
max-width: 407px;
max-height: 371px;
img {
max-height: 100%;
max-width: 100%;
}
}
/*=== scence 6 ===*/
.scene6-el-1 {
position: absolute;
bottom: 0;
right: 0;
max-height: 100%;
width: percentage(828/1440);
text-align: right;
img {
max-height: 100%;
max-width: 100%;
}
}
.scene6-el-2 {
position: absolute;
bottom: 0;
right: 0;
max-height: 100%;
width: percentage(620/1440);
text-align: right;
z-index: 2;
img {
max-height: 100%;
max-width: 100%;
}
}