Действия

Widget

Викторина

Материал из ВикиВоины

0.00
(0 голосов)

<style> .quizQuestions {

 margin-top: -1em;

}

.quizQuestions .question {

 display: none;

} .quizQuestions .question:first-child {

 display: block;

}

span.questionText {

 font-weight: bold;
 color: white;

}

.thumbcaption {

 color: #222;
 font-weight: initial;

}

.quiz .question {

 margin-left: 0;

}

span.questionId {

 position: absolute;
 top: 3em;
 left: 2em;
 z-index: 2;

}

.question p {

 text-align: center!important;

}

.quiz .quizForm {

 background-image: linear-gradient(rgb(0 0 0 / 35%), rgb(30 30 27 / 0%)),                  url("https://wikiwarriors.org/mediawiki/images/6/64/Test_background.png");
 text-align: center;
 padding-bottom: 50px;

}

.quiz table.object {

   background-color: transparent;
   margin: 0 auto;
   width: 50%;
   border-collapse: separate;
   border-spacing: 10px;

}

.quiz .sign {

   display: none;

}

tr {

 cursor: pointer;

}

table tbody tr td, table tr td {

   color: white;
   text-align: center;

}

tr a {

   color: white;

}

table tr.proposal, table tr:nth-of-type(even) {

   background: #0000007d;

}

table.settings tr:nth-of-type(even) {

   background: transparent;

}

.question-buttons {

 text-align: center;
 margin-top: -85px;
 margin-bottom: 10px;

}

input.check {

 display: none;

}

tr.proposal.selected, tr.proposal.selected:hover {

 background-color: #2786c2;

}

tr.proposal:hover {

 background-color: #5ea3cf;

}

input[type=submit] {

 display: none;

}

input.reset {

 display: block;

}

input[type="submit"] {

   background-color: #66120e;
   border: none;
   padding: 7px;
   color: white;
   margin: 15px auto;
   box-shadow: none;

}

input[type="submit"]:hover {

   background-color: #2786c2;

}

.quiz table.settings {

  position: absolute;
   left: 10px;
   top: 15%;

}

table.correct tr.correction td {

 background-color: #14866d;
 display: block;
 margin-top: -10px;

}

table.incorrect tr.correction td {

 background-color: #dd3333;
 display: block;
 margin-top: -10px;

}

span.correction {

   background-color: #783fd3!important;
   color: #ffe000;
   font-weight: bold;
   padding: 10px 50px;
   font-size: 1.3em;
   margin-left: auto;
   margin-right: auto;
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   text-align: center;

}

.progress-bar {

 display: block;
 width: 100%;
 height: 10px; 
 margin-top: 15px;
 background-color: #ccc;
 position: relative;

}

.progress-bar-current {

 display: block;
 height: 100%;
 background-color: #66120e;
 position: absolute;
 left: 0;
 top: 0;

}

.progress-bar-remaining {

 display: block;
 height: 100%;
 background-color: #fff;
 position: absolute;
 right: 0;
 top: 0;

}

.settings tr {

 cursor: default;

}

button:focus {

 outline: none;

}

.correction a {

 color: #ffa604;

}

.correction a:hover {

 color: #f5dd99;

}

.proposal a:hover {

   color: inherit;
   text-decoration: none;

}

@media only screen and (max-width:640px) {

.quiz .quizForm {

   padding-bottom: 40px;

}

button {

   font-size: small;

}

.question-buttons {

 margin-top: -70px;

}

.quiz table.object {

   width: 100vw;

}

span.correction {

   padding: 10px 0px;
   font-size: 1em;

}

.quiz table.settings {

   width: 200px;
   position: inherit;
   margin-top: 40px;

} tr.proposal {

 background-color: #0000007d;

}

span.questionId {

 left: 50%;
 top: 15px;

}

table.object {

   table-layout: fixed;
 }
 tr.proposal td {
   width: 100vw;
 }

} </style>