Sinisterly
Theme Improvements/New Theme - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: General (https://sinister.ly/Forum-General)
+--- Forum: Announcements (https://sinister.ly/Forum-Announcements)
+---- Forum: Suggestions (https://sinister.ly/Forum-Suggestions)
+----- Forum: Old Suggestions (https://sinister.ly/Forum-Old-Suggestions)
+----- Thread: Theme Improvements/New Theme (/Thread-Theme-Improvements-New-Theme)

Pages: 1 2 3


RE: Theme Improvements/New Theme - Nyx - 05-22-2016

(05-21-2016, 03:25 AM)Oni Wrote: Don't be so stern, I keep thinking about the icebucket video. Tongue




RE: Theme Improvements/New Theme - Adorapuff - 05-22-2016

(05-22-2016, 08:08 PM)Tarew Wrote:

Your welcome!

OT: Hopefully this new theme will be really unique..


RE: Theme Improvements/New Theme - Anarchist - 05-22-2016

(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 - Equinox - 05-22-2016

(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).


RE: Theme Improvements/New Theme - Dean Winchester - 05-23-2016

(05-22-2016, 10:04 PM)Ayumi Wrote: Everytime I watch it @"Stocking" gets even cuter.

And clearer. It was fun though.


RE: Theme Improvements/New Theme - Oni - 05-23-2016

(05-22-2016, 10:04 PM)Ayumi Wrote: Everytime I watch it @"Stocking" gets even cuter.

"#Sinisterlyicebucketchallenge. I really don't want to do this..." - @"Stocking"