Creating all the image paths to a CDN over HTTPS is definitely a bad idea. Each HTTPS request has significant overhead, so you may not want to.
However, it turns out that there is a simple solution for determining absolute cross-domain URLs without a protocol. Just use something like in your css
url: (
, , , , -
<link href="/styles.css" ...
<link href="styles.css" ...
!