38530-vm/assets/css/custom.css
2026-02-17 17:34:40 +00:00

284 lines
5.4 KiB
CSS

:root {
--discord-blurple: #5865F2;
--discord-green: #3BA55D;
--discord-yellow: #FAA61A;
--discord-red: #ED4245;
--discord-dark: #2F3136;
--discord-darker: #23272A;
--discord-darkest: #1E1F22;
--discord-text: #FFFFFF;
--discord-text-muted: #B9BBBE;
--discord-card: #36393F;
}
body {
background-color: var(--discord-dark);
color: var(--discord-text);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
}
.main-wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
position: relative;
z-index: 2;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background-color: var(--discord-darkest);
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--discord-blurple);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
}
.hero {
text-align: center;
padding: 4rem 1rem;
background: linear-gradient(180deg, var(--discord-darkest) 0%, var(--discord-dark) 100%);
border-radius: 0 0 50px 50px;
margin-bottom: 3rem;
margin-top: -2rem;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 800;
}
.hero p {
color: var(--discord-text-muted);
font-size: 1.25rem;
max-width: 700px;
margin: 0 auto 2.5rem;
}
.btn-primary {
background-color: var(--discord-blurple);
color: white !important;
padding: 1rem 2.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.2s;
border: none;
cursor: pointer;
display: inline-block;
}
.btn-primary:hover {
background-color: #4752C4;
transform: translateY(-2px);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
margin-bottom: 4rem;
}
.card {
background-color: var(--discord-card);
border-radius: 12px;
padding: 2rem;
border: 1px solid rgba(255,255,255,0.05);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
margin-top: 0;
color: var(--discord-blurple);
font-size: 1.5rem;
margin-bottom: 1.5rem;
}
.command-item {
display: flex;
justify-content: space-between;
padding: 0.75rem 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.command-name {
font-family: 'Fira Code', monospace;
color: var(--discord-green);
font-weight: 600;
}
.setup-section {
background-color: var(--discord-darkest);
padding: 3rem;
border-radius: 20px;
margin-top: 4rem;
border: 1px solid rgba(88, 101, 242, 0.2);
}
.setup-section h2 {
font-size: 2rem;
margin-bottom: 2rem;
}
pre {
background-color: #000;
padding: 1.5rem;
border-radius: 12px;
overflow-x: auto;
font-size: 0.9rem;
color: #e6e6e6;
border: 1px solid #333;
line-height: 1.6;
}
.config-form input {
width: 100%;
padding: 1rem;
background: var(--discord-darker);
border: 1px solid #444;
border-radius: 8px;
color: white;
margin-bottom: 1.5rem;
font-size: 1rem;
}
.config-form input:focus {
outline: none;
border-color: var(--discord-blurple);
}
.mock-chat {
background-color: var(--discord-darker);
border-radius: 12px;
height: 400px;
display: flex;
flex-direction: column;
margin-top: 2rem;
border: 1px solid rgba(255,255,255,0.05);
}
.chat-messages {
flex: 1;
overflow-y: auto;
padding: 1.5rem;
}
.message {
margin-bottom: 1.5rem;
display: flex;
gap: 1rem;
}
.avatar {
width: 45px;
height: 45px;
background-color: var(--discord-blurple);
border-radius: 50%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
.msg-content {
flex: 1;
}
.msg-author {
font-weight: 700;
font-size: 1rem;
margin-bottom: 0.25rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.bot-tag {
background-color: var(--discord-blurple);
font-size: 0.65rem;
padding: 0.1rem 0.4rem;
border-radius: 4px;
text-transform: uppercase;
}
.msg-text {
font-size: 1rem;
color: var(--discord-text-muted);
line-height: 1.4;
}
.embed {
background-color: var(--discord-darkest);
border-left: 4px solid var(--discord-blurple);
padding: 1.25rem;
border-radius: 4px;
margin-top: 0.75rem;
max-width: 450px;
}
.embed-title {
font-weight: 700;
color: white;
margin-bottom: 0.5rem;
}
.embed-description {
font-size: 0.9rem;
color: var(--discord-text-muted);
}
.toast {
position: fixed;
bottom: 2rem;
right: 2rem;
background-color: var(--discord-green);
color: white;
padding: 1rem 2rem;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
z-index: 1000;
display: none;
animation: slideUp 0.3s ease;
}
@keyframes slideUp {
from { transform: translateY(100%); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.bg-decorations {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
}
.circle {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
}