Files
deployd/examples/trivia/public/css/style.css
Ritchie Martori 5715c74637 added example apps
2012-06-20 11:28:13 -07:00

155 lines
3.0 KiB
CSS
Executable File

html {
height: 100%;
}
body {
text-align: center;
padding: 20px;
background: #2E2E2E url('../images/darkdenim3.png');
/* background: rgb(99,190,197);
background: -moz-linear-gradient(top, rgba(99,190,197,1) 0%, rgba(98,173,96,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(99,190,197,1)), color-stop(100%,rgba(98,173,96,1)));
background: -webkit-linear-gradient(top, rgba(99,190,197,1) 0%,rgba(98,173,96,1) 100%);
background: -o-linear-gradient(top, rgba(99,190,197,1) 0%,rgba(98,173,96,1) 100%);
background: -ms-linear-gradient(top, rgba(99,190,197,1) 0%,rgba(98,1So73,96,1) 100%);
background: linear-gradient(top, rgba(99,190,197,1) 0%,rgba(98,173,96,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63bec5', endColorstr='#62ad60',GradientType=0 ); */
}
#wrapper {
}
#session {
font-size: 10pt;
margin-bottom: 10px;
display: block;
}
@media screen and (min-width: 350px) {
#session .name {
float: left;
}
#session .score {
float: right;
}
}
#question {
margin-bottom: 5px;
}
.questionId {
font-weight: bold;
margin-bottom: 10px;
}
.questionText {
font-size: 14pt;
margin-bottom: 10px;
}
.questionStats {
color: #999999;
font-style: italic;
}
#answers {
font-size: 12pt;
width: 100%;
margin-bottom: 10px;
}
#answers td {
height: 65px;
width: 50%;
}
.answer {
position: relative;
height: 20px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.answer:active, .answer.chosen {
background: #ccccff;
}
.answer.incorrect, #correct-answer.incorrect {
background: #ffcccc;
}
.answer.correct, #correct-answer.correct {
background: #ccffcc;
}
.answer .answerId {
display: block;
position: absolute;
left: 0px;
top: 0px;
font-size: 10pt;
line-height: 60px;
width: 10px;
padding: 0 10px;
border-right: #999999 1px solid;
}
@media screen and (max-width: 450px) {
.answer .answerText {
display: block;
position: absolute;
right: 0;
left: 40px;
top: 0;
bottom: 0;
line-height: 60px;
}
}
#loading {
padding: 20px;
/*background: #000000;*/
font-size: 14pt;
color: #999999;
margin-bottom: 10px;
border-radius: 10px;
-webkit-box-shadow: inset 0px 0px 10px 0px #999999;
box-shadow: inset 0px 0px 10px 0px #999999;
}
#loading:before {
content:url('../images/ajax-loader.gif');
}
#correct-answer {
margin-bottom: 10px;
}
.panel {
background: #fefefe;
color: #363535;
padding: 20px;
border: 1px #999999 solid;
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: inset 0px 0px 10px 0px #999999,
2px 2px 10px 0px rgba(0, 0, 0, 1);
box-shadow: inset 0px 0px 10px 0px #999999,
2px 2px 10px 0px rgba(0, 0, 0, 1);
}
.default-hidden {
display: none;
}