Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
7ed46a6
1
Parent(s): 5a33031
Add banner
Browse files- docs/docs.json +11 -0
- docs/style.css +66 -0
docs/docs.json
CHANGED
|
@@ -11,11 +11,22 @@
|
|
| 11 |
},
|
| 12 |
"decoration": "windows"
|
| 13 |
},
|
|
|
|
|
|
|
|
|
|
| 14 |
"colors": {
|
| 15 |
"dark": "#f72585",
|
| 16 |
"light": "#4cc9f0",
|
| 17 |
"primary": "#2d00f7"
|
| 18 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
"description": "The fast, Pythonic way to build MCP servers and clients.",
|
| 20 |
"favicon": {
|
| 21 |
"dark": "/assets/favicon.ico",
|
|
|
|
| 11 |
},
|
| 12 |
"decoration": "windows"
|
| 13 |
},
|
| 14 |
+
"banner": {
|
| 15 |
+
"content": "[Join the waitlist](https://fastmcp.cloud) for FastMCP Cloud!"
|
| 16 |
+
},
|
| 17 |
"colors": {
|
| 18 |
"dark": "#f72585",
|
| 19 |
"light": "#4cc9f0",
|
| 20 |
"primary": "#2d00f7"
|
| 21 |
},
|
| 22 |
+
"contextual": {
|
| 23 |
+
"options": [
|
| 24 |
+
"copy",
|
| 25 |
+
"view",
|
| 26 |
+
"chatgpt",
|
| 27 |
+
"claude"
|
| 28 |
+
]
|
| 29 |
+
},
|
| 30 |
"description": "The fast, Pythonic way to build MCP servers and clients.",
|
| 31 |
"favicon": {
|
| 32 |
"dark": "/assets/favicon.ico",
|
docs/style.css
CHANGED
|
@@ -12,6 +12,72 @@ h6 code:not(pre code) {
|
|
| 12 |
background-color: rgba(247, 37, 133, 0.09);
|
| 13 |
}
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
/* Version badge -- display a badge with the current version of the documentation */
|
| 16 |
.version-badge {
|
| 17 |
display: inline-block;
|
|
|
|
| 12 |
background-color: rgba(247, 37, 133, 0.09);
|
| 13 |
}
|
| 14 |
|
| 15 |
+
/* Banner styling -- improve readability with better contrast */
|
| 16 |
+
#banner {
|
| 17 |
+
background: #f1f5f9 !important;
|
| 18 |
+
color: #1e293b !important;
|
| 19 |
+
font-size: 0.95rem !important;
|
| 20 |
+
font-weight: 600 !important;
|
| 21 |
+
padding-top: 12px !important;
|
| 22 |
+
padding-bottom: 12px !important;
|
| 23 |
+
position: relative !important;
|
| 24 |
+
overflow: hidden !important;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
#banner::before {
|
| 28 |
+
content: "";
|
| 29 |
+
position: absolute;
|
| 30 |
+
top: 0;
|
| 31 |
+
left: 0;
|
| 32 |
+
width: 100%;
|
| 33 |
+
height: 100%;
|
| 34 |
+
background: linear-gradient(
|
| 35 |
+
90deg,
|
| 36 |
+
rgba(6, 182, 212, 0.25) 0%,
|
| 37 |
+
rgba(6, 182, 212, 0.05) 25%,
|
| 38 |
+
rgba(6, 182, 212, 0.35) 50%,
|
| 39 |
+
rgba(6, 182, 212, 0.08) 75%,
|
| 40 |
+
rgba(6, 182, 212, 0.28) 100%
|
| 41 |
+
);
|
| 42 |
+
background-size: 300% 100%;
|
| 43 |
+
animation: colorWave 14s ease-in-out infinite alternate;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.dark #banner {
|
| 47 |
+
background: #475569 !important;
|
| 48 |
+
color: #f1f5f9 !important;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.dark #banner::before {
|
| 52 |
+
background: linear-gradient(
|
| 53 |
+
90deg,
|
| 54 |
+
rgba(247, 37, 133, 0.35) 0%,
|
| 55 |
+
rgba(247, 37, 133, 0.08) 25%,
|
| 56 |
+
rgba(247, 37, 133, 0.45) 50%,
|
| 57 |
+
rgba(247, 37, 133, 0.12) 75%,
|
| 58 |
+
rgba(247, 37, 133, 0.38) 100%
|
| 59 |
+
);
|
| 60 |
+
background-size: 300% 100%;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
@keyframes colorWave {
|
| 64 |
+
0% {
|
| 65 |
+
background-position: 0% 0%;
|
| 66 |
+
}
|
| 67 |
+
100% {
|
| 68 |
+
background-position: 100% 0%;
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
#banner * {
|
| 73 |
+
color: #1e293b !important;
|
| 74 |
+
margin: 0 !important;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.dark #banner * {
|
| 78 |
+
color: #f1f5f9 !important;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
/* Version badge -- display a badge with the current version of the documentation */
|
| 82 |
.version-badge {
|
| 83 |
display: inline-block;
|