Nico Alt
bd8f610936
Host stuff locally ( #194 )
...
This commit includes the following things to host them locally:
* fonts (formerly from Google Fonts)
* fontawesome
* normalize
For a reasoning on why this is good to do, see below.
Everything is now included in Sass code. This means not only we no more
have requests to third-party sites, but also reduced the amount of
requests necessary to access the page by three.
I mainly downloaded all necessary stuff and put it at appropriate
places. I also ran `make release` to regenerate all CSS files.
Sites that helped me doing this:
* https://switching.social/ethical-alternatives-to-google-fonts/
* https://google-webfonts-helper.herokuapp.com/fonts
* https://google-webfonts-helper.herokuapp.com/fonts/lato?subsets=latin-ext,latin
* https://google-webfonts-helper.herokuapp.com/fonts/merriweather?subsets=vietnamese,cyrillic-ext,latin-ext,latin,cyrillic
* https://google-webfonts-helper.herokuapp.com/fonts/source-code-pro?subsets=latin-ext,latin
* https://fontawesome.com/how-to-use/on-the-web/using-with/sass
* https://github.com/JohnAlbin/normalize-scss
---------------
Currently, this theme opens many connections to third-party sites.
I hope I don't have to explain all too much why not exposing all visitors to Google etc. is a good thing, but I'll do list some advantages:
* Pretty strong CSP: `content-security-policy: default-src https://nico.dorfbrunnen.eu:443 `
* Increased autonomy of webpage; if Google or other CDNs goes down, website still looks good
* When building locally without Internet, everything works fine
* Google is all about surveillance capitalism, they want to collect as much data about people as possible
* With this change, we stop helping them on all websites using this theme
* Google (and the other sites might too) is censored in quite some countries; in all of them, this theme would look not as beautiful as it could
Regarding licensing issues:
> first I need to understand if there is any license problem if we distribute these fonts with the theme.
Sure! Here's what I've found out:
According to [the CSS file we pull from Google](https://fonts.googleapis.com/css?family=Lato:400,700%7CMerriweather:300,700%7CSource+Code+Pro:400,700 ) we're using three fonts: [Lato](https://fonts.google.com/specimen/Lato ), [Merriweather](https://fonts.google.com/specimen/Merriweather ) and [Source Code Pro](https://fonts.google.com/specimen/Source+Code+Pro ). On the bottom right of those pages it says for all fonts that they are licensed under the [Open Font License ](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL_web ). In its preamble, it says:
> The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works.
So I think we're good to go and can include those fonts with the theme.
2019-09-01 20:09:19 -03:00
Joseph Ting
27e83b1e5a
Add see also section to posts footer ( #152 )
...
* Fix series list page title
* Add see also section to posts footer
2019-03-11 08:21:14 -03:00
Luiz F. A. de Prá
54f0975aa9
Fix pagination style ( #145 )
2019-02-10 20:56:07 -02:00
Luiz F. A. de Prá
ced910a886
Fix hidden nav button on inverted ( #140 )
2019-01-16 15:54:29 -02:00
Gabriel Monteiro Nepomuceno
4ff77035f6
Easy customize ( #138 )
...
* Making easy to customize listing
* adding styles to listing
* removing unintended changes
* correcting declaration
* including files for release
* changing url to be relative so it can work on localhost
* Including suggestions
2019-01-16 13:16:24 -02:00
Piotr Januszewski
12b4246e29
Add simple figure style for content class ( #130 )
...
* Add figure style
* Add figure to exampleSite
* Apply suggested changes from code-review
2019-01-07 13:30:09 -02:00
Joseph Ting
fc576925eb
Fix homepage main content section vertical align ( #118 )
2019-01-04 09:09:52 -02:00
Thomas Nys
9f034349f6
Fix code indent ( #123 )
...
* Fix code indent
* Add myself to the contributors
* Regenerate css
2018-11-26 13:56:31 -02:00
Luiz de Prá
c0708c491e
Revert flex on body
2018-11-25 20:40:34 -02:00
Joseph Ting
bab77656bb
Update deprecated device-width media queries ( #120 )
2018-11-21 09:37:10 -02:00
Abner Campanha
720f7518a6
Add inverted variables option ( #110 )
...
* add inverted variables option
* create inverted styles
* add missed styles
* add myself as contributor
2018-11-12 09:42:52 -02:00
Joseph Ting
8d3c1a2f8e
Remove flexbox on body ( #114 )
2018-11-09 11:03:00 -02:00
Khosrow Moossavi
fd3ec89897
Taxonomy initial commit, tags and categories ( #90 )
...
* Taxonomy initial commit, tags and categories
* WIP: Show in footer for comparison
* Fix post meta
2018-10-27 09:43:26 -03:00
Philipp Rintz
764b9ffef3
Fixed reference to old variable name ( #103 )
...
Using RTL would fail due to _colors no longer being available. Changed to import _variables instead.
2018-10-16 10:43:35 -03:00
Khosrow Moossavi
11c0108323
Enhance post header ( #100 )
...
- show calendar icon for 'posted date'
- show 'reading time'
2018-10-14 22:24:13 -03:00
Khosrow Moossavi
4426c889fd
Post refactor to hold everything its own ( #88 )
2018-10-03 15:06:20 -03:00
Luiz de Prá
a6bf2f0150
Fix social icons
2018-09-17 11:48:27 -03:00
Luiz F. A. de Prá
94656f4c79
Style refactor ( #77 )
...
* Change fonts
* Fix colors and sizes
* Fix link colors
* Fix headings and links
* Fix icon size
2018-09-14 09:02:58 -03:00
Khosrow Moossavi
6c80d2035a
Fix navigation ( #73 )
...
* Fix hamburger menu for RTL
* Better css rules hierarchy for navigation
2018-09-05 17:42:59 -03:00
Khosrow Moossavi
42d75aefe4
Enable RTL layout by providing 'rtl = true' in the config ( #72 )
2018-09-01 09:18:10 -03:00
Luiz de Prá
333e6358c8
Add social icons
2018-08-22 08:54:56 -03:00
Luiz F. A. de Prá
934db8e964
Add SCSS via Asset Pipeline ( #65 )
...
* Remove old files
* Add SCSS pipeline
* Add generated files
* Fix navigation HTML
* Fix media queries
* Remove RTL
* Fix styling for big screens
* Remove separator configs
* Fix menu dropdown
* Add working mobile menu
* Fix menu item heights
* Update README
2018-08-21 16:26:15 -03:00