RE: Theme Improvements/New Theme 05-22-2016, 08:08 PM
#21
| Theme Improvements/New Theme filter_list | |
RE: Theme Improvements/New Theme 05-22-2016, 08:40 PM
#22
(05-22-2016, 08:08 PM)Tarew Wrote:
Your welcome!
OT: Hopefully this new theme will be really unique..
#MakeSinisterlySexyAgain
RE: Theme Improvements/New Theme 05-22-2016, 09:20 PM
#23
(05-22-2016, 07:58 PM)Stocking Wrote: That's not quite how Stylish works... Stylish injects a stylesheet with your styles into a page when the onload event is triggered. As such, the page can't access your custom fonts. You need to host the font else where, and write a font face rule in your CSS linking back to your font for that to work. Here's a rough example of how you can write the rule:
Code:@font-face { font-family: Name; src: local("Name"), url("./path.type") format("type"); }
Spoiler: Real use example (taken directly from my server's CDN dir)
Code:@font-face { font-family: Bravissima; src: local("Bravissima"), url("./Bravissima.woff") format("woff"); }
Misread.
Tell me the selector you're using, and I can fix the attribute for you. Could possibly need to use !important.
Is it bad that I don't know what a selector is? Here's the page displaying all of the code and options I have set for Sinisterly: http://i.imgur.com/clv5vGd.png
RE: Theme Improvements/New Theme 05-22-2016, 09:25 PM
#24
(05-22-2016, 09:20 PM)Anarchist Wrote: Is it bad that I don't know what a selector is? Here's the page displaying all of the code and options I have set for Sinisterly: http://i.imgur.com/clv5vGd.png
The selector is what identifies the element in question. For your CSS specifically, it's ".post_body".
The reason this doesn't work is because Sinisterly doesn't have a post_body class, anyways, and if it is mentioned in the CSS, it's not used in any templates. Here, use this.
Code:
table.tborder > tbody > tr:nth-child(2) > td:nth-child(2) > table:not(.tborder) > tbody > tr > td {font-family:Franklin Gothic;}That changes the font specifically for posts (or any other element matching that selector rather, but it should just be posts).
![[Image: BXqGARG.png]](https://i.imgur.com/BXqGARG.png)
RE: Theme Improvements/New Theme 05-23-2016, 04:32 AM
#25
(05-22-2016, 10:04 PM)Ayumi Wrote: Everytime I watch it @"Stocking" gets even cuter.
And clearer. It was fun though.
![[Image: JchOGM.png]](http://imageshack.com/a/img923/2406/JchOGM.png)
Users browsing this thread: 1 Guest(s)



















![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)



















![[Image: 7ajmN5P.jpg]](https://i.imgur.com/7ajmN5P.jpg)