discord-css-injector/src/panel/panel.css

97 lines
1.4 KiB
CSS

:root {
--bg: #292841 !important;
--accent: #b4a4f8;
--accent-dark: #8971f4;
--success: #ffd1dc;
--fg: #fbfbfb !important;
}
html, body {
font-family: sans-serif;
background-color: var(--bg);
color: var(--fg);
}
body {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
}
a {
color: var(--accent);
}
main {
flex: 1;
}
main, footer {
margin: 0 auto;
max-width: 60ch;
}
header {
padding-bottom: 1em;
margin-bottom: 1em;
border-bottom: 1px solid var(--fg);
}
footer {
padding-top: 1em;
margin-top: 1em;
border-top: 1px solid var(--fg);
}
button, input[type=submit] {
background-color: var(--accent);
border: var(--accent-dark);
border-radius: 6px;
color: var(--fg);
padding: 0.25em 0.5em;
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid rgba(0,0,0,0);
font-size: 1rem;
line-height: 1.5;
transition: color .15s ease-in-out, background-color .15s ease-in-out;
}
button.copied {
background-color: var(--success);
color: var(--bg);
}
#themes {
display: table;
border-spacing: 1em;
border-collapse: separate;
}
#themes li {
display: table-row;
}
#themes li > * {
display: table-cell;
vertical-align: middle;
}
#shutdown-form {
margin-top: 4em;
}
#shutdown-form > input[type=submit] {
background-color: red;
}