Skip to content

Commit 9a89bfb

Browse files
authored
Merge pull request #450 from axivo/docs/website-update
fix: custom style
2 parents 527397d + 12a4847 commit 9a89bfb

File tree

1 file changed

+54
-3
lines changed

1 file changed

+54
-3
lines changed

claude/assets/css/custom.css

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,58 @@
1-
/* Plyr video player */
1+
/* Borderless table */
2+
.content table tbody tr {
3+
border-bottom: 1px solid var(--hx-color-gray-100);
4+
border-top: none;
5+
}
6+
7+
.content table td,
8+
.content table th {
9+
border: none;
10+
}
11+
12+
.content table td:first-child,
13+
.content table th:first-child {
14+
padding-left: 0;
15+
}
16+
17+
.content table td:last-child,
18+
.content table th:last-child {
19+
padding-right: 0;
20+
}
21+
22+
.content table thead {
23+
background: none;
24+
border-bottom: 1px solid var(--hx-color-gray-200);
25+
}
26+
27+
.content table thead tr {
28+
border: none;
29+
}
30+
31+
.content table:is(html[class~="dark"] *) tbody tr {
32+
border-bottom-color: rgb(38 38 38 / 0.5);
33+
}
34+
35+
.content table:is(html[class~="dark"] *) thead {
36+
border-bottom-color: var(--hx-color-neutral-800);
37+
}
38+
39+
/* Footer padding */
40+
footer.hextra-footer > div.hextra-max-footer-width {
41+
padding-top: 0.5rem;
42+
}
43+
44+
/* Media elements baseline styling (until Hextra PR is merged) */
45+
.content audio,
46+
.content video {
47+
margin-inline: auto;
48+
margin-block: 1rem;
49+
border-radius: 0.375rem;
50+
}
51+
52+
/* Plyr player styling after JS initialization */
253
.content .plyr {
354
margin-inline: auto;
4-
margin-block: calc(var(--hx-spacing) * 6);
5-
border-radius: var(--hx-radius-md);
55+
margin-block: 1.5rem;
56+
border-radius: 0.375rem;
657
overflow: hidden;
758
}

0 commit comments

Comments
 (0)