moumao / hexo-theme-Vateral

😘hexo单页面主题:Vateral(a theme for hexo)
130 stars 38 forks source link

Changes to vateral.css seem to have no effect #25

Open joshanderson99 opened 6 years ago

joshanderson99 commented 6 years ago

Modifications to vaterial.css don't seem to have any effect on the loaded localhost page. E.g. changing size and text colour of the back to top button in the css file didn't do anything. In another theme, change effect was immediate. Is there some step in Vateral that I'm missing to see these changes?

joshanderson99 commented 6 years ago

I deleted both vateral css files, including the minified one, and the page still loads on localhost, even after regenerating. Something in the build that's eluding me. Any tips?

joshanderson99 commented 6 years ago

*loads unchanged that is

joshanderson99 commented 6 years ago

Curiously there's a jpeg spec pdf in the theme files (in source/js/spec), and main.min.js is quite large, though unknown as to what its for.

moumao commented 6 years ago

in _config.yml: stylesheets:

joshanderson99 commented 6 years ago

But there's no unminimised versions of those css files. So how to make adjustments to the theme?

  1. Oct 2017 15:22 by notifications@github.com:

in _config.yml: stylesheets: /css/materialize.min.css> /css/main.min.css just use those — You are receiving this because you authored the thread. Reply to this email directly, > view it on GitHub> , or > mute the thread> .

joshanderson99 commented 6 years ago

Unless the theme is not intended for modification, to state the obvious possibly.  Min versions of css could be expanded though I suppose as long as without name mangling.  Presumably that's what you're suggesting.

  1. Oct 2017 15:22 by notifications@github.com:

in _config.yml: stylesheets: /css/materialize.min.css> /css/main.min.css just use those — You are receiving this because you authored the thread. Reply to this email directly, > view it on GitHub> , or > mute the thread> .

joshanderson99 commented 6 years ago

Now it's working, thanks.

joshanderson99 commented 6 years ago

Main.min.js is mangled.  If there's any chance of an unmangled version that would be really nice, subject to sublime generosity of the author.

  1. Oct 2017 15:22 by notifications@github.com:

in _config.yml: stylesheets: /css/materialize.min.css> /css/main.min.css just use those — You are receiving this because you authored the thread. Reply to this email directly, > view it on GitHub> , or > mute the thread> .