Skip to content
Open
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
17 changes: 10 additions & 7 deletions Quiz/css/game.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@ h3 {

.choice-container:hover {
cursor: pointer;
background-color:#56a6eb9d;
background-color:white;
opacity: 0.5;
border: 1px solid black;

transform: translateY(+0.1rem);
transition: transform 150ms;
}

.choice-prefix {
padding: 1.5rem 2.5rem;
background-color: #56a5eb;
background-color: #efe088;
color: white;
}

Expand Down Expand Up @@ -87,19 +89,19 @@ h3 {

.hud-main-text {
text-align: center;
color: #1985e4;
color: black;
}

#progressBar {
width: 20rem;
height: 4rem;
border: 0.3rem solid #1985e4;
border: 0.3rem solid black;
margin-top: 1.5rem;
}

#progressBarFull {
height: 3.4rem;
background-color: #1985e4;
background-color: black;
width: 0%;

}
Expand All @@ -108,7 +110,7 @@ h3 {
#quizLoader {
border: 1.6rem solid white;
border-radius: 50%;
border-top: 1.6rem solid #56a5eb;
border-top: 1.6rem solid white;
width: 12rem;
height: 12rem;
animation: spin 2s linear infinite;
Expand All @@ -132,12 +134,13 @@ h3 {
background-color: white;
padding: 1rem;
border-radius: 50%;
border: 2px solid #56a5eb;
border: 2px solid #efe088;
}

.quiz-exit svg{
width: 36px;
height: 36px;

}

.quiz-exit:hover {
Expand Down
19 changes: 18 additions & 1 deletion Quiz/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,29 @@
align-items: center;
max-width: 80rem;
padding: 2rem;
margin-top:225px;


}
.quiz-container{

flex: 1;
align-items: center;
width: 100%;
padding: 15px;
border: 0.1px solid #efe088;
background: rgb(0, 0, 0, 0.5);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border-radius: 10px;
border-radius: 5%;
}
.quiz-container::before{
content: "";
background:url("https://img.freepik.com/premium-photo/product-presentation-wooden-table-with-background-empty-bookshelf-library_172251-444.webp") no-repeat center center/cover;
background-image: url("https://res.cloudinary.com/dkak37mek/image/upload/v1631569685/alfons-morales-YLSwjSy7stw-unsplash_jdnjxk.webp?raw=true");
background-size: cover;
background-repeat: no-repeat;
background-color: rgba(0, 0, 0, 0.9);
box-shadow: inset 120px 100px 250px #000000, inset -120px -100px 250px #000000;
position: absolute;
top: 0;
left: 0;
Expand Down