Forum Settings
Forums
New
Aug 28, 2015 3:47 AM
#1
Offline
Sep 2013
11
Rather than use the css dump box, I figured I would use
@import(https://raw.githubusercontent.com/jacksonargo/mal-css/master/manga.css)
to just pull the css from gituhb.

But when I try to load it, I get:

The stylesheet https://raw.githubusercontent.com/jacksonargo/mal-css/master/manga.css was not loaded because its MIME type, "text/plain", is not "text/css".

Of course I would just assume that the server won't allow external css, except that in some of the guides, people are importing css from their dropbox or google drive.

So I set the content type at the top of my css file, but curling it from github still said it was text/htrml.

I added it to dropbox, and when I curl the dropbox url, it shows the right content-type header text/css, but if I load in the css for the list page, it still fails with the same error.

How are you guys getting your css scripts from dropbox and google drive to actually load?
Aug 29, 2015 4:10 PM
#2
Offline
Sep 2013
11
NVM I got it working with now.
Jan 11, 2016 2:59 PM
#3

Offline
Jan 2011
390
i am interested in how you fixed this. ^^
Jan 11, 2016 4:08 PM
#4
Offline
Jul 2018
564612
Personally, I don't see a reason for not using Google Drive for hosting your .css. It offers many apps that let you edit and preview your website, one of them even had some kind of pop-up tutorials, quite useful for the newbies :P.

More topics from this board

» English essay

Jeycopp - Feb 3, 2015

12 by JeanParcks »»
58 minutes ago

» Share Your YouTube Channel/Videos! ( 1 2 3 4 5 ... Last Page )

nin-tendo - Dec 16, 2022

362 by nin-tendo »»
Yesterday, 11:56 AM

» Protect or punish?

DollzchanAi - Apr 18

4 by DollzchanAi »»
Yesterday, 6:15 AM

» BL reference in Tomodachi Life

Kinspie13 - Apr 24

4 by Kinspie13 »»
Apr 24, 9:41 PM

» How to Export/Backup Your Anime List Automatically! (TamperMonkey Script)

hacker09 - May 18, 2020

3 by Vapor_AU »»
Apr 24, 8:41 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login