mince/public/mince.css
2023-02-25 20:55:38 +00:00

169 lines
2.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
outline-style: none;
}
a, a:active, a:visited {
color: #aaf;
text-decoration: none;
}
html,
body,
.wrapper {
width: 100%;
height: 100%;
}
body {
background: #111 url('/assets/bg_main.png');
color: #e0d0d0;
font: 13px/1.4 'Helvetica Neue', sans-serif;
}
.wrapper {}
.header {
background: #211710 url('/assets/bg_top.png');
height: 48px;
overflow: hidden;
}
.header-inner {
max-width: 1000px;
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
}
.header-fat {
flex: 1 1 auto;
}
.header-logo {
flex: 0 0 auto;
}
.header-logo img {
vertical-align: bottom;
}
.header-user {
flex: 0 0 auto;
font-size: 16px;
font-weight: 700;
text-decoration: none;
}
.footer {
color: #444;
height: 26px;
width: 100%;
text-align: center;
padding-top: 14px;
}
.content {
max-width: 1020px;
width: 100%;
margin: 0 auto;
margin-top: 1em;
padding: 5px 10px 40px;
}
.section {
margin: 15px 0;
}
.section p {
margin: .2em 0;
}
.section pre {
font-size: 1.5em;
}
.error {
margin-bottom: 20px;
color: #f33;
}
.whitelist input[type="submit"] {
font-size: 1.5em;
margin: 5px;
border-radius: 4px;
padding: 5px 10px;
border: 1px solid #2a2;
background-color: #252;
color: #cfc;
transition: background-color .2s;
}
.whitelist input[type="submit"]:hover,
.whitelist input[type="submit"]:focus {
background-color: #272;
}
.whitelist input[type="submit"]:active {
background-color: #232;
}
.unwhitelist input[type="submit"] {
font-size: 1.5em;
margin: 5px;
border-radius: 4px;
padding: 5px 10px;
border: 1px solid #a22;
background-color: #522;
color: #fcc;
transition: background-color .2s;
}
.unwhitelist input[type="submit"]:hover,
.unwhitelist input[type="submit"]:focus {
background-color: #722;
}
.unwhitelist input[type="submit"]:active {
background-color: #322;
}
label {
margin-top: 1em;
display: block;
}
label .label-header {
text-transform: uppercase;
font-size: 10px;
color: #AAA;
}
label .label-input input {
padding: 2px;
display: block;
font-size: 18px;
margin-bottom: 2px;
max-width: 300px;
width: 100%;
}
.servers {
margin: 0 auto;
font-size: 1.1em;
line-height: 1.4em;
border-spacing: 1px;
}
.servers th {
border-bottom: 1px solid #888;
background-image: linear-gradient(0deg, #444 0, transparent 50%);
}
.servers th,
.servers td {
padding: 0 10px;
}
.servers .col-name {
font-weight: 700;
}
.servers .col-java,
.servers .col-bedrock {
text-align: center;
}
.servers tbody tr:nth-child(odd) td {
background-color: #222;
}
.servers tbody tr:nth-child(even) td {
background-color: #333;
}