Skip to content

Commit 5fdca81

Browse files
authored
Merge pull request #457 from axivo/docs/website-update
fix: custom css
2 parents 4c39f96 + 05dfd92 commit 5fdca81

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

claude/assets/css/compiled/main.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

claude/assets/css/custom.css

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
border-radius: 0.375rem;
49+
}
50+
51+
.content .plyr {
52+
margin-inline: auto;
53+
margin-block: 1.5rem;
54+
border-radius: 0.375rem;
55+
overflow: hidden;
56+
}

0 commit comments

Comments
 (0)