Skip to content

Commit 01dbc47

Browse files
authored
Merge pull request #25 from universal-tool-calling-protocol/docs-migration
Fix UI issues
2 parents e855135 + 4716061 commit 01dbc47

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

src/css/custom.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,29 @@ a:hover {
9696
color: #cccccc !important;
9797
}
9898

99+
/* Content links with underlines (exclude navbar and sidebar) */
100+
.markdown a,
101+
article a,
102+
.theme-doc-markdown a,
103+
[class*="features"] a {
104+
text-decoration: underline;
105+
}
106+
107+
.markdown a:hover,
108+
article a:hover,
109+
.theme-doc-markdown a:hover,
110+
[class*="features"] a:hover {
111+
text-decoration: underline;
112+
}
113+
114+
/* Ensure navbar and sidebar links don't have underlines */
115+
.navbar a,
116+
.menu a,
117+
.sidebar a,
118+
.theme-doc-sidebar-container a {
119+
text-decoration: none !important;
120+
}
121+
99122
/* Button styling */
100123
.button--outline {
101124
border-color: #ffffff;

src/pages/index.module.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@
2222
display: flex;
2323
align-items: center;
2424
justify-content: center;
25+
gap: 10px;
26+
flex-wrap: wrap;
27+
}
28+
29+
@media screen and (max-width: 768px) {
30+
.buttons {
31+
flex-direction: column;
32+
gap: 1rem;
33+
}
2534
}

src/pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ function HomepageHeader() {
2525
</Link>
2626
<Link
2727
className="button button--outline button--lg"
28-
to="https://github.com/universal-tool-calling-protocol"
29-
style={{marginLeft: '10px'}}>
28+
to="https://github.com/universal-tool-calling-protocol">
3029
💻 View on GitHub
3130
</Link>
3231
</div>

0 commit comments

Comments
 (0)