Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brought Simon Game in a single screen #3158

Merged
merged 2 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Games/Simon_Game_Challenge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</head>

<body>
<div style="text-align: left; margin-left: 40px;
margin-top: 30px;
font-size: 30px;
<div style="text-align: left; margin-left: 10px;
margin-top: 10px;
font-size: 40px;
padding: 5px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:white;" class="fas fa-home home-icon"></i></a></div>
<h1 id="level-title">Press Any Key to Start</h1>
<h2 id="highest">Highest reached level : 0</h2>
Expand Down Expand Up @@ -58,7 +58,7 @@ <h2>All the best :)</h2>
</div>
</div>

<h1 id="play-button">
<h1 id="play-button" style="margin: 0%;">
<i class="fa fa-regular fa-circle-play"></i>
</h1>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Expand Down
27 changes: 15 additions & 12 deletions Games/Simon_Game_Challenge/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ body {
#level-title {
font-family: "Press Start 2P", cursive;
font-size: 3rem;
margin: 5%;
margin: 1px;
color: #fef2bf;
}
#play-button {
font-family: "Press Start 2P", cursive;
font-size: 3rem;
font-size: 7rem;
color: #fef2bf;
}

Expand All @@ -36,18 +36,19 @@ body {
display: flex;
flex-direction: column;
width: 70%;
margin: auto;
margin-left: 80px;
margin: 30px;
margin-left: 50px;
}

.instructions-section {
background-color: #fef2bf;
font-size: 1.5rem;
font-size: medium;
font-weight: bold;
flex: 1;
padding: 10px;
margin: 20px;
padding: 8px;
margin: 5px;
display: flex;
flex-direction: column;
flex-direction:column;
justify-content: center;
}

Expand All @@ -59,17 +60,17 @@ body {
.game-section,
.instructions-section {
width: 100%;
margin: 20px auto;
margin: 10px auto;
}
}

.btn {
margin: 25px;
display: inline-block;
height: 200px;
width: 200px;
height: 150px;
width: 150px;
border: 5px solid black;
border-radius: 10%;
margin: 5px;
}

.game-over {
Expand Down Expand Up @@ -142,3 +143,5 @@ body {
font-size: 3.5rem;
}
}


Loading