mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
docs: improve formatting in time.parse_format description (#22113)
This commit is contained in:
parent
d1b20bec79
commit
62c69e8a31
3 changed files with 65 additions and 44 deletions
|
@ -36,6 +36,8 @@
|
|||
--attribute-deprecated-background-color: #f59f0b48;
|
||||
--attribute-deprecated-text-color: #92400e;
|
||||
--attribute-text-color: #000000cf;
|
||||
--table-header-line-color: #2c3e64;
|
||||
--table-background-color: #edf2f7;
|
||||
}
|
||||
html.dark {
|
||||
--background-color: #1a202c;
|
||||
|
@ -73,6 +75,8 @@ html.dark {
|
|||
--attribute-background-color: #ffffff20;
|
||||
--attribute-text-color: #ffffffaf;
|
||||
--attribute-deprecated-text-color: #fef3c7;
|
||||
--table-header-line-color: #cbd5e0;
|
||||
--table-background-color: #2d3748;
|
||||
}
|
||||
html.dark .dark-icon {
|
||||
display: none;
|
||||
|
@ -665,6 +669,21 @@ pre {
|
|||
margin: 0 0 0.4rem 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid var(--table-background-color);
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table tr td,
|
||||
table tr th {
|
||||
padding: 4px 8px;
|
||||
}
|
||||
table tr th {
|
||||
background-color: var(--table-background-color);
|
||||
}
|
||||
tr:nth-child(even) {
|
||||
background-color: var(--table-background-color);
|
||||
}
|
||||
|
||||
/* Medium screen and up */
|
||||
@media (min-width: 768px) {
|
||||
*::-webkit-scrollbar {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue