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
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
Vinícius dos Santos Oliveira
1d8e1935de
Add style enhancements for AsciiDoc ( #67 )
2018-07-25 17:09:45 -03:00
Luiz de Prá
20ab4aaa70
Update logos and screenshots
2018-07-25 16:39:12 -03:00
rdhox
f597d91e55
Mobile menu ( #63 )
...
* mobile menu functional
* mobile menu beta
* edits mobile-menu: home link out, rtl ok, menu pop over
* mobile menu - bugs correction
* add horizontal separator
* corrections done + add configuration of centered or rtl/ltr mobile menu
* edit config of example
* separator padding full
2018-07-24 20:26:48 -03:00
rdhox
c7cae007a6
Add avatar option and footer text option ( #41 )
...
* Add avatar option and footer text option
* add responsive avatar for narrow screen
* improvement of code
* conflicts solved
2018-07-05 10:06:03 -03:00
Chip Senkbeil
9fdd4f2f4a
Updated style to transform name to ~ on smaller screens ( #45 )
...
* Updated style to transform name to ~ on smaller screens
* Added Chip Senkbeil to contributors list
2018-07-03 17:14:04 -03:00
rdhox
57ff857391
remove the leading indent of code element ( #42 )
2018-07-03 14:04:26 -03:00
Khosrow Moossavi
fe847fb152
RTL support ( #29 )
2018-06-18 14:55:42 -03:00
Luiz F. A. de Prá
141f3288b2
Fix logos location
2018-05-27 21:43:04 -03:00
tobaloidee
ccf50e5893
New Logo ( #26 )
...
* New Logo
SVG and PNG files included
* Updated with new Logo
* Delete HUGO-CODER logotype B.svg
* Delete HUGO CODER FAVICON-01.png
* Delete HUGO-CODER logotype B.png
* Delete HUGO-CODER logotype A.svg
* Delete HUGO-CODER logotype A.png
* Delete HUGO-CODER logomark.png
* Delete HUGO CODER FAVICON.svg
* Create new logo
* Delete new logo
* Create new logo
* logo files
png & svg
* Delete hugo-coder-logotype a.png
* Delete hugo-coder-logotype a.svg
* Delete hugo-coder-logotype b.png
* Delete hugo-coder-logotype b.svg
* Add files via upload
* Delete new logo
* Delete hugo-coder-favicon.png
* Delete hugo-coder-favicon.svg
* Delete hugo-coder-logomark.png
* Delete hugo-coder-logotype-a.png
* Delete hugo-coder-logotype-a.svg
* Delete hugo-coder-logotype-b.png
* Delete hugo-coder-logotype-b.svg
* Create logo
* Add files via upload
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2018-05-27 15:49:12 -03:00
Vlad Ionescu
a83b909eea
Change link styles when in a post ( #15 )
...
The difference between bolded text and links/ anchors was almost none which lead to confusion and having to hover to see which words are links and which ones are bold.
This commit implements best practices for accessibility by having links in posts( and only in posts) be underlined.
2018-05-01 19:55:12 -03:00
Vlad Ionescu
0aab556131
Tables ( #13 )
...
* Add styling for tables
By default tables have no lines and no separation between cells which can lead to confusion.
2018-05-01 15:33:59 -03:00
Luiz de Prá
d3e619ecf9
Add IMG max-width
2018-03-23 16:48:43 -03:00
Ralf Junghanns
941c9a741f
Update style.less ( #4 )
...
* Update style.less
In chrome and safari the main-page content is not shown in the center of the page.
Adding a
display:flex
to the body-styles in the css-file fixes this problem.
* Update style.less
2018-03-23 10:48:05 -03:00
Ralf Junghanns
bca974bd07
Update styles.min.css ( #2 )
...
In chrome and safari the main-page content is not shown in the center of the page.
Adding a
display:flex
to the body fixes this problem.
2018-03-23 10:47:43 -03:00
Luiz F. A. de Prá
4db982bb01
Initial files
2018-02-28 22:38:59 -03:00