microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-shell-and-cli-windows-job

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/assets/css/style.css

347lines · modecode

1/* Basic reset */
2* {
3 margin: 0;
4 padding: 0;
5 box-sizing: border-box;
6}
7
8body {
9 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
10 line-height: 1.6;
11 color: #333;
12}
13
14.container {
15 max-width: 1200px;
16 margin: 0 auto;
17 padding: 0 20px;
18}
19
20/* Header */
21.site-header {
22 background-color: #fff;
23 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
24 padding: 15px 0;
25}
26
27.site-header .container {
28 display: flex;
29 justify-content: space-between;
30 align-items: center;
31}
32
33.site-title {
34 font-size: 1.5rem;
35 font-weight: bold;
36 text-decoration: none;
37 color: #0366d6;
38}
39
40.main-nav ul {
41 display: flex;
42 list-style: none;
43}
44
45.main-nav li {
46 margin-left: 20px;
47}
48
49.main-nav a {
50 text-decoration: none;
51 color: #586069;
52}
53
54.main-nav a:hover {
55 color: #0366d6;
56}
57
58/* Documentation layout */
59.docs-container {
60 display: grid;
61 grid-template-columns: 250px 1fr;
62 gap: 40px;
63 max-width: 1200px;
64 margin: 40px auto;
65 padding: 0 20px;
66}
67
68.docs-sidebar {
69 position: sticky;
70 top: 20px;
71 height: calc(100vh - 40px);
72 overflow-y: auto;
73}
74
75.docs-nav h3 {
76 margin-bottom: 15px;
77 font-size: 1.2rem;
78}
79
80.docs-nav ul {
81 list-style: none;
82 margin-bottom: 20px;
83}
84
85.docs-nav li {
86 margin-bottom: 5px;
87}
88
89.docs-nav a {
90 text-decoration: none;
91 color: #586069;
92 display: block;
93 padding: 5px 0;
94}
95
96.docs-nav a:hover {
97 color: #0366d6;
98}
99
100.docs-nav a.active {
101 color: #0366d6;
102 font-weight: 600;
103}
104
105.docs-nav ul ul {
106 margin-left: 15px;
107 margin-top: 5px;
108 margin-bottom: 0;
109}
110
111.docs-content {
112 min-width: 0;
113}
114
115/* Content styling */
116h1, h2, h3, h4, h5, h6 {
117 margin-top: 1.5em;
118 margin-bottom: 0.5em;
119 line-height: 1.25;
120}
121
122h1 {
123 font-size: 2rem;
124 margin-top: 0;
125}
126
127h2 {
128 font-size: 1.6rem;
129 padding-bottom: 0.3em;
130 border-bottom: 1px solid #eaecef;
131}
132
133h3 {
134 font-size: 1.3rem;
135}
136
137p {
138 margin-bottom: 1rem;
139}
140
141a {
142 color: #0366d6;
143}
144
145code {
146 background-color: #f6f8fa;
147 padding: 0.2em 0.4em;
148 border-radius: 3px;
149 font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
150 font-size: 0.85em;
151}
152
153pre {
154 background-color: #f6f8fa;
155 padding: 16px;
156 overflow: auto;
157 border-radius: 3px;
158 margin-bottom: 1rem;
159}
160
161pre code {
162 background-color: transparent;
163 padding: 0;
164}
165
166ul, ol {
167 margin-bottom: 1rem;
168 margin-left: 1.5rem;
169}
170
171table {
172 border-collapse: collapse;
173 margin-bottom: 1rem;
174 width: 100%;
175}
176
177table th, table td {
178 border: 1px solid #dfe2e5;
179 padding: 6px 13px;
180}
181
182table th {
183 background-color: #f6f8fa;
184 font-weight: 600;
185}
186
187blockquote {
188 margin: 0 0 1rem;
189 padding: 0 1rem;
190 color: #6a737d;
191 border-left: 0.25rem solid #dfe2e5;
192}
193
194blockquote > :first-child {
195 margin-top: 0;
196}
197
198blockquote > :last-child {
199 margin-bottom: 0;
200}
201
202.direct-link {
203 text-decoration: none;
204 font-size: 0.8em;
205 margin-left: 0.3em;
206 opacity: 0; /* Hide by default */
207 transition: opacity 0.2s ease;
208}
209
210/* Show link on heading hover */
211h1:hover .direct-link,
212h2:hover .direct-link,
213h3:hover .direct-link,
214h4:hover .direct-link,
215h5:hover .direct-link,
216h6:hover .direct-link,
217.direct-link:hover {
218 opacity: 0.5;
219}
220
221.direct-link:hover {
222 opacity: 1;
223}
224
225/* Homepage */
226.hero {
227 text-align: center;
228 padding: 60px 0;
229 background-color: #f6f8fa;
230}
231
232.hero h1 {
233 font-size: 2.5rem;
234 margin-bottom: 0.5rem;
235}
236
237.hero p {
238 font-size: 1.5rem;
239 margin-bottom: 2rem;
240 color: #586069;
241}
242
243.cta-buttons {
244 display: flex;
245 justify-content: center;
246 gap: 20px;
247}
248
249.button {
250 display: inline-block;
251 padding: 10px 20px;
252 background-color: #0366d6;
253 color: white;
254 text-decoration: none;
255 border-radius: 4px;
256 font-weight: 500;
257}
258
259.button-outline {
260 background-color: transparent;
261 color: #0366d6;
262 border: 1px solid #0366d6;
263}
264
265.features {
266 padding: 60px 0;
267}
268
269.features .container {
270 display: grid;
271 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
272 gap: 40px;
273}
274
275.feature {
276 padding: 20px;
277 border-radius: 4px;
278 background-color: #fff;
279 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
280}
281
282.feature h2 {
283 margin-top: 0;
284 font-size: 1.4rem;
285}
286
287/* Footer */
288.site-footer {
289 text-align: center;
290 padding: 20px 0;
291 color: #586069;
292 border-top: 1px solid #eaecef;
293 margin-top: 60px;
294 font-size: 0.9rem;
295}
296
297.footer-content {
298 max-width: 1200px;
299 margin: 0 auto;
300 padding: 0 20px;
301 display: flex;
302 justify-content: center;
303}
304
305.footer-links {
306 display: flex;
307 align-items: center;
308 justify-content: center;
309 flex-wrap: wrap;
310}
311
312.footer-links a {
313 color: #586069;
314 text-decoration: none;
315 padding: 0 5px;
316}
317
318.footer-links a:hover {
319 text-decoration: underline;
320 color: #0366d6;
321}
322
323.footer-separator {
324 margin: 0 5px;
325 color: #d1d5da;
326}
327
328/* Responsive adjustments */
329@media (max-width: 768px) {
330 .docs-container {
331 grid-template-columns: 1fr;
332 }
333
334 .docs-sidebar {
335 position: static;
336 height: auto;
337 margin-bottom: 30px;
338 }
339
340 .hero h1 {
341 font-size: 2rem;
342 }
343
344 .hero p {
345 font-size: 1.2rem;
346 }
347}