alignment changes

This commit is contained in:
nitishkumar 2024-03-21 15:44:22 +05:30
parent 7a4595c546
commit 4dd0b734be

View file

@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<title>Document</title>
</head>
<body>
<div id='starter'>please press enter to launch the store</div>
<div id='starter'>Please press enter to launch the store</div>
<div id='scene'>
<div id='curtain'>
@ -42,8 +42,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
z-index: 1;
position: absolute;
top: 50%;
left: 50%;
width: 300px;
left: 25%;
width: 1000px;
height: 50px;
margin-top: -25px;
margin-left: -150px;
@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
#scene {
/* position: fixed; */
/* top: 20%; */
left: 30%;
left: 10%;
width: 100%;
height: 100%;
overflow: hidden;
@ -108,16 +108,19 @@ SPDX-License-Identifier: AGPL-3.0-or-later
h1 {
position: absolute;
/* left: 20%;
top: 20%; */
display: inline;
width: 1500px;
height: 350px;
/* margin-top: -90px;
margin-left: -50px; */
text-align: center;
white-space: nowrap;
/* top: 50%; */
/* display: inli */
width: 100%;
height: 100%;
display: inline-block;
margin-left: -300px;
font-family: "Petit Formal Script", cursive;
font-size: 10em;
font-size: 6.2em;
color: #FFD700;
transform: scale(0.5);
opacity: 0;
@ -126,13 +129,14 @@ SPDX-License-Identifier: AGPL-3.0-or-later
#countdown {
position: absolute;
top: 80%;
left: 90%;
transform: translate(-50%, -50%);
bottom: 0;
right: 0;
height:150px;
width:300px;
font-family: 'Roboto Condensed', sans-serif;
font-size: 8em;
font-size: 5em;
color: #FFD700;
}
}
/* **********
opening
********** */
@ -285,7 +289,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
form.setAttribute("action", "/");
form.setAttribute("method", "post");
}
startCountdown();
// startCountdown();
}
function showTime() {