Skip to content

Commit e00d88e

Browse files
committed
Added more styling
1 parent 181c6c2 commit e00d88e

File tree

5 files changed

+64
-13
lines changed

5 files changed

+64
-13
lines changed

publicis/css/sudokuJS.css

Lines changed: 60 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
font-family: "Poppins";
1010
}
1111
body {
12-
background-color: #000 !important;
12+
background-color: rgb(51, 51, 51) !important;
1313
color:rgb(209, 209, 209)!important;
1414
min-height: 100vh;
15-
background: url('../res/kieran-wood-UOk1ghQ7juY-unsplash.jpg') center center/cover no-repeat;
15+
background: url('../res/harpal-singh-eY9nCR7G0xw-unsplash.jpg') center center/cover no-repeat;
16+
background-attachment: fixed;
1617
}
1718
.containerForOverlay{
1819
position: absolute;
1920
min-height:100vh;
2021
min-width:100vw;
21-
background:rgba(0, 0, 0, 0.767);
22+
background:rgba(0, 0, 0, 0.486);
2223
}
2324
.sudoku-board {
2425
min-height: 22.75rem;
@@ -186,7 +187,7 @@ footer p {
186187
transition: 0.5s;
187188
}
188189
.wrap {
189-
padding: 1rem;
190+
/* padding: 1rem; */
190191
display: flex;
191192
flex-direction: column;
192193
justify-content: center;
@@ -197,7 +198,8 @@ footer p {
197198
margin: 2rem;
198199
}
199200
.side_hoja {
200-
transform: translateX(0%) translateY(40%);
201+
/* transform: translateX(-50%); */
202+
margin-top: 0;
201203
left: 0;
202204
/* transform:translateY(0) ; */
203205
}
@@ -367,8 +369,8 @@ button {
367369
--webkit-box-reflect: below;
368370
}
369371
.practiceMode {
370-
color: #2a8f3b;
371-
border:1px solid #2a8f3b;
372+
color: #22cf3f;
373+
border:1px solid #22cf3f;
372374
}
373375
.practiceMode:hover {
374376
background: #2a8f3b;
@@ -377,8 +379,8 @@ button {
377379
0 0 200px #2a8f3b !important;
378380
}
379381
.competitiveMode{
380-
border:1px solid rgb(151, 10, 10);
381-
color: rgb(151, 10, 10);
382+
border:1px solid rgb(214, 30, 30);
383+
color: rgb(214, 30, 30);
382384
}
383385
.competitiveMode:hover {
384386
background: rgb(151, 10, 10);
@@ -423,7 +425,7 @@ button {
423425
0 0 200px #1dffe1 !important;
424426
}
425427
.intermediate {
426-
color: #ff1dd9;
428+
color: #ac1dff;
427429
border:1px solid #ff1dd9;
428430

429431
}
@@ -433,3 +435,51 @@ button {
433435
box-shadow: 0 0 5px #ff1dd9, 0 0 25px #ff1dd9, 0 0 50px #ff1dd9,
434436
0 0 200px #ff1dd9 !important;
435437
}
438+
439+
.join_room {
440+
color: #30ff1d;
441+
border:1px solid #2a8f3b;
442+
443+
}
444+
.join_room:hover {
445+
background: #2a8f3b;
446+
color: #fff;
447+
box-shadow: 0 0 5px #2a8f3b, 0 0 25px #2a8f3b, 0 0 50px #2a8f3b,
448+
0 0 200px #2a8f3b !important;
449+
}
450+
451+
.create_one {
452+
color: #181aaf;
453+
border:1px solid #181aaf;
454+
455+
}
456+
.create_one:hover {
457+
background: #181aaf;
458+
color: #fff;
459+
box-shadow: 0 0 5px #181aaf, 0 0 25px #181aaf, 0 0 50px #181aaf,
460+
0 0 200px #181aaf !important;
461+
}
462+
.js-solve-step-btn{
463+
padding:0.3rem;
464+
color: #d8d8d8;
465+
border:1px solid #d8d8d8;
466+
}
467+
468+
.js-solve-step-btn:hover {
469+
background: #d8d8d8;
470+
color: #000;
471+
box-shadow: 0 0 5px #d8d8d8, 0 0 5px #d8d8d8, 0 0 25px #d8d8d8,
472+
0 0 200px #d8d8d8 !important;
473+
}
474+
.js-clear-board-btn{
475+
padding:0.3rem;
476+
color: #d8d8d8;
477+
border:1px solid #d8d8d8;
478+
}
479+
480+
.js-clear-board-btn:hover {
481+
background: #d8d8d8;
482+
color: #000;
483+
box-shadow: 0 0 5px #d8d8d8, 0 0 5px #d8d8d8, 0 0 25px #d8d8d8,
484+
0 0 200px #d8d8d8 !important;
485+
}

publicis/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<div class="timer hidden"></div>
5858
<h1 class="heading">Brain Teaser</h1>
5959
<div class="modes">
60-
<button class="practiceMode ">Practice Mode</button>
6160
<button class="competitiveMode">Competitive Mode</button>
61+
<button class="practiceMode ">Practice Mode</button>
6262
</div>
6363

6464
<!--show candidates toggle-->
@@ -145,8 +145,8 @@ <h2>Enter Username</h2>
145145
<button class="btn btn-outline-danger logout">LOGOUT</button>
146146
<button class="btn btn-outline-dark hidden ready_btn">READY</button>
147147
<div class="buttons">
148-
<button class="btn btn-outline-success join_room">Join a Room</button>
149-
<button class="btn btn-outline-yellow create_one">Create One</button>
148+
<button class="join_room">Join a Room</button>
149+
<button class="create_one">Create One</button>
150150
</div>
151151
<form action="" id="ask_for_room" class="formdd hidden">
152152
<input type="text" class="ask_room" placeholder="Enter Room ID">

publicis/js/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ document.querySelector(".practiceMode").addEventListener("click", (e) => {
3737
.querySelector(".button_after_practice_mode")
3838
.classList.remove("hidden2");
3939
document.querySelector(".modes").classList.add("side_hoja");
40+
document.querySelector('footer').classList.add('hidden');
4041
});
4142

4243
for (let i = 0; i < gen_btn.length; i++) {
2.3 MB
Loading
239 KB
Loading

0 commit comments

Comments
 (0)