tmpchat / cmd / frontend / templates / style.css

@ 76a0f9bf1a6cf21c59015ed2f1b9b2664e5dec2f | history


input, textarea, button, submit, .chatcontainer {
    background: none;
    border: 1px solid var(--black);
    border-radius: 4px;
    height: 27px;
}

input[type="button"] {
    padding: 2px;
}

input[type="submit"] {
    margin: auto;
    width: 50px;
}

.chatui {
    display: table;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 440px;
    max-width: 440px;
}

.chatcontainer {
    height: 400px;
    max-width: 440px;
    min-width: 360px;
    padding: 20px;
    display: table-cell;
    vertical-align: bottom;
}

.messagelog {
    max-height: 400px;
    overflow: auto;
}

#namechange {
    width: 80%;
    float: left;
    max-height: 46px;
    overflow: scroll;
}

.myname {
    float: right;
    font-weight: bold;
    text-align: right;
    padding-left: 8px;
}

.theirname {
    float: left;
    font-weight: bold;
    text-align: left;
    padding-right: 8px;
}

.mymessage pre {
    text-align: right;
    overflow: hidden;
    color: var(--alt-text-color);
    margin-bottom: 10px;
}

.theirmessage pre {
    text-align: left;
    overflow: hidden;
    color: var(--alt-text-color);
    margin-bottom: 10px;
}

.systemmessage {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

input[type="nametext"] {
    padding-left: 5px;
}

textarea#messagetext {
    padding-left: 10px;
    width: 100%;
    resize: vertical;
}

.messagetextcontainer {
    width: calc(100% - 56px);
    float: left;
}

a[type="home"], a[type="home"]:hover {
    color: var(--black);
    font-weight: bold;
    text-decoration: none;
}