Files
landing_page/qdrant-landing/themes/qdrant/static/css/lang-switcher.css
T
e301681488 Lang switcher (#7)
* language switcher for documentation pages

* some cleanup and an example of usage

* fix highlight elements ordering

* fix for unexpected behavior

* styles fix

* changed tag

* copy button for code blocks in documentation

* warning and info styled elements for documentation

* docs auto-sync

* fixed 1px extra padding and prevented tabs generation when there is only one language

* docs auto-sync

* fix

* docs auto-sync

* moved css for information aside blocks to the article file

* fix

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
Co-authored-by: qdrant <qdrant@users.noreply.github.com>
2022-03-15 11:06:01 +01:00

20 lines
366 B
CSS

.highlight + .highlight {
display: none;
}
.lang-tabs {
display: block;
min-height: 26px;
}
.lang-tabs__button {
padding: 2px 4px 5px;
background: #dcdcdc;
color: inherit;
cursor: pointer;
}
.lang-tabs__button.active {
background: #8d8d8d;
color: #fff;
}
.lang-tabs__button:not(:last-of-type) {
border-right: 1px solid #fff;
}