Skip to content

Commit 79f610b

Browse files
committed
custom.css from dev doc
includes - ibexa/documentation-developer#2028 - ibexa/documentation-developer#2672 (Features not used yet but will avoid surprises) (cherry picked from commit ab8f55f)
1 parent ab6c05b commit 79f610b

File tree

1 file changed

+61
-1
lines changed

1 file changed

+61
-1
lines changed

docs/css/custom.css

+61-1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,27 @@ ul li li li {
268268
mask-image: var(--md-admonition-icon--caution);
269269
}
270270

271+
/* Tile admonition */
272+
273+
.md-typeset :is(.admonition):is(.tile) {
274+
background-color: #ffffff;
275+
border: 1px solid #D4D4D4;
276+
border-radius: 5px;
277+
padding: 0.7rem;
278+
margin-bottom: 0.4rem;
279+
overflow: auto;
280+
box-shadow: none;
281+
font-size: 16px;
282+
}
283+
284+
.md-typeset :is(.admonition).tile>:is(.admonition-title) {
285+
padding-left: 0.7rem;
286+
}
287+
288+
.md-typeset :is(.admonition).tile>:is(.admonition-title):before {
289+
content: none;
290+
}
291+
271292
/* Fix scrollbar in admonitions when containing a table */
272293
.md-typeset .admonition .md-typeset__scrollwrap {
273294
margin-right: 0;
@@ -358,6 +379,10 @@ ul li li li {
358379
background-color: var(--table-header);
359380
}
360381

382+
.md-typeset table td.compare {
383+
border: 0.05rem solid var(--md-typeset-table-color)
384+
}
385+
361386
.md-nav__link[data-md-state=blur] {
362387
color: rgb(19, 28, 38);
363388
}
@@ -485,11 +510,42 @@ a.external:not(.card):after {
485510
height: 4px;
486511
}
487512

488-
.md-typeset .tabbed-labels>label:hover {
513+
.md-typeset .tabbed-labels > label:hover {
489514
color: var(--ibexa-dusk-black);
490515
border-bottom: 2px solid var(--ibexa-dusk-black);
491516
}
492517

518+
.md-typeset .tabbed-set > input:first-child:checked ~ .tabbed-labels > :first-child,
519+
.md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2),
520+
.md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3),
521+
.md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4),
522+
.md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5),
523+
.md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6),
524+
.md-typeset .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > :nth-child(7),
525+
.md-typeset .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > :nth-child(8),
526+
.md-typeset .tabbed-set > input:nth-child(9):checked ~ .tabbed-labels > :nth-child(9),
527+
.md-typeset .tabbed-set > input:nth-child(10):checked ~ .tabbed-labels > :nth-child(10),
528+
.md-typeset .tabbed-set > input:nth-child(11):checked ~ .tabbed-labels > :nth-child(11),
529+
.md-typeset .tabbed-set > input:nth-child(12):checked ~ .tabbed-labels > :nth-child(12),
530+
.md-typeset .tabbed-set > input:nth-child(13):checked ~ .tabbed-labels > :nth-child(13),
531+
.md-typeset .tabbed-set > input:nth-child(14):checked ~ .tabbed-labels > :nth-child(14),
532+
.md-typeset .tabbed-set > input:nth-child(15):checked ~ .tabbed-labels > :nth-child(15),
533+
.md-typeset .tabbed-set > input:nth-child(16):checked ~ .tabbed-labels > :nth-child(16),
534+
.md-typeset .tabbed-set > input:nth-child(17):checked ~ .tabbed-labels > :nth-child(17),
535+
.md-typeset .tabbed-set > input:nth-child(18):checked ~ .tabbed-labels > :nth-child(18),
536+
.md-typeset .tabbed-set > input:nth-child(19):checked ~ .tabbed-labels > :nth-child(19),
537+
.md-typeset .tabbed-set > input:nth-child(20):checked ~ .tabbed-labels > :nth-child(20) {
538+
color: var(--md-accent-fg-color);
539+
}
540+
541+
.js .md-typeset .tabbed-labels:before {
542+
background: var(--md-accent-fg-color);
543+
}
544+
545+
.md-typeset .tabbed-labels--linked > label > a {
546+
padding: 0;
547+
}
548+
493549
div.pills {
494550
float: right;
495551
}
@@ -606,6 +662,10 @@ div.path {
606662
color: var(--ibexa-dusk-black);
607663
}
608664

665+
#older-versions {
666+
cursor: pointer;
667+
}
668+
609669
[hidden] {
610670
display: none !important;
611671
}

0 commit comments

Comments
 (0)