93 lines
No EOL
1.9 KiB
SCSS
93 lines
No EOL
1.9 KiB
SCSS
.game-page {
|
|
/* Ensures the div takes up the full width */
|
|
width: 100%;
|
|
/* Adjusts the top margin to create space for the navbar */
|
|
margin-top: 150px; /* Adjust this value to match your navbar's height */
|
|
}
|
|
|
|
/* Base styles (for mobile devices by default) */
|
|
.game-page iframe {
|
|
width: 110%;
|
|
height: 80vh;
|
|
border: none;
|
|
transform: translateX(-5%);
|
|
}
|
|
|
|
/* Styles for tablets and larger devices */
|
|
@media (min-width: 768px) {
|
|
.game-page iframe {
|
|
/* Example: Set a fixed width for tablets */
|
|
width: 768px;
|
|
/* Center the iframe on the screen */
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
/* Styles for desktops and larger devices */
|
|
@media (min-width: 1024px) {
|
|
.game-page iframe {
|
|
/* Example: Set a larger fixed width for desktops */
|
|
width: 1280px;
|
|
}
|
|
}
|
|
|
|
.copy-button-container {
|
|
display: flex;
|
|
justify-content: center; // Centers the button horizontally
|
|
margin-top: 20px; // Adds some space between the iframe and the button
|
|
}
|
|
|
|
.copy-button-container button {
|
|
height: 40px;
|
|
padding: 10px 20px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
// background-color: #f0f0f0;
|
|
|
|
&:hover {
|
|
background-color: #666060;
|
|
}
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
background-color: #d0d0d0;
|
|
}
|
|
}
|
|
|
|
.toast-noti {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: (50%);
|
|
transform: translateX(-50%) !important;
|
|
background: #4caf50;
|
|
color: white;
|
|
padding: 10px 16px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
z-index: 9999;
|
|
animation: topFade 2s ease-in-out;
|
|
}
|
|
|
|
@keyframes topFade {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
|
|
10% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
90% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
transform: translateY(-20px);
|
|
}
|
|
} |