Site remake.
This commit is contained in:
@@ -18,6 +18,33 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.git-code-button {
|
||||
display: inline-block;
|
||||
background: #30363d;
|
||||
color: white !important;
|
||||
padding: 0.6rem 1.2rem;
|
||||
border-radius: 20px;
|
||||
text-decoration: none;
|
||||
font-size: 0.95rem;
|
||||
font-weight: bold;
|
||||
margin-left: 1rem;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.git-code-button:hover {
|
||||
background: #444d56;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.git-code-button .material-icons {
|
||||
font-size: 1rem;
|
||||
vertical-align: middle;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
/* Styles for the new home page design */
|
||||
:root {
|
||||
--bnk-dark-bg: #1e2127; /* Existing */
|
||||
@@ -68,6 +95,80 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.quick-start-section {
|
||||
background: rgba(40, 44, 52, 0.5); /* Similar to info-section */
|
||||
border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12); /* Consistent border */
|
||||
border-radius: 8px; /* Rounded corners */
|
||||
padding: 2rem;
|
||||
margin: 2.5rem auto;
|
||||
max-width: 850px; /* Consistent max-width */
|
||||
text-align: left; /* Align text to the left */
|
||||
}
|
||||
|
||||
.quick-start-section h2 {
|
||||
color: var(--bnk-yellow); /* Consistent heading color */
|
||||
margin-top: 0;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 1.8rem; /* Consistent heading size */
|
||||
border-bottom: 2px solid var(--bnk-accent); /* Accent border */
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.quick-start-section p {
|
||||
line-height: 1.7;
|
||||
font-size: 1.05rem;
|
||||
color: var(--bnk-text); /* Consistent text color */
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.quick-start-section .code-container {
|
||||
background: rgba(0, 0, 0, 0.6); /* Darker background for code */
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
margin: 1.5rem 0;
|
||||
font-family: 'Fira Code', monospace; /* Monospace font for code */
|
||||
color: #e0e0e0; /* Light text color for code */
|
||||
border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.1);
|
||||
}
|
||||
|
||||
.quick-start-section .code-container pre {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
background: transparent !important; /* Ensure pre background is transparent */
|
||||
padding: 0; /* Remove padding from pre if container handles it */
|
||||
}
|
||||
|
||||
.quick-start-section .code-container code {
|
||||
font-family: 'Fira Code', monospace; /* Ensure code tag also uses monospace */
|
||||
color: #e0e0e0; /* Consistent code text color */
|
||||
background: transparent !important; /* Ensure code background is transparent */
|
||||
font-size: 0.95rem; /* Slightly smaller font for code block */
|
||||
}
|
||||
|
||||
.quick-start-section .quick-note {
|
||||
font-size: 0.9rem;
|
||||
color: rgba(255, 255, 255, 0.7); /* Subtler text color for the note */
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.quick-start-section .button {
|
||||
display: inline-block;
|
||||
background: var(--bnk-accent);
|
||||
color: white !important;
|
||||
padding: 0.7rem 1.4rem;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
||||
.quick-start-section .button:hover {
|
||||
background: #8656e5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.info-section {
|
||||
background: rgba(40, 44, 52, 0.5);
|
||||
border: 1px solid rgba(var(--md-code-fg-color--rgb), 0.12);
|
||||
|
||||
Reference in New Issue
Block a user