-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
392 additions
and
309 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,127 @@ | ||
.quiz { | ||
display: flex; | ||
.quiz { | ||
padding: 140px 100px 100px; | ||
display: flex; | ||
flex-direction: column; | ||
background-color: $color-dark; | ||
padding: 7em 5em 5em; | ||
color: #fff; | ||
background-color: $color-dark; | ||
} | ||
|
||
.quiz__title { | ||
margin: 0 0 70px; | ||
display: flex; | ||
flex-direction: column; | ||
font-size: 2.3em; | ||
font-family: 'faktum bold'; | ||
font-size: 2.3em; | ||
color: $color-light; | ||
line-height: 1.2; | ||
margin-bottom: 0.8em; | ||
|
||
span:last-of-type { | ||
&:after { | ||
content: '_'; | ||
} | ||
} | ||
} | ||
|
||
.quiz__submit { | ||
margin: 60px 0 0; | ||
display: flex; | ||
justify-content: flex-end; | ||
margin-top: 2em; | ||
} | ||
|
||
button { | ||
color: #fff; | ||
font-size: .95em; | ||
font-family: 'antikor bold'; | ||
padding: 1em 2.5em; | ||
background-color: $color-light; | ||
.quiz__score { | ||
margin: 60px 0 0; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
.title { | ||
margin: 0 0 20px; | ||
font-family: 'faktum bold'; | ||
font-size: 2.5em; | ||
text-transform: uppercase; | ||
|
||
span { | ||
margin-right: 17px; | ||
} | ||
} | ||
|
||
.detail { | ||
margin-left: 69px; | ||
padding-left: 25px; | ||
display: flex; | ||
flex-direction: column; | ||
font-size: 1.5em; | ||
border-left: solid 4px; | ||
|
||
strong { | ||
font-family: 'faktum bold'; | ||
} | ||
} | ||
|
||
img { | ||
margin: 0; | ||
width: 380px; | ||
} | ||
} | ||
|
||
.quiz__answer { | ||
margin-top: .8em; | ||
color: #fff; | ||
padding: 0 .3em; | ||
.quiz__score--excellent { | ||
.title { | ||
color: $color-light; | ||
} | ||
|
||
.detail { | ||
border-color: $color-light; | ||
|
||
strong { | ||
color: $color-light; | ||
} | ||
} | ||
} | ||
|
||
.quiz__score { | ||
display: flex; | ||
align-self: center; | ||
align-items: center; | ||
flex-direction: column; | ||
font-family: 'faktum bold'; | ||
color: $color-light; | ||
.quiz__score--improvable { | ||
.title { | ||
color: $color-danger; | ||
} | ||
|
||
.detail { | ||
border-color: $color-danger; | ||
|
||
strong { | ||
line-height: 1; | ||
font-size: .7em; | ||
strong { | ||
color: $color-danger; | ||
} | ||
} | ||
|
||
.emoji { | ||
font-size: 2.7em; | ||
margin: .3em; | ||
} | ||
|
||
@media (max-width: $screen-md) { | ||
.quiz__score { | ||
img { | ||
width: 320px; | ||
} | ||
} | ||
} | ||
|
||
@media (max-width: $screen-sm) { | ||
.quiz { | ||
padding: 80px 25px 100px; | ||
font-size: 1em; | ||
} | ||
|
||
.percentage { | ||
font-size: 3em; | ||
.quiz__score { | ||
flex-direction: column; | ||
text-align: center; | ||
|
||
.detail { | ||
margin: 0 0 35px; | ||
padding: 0; | ||
font-size: 1.25em; | ||
border: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media (max-width: $screen-xxs) { | ||
.quiz__title { | ||
margin: 0 0 30px; | ||
font-size: 1.6em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.