mirror of
https://github.com/agentskills/agentskills.git
synced 2026-06-18 15:54:06 +08:00
Remove MCP-specific CSS from style.css (#113)
This file was originally copied from the modelcontextprotocol repo. These styles were specific to MCP documentation pages and are not used here: - `#feature-support-matrix-wrapper` table styling - `#schema-reference` TypeScript documentation styling Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
e81550daf1
commit
fe4fecbb43
-124
@@ -10,24 +10,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
#feature-support-matrix-wrapper table {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
#feature-support-matrix-wrapper td,
|
||||
#feature-support-matrix-wrapper th {
|
||||
padding: 0.25rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Left align Client column */
|
||||
#feature-support-matrix-wrapper td:first-child,
|
||||
#feature-support-matrix-wrapper th:first-child {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*** Add automatic section numbers to headings and table of contents items ***/
|
||||
@@ -124,109 +106,3 @@ body:has(#enable-section-numbers) {
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.logo-carousel-track { animation: none; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*** Page: schema reference ***/
|
||||
|
||||
#schema-reference {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body:has(#schema-reference) {
|
||||
.tsd-comment {
|
||||
:is(p, ul, ol):first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
:is(p, ul, ol):last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tsd-signature {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
|
||||
/* Based on code blocks rendered by Mintlify **on the production site**. */
|
||||
margin: 1.25rem 0;
|
||||
border: 1px solid;
|
||||
border-color: light-dark(rgb(var(--gray-950)/.1), rgba(255, 255, 255, 0.1));
|
||||
border-radius: 1rem;
|
||||
padding: 1rem 0.875rem;
|
||||
|
||||
a {
|
||||
font-weight: normal;
|
||||
border-bottom: none;
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover {
|
||||
text-decoration-thickness: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
a[href="#"] {
|
||||
pointer-events: none;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tsd-signature-keyword {
|
||||
color: light-dark(rgb(207, 34, 46), #9CDCFE);
|
||||
}
|
||||
|
||||
:is(.tsd-kind-interface, .tsd-kind-type-alias):not(.tsd-signature-type) {
|
||||
color: light-dark(rgb(149, 56, 0), #4EC9B0);
|
||||
}
|
||||
|
||||
.tsd-signature-type:not(.tsd-kind-interface, .tsd-kind-type-alias) {
|
||||
color: light-dark(rgb(5, 80, 174), #DCDCAA);
|
||||
}
|
||||
}
|
||||
|
||||
.tsd-member {
|
||||
margin: 1.25rem 0;
|
||||
|
||||
[data-typedoc-h="3"] {
|
||||
margin: 0.5rem 0;
|
||||
|
||||
font-family: var(--font-mono);
|
||||
font-weight: 700;
|
||||
|
||||
scroll-margin-top: 8rem;
|
||||
}
|
||||
|
||||
& > .tsd-comment,
|
||||
& > .tsd-type-declaration {
|
||||
margin-left: 1.25rem;
|
||||
}
|
||||
|
||||
.tsd-type-declaration {
|
||||
[data-typedoc-h="4"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-typedoc-h="4"] + ul {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
[data-typedoc-h="5"] {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
|
||||
width: fit-content;
|
||||
padding: 0.125em 0.5em;
|
||||
background-color: light-dark(rgb(var(--gray-100)/.5), rgb(255 255 255/.05));
|
||||
}
|
||||
}
|
||||
|
||||
.tsd-anchor-icon,
|
||||
.tsd-tag,
|
||||
.tsd-signature,
|
||||
.tsd-sources {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user