This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
staxman-old/static/css/screen.css

156 lines
2.2 KiB
CSS
Raw Normal View History

2023-11-23 13:18:00 +00:00
:root {
--background: #13131E;
--bg-raised: #171625;
--text: #E0DFFE;
2023-11-25 00:29:19 +00:00
--text-accent: #E796F3;
--table-border-color: #5958B1;
--table-border: 3px solid var(--table-border-color);
--table-bg: #202248;
2023-11-23 13:18:00 +00:00
--link: #FFC53D;
--link-hover: #e28d0e;
--button-color: #B1A9FF;
--button-bg: #202248;
--button-border: #5B5BD6;
--button-bg-hover: #7E451D;
2023-11-25 00:29:19 +00:00
--success-bright: #46A758;
--success-bg: #113B29;
--success-text: #3DD68C;
--danger-bright: #E5484D;
--danger-bg: #500F1C;
--danger-text: #FF9592;
2023-11-23 13:18:00 +00:00
background-color: var(--background);
color: var(--text);
font-family: Inter, sans-serif;
scrollbar-width: thin;
}
code {
font-family: "Iosevka Web", monospace;
font-size: 11pt;
}
a[href],
a[href]:visited {
color: var(--link);
&:hover {
color: var(--link-hover);
}
}
body {
display: flex;
flex-direction: column;
}
nav {
display: flex;
width: 100%;
background-color: var(--bg-raised);
& a {
flex: 1;
display: flex;
text-decoration: none;
padding: 5px 8px;
justify-content: center;
max-width: 100px;
box-shadow: inset 0 -2px var(--button-bg);
font-size: 11pt;
text-transform: uppercase;
&[href],
&[href]:visited {
color: var(--button-color);
}
&:hover {
background-color: #1E160F;
box-shadow: inset 0 -2px var(--button-bg-hover);
}
}
}
main {
padding: 10px;
}
body,
html {
padding: 0;
margin: 0;
}
button {
background-color: var(--button-bg);
color: var(--button-color);
border: 1px solid var(--button-border);
padding: 4px 8px;
border-radius: 3px;
&:hover {
cursor: pointer;
background-color: var(--button-bg-hover);
color: var(--link-hover);
border-color: var(--link-hover);
}
}
table.table {
background-color: var(--bg-raised);
2023-11-25 00:29:19 +00:00
border: var(--table-border);
2023-11-23 13:18:00 +00:00
border-radius: 3px;
& th,
& td {
padding: 3px 5px;
}
& th {
font-weight: bold;
}
& thead {
2023-11-25 00:29:19 +00:00
background-color: var(--table-bg);
2023-11-23 13:18:00 +00:00
}
}
.full-width {
width: 100%;
flex: 1;
}
input,
textarea {
2023-11-25 00:29:19 +00:00
border: 1px solid var(--table-border-color);
2023-11-23 13:18:00 +00:00
border-radius: 3px;
background-color: var(--bg-raised);
color: var(--text);
padding: 4px;
2023-11-24 23:45:54 +00:00
}
pre {
margin: 0;
padding: 0;
2023-11-25 11:24:06 +00:00
}
h2 {
display: flex;
align-items: center;
gap: 0.5ch;
& form {
display: flex;
align-items: center;
& button {
padding: 2px 6px;
}
}
2023-11-23 13:18:00 +00:00
}