Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -6,94 +6,81 @@ body {
|
|
| 6 |
overflow-x: hidden;
|
| 7 |
}
|
| 8 |
|
| 9 |
-
.
|
| 10 |
-
background: linear-gradient(90deg, #1c2526, #2e3b3e)
|
| 11 |
box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
|
| 12 |
-
padding:
|
| 13 |
}
|
| 14 |
|
| 15 |
.navbar-brand {
|
| 16 |
font-weight: 900;
|
| 17 |
-
font-size:
|
| 18 |
-
color: #00ffcc
|
| 19 |
-
text-shadow: 0 0
|
| 20 |
}
|
| 21 |
|
| 22 |
.nav-link {
|
| 23 |
color: #00ffcc !important;
|
| 24 |
font-weight: 600;
|
| 25 |
-
padding:
|
| 26 |
-
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
.nav-link:hover {
|
| 30 |
color: #00cc99 !important;
|
| 31 |
-
text-shadow: 0 0
|
| 32 |
}
|
| 33 |
|
| 34 |
.hero-section {
|
| 35 |
background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/hero-bg.jpg');
|
| 36 |
background-size: cover;
|
| 37 |
background-position: center;
|
| 38 |
-
height: 100vh;
|
| 39 |
display: flex;
|
| 40 |
align-items: center;
|
| 41 |
-
|
| 42 |
-
text-shadow: 0 0 30px rgba(0, 255, 204, 0.7);
|
| 43 |
}
|
| 44 |
|
| 45 |
.preview-window {
|
| 46 |
max-width: 700px;
|
| 47 |
-
margin:
|
| 48 |
-
padding:
|
| 49 |
background: #1c2526;
|
| 50 |
-
border:
|
| 51 |
-
border-radius:
|
| 52 |
-
box-shadow: 0 0
|
| 53 |
}
|
| 54 |
|
| 55 |
.preview-window img {
|
| 56 |
-
border-radius:
|
| 57 |
max-height: 400px;
|
| 58 |
}
|
| 59 |
|
| 60 |
.bg-dark {
|
| 61 |
-
background:
|
| 62 |
}
|
| 63 |
|
| 64 |
.bg-light {
|
| 65 |
-
background: #121212
|
| 66 |
}
|
| 67 |
|
| 68 |
.bg-ghost-card {
|
| 69 |
-
background: #2e3b3e
|
| 70 |
-
border:
|
| 71 |
-
border-radius:
|
| 72 |
-
box-shadow: 0 0
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
padding: 25px;
|
| 76 |
-
cursor: pointer;
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
.bg-ghost-card:hover {
|
| 80 |
-
transform: translateY(-12px);
|
| 81 |
-
box-shadow: 0 0 50px rgba(0, 255, 204, 0.7);
|
| 82 |
}
|
| 83 |
|
| 84 |
.bg-ghost-light {
|
| 85 |
-
background: #e0e0e0
|
| 86 |
-
border:
|
| 87 |
-
border-radius:
|
| 88 |
-
box-shadow: 0 0
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
padding: 25px;
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
.bg-ghost-light:hover {
|
| 95 |
-
transform: translateY(-12px);
|
| 96 |
-
box-shadow: 0 0 50px rgba(0, 255, 204, 0.7);
|
| 97 |
}
|
| 98 |
|
| 99 |
.btn-ghost {
|
|
@@ -101,23 +88,22 @@ body {
|
|
| 101 |
border: none;
|
| 102 |
color: #000000;
|
| 103 |
font-weight: 700;
|
| 104 |
-
border-radius:
|
| 105 |
-
padding:
|
| 106 |
-
transition: transform 0.3s
|
| 107 |
}
|
| 108 |
|
| 109 |
.btn-ghost:hover {
|
| 110 |
-
transform: scale(1.
|
| 111 |
-
box-shadow: 0 0
|
| 112 |
-
color: #000000;
|
| 113 |
}
|
| 114 |
|
| 115 |
.btn-outline-ghost {
|
| 116 |
-
border
|
| 117 |
color: #00ffcc;
|
| 118 |
-
border-radius:
|
| 119 |
-
padding:
|
| 120 |
-
transition: background 0.3s
|
| 121 |
}
|
| 122 |
|
| 123 |
.btn-outline-ghost:hover {
|
|
@@ -126,121 +112,64 @@ body {
|
|
| 126 |
}
|
| 127 |
|
| 128 |
pre {
|
| 129 |
-
background: #e0e0e0
|
| 130 |
-
padding:
|
| 131 |
-
border-radius:
|
| 132 |
-
color: #000000
|
| 133 |
-
box-shadow: inset 0 0
|
| 134 |
font-family: 'Courier New', monospace;
|
| 135 |
-
margin: 0;
|
| 136 |
}
|
| 137 |
|
| 138 |
.code-block {
|
| 139 |
-
font-size: 0.
|
| 140 |
-
}
|
| 141 |
-
|
| 142 |
-
.ghost-animation {
|
| 143 |
-
animation: ghostFloat 5s ease-in-out infinite;
|
| 144 |
}
|
| 145 |
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
50% { transform: translateY(-20px); }
|
| 149 |
}
|
| 150 |
|
| 151 |
-
.
|
| 152 |
-
|
| 153 |
}
|
| 154 |
|
| 155 |
.nav-tabs .nav-link {
|
| 156 |
color: #00ffcc;
|
| 157 |
border: 2px solid #00ffcc;
|
| 158 |
-
border-radius:
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
transition: background 0.3s, color 0.3s;
|
| 162 |
}
|
| 163 |
|
| 164 |
.nav-tabs .nav-link.active {
|
| 165 |
background: #00ffcc;
|
| 166 |
color: #000000;
|
| 167 |
-
border-color: #00ffcc;
|
| 168 |
}
|
| 169 |
|
| 170 |
.nav-tabs .nav-link:hover {
|
| 171 |
-
background: rgba(0, 255, 204, 0.
|
| 172 |
-
color: #00ffcc;
|
| 173 |
}
|
| 174 |
|
| 175 |
.accordion-button {
|
| 176 |
-
background: #2e3b3e
|
| 177 |
-
color: #ffffff
|
| 178 |
border: 1px solid #00ffcc;
|
| 179 |
-
border-radius: 8px;
|
| 180 |
}
|
| 181 |
|
| 182 |
.accordion-button:not(.collapsed) {
|
| 183 |
-
background: #00ffcc
|
| 184 |
-
color: #000000
|
| 185 |
-
}
|
| 186 |
-
|
| 187 |
-
.accordion-button:focus {
|
| 188 |
-
box-shadow: 0 0 0 0.25rem rgba(0, 255, 204, 0.5);
|
| 189 |
}
|
| 190 |
|
| 191 |
.table-dark {
|
| 192 |
-
background: #1c2526
|
| 193 |
-
color: #ffffff
|
| 194 |
-
border-radius: 12px;
|
| 195 |
}
|
| 196 |
|
| 197 |
.table-dark th, .table-dark td {
|
| 198 |
border-color: #00ffcc;
|
| 199 |
-
padding:
|
| 200 |
-
}
|
| 201 |
-
|
| 202 |
-
/* Fix for grey-on-grey text across all sections */
|
| 203 |
-
.lead-text {
|
| 204 |
-
color: #ffffff !important; /* White text on dark backgrounds */
|
| 205 |
-
}
|
| 206 |
-
|
| 207 |
-
.light-lead-text {
|
| 208 |
-
color: #000000 !important; /* Black text on light backgrounds */
|
| 209 |
-
}
|
| 210 |
-
|
| 211 |
-
.bg-ghost-card .lead-text,
|
| 212 |
-
.bg-dark .lead-text {
|
| 213 |
-
color: #ffffff !important; /* Ensure white text in dark cards and sections */
|
| 214 |
-
}
|
| 215 |
-
|
| 216 |
-
.bg-ghost-light .light-lead-text,
|
| 217 |
-
.bg-light .light-lead-text {
|
| 218 |
-
color: #000000 !important; /* Ensure black text in light cards and sections */
|
| 219 |
-
}
|
| 220 |
-
|
| 221 |
-
/* Specific fix for Usage and Tutorials sections */
|
| 222 |
-
#usage .card.bg-ghost-light .card-body,
|
| 223 |
-
#tutorials .card.bg-ghost-light .card-body {
|
| 224 |
-
background: #e0e0e0 !important; /* Light background for contrast */
|
| 225 |
-
color: #000000 !important; /* Black text for readability */
|
| 226 |
}
|
| 227 |
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
color: #ffffff !important; /* White text for list items on dark sections */
|
| 231 |
-
}
|
| 232 |
-
|
| 233 |
-
#usage .card.bg-ghost-light ol, #usage .card.bg-ghost-light ul,
|
| 234 |
-
#tutorials .card.bg-ghost-light ol, #tutorials .card.bg-ghost-light ul {
|
| 235 |
-
color: #000000 !important; /* Black text for list items on light cards */
|
| 236 |
-
}
|
| 237 |
-
|
| 238 |
-
/* Apply to all lead texts site-wide */
|
| 239 |
-
.lead {
|
| 240 |
-
color: #ffffff !important; /* Default white for lead text on dark backgrounds */
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
.bg-light .lead,
|
| 244 |
-
.bg-ghost-light .lead {
|
| 245 |
-
color: #000000 !important; /* Black for lead text on light backgrounds */
|
| 246 |
}
|
|
|
|
| 6 |
overflow-x: hidden;
|
| 7 |
}
|
| 8 |
|
| 9 |
+
.bg-ghost-nav {
|
| 10 |
+
background: linear-gradient(90deg, #1c2526, #2e3b3e);
|
| 11 |
box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
|
| 12 |
+
padding: 1rem 0;
|
| 13 |
}
|
| 14 |
|
| 15 |
.navbar-brand {
|
| 16 |
font-weight: 900;
|
| 17 |
+
font-size: 2rem;
|
| 18 |
+
color: #00ffcc;
|
| 19 |
+
text-shadow: 0 0 10px #00ffcc;
|
| 20 |
}
|
| 21 |
|
| 22 |
.nav-link {
|
| 23 |
color: #00ffcc !important;
|
| 24 |
font-weight: 600;
|
| 25 |
+
padding: 0.5rem 1rem;
|
| 26 |
+
margin: 0 0.5rem;
|
| 27 |
+
transition: color 0.3s;
|
| 28 |
}
|
| 29 |
|
| 30 |
.nav-link:hover {
|
| 31 |
color: #00cc99 !important;
|
| 32 |
+
text-shadow: 0 0 10px #00cc99;
|
| 33 |
}
|
| 34 |
|
| 35 |
.hero-section {
|
| 36 |
background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://huggingface.co/spaces/ghostai1/GhostPack/resolve/main/hero-bg.jpg');
|
| 37 |
background-size: cover;
|
| 38 |
background-position: center;
|
| 39 |
+
min-height: 100vh;
|
| 40 |
display: flex;
|
| 41 |
align-items: center;
|
| 42 |
+
text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
|
|
|
|
| 43 |
}
|
| 44 |
|
| 45 |
.preview-window {
|
| 46 |
max-width: 700px;
|
| 47 |
+
margin: 2rem auto;
|
| 48 |
+
padding: 1.5rem;
|
| 49 |
background: #1c2526;
|
| 50 |
+
border: 2px solid #00ffcc;
|
| 51 |
+
border-radius: 10px;
|
| 52 |
+
box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
|
| 53 |
}
|
| 54 |
|
| 55 |
.preview-window img {
|
| 56 |
+
border-radius: 8px;
|
| 57 |
max-height: 400px;
|
| 58 |
}
|
| 59 |
|
| 60 |
.bg-dark {
|
| 61 |
+
background: #1c2526;
|
| 62 |
}
|
| 63 |
|
| 64 |
.bg-light {
|
| 65 |
+
background: #121212;
|
| 66 |
}
|
| 67 |
|
| 68 |
.bg-ghost-card {
|
| 69 |
+
background: #2e3b3e;
|
| 70 |
+
border: 2px solid #00ffcc;
|
| 71 |
+
border-radius: 10px;
|
| 72 |
+
box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
|
| 73 |
+
color: #ffffff;
|
| 74 |
+
padding: 1.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
|
| 77 |
.bg-ghost-light {
|
| 78 |
+
background: #e0e0e0;
|
| 79 |
+
border: 2px solid #00ffcc;
|
| 80 |
+
border-radius: 10px;
|
| 81 |
+
box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
|
| 82 |
+
color: #000000;
|
| 83 |
+
padding: 1.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
.btn-ghost {
|
|
|
|
| 88 |
border: none;
|
| 89 |
color: #000000;
|
| 90 |
font-weight: 700;
|
| 91 |
+
border-radius: 8px;
|
| 92 |
+
padding: 0.75rem 1.5rem;
|
| 93 |
+
transition: transform 0.3s;
|
| 94 |
}
|
| 95 |
|
| 96 |
.btn-ghost:hover {
|
| 97 |
+
transform: scale(1.05);
|
| 98 |
+
box-shadow: 0 0 20px #00ffcc;
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
.btn-outline-ghost {
|
| 102 |
+
border: 2px solid #00ffcc;
|
| 103 |
color: #00ffcc;
|
| 104 |
+
border-radius: 8px;
|
| 105 |
+
padding: 0.75rem 1.5rem;
|
| 106 |
+
transition: background 0.3s;
|
| 107 |
}
|
| 108 |
|
| 109 |
.btn-outline-ghost:hover {
|
|
|
|
| 112 |
}
|
| 113 |
|
| 114 |
pre {
|
| 115 |
+
background: #e0e0e0;
|
| 116 |
+
padding: 1rem;
|
| 117 |
+
border-radius: 8px;
|
| 118 |
+
color: #000000;
|
| 119 |
+
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
|
| 120 |
font-family: 'Courier New', monospace;
|
|
|
|
| 121 |
}
|
| 122 |
|
| 123 |
.code-block {
|
| 124 |
+
font-size: 0.9rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
}
|
| 126 |
|
| 127 |
+
.lead-text {
|
| 128 |
+
color: #ffffff;
|
|
|
|
| 129 |
}
|
| 130 |
|
| 131 |
+
.light-lead-text {
|
| 132 |
+
color: #000000;
|
| 133 |
}
|
| 134 |
|
| 135 |
.nav-tabs .nav-link {
|
| 136 |
color: #00ffcc;
|
| 137 |
border: 2px solid #00ffcc;
|
| 138 |
+
border-radius: 8px;
|
| 139 |
+
padding: 0.5rem 1rem;
|
| 140 |
+
margin: 0 0.25rem;
|
|
|
|
| 141 |
}
|
| 142 |
|
| 143 |
.nav-tabs .nav-link.active {
|
| 144 |
background: #00ffcc;
|
| 145 |
color: #000000;
|
|
|
|
| 146 |
}
|
| 147 |
|
| 148 |
.nav-tabs .nav-link:hover {
|
| 149 |
+
background: rgba(0, 255, 204, 0.2);
|
|
|
|
| 150 |
}
|
| 151 |
|
| 152 |
.accordion-button {
|
| 153 |
+
background: #2e3b3e;
|
| 154 |
+
color: #ffffff;
|
| 155 |
border: 1px solid #00ffcc;
|
|
|
|
| 156 |
}
|
| 157 |
|
| 158 |
.accordion-button:not(.collapsed) {
|
| 159 |
+
background: #00ffcc;
|
| 160 |
+
color: #000000;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
}
|
| 162 |
|
| 163 |
.table-dark {
|
| 164 |
+
background: #1c2526;
|
| 165 |
+
color: #ffffff;
|
|
|
|
| 166 |
}
|
| 167 |
|
| 168 |
.table-dark th, .table-dark td {
|
| 169 |
border-color: #00ffcc;
|
| 170 |
+
padding: 0.75rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
}
|
| 172 |
|
| 173 |
+
.bg-ghost-black {
|
| 174 |
+
background: #0a0a0a;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
}
|