style.css
This file
Path
docs/public/css/style.css
116 lines · 1.7 KiB · CSS
Last changed by
website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117main { padding: 1rem;
& * { scroll-margin-top: 4rem; }
@media print { width: 100%!important; --bs-code-color: --bs-body-color; }}
header { z-index: 1050!important; /* higher than #contents */}
section[id] { display: flow-root;
> :first-child { .icon-link { opacity: 0;
&:focus { opacity: .8; } }
&:hover .icon-link { opacity: 1; } }}
.offcanvas[aria-modal=true] .nav-link { padding: .7rem;}.offcanvas-md { --bs-offcanvas-width: auto;}
ul { list-style: none; padding-left: 1rem;}
details { margin-bottom: 1rem; padding-left: 1rem;
& summary { cursor: pointer; }
& ul { padding-left: 0; }}
pre { margin: 0 .5rem 1rem; padding: .5rem 1rem; background-color: var(--bs-secondary-bg-subtle); border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);}
button { &[aria-expanded=false] { .bi-chevron-down, .hide-result-text { display: none; } }
&[aria-expanded=true] { .bi-chevron-right, .show-result-text { display: none; } }}
mark { padding: 0;}
.container-searchbox { position: relative;
& input:focus ~ kbd { display: none; }
& ul { position: absolute; width: 100%; top: 100%; padding: 0; background-color: var(--bs-body-bg); border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color); }
& li { padding: .3em .6em; white-space: nowrap; overflow-x: hidden;
&[aria-selected=true] { background-color: var(--bs-secondary-bg); }
&:hover { cursor: pointer; background-color: var(--bs-secondary-bg-subtle); } }}