diff options
| author | Bryan Braun <[email protected]> | 2015-05-15 00:37:07 -0400 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2015-05-16 09:58:15 +0300 |
| commit | dec2faec3d1ebdf0f72d5814e570ebc453346cde (patch) | |
| tree | 9d6771f1dfcffe5c1f35b266ccbbbb9ad25a5b97 /docs/assets/css/src/docs.css | |
| parent | c111c291be426c5e91ceb1b8fe506d0df9818a2d (diff) | |
| download | bootstrap-dec2faec3d1ebdf0f72d5814e570ebc453346cde.tar.xz bootstrap-dec2faec3d1ebdf0f72d5814e570ebc453346cde.zip | |
Update Anchor.js and port over the existing styles.
Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it
from the codebase and move any leftover styles over to docs.css.
Closes #16488 by merging it.
Diffstat (limited to 'docs/assets/css/src/docs.css')
| -rw-r--r-- | docs/assets/css/src/docs.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 2bdaaa0d8..28d92d73d 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -1595,6 +1595,31 @@ h1[id] { } } +/* + * AnchorJS Styles + */ +.anchorjs-link { + color: inherit; +} + +@media (max-width: 480px) { + .anchorjs-link { + display: none; + } +} + +*:hover > .anchorjs-link { + opacity: .75; + -webkit-transition: color .16s linear; + -o-transition: color .16s linear; + transition: color .16s linear; +} + +*:hover > .anchorjs-link:hover, +.anchorjs-link:focus { + text-decoration: none; + opacity: 1; +} /* * Miscellaneous |
