twiecki / twiecki.github.io-old

Personal blog raw files.
23 stars 21 forks source link

css doesn't seem to be working correctly #2

Open Eh2406 opened 7 years ago

Eh2406 commented 7 years ago

The page takes the entire width of my screen with almost no formating. image

twiecki commented 7 years ago

Odd, it looks normal on my end. Have you tried clearing your cache etc?

Eh2406 commented 7 years ago

looks like I have hit:

https://support.google.com/chrome/answer/1342714

So it may be related to my using "https everywhere"

twiecki commented 7 years ago

Ah, I can reproduce when I got to https. Let me know if you have any ideas.

twiecki commented 7 years ago

I updated pelican and other packages but didn't seem to solve the problem. @jakevdp, do you have any suggestions?

twiecki commented 7 years ago

Specifically, these are the errors:

Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://twiecki.github.com/theme/css/main.css'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure script 'http://twiecki.github.com/theme/js/modernizr-2.0.js'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure script 'http://twiecki.github.com/theme/js/ender.js'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure script 'http://twiecki.github.com/theme/js/octopress.js'. This content should also be served over HTTPS.
(index):11804 Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic'. This content should also be served over HTTPS.
(index):11806 Mixed Content: The page at 'https://twiecki.github.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic'. This content should also be served over HTTPS.
Eh2406 commented 7 years ago

Those links should probably be '://twiecki.github.io/...' insted. I don't know how to get your static site generator to do the, sorry.

jakevdp commented 7 years ago

Sounds like this change I did a couple years ago: https://github.com/jakevdp/PythonicPerambulations/commit/33a258d05ec1ad48445568094887887da1e413e8

twiecki commented 7 years ago

Thanks @jakevdp. I tried that but it didn't help.