Titivillus/quest/static/quest.css

200 lines
2.4 KiB
CSS

img {
max-width:100%;
max-height:100%;
}
h3 {
margin-top: 0px;
margin-bottom: 0.5em;
}
#live {
color: white;
background-color: red;
padding: 0.25em;
}
#space {
margin-right: auto;
}
#questPane {
float: left;
box-sizing: border-box;
padding-left: 5%;
padding-right: 5%;
width: 70%;
}
#questTitle {
text-align: center;
}
#tags {
padding-bottom: 0.25em;
}
.questPost {
display: flex;
}
.questPostMeta {
white-space: nowrap;
padding-right: 15px;
}
.questPostData {
min-width: 0;
width: 100%;
}
.pollOption {
width: 100%;
margin: 0.1em;
}
.pollPost {
width: 100%;
}
.poll {
border-collapse: collapse;
width: 100%;
table-layout: fixed;
border: 1px solid #ddd;
}
.optionVotes {
width: 4em;
text-align: center;
}
.poll td {
padding: 0.5em;
border-bottom: 1px solid #ddd;
}
.pollCheckBox input {
display: none;
}
.pollCheckBox {
width: 1.5em;
}
.pollCheckBox label {
cursor: pointer;
background: #eee;
border: 1px solid #ddd;
padding: 0.2em;
}
.pollCheckBox label::after {
content: "\2713";
color: #bfbfbf;
opacity: 0.3;
}
.pollCheckBox label:hover::after {
opacity: 0.5;
}
.pollCheckBox input:checked + label::after {
opacity: 1;
color: black;
}
.pollCheckBox input:disabled + label {
opacity: 0.3;
}
#writeinInput {
width: 100%;
}
#nextPageContainer {
width: 100%;
height: 5em;
padding: 1em;
box-sizing: border-box;
text-align: center;
}
#nextPage {
height: 100%;
width: 100%;
box-sizing: border-box;
}
#chatPane {
width: 30%;
height: calc(100vh - 2em);
right: 0;
position: fixed;
display: flex;
flex-direction: column;
}
#chatWindow {
border: 1px solid #ccc;
padding: 0.25em;
overflow: auto;
flex: auto;
}
.messageContent {
width: 100%;
}
.msgHeaderHr {
margin-top: 0.2em;
margin-bottom: 0.2em;
margin-left: auto;
margin-right: auto;
border: 0;
border-bottom: 1px solid #ccc;
}
.msgSrvHr {
width: 50%;
margin-top: 0.2em;
margin-bottom: 0.2em;
margin-left: auto;
margin-right: auto;
border: 0;
border-bottom: 1px solid #ccc;
}
#messageTextDiv {
padding-bottom: 0.25em;
}
#messageTextArea {
resize: none;
box-sizing: border-box;
height: 5em;
width: 100%;
padding: 0;
}
#preview {
display: block;
position: fixed;
background: white;
border: 1px solid #ccc;
padding: 0.25em;
}
.greenText {
color: green;
}
.quotelink {
color: red;
text-decoration: underline;;
}
.quotelink:hover {
color: red;
}