26 lines
668 B
SCSS
26 lines
668 B
SCSS
|
/* Copyright: Ankitects Pty Ltd and contributors
|
||
|
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
|
||
|
|
||
|
$tooltip-padding-y: 0.45rem;
|
||
|
$tooltip-padding-x: 0.65rem;
|
||
|
$tooltip-max-width: 300px;
|
||
|
|
||
|
@import "sass/bootstrap/scss/tooltip";
|
||
|
|
||
|
.tooltip-inner {
|
||
|
text-align: start;
|
||
|
|
||
|
// marked transpiles tooltips into multiple paragraphs
|
||
|
// where trailing <p>s cause a bottom margin
|
||
|
> p:last-child {
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
// the default code color in tooltips is difficult to read; we'll probably
|
||
|
// want to add more of our own styling in the future
|
||
|
code {
|
||
|
color: #ffaaaa;
|
||
|
direction: inherit;
|
||
|
}
|
||
|
}
|