Move typography.scss
This commit is contained in:
parent
92ba0b6374
commit
a6d1556502
4 changed files with 29 additions and 28 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
@import 'typeahead';
|
@import 'typeahead';
|
||||||
|
|
||||||
/* font overrides */
|
/* font overrides */
|
||||||
@import 'new_styles/typography';
|
@import 'typography';
|
||||||
|
|
||||||
/* login */
|
/* login */
|
||||||
@import 'new_styles/login';
|
@import 'new_styles/login';
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
@import "mobile/stream_element";
|
@import "mobile/stream_element";
|
||||||
@import "mobile/comments";
|
@import "mobile/comments";
|
||||||
|
|
||||||
@import "new_styles/typography";
|
@import 'typography';
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #2489ce;
|
color: #2489ce;
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
/* diaspora custom icons font */
|
|
||||||
@font-face {
|
|
||||||
font-family: "diaspora-custom";
|
|
||||||
src: image-url("fonts/diaspora-custom.ttf");
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
[class^="diaspora-custom-"]:before,
|
|
||||||
[class*=" diaspora-custom-"]:before {
|
|
||||||
font-family: "diaspora-custom" !important;
|
|
||||||
font-style: normal !important;
|
|
||||||
font-weight: normal !important;
|
|
||||||
font-variant: normal !important;
|
|
||||||
text-transform: none !important;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.diaspora-custom-compose:before {
|
|
||||||
content: "a";
|
|
||||||
}
|
|
||||||
.diaspora-custom-mail:before {
|
|
||||||
content: "b";
|
|
||||||
}
|
|
||||||
27
app/assets/stylesheets/typography.scss
Normal file
27
app/assets/stylesheets/typography.scss
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
// diaspora custom icons font
|
||||||
|
@font-face {
|
||||||
|
font-family: 'diaspora-custom';
|
||||||
|
src: image-url('fonts/diaspora-custom.ttf');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[class^="diaspora-custom-"]:before,
|
||||||
|
[class*=" diaspora-custom-"]:before {
|
||||||
|
font-family: 'diaspora-custom';
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.diaspora-custom-compose:before {
|
||||||
|
content: 'a';
|
||||||
|
}
|
||||||
|
|
||||||
|
.diaspora-custom-mail:before {
|
||||||
|
content: 'b';
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue