Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Styles for https://dev.fandom.com/wiki/Quiz */
/* Used files: [[File:Quiz-hourglass.png]] [[File:Quiz-bigcloud.png]] [[File:Quiz-smallcloud.png]] */
#quizQ {
background: #67b2ff;
width: 660px;
height: 450px;
margin: 20px auto;
position: relative;
overflow: hidden;
border-radius: 50px;
border: 5px solid #111;
}
#quizQ #quizBackground {
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 100%;
z-index: 3;
opacity: 0.3;
border-radius: 50px;
}
#quizQ #quizBlockWrapper {
background: #FFF;
height: 85%;
left: 12px;
opacity: 0.8;
position: absolute;
top: 12px;
width: 300px;
border-radius: 25px;
z-index: 4;
border: 3px solid #111;
}
#quizQ #quizBlock {
width: 300px;
position: absolute;
padding: 15px;
z-index: 5;
}
#quizQ #quizName {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
min-height: 34px;
color: #eee;
font-family: arial, helvetica, sans-serif;
font-size: 150%;
font-weight: 700;
margin: 10px auto;
max-width: 93%;
padding: 5px;
text-align: center;
border-radius: 13px;
position: relative;
border: 1px solid #2a2c2f;
box-shadow: 0 0 5px #000;
background-color: #45484d;
background-image: -webkit-gradient(linear, left top, left bottom, from(#45484d), to(#000000));
background-image: -webkit-linear-gradient(top, #55585d, #000000);
background-image: -moz-linear-gradient(top, #45484d, #000000);
background-image: -ms-linear-gradient(top, #45484d, #000000);
background-image: -o-linear-gradient(top, #45484d, #000000);
background-image: linear-gradient(to bottom, #45484d, #000000);
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#45484d, endColorstr=#000000);
}
#quizQ #questionBlock {
padding: 5px;
/* This definition is not compatible with longer quiz names - the question
overlaps the header. It looks like it's fine to remove this positioning
since the question block is a child of another absolute-postitioned element.
position: absolute;
top: 70px;
*/
width: 88%;
color: #000;
font-family: arial,helvetica,sans-serif;
max-height: 290px;
overflow: auto;
}
#quizQ #question {
font-size: 120%;
margin: 5px;
}
#quizQ #questionCounter {
position: absolute;
right: 30px;
top: 370px;
font-family: arial,helvetica,sans-serif;
font-size: 90%;
}
#quizQ #nxtBtnWrapper {
position: absolute;
right: 20px;
top: 400px;
}
#quizQ #nxtBtn {
color: #eee;
font-family: Tahoma, Geneva, sans-serif;
text-shadow: 2px 2px #000;
font-size: 150%;
margin: 0;
font-weight: 700;
cursor: default;
-o-transform: rotate(-10deg);
-ms-transform: rotate(-10deg);
-moz-transform: rotate(-10deg);
-webkit-transform: rotate(-10deg);
transform: rotate(-10deg);
opacity: 0.5;
}
#quizQ .nxtBtnActive {
opacity: 1 !important;
cursor: pointer !important;
}
#quizQ .nxtBtnActive:hover {
text-shadow: 2px 2px #07B2E0 !important;
}
#quizQ #quizCountdown {
height: 100%;
position: absolute;
right: 0;
width: 50%;
z-index: 4;
top: 100px;
}
#quizQ #quizhourglass {
background: url('https://vignette.wikia.nocookie.net/dev/images/7/7d/Quiz-hourglass.png') no-repeat;
height: 200px;
margin: 0 auto;
position: relative;
width: 120px;
}
#quizQ #quiztimer {
font-family: tahoma;
font-size: 200%;
font-weight: 700;
position: relative;
text-align: center;
text-shadow: 2px 2px 1px #000;
color: #fff;
}
#quizQ #resultsHeader {
color: #000;
font-family: tahoma;
font-size: 150%;
font-weight: 700;
line-height: 30px;
}
#quizQ #resultsText {
color: #000;
font-family: arial,helvetica,sans-serif;
}
#quizQ label {
display: inline-block;
vertical-align: middle;
width: 93%;
margin: 5px 0 5px 4px;
}
#quizQ input {
height: 30px;
margin: 0;
vertical-align: middle;
}
#quizQ .bigCloud {
background: url('https://vignette.wikia.nocookie.net/dev/images/6/6f/Quiz-bigcloud.png');
width: 150px;
height: 79px;
z-index: 2;
position: absolute;
right: -150px;
}
#quizQ .smallCloud {
background: url('https://vignette.wikia.nocookie.net/dev/images/a/a8/Quiz-smallcloud.png');
width: 75px;
height: 40px;
z-index: 1;
position: absolute;
right: -75px;
}