X Tutup
Skip to content

Commit f557578

Browse files
docs(docs.css): add initial type-hint styles
1 parent d85505d commit f557578

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/app/assets/css/docs.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,3 +377,43 @@ iframe.example {
377377
top:20px;
378378
right:20px;
379379
}
380+
381+
382+
383+
.variables-matrix td {
384+
vertical-align:top;
385+
padding:5px;
386+
}
387+
388+
.type-hint {
389+
display:inline-block;
390+
}
391+
392+
.variables-matrix .type-hint {
393+
text-align:center;
394+
min-width:60px;
395+
}
396+
397+
.type-hint + .type-hint {
398+
margin-top:5px;
399+
}
400+
401+
.type-hint-string {
402+
background:#3a87ad;
403+
}
404+
405+
.type-hint-object {
406+
background:#999;
407+
}
408+
409+
.type-hint-array {
410+
background:#F90;;
411+
}
412+
413+
.type-hint-boolean {
414+
background:rgb(18, 131, 39);
415+
}
416+
417+
.type-hint-number {
418+
background:rgb(189, 63, 66);
419+
}

0 commit comments

Comments
 (0)
X Tutup