Add possibility to link to mastodon
This commit is contained in:
parent
979377f2df
commit
e1e0bdb4fc
13 changed files with 92 additions and 4 deletions
45
app/assets/stylesheets/mastodon.css.scss
Executable file
45
app/assets/stylesheets/mastodon.css.scss
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
@font-face {
|
||||
font-family: 'mastodon';
|
||||
src: font-url('mastodon.eot');
|
||||
src: local('☺'),
|
||||
font-url('mastodon.otf') format('opentype'),
|
||||
font-url('mastodon.woff') format('woff'),
|
||||
font-url('mastodon.ttf') format('truetype'),
|
||||
font-url('mastodon.svg') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "mastodon";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.icon-mastodon:before { content: '\e800'; } /* '' */
|
||||
.icon-mastodon_alt:before { content: '\e801'; } /* '' */
|
||||
Loading…
Add table
Add a link
Reference in a new issue