idleirc/style.css
2020-12-10 00:02:49 -08:00

109 lines
3.5 KiB
CSS
Executable File

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
@media only screen and (min-width: 2001px) { body { max-width: 1000px; } #msg { width: 780px; } td.userinfo { width: 210px; } }
@media only screen and (max-width: 2000px) { body { max-width: 1000px; } #msg { width: 780px; } td.userinfo { width: 210px; } }
@media only screen and (max-width: 1500px) { body { max-width: 800px; } #msg { width: 660px; } td.userinfo { width: 200px; } }
@media only screen and (max-width: 900px) { body { max-width: 800px; } #msg { width: 660px; } td.userinfo { width: 200px; } }
@media only screen and (max-width: 800px) { body { max-width: 700px; } #msg { width: 570px; } td.userinfo { width: 170px; } }
@media only screen and (max-width: 700px) { body { max-width: 600px; } #msg { width: 480px; } td.userinfo { width: 150px; } }
@media only screen and (max-width: 600px) { body { max-width: 500px; } #msg { width: 380px; } td.userinfo { width: 120px; } }
/* small windows and phones */
@media only screen and (max-width: 500px) { body { max-width: 450px; } #msg { width: 330px; } td.userinfo { width: 100px; } }
@media only screen and (max-width: 400px) { body { max-width: 350px; } #msg { width: 230px; } td.userinfo { width: 100px; } }
html {
font-family: "Ubuntu Mono", Arial, sans-serif;
font-size: 14px;
background: #202020;
}
body {
color:#f3f3f3;
margin: 0 auto;
background-color: #545454;
}
.info {
padding: 2px;
font-size: 18px;
text-align: center;
}
.logout { padding: 5px; text-align: center; }
a {
color: #0080ff;
text-decoration: none;
}
a:hover {
color: #0099ff;
text-decoration: underline;
}
input, button, select, textarea{
background-color: #222222;
border: solid 1px #323232;
outline: none;
border-radius: 6px;
color: #d7d7d7;
padding: 4px;
}
.login {
text-align: center;
}
.text { font-size: 14px; }
@media only screen and (min-height: 20001px) { #msgs { height: 1700px; } }
@media only screen and (max-height: 2000px) { #msgs { height: 1600px; } }
@media only screen and (max-height: 1800px) { #msgs { height: 1500px; } }
@media only screen and (max-height: 1400px) { #msgs { height: 1100px; } }
@media only screen and (max-height: 1200px) { #msgs { height: 1000px; } }
@media only screen and (max-height: 1000px) { #msgs { height: 800px; } }
@media only screen and (max-height: 900px) { #msgs { height: 700px; } }
@media only screen and (max-height: 800px) { #msgs { height: 600px; } }
@media only screen and (max-height: 700px) { #msgs { height: 500px; } }
@media only screen and (max-height: 600px) { #msgs { height: 400px; } }
@media only screen and (max-height: 500px) { #msgs { height: 300px; } }
@media only screen and (max-height: 400px) { #msgs { height: 200px; } }
#msg {
height: 21px;
}
#msgbox {
background-color: #323232;
border: solid 1px #454545;
max-width: 90%;
padding: 8px;
height: 32px;
margin: 0 auto;
}
#msgs {
background-color: #323232;
border: solid 1px #454545;
padding: 8px;
max-width: 90%;
margin: 0 auto;
overflow-y: hidden;
}
#logmsgs {
background-color: #323232;
border: solid 1px #454545;
padding: 8px;
max-width: 90%;
margin: 0 auto;
}
#msgs tr:nth-child(even) { background-color: #262626; border: solid 1px #454545; }
#msgs tr:nth-child(odd) { background-color: #141414; border: solid 1px #454545; }
#msgs td { padding: 4px; }
#logmsgs tr:nth-child(even) { background-color: #262626; border: solid 1px #454545; }
#logmsgs tr:nth-child(odd) { background-color: #141414; border: solid 1px #454545; }
#logmsgs td { padding: 4px; }