Repository navigation
Expand file tree
/
Copy path_custom.css
More file actions
153 lines (126 loc) · 4.46 KB
/
Copy path_custom.css
File metadata and controls
153 lines (126 loc) · 4.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* Theme customization: https://iamroq.dev/theme/default/#css-customization */
/* Color palette inspired by https://a2a-protocol.org (Material for MkDocs, indigo/white) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&family=Roboto+Mono:wght@400;500&display=swap');
@theme inline {
/* Primary accent: Material Design Indigo */
--color-accent-50: #e8eaf6;
--color-accent-100: #c5cae9;
--color-accent-200: #9fa8da;
--color-accent-300: #7986cb;
--color-accent-400: #5c6bc0;
--color-accent-500: #3f51b5;
--color-accent-600: #3949ab;
--color-accent-700: #303f9f;
--color-accent-800: #283593;
--color-accent-900: #1a237e;
--color-accent-950: #0d1257;
/* Pop color: same indigo family for buttons, links, and interactive elements */
--color-pop-50: #e8eaf6;
--color-pop-100: #c5cae9;
--color-pop-200: #9fa8da;
--color-pop-300: #7986cb;
--color-pop-400: #5c6bc0;
--color-pop-500: #3f51b5;
--color-pop-600: #3949ab;
--color-pop-700: #303f9f;
--color-pop-800: #283593;
--color-pop-900: #1a237e;
--color-pop-950: #0d1257;
/* Typography: Roboto matches Material Design (used by a2a-protocol.org) */
--font-body: 'Roboto', ui-sans-serif, system-ui, sans-serif;
--font-heading: 'Roboto', ui-sans-serif, system-ui, sans-serif;
}
/* Sidebar: deep indigo gradient matching a2a-protocol.org dark navigation */
:root {
--sidebar-bg: linear-gradient(180deg, #303f9f 0%, #1a237e 100%);
}
/* Hero logo sizing — a2a-java-sdk.png is square (2048x2048) */
.roq-hero-logo {
@apply w-[200px];
}
/* ── Sidebar menu groups ──────────────────────────────────────────────────── */
.menu-group-label a {
display: flex !important;
align-items: center !important;
flex-wrap: nowrap !important;
cursor: pointer !important;
}
.menu-group-chevron {
font-size: 0.65rem;
transition: transform 0.2s ease;
flex-shrink: 0;
margin-left: auto;
}
.menu-group-children-li {
padding: 0;
margin: 0;
list-style: none;
}
.menu-group-children-wrapper {
overflow: hidden;
max-height: 1000px;
transition: max-height 0.25s ease;
padding: 0;
margin: 0;
list-style: none;
}
.menu-group-children-wrapper.menu-group-collapsed {
max-height: 0;
}
.menu-group-child a {
padding-left: 2rem !important;
font-size: 0.9em;
opacity: 0.9;
}
/* The search overlay is inside .sidebar.main which is position:fixed on */
/* desktop — fixed elements always form stacking contexts (z-index:auto). */
/* Main content paints after the sidebar in DOM order and covers it. */
/* Lift the sidebar above main content when search is active. */
@media (width >= 48rem) {
.sidebar.main:has(.search-overlay.active) {
z-index: 10000;
}
}
.hljs-copy-wrapper {
transform: none;
}
/* ── Content column width ─────────────────────────────────────────────────── */
.page-content .content-main {
max-width: var(--container-5xl);
}
/* ── Tables ──────────────────────────────────────────────────────────────── */
.page-content table,
.roq-section table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
}
.page-content th,
.page-content td,
.roq-section th,
.roq-section td {
padding: 0.6rem 1rem;
text-align: left;
border: 1px solid rgba(255, 255, 255, 0.15);
}
.page-content th,
.roq-section th {
font-weight: 600;
background: rgba(255, 255, 255, 0.06);
}
.page-content tr:nth-child(even),
.roq-section tr:nth-child(even) {
background: rgba(255, 255, 255, 0.03);
}
/* ── Quick Install section ────────────────────────────────────────────────── */
.roq-section pre {
text-align: left;
}
/* ── Syntax Highlighting (highlight.js) ───────────────────────────────────── */
/* Match the site's monospace font (Roboto Mono) */
.hljs,
pre code.hljs {
font-family: 'Roboto Mono', ui-monospace, monospace;
font-size: 0.875rem;
line-height: 1.6;
}