Familienduell/web/css/main.css
Alexander Hüllmandel f703856b59
Somewhat responsive
2019-08-24 23:52:56 +02:00

149 lines
2.3 KiB
CSS

body {
font-family: monospace;
background: url(../img/background.jpg) no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
display: flex;
align-items: center; /* Vertikale Zentrierung */
justify-content: center; /* Horizontale Zentrierung */
}
#allContent {
position: relative;
}
.textColor {
color:#ddff06;
font-weight:bold;
font-size: 1.5em;
}
.bgColor{
background:#000000;
}
.antwortInp, .questionIn, .questionKIn {
width:400px;
}
.upDownArrow:hover {
color:blue;
cursor:pointer;
}
.markOnHover:hover{
color:blue;
cursor:pointer;
}
.markOnHover{
color:gray;
}
.xmarker {
font-family: Verdana, Helvetica, sans-serif;
font-weight: bold;
z-index: 3;
box-shadow: 3px 5px 35px rgba(0, 0, 0, 0.65);
border: 2px #595959 solid;
border-radius: 2px;
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.15), 1px 1px 1px rgba(255, 255, 255, 0.20);
font-size: 2em;
background: #595959;
height: 56px;
padding-left: 12px;
padding-right: 12px;
color: rgb(66, 66, 66);
/* box-shadow: 5px 5px 5px -1px rgba(0, 0, 0, 0.65), 0 5px 5px -5px rgba(0, 0, 0, 0.65); */
}
.noIntro {
display:none;
}
.footer {
background:#ddff06;
color: #000000;
}
#buttonsDownUnder {
background: #ffffff;
padding: 20px;
margin-top: 70px;
box-shadow: 3px 5px 35px rgba(0, 0, 0, 0.65);
}
#buttonsDownUnder td{
padding: 5px;
}
.mainHeight {
position: relative;
width: 80vw;
height: 40vw;
min-height: 520px;
min-width: 1020px;
margin: auto;
margin-bottom: 50px;
z-index: 5;
border: 10px #c0c0c0 ridge;
border-radius: 2px;
box-shadow: 3px 5px 35px rgba(0, 0, 0, 0.65);
}
#timer {
background: #000000;
z-index: 5;
border: 10px #c0c0c0 ridge;
border-radius: 2px;
box-shadow: 3px 5px 35px rgba(0, 0, 0, 0.65);
}
#blackScreen {
z-index: 6;
}
#editQuestionsDiv {
border-radius: 2px;
z-index: 7;
}
#answers {
overflow: hidden;
font-family: monospace;
font-size: 2.5vw;
white-space: nowrap;
}
.answer {
overflow: hidden;
white-space: nowrap;
}
#displayQuestions {
overflow: hidden;
font-size: 2.5vw;
white-space: unset;
text-overflow: unset;
}
.questionAnswerContainer {
padding-top: 20px;
padding-left: 20px;
width: calc(100% - 40px);
}
@media (max-width: 1275px) {
#answers {
font-size: 1.5em;
}
#displayQuestions {
white-space: nowrap;
text-overflow: ellipsis;
font-size: 1.5em;
}
}