0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-03 15:24:19 +01:00
Bootstrap/docs/assets/scss/_anchor.scss

61 lines
4.3 KiB
SCSS
Raw Normal View History

2014-10-28 22:50:22 +01:00
/**
2015-01-22 04:20:16 +01:00
* Store the link icon as a base64 embedded icon font.
*/
2014-10-28 22:50:22 +01:00
@font-face {
2015-01-22 04:20:16 +01:00
font-family: 'anchorjs-link';
2014-10-28 22:50:22 +01:00
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg6v8yoAAAC8AAAAYGNtYXDL8RqdAAABHAAAADxnYXNwAAAAEAAAAVgAAAAIZ2x5Zkm2oNUAAAFgAAABWGhlYWQAHd4cAAACuAAAADZoaGVhB3sECwAAAvAAAAAkaG10eAYAAEcAAAMUAAAADGxvY2EACgCsAAADIAAAAAhtYXhwAAYAcAAAAygAAAAgbmFtZUQXtNYAAANIAAABOXBvc3QAAwAAAAAEhAAAACAAAwQAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAACDmAAPA/8D/wAPAAEAAAAAAAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEACgAAAAGAAQAAQACACDmAP//AAAAIOYA////4RoCAAEAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAIARwAHA7kDeQA2AG0AAAEnLgEiBg8BDgEUFh8BHgMXNy4DLwEuATQ2PwE+ATIWHwEeARQGDwEeAxU3PgE0JicBLgMnBx4DHwEeARQGDwEOASImLwEuATQ2PwEuAzUHDgEUFh8BHgEyNj8BPgE0Ji8BA7kEI1ldWiPaIyQkIwQDBgYGBFAEBwYHAwQTExMT2xMwMjETBBMTExNjBwkGA5gkIyMk/r4DBgYGBFAEBwYHAwQTExMT2xMwMjETBBMTExNjBwkGA5gkIyMkBCNZXVoj2iMkJCMEA3UEJCMjJNojWV1aIwQDBgUFA1ACBQUFAwQUMDIxE9oTExMTBBMxMjATYxAhISIRmSNaXVkj/sYDBgUFA1ACBQUFAwQUMDIxE9oTExMTBBMxMjATYxAhISIRmSNaXVkjBCQjIyTaI1ldWiMEAAEAAAABAABR/4xQXw889QALBAAAAAAAzqNM0wAAAADOo0zTAAAAAAO5A3kAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAABHA7kAAQAAAAAAAAAAAAAAAAAAAAMAAAAAAgAAAAQAAEcAAAAAAAoArAABAAAAAwBuAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIADgBHAAEAAAAAAAMADgAkAAEAAAAAAAQADgBVAAEAAAAAAAUAFgAOAAEAAAAAAAYABwAyAAEAAAAAAAoAKABjAAMAAQQJAAEADgAAAAMAAQQJAAIADgBHAAMAAQQJAAMADgAkAAMAAQQJAAQADgBVAAMAAQQJAAUAFgAOAAMAAQQJAAYADgA5AAMAAQQJAAoAKABjAGkAYwBvAG0AbwBvAG4AVgBlAHIAcwBpAG8AbgAgADAALgAwAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'),
2015-01-22 04:20:16 +01:00
url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAATwAAsAAAAABKQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDq/zKmNtYXAAAAFoAAAAPAAAADzL8RqdZ2FzcAAAAaQAAAAIAAAACAAAABBnbHlmAAABrAAAAVgAAAFYSbag1WhlYWQAAAMEAAAANgAAADYAHd4caGhlYQAAAzwAAAAkAAAAJAd7BAtobXR4AAADYAAAAAwAAAAMBgAAR2xv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gABAAAAAAAKACgAYwADAAEECQABAA4AAAADAAEECQACAA4ARwADAAEECQADAA4AJAADAAEECQAEAA4AVQADAAEECQAFABYADgADAAEECQAGAA4AOQADAAEECQAKACgAYwBpAGMAbwBtAG8AbwBuAFYAZQByAHMAaQBvAG4AIAAwAC4AMABpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuAFIAZQBnAHUAbABhAHIAaQBjAG8AbQBvAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');
2014-10-28 22:50:22 +01:00
font-weight: normal;
2015-01-22 04:20:16 +01:00
font-style: normal;
2014-10-28 22:50:22 +01:00
}
2015-01-22 04:20:16 +01:00
2014-10-28 22:50:22 +01:00
.anchorjs-icon {
2015-01-22 04:20:16 +01:00
font-family: 'anchorjs-link';
speak: none;
2014-10-28 22:50:22 +01:00
font-style: normal;
font-weight: normal;
2015-01-22 04:20:16 +01:00
font-variant: normal;
2014-10-28 22:50:22 +01:00
text-transform: none;
2015-01-22 04:20:16 +01:00
line-height: 1;
2014-10-28 22:50:22 +01:00
/* Better Icon Rendering */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/**
2015-01-22 04:20:16 +01:00
* Link placement and hover behavior.
*/
2014-10-28 22:50:22 +01:00
.anchorjs-link {
2015-01-22 04:20:16 +01:00
float: left;
width: 1em;
height: 1em;
margin-left: -1.2em;
2014-10-28 22:50:22 +01:00
opacity: 0;
2015-01-22 04:20:16 +01:00
color: inherit;
text-align: center;
2014-10-28 22:50:22 +01:00
}
2015-01-22 04:20:16 +01:00
@media (max-width: 480px) {
.anchorjs-link {
display: none;
}
}
2014-10-28 22:50:22 +01:00
*:hover > .anchorjs-link,
.anchorjs-link:focus {
2015-01-22 04:20:16 +01:00
opacity: .75;
2014-10-28 22:50:22 +01:00
transition: color .16s linear;
}
2015-01-22 04:20:16 +01:00
*:hover > .anchorjs-link:hover {
opacity: 1;
text-decoration: none;
}
2014-10-28 22:50:22 +01:00
.anchorjs-icon {
2015-01-22 04:20:16 +01:00
font-size: 60%;
vertical-align: .2em;
2014-10-28 22:50:22 +01:00
}
.anchorjs-icon:before {
2015-01-22 04:20:16 +01:00
content: "\e600";
2014-10-28 22:50:22 +01:00
}