pluto_hdl_adi/docs/sources/custom.css

116 lines
2.1 KiB
CSS
Raw Normal View History

.sidebar-brand {
background-color: #f8f9fb;
border-radius: .25em;
margin: var(--sidebar-item-spacing-vertical)
calc(var(--sidebar-item-spacing-horizontal)/2)
0
calc(var(--sidebar-item-spacing-horizontal)/2);
padding: 0;
}
.sidebar-brand::before {
content: "";
display: inline-block;
width: 100%;
height: 4rem;
background-image: url(HDL_logo.svg);
background-size: auto 4rem;
background-position: center;
background-repeat: no-repeat;
}
.sidebar-brand-text {
display: none;
}
body[data-theme="dark"] .sidebar-brand {
color: #fff;
}
@media (min-width: 56em){
.content {
width: 52em;
}
}
figure > object {
max-width: 100%;
}
img {
background: #fff;
border-radius: .25em;
padding: .5em 0;
}
iframe {
width: calc(50.625rem - 1rem);
height: calc(28.47rem - 0.5625rem);
margin-left: -1rem;
}
@media (max-width:50.625rem) {
iframe {
width: calc(100vw - 1rem);
height: calc(56.25vw - 1rem);
margin-left: -1rem;
}
}
.WaveDrom {
background: #fff;
border-radius: .25em;
padding: .5em 0;
}
table.regmap {
font-size: .9em;
}
table.regmap .caption-text{
font-size: 1rem;
}
td.description{
width: 45%;
font-size:.8em;
}
.collapsible {
border: 1px solid var(--color-table-border);
border-radius: .25em;
margin-bottom: -1px;
}
.collapsible_input {
display: none;
}
.collapsible_content {
border-top: 1px solid var(--color-table-border);
overflow: hidden;
height: 0;
transition: ease opacity .25s;
opacity: 0;
}
.collapsible label {
width: 100%;
display: block;
padding-left: .75em;
user-select: none;
cursor: pointer;
}
.collapsible label .icon {
display: inline-block;
padding-right: .25em;
}
.collapsible label p {
display: inline-block;
margin: .75em 0;
}
.collapsible label .icon:before {
content: '⮞';
color: #666;
transition: transform ease .125s, padding ease .125s;
display: block;
line-height: 1em;
padding-right: .25em;
}
.collapsible_input:checked ~ label .icon:before {
transform: rotate(90deg);
padding-left: 4px;
}
.collapsible_input:checked ~ .collapsible_content {
height: 100%;
opacity: 1;
}
.default {
min-width: 7em;
line-break: anywhere;
}