Skip to content

Commit

Permalink
fix dark and light quiz style
Browse files Browse the repository at this point in the history
  • Loading branch information
angelgardt committed May 10, 2024
1 parent ca22895 commit 3be8ac1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/_book/site_libs/bootstrap/bootstrap-dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/_book/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions book/style/css/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,8 @@ form.quiz fieldset div.lvl-hard {
form.quiz fieldset div.lvl-extreme {
content: url("img/labs/lab_extreme.png");
}

form.quiz div.message {
text-align: center;
color: $red;
}
14 changes: 12 additions & 2 deletions book/style/css/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,20 @@ code {
padding: 0 0 0 5%;
}

div.submit-button {
// Quiz

form.quiz fieldset {
background-color: $gray-700;
}

form.quiz div.submit-button {
background-color: $gray-900;
}

input.submit-button {
form.quiz input.submit-button {
background-color: $gray-200;
}

form.quiz input.submit-button:hover {
background-color: $gray-300;
}
18 changes: 18 additions & 0 deletions book/style/css/light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,21 @@ code {
color: $gray-700;
// background-color: $gray-800;
}


// Quiz

// Quiz

form.quiz fieldset {
background-color: $gray-100;
}

form.quiz input.submit-button {
background-color: $gray-600;
color: $white;
}

form.quiz input.submit-button:hover {
background-color: $gray-400;
}

0 comments on commit 3be8ac1

Please sign in to comment.