delphi.market/public/css/_tw-input.css

98 lines
1.6 KiB
CSS
Raw Normal View History

2024-07-10 04:11:28 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background-color: #191d21;
--color: #d3d3d3;
--muted-color: #6c757d;
2024-07-10 07:45:15 +00:00
--lightning-color: #fada5e;
--nostr-color: #8d45dd;
--black: #000;
--white: #fff;
2024-07-10 04:11:28 +00:00
}
@layer base {
body {
background-color: var(--background-color);
color: var(--color);
transition: background-color 150ms ease-in;
}
footer {
color: var(--muted-color);
}
hr {
border-color: var(--muted-color);
border-style: dashed;
@apply pb-1;
}
2024-07-12 03:40:45 +00:00
a,
button[hx-get],
button[hx-post] {
2024-07-10 04:11:28 +00:00
text-decoration: underline;
transition: background-color 150ms ease-in, color 150ms ease-in;
}
2024-07-12 03:40:45 +00:00
a:hover,
button[hx-get]:hover,
button[hx-post]:hover {
2024-07-10 04:11:28 +00:00
background-color: var(--color);
color: var(--background-color);
}
2024-07-12 03:40:45 +00:00
nav a,
button[hx-get],
button[hx-post] {
2024-07-10 04:11:28 +00:00
padding: 0 0.25em;
}
2024-07-10 07:14:06 +00:00
h1 {
font-size: 24px
}
iframe {
width: 300px;
aspect-ratio: 560/315;
}
2024-07-10 07:22:35 +00:00
2024-07-10 07:45:15 +00:00
.text-muted {
color: var(--muted-color);
}
2024-07-10 07:22:35 +00:00
.figlet {
display: flex;
align-items: center;
justify-content: center;
height: 144px;
@apply my-3
}
2024-07-10 07:45:15 +00:00
.login {
width: fit-content;
margin: 0 auto;
padding: 0.25em 1em;
border-radius: 5px;
font-weight: bold;
}
.lightning {
background-color: var(--lightning-color);
color: var(--black);
}
.lightning:hover {
filter: brightness(125%) drop-shadow(0 0 0.33rem var(--lightning-color));
}
.nostr {
background-color: var(--nostr-color);
color: var(--white);
}
.nostr:hover {
filter: brightness(125%) drop-shadow(0 0 0.33rem var(--nostr-color));
}
2024-07-10 04:11:28 +00:00
}