diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/css/quiz.css')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/css/quiz.css | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/shortcodes/css/quiz.css b/plugins/jetpack/modules/shortcodes/css/quiz.css new file mode 100644 index 00000000..e2a0b36b --- /dev/null +++ b/plugins/jetpack/modules/shortcodes/css/quiz.css @@ -0,0 +1,56 @@ +div.jetpack-quiz { + border: 1px solid #deede3; + background-color: #f3f3f3; + padding: 1em; + line-height: 1.3em; + margin-bottom: 2em; + border-radius: .2em; +} + +div.jetpack-quiz div.jetpack-quiz-question { + margin-bottom: .5em; + font-weight: bold; +} + +div.jetpack-quiz div.jetpack-quiz-answer { + cursor: pointer; + margin-bottom: .5em; + padding: 1em 0 1em 1em; + border-bottom: 1px dotted #999; +} +div.jetpack-quiz div.jetpack-quiz-answer.last { + padding-bottom: 0; + margin-bottom: 0; + border-bottom: 0; +} + +div.jetpack-quiz div.jetpack-quiz-answer.correct { + color: green; +} + +div.jetpack-quiz div.jetpack-quiz-answer.wrong { + color: red; +} + +div.jetpack-quiz div.jetpack-quiz-answer div.jetpack-quiz-explanation { + display: none; +} + +div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation, div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation { + display: block; + color: black; + font-size: 90%; + margin-top: 1em; +} + +div.jetpack-quiz div.jetpack-quiz-answer.correct div.jetpack-quiz-explanation tt, div.jetpack-quiz div.jetpack-quiz-answer.wrong div.jetpack-quiz-explanation tt { + font-size: 85%; +} + +div.jetpack-quiz pre { + font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; + background: transparent; + margin: 0; + padding: 0; +} + |