idleirc/style.css
2020-12-12 21:39:40 -08:00

147 lines
4.3 KiB
CSS
Executable File

@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
@media only screen and (min-width: 2201px) { body { max-width: 1290px; } #msg { width: 1100px; } }
@media only screen and (max-width: 2200px) { body { max-width: 1290px; } #msg { width: 1100px; } }
@media only screen and (max-width: 1900px) { body { max-width: 1290px; } #msg { width: 1100px; } }
@media only screen and (max-width: 1700px) { body { max-width: 1290px; } #msg { width: 1100px; } }
@media only screen and (max-width: 1500px) { body { max-width: 1290px; } #msg { width: 1100px; } }
@media only screen and (max-width: 1300px) { body { max-width: 1090px; } #msg { width: 920px; } }
@media only screen and (max-width: 1100px) { body { max-width: 890px; } #msg { width: 740px; } }
@media only screen and (max-width: 900px) { body { max-width: 800px; } #msg { width: 660px; } }
@media only screen and (max-width: 800px) { body { max-width: 700px; } #msg { width: 570px; } }
@media only screen and (max-width: 700px) { body { max-width: 600px; } #msg { width: 480px; } }
@media only screen and (max-width: 600px) { body { max-width: 500px; } #msg { width: 380px; } }
/* small windows and phones */
@media only screen and (max-width: 500px) { body { max-width: 450px; } #msg { width: 330px; } }
@media only screen and (max-width: 400px) { body { max-width: 350px; } #msg { width: 230px; } }
html {
font-family: "Ubuntu Mono", Arial, sans-serif;
font-size: 14px;
background: #202020;
}
body {
color:#f3f3f3;
margin: 0 auto;
background-color: #545454;
}
.info {
padding: 6px 6px 10px 6px;
font-size: 18px;
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;
}
.form {
text-align: center;
margin: auto;
min-width: 400px;
}
.form table {
width: 60%;
margin: auto;
}
.form td:nth-child(odd) { width: 160px; }
.navbar a {
background-color: #282828;
color: #ffffff;
padding: 3px 5px 3px 5px;
border-radius: 5px;
border: solid 1px #444444;
cursor: pointer;
text-decoration: none;
}
.navbar a:hover {
background-color: #353535;
}
.navbar { padding: 5px; padding-bottom: 10px; text-align: center; }
.text { font-size: 14px; }
@media only screen and (min-height: 2001px) { #msgs { height: 1700px; } }
@media only screen and (max-height: 2000px) { #msgs { height: 1600px; } }
@media only screen and (max-height: 1800px) { #msgs { height: 1400px; } }
@media only screen and (max-height: 1400px) { #msgs { height: 1050px; } }
@media only screen and (max-height: 1200px) { #msgs { height: 900px; } }
@media only screen and (max-height: 1000px) { #msgs { height: 700px; } }
@media only screen and (max-height: 900px) { #msgs { height: 600px; } }
@media only screen and (max-height: 800px) { #msgs { height: 500px; } }
@media only screen and (max-height: 700px) { #msgs { height: 400px; } }
@media only screen and (max-height: 600px) { #msgs { height: 400px; } }
@media only screen and (max-height: 500px) { #msgs { height: 400px; } }
@media only screen and (max-height: 400px) { #msgs { height: 400px; } }
#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;
overflow-x: 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:nth-child(even) { width: 80%; }
#msgs td:nth-child(odd) { width: 20%; min-width: 120px; max-width: 210px; }
#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:nth-child(even) { width: 80%; }
#logmsgs td:nth-child(odd) { width: 20%; min-width: 120px; max-width: 180px; }
#logmsgs td { padding: 4px; }
#footer {
text-align: center;
font-size: 14px;
padding: 8px;
}