Titivillus/quest/static/quest.css
2018-09-19 15:56:59 -04:00

158 lines
1.9 KiB
CSS

img {
max-width:100%;
max-height:100%;
}
h3 {
margin-top: 0px;
margin-bottom: 0.5em;
}
#questPane {
float: left;
box-sizing: border-box;
padding-left: 5%;
padding-right: 5%;
width: 70%;
}
.questPost {
display: flex;
}
.questPostMeta {
white-space: nowrap;
padding-right: 15px;
}
.questPostData {
word-wrap: break-word;
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;
word-wrap: break-word;
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%;
}
#chatPane {
height: calc(100% - var(--header-height));
width: 30%;
right: 0;
position: fixed;
display: flex;
flex-direction: column;
}
#chatWindow {
border: 1px solid #ccc;
padding: 0.25em;
overflow: auto;
flex: auto;
}
.messageContent {
width: 100%;
word-wrap: break-word;
}
.msgSrvHr {
width: 95%;
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;
word-wrap: break-word;
border: 1px solid #ccc;
padding: 0.25em;
}
.greenText {
color: green;
}
.quotelink {
color: red;
}