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

Simon Game GUI fixed [Enhancement] #3206

Closed
wants to merge 1 commit into from
Closed
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
18 changes: 9 additions & 9 deletions Games/Simon_Game_Challenge/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<link rel="stylesheet" href="styles.css" />
<link rel="icon" href="/assets/images/Simon_Game_Challenge.png" />
<link
href="https://fonts.googleapis.com/css?family=Press+Start+2P"
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Press+Start+2P"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
</head>
Expand Down Expand Up @@ -58,9 +58,9 @@ <h2>All the best :)</h2>
</div>
</div>

<h1 id="play-button" style="margin: 0%;">
<div id="play-button">
<i class="fa fa-regular fa-circle-play"></i>
</h1>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="game.js"></script>
</body>
Expand Down
36 changes: 31 additions & 5 deletions Games/Simon_Game_Challenge/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,25 @@ body {

#highest {
color: #fef2bf;
margin-right:320px;
padding: 0px;
margin-bottom: 0px;
}
#level-title {
font-family: "Press Start 2P", cursive;
font-size: 3rem;
margin: 1px;
font-size: 2.5rem;
margin-right:500px;
margin-left: 230px;
color: #fef2bf;
margin-top: 0px;
margin-bottom:5px;
}
#play-button {
font-family: "Press Start 2P", cursive;
font-size: 7rem;
font-size: 5rem;
color: #fef2bf;
margin-right: 360px;
margin-top:0px;
}

#play-button > i:hover {
Expand Down Expand Up @@ -56,11 +64,17 @@ body {
.container {
flex-direction: column;
}

#highest{
margin:0%;
}
#level-title{
margin:1px;
}
.game-section,
.instructions-section {
width: 100%;
margin: 10px auto;
margin-left:6px;
/* margin: 10px auto; */
}
}

Expand Down Expand Up @@ -108,9 +122,13 @@ body {
height: 150px;
width: 150px;
}
#highest{
margin:0%;
}
#level-title,
#play-button {
font-size: 5rem;
margin:0%;
}
}

Expand All @@ -123,9 +141,13 @@ body {
height: 100px;
width: 100px;
}
#highest{
margin:0%;
}
#level-title,
#play-button {
font-size: 3.5rem;
margin:0%;
}
}

Expand All @@ -138,9 +160,13 @@ body {
height: 100px;
width: 100px;
}
#highest{
margin:0%;
}
#level-title,
#play-button {
font-size: 3.5rem;
margin:0%;
}
}

Expand Down
Loading