Widget:BcaSearch: Difference between revisions

From Bodhicitta
(Search: clearing the box returns to the browse panels)
(Mobile: finger-sized chapter/verse number chips)
 
(One intermediate revision by the same user not shown)
Line 43: Line 43:
.bcas-start__chips a:hover{border-color:#bf9659;background:rgba(191,150,89,.08)}
.bcas-start__chips a:hover{border-color:#bf9659;background:rgba(191,150,89,.08)}
.bcas-start__chips a span{color:#888;font-size:.8rem}
.bcas-start__chips a span{color:#888;font-size:.8rem}
.bcas-start__chips--small{margin-top:.6rem}
.bcas-start__chips--small{margin-top:.5rem}
.bcas-start__sub{margin-bottom:.8rem}
.bcas-start__chips--small a{padding:.15rem .6rem;font-size:.82rem}
.bcas-start__chips--small a{padding:.15rem .6rem;font-size:.82rem}
/* Phones: finger-sized number chips (they were ~29x26px). */
@media (max-width:767.98px){.bcas-start__chips--small{gap:.5rem}.bcas-start__chips--small a{min-width:2.5rem;min-height:2.5rem;justify-content:center;font-size:.95rem}}
.bcas-start__more{margin-top:.7rem;font-size:.85rem;color:#666}
.bcas-start__more{margin-top:.7rem;font-size:.85rem;color:#666}
.bcas-start__more--stack a{display:block;padding:.15rem 0}
.bcas-start__more--stack a{display:block;padding:.15rem 0}
Line 71: Line 74:
<li><b>word*</b> matches any ending: <a data-q="meditat*">meditat*</a></li>
<li><b>word*</b> matches any ending: <a data-q="meditat*">meditat*</a></li>
<li><b>intitle:</b> searches titles only: <a data-q="intitle:bodhisattva">intitle:bodhisattva</a></li>
<li><b>intitle:</b> searches titles only: <a data-q="intitle:bodhisattva">intitle:bodhisattva</a></li>
<li><b>incategory:</b> searches by tag. Topics, decades, people and publishers are all tags: <a data-q="incategory:&quot;Topic: Tonglen&quot;">incategory:"Topic: Tonglen"</a>, <a data-q="incategory:&quot;Decade: 1990s&quot;">incategory:"Decade: 1990s"</a>, <a data-q="incategory:&quot;Padmakara Translation Group&quot;">incategory:"Padmakara Translation Group"</a>. Combine with words: <a data-q="patience incategory:&quot;Topic: Six Perfections&quot;">patience incategory:"Topic: Six Perfections"</a></li>
<li>Accents are optional (<a data-q="santideva">santideva</a> finds Śāntideva); Tibetan script and Wylie work too.</li>
<li>Accents are optional (<a data-q="santideva">santideva</a> finds Śāntideva); Tibetan script and Wylie work too.</li>
<li>A verse number such as <a data-q="8.120">8.120</a> offers that Bodhicaryāvatāra verse page.</li>
<li>A verse number such as <a data-q="8.120">8.120</a> offers that Bodhicaryāvatāra verse page.</li>

Latest revision as of 17:41, 8 October 2026

Site search for the Bodhicitta wiki (preview). Used on Advanced Search/Preview. Full-text search through CirrusSearch, results grouped (library, passages in the aligned texts, essays, topics, people), class filters with counts, the library's bibliographic rows, and the search kept in the page address so it can be shared.