Commit graph

54 commits

Author SHA1 Message Date
0abd417abd
Remove margin-top from h2. 2024-12-15 01:45:30 +01:00
cortex3
996838954a adding SEO improvements 2023-12-17 19:28:26 +01:00
Djordje Atlialp
51e697bea7 Update _fonts.scss 2023-11-22 23:55:55 +01:00
Djordje Atlialp
2e90fec04f Include flags and remove cloudfront links (gdpr) 2023-04-03 00:13:36 +02:00
Djordje Atlialp
1e02b5b62e
Merge pull request #399 from undergroundwires/a
Improve styling to allow flexible overrides
2023-04-02 19:34:21 +02:00
undergoundwires
4d433a83f9 Fix squeezed logo text when menu title is long
Logo text gets squeezed into very small area instead of taking place
when a menu label is long. This commit fixes it by ensuring that it is
not wrapped. This covers more cases and provides a good default for
theme users.
2022-11-16 01:33:04 +01:00
undergoundwires
94b6795a52 Improve styling to allow flexible overrides
This commit changes targeted styling of `a` element to a class-based
styling. This way, this is style is reusable on other elements and
another `<a>` element can be used inside a `post-item`.

Otherwise, if someone would need to use `<a>` element in a post item,
then he would get all other styles (such as `display:flex`) on every
`<a>` which is unexpected.

This commit ensures that the style is abstracted from the element type
itself, giving more flexibility when overriding the theme, and increases
maintainability by making the intent more clear.
2022-11-16 01:14:35 +01:00
undergroundwires
c56f03dbca Fix hardcoded color 2021-12-27 22:29:54 +01:00
Djordje Atlialp
b7001319f0
Merge pull request #333 from kdrag0n/update-inter-font
Update Inter font to v3.19
2021-10-15 23:15:03 +02:00
恋夢
27c2783583
Update _single.scss 2021-10-06 16:50:21 +02:00
Danny Lin
d3891ed760 fonts: Update Inter font to v3.19
The Inter font has evolved significantly since the Inter UI days, and
has been renamed to merely "Inter". Update the font and family name to
get the latest bug fixes and improvements.

Fonts downloaded from https://github.com/rsms/inter/releases/tag/v3.19.
2021-09-23 21:26:09 -07:00
Djordje Atlialp
04e1e08dbf Add global language menu 2021-08-24 23:43:49 +02:00
Alessio Di Mauro
32a07b5109
Fix <pre> HTML tag to follow theme settings
The <pre> tag was set to a fixed background color that on the light
theme happened to be the same color of the text, making it impossible
to read.

This changes the background color to follow the theme setting using
the secondary light/dark color as background.
2021-08-06 16:05:47 +02:00
Abyss
7574f1295c Improved appearance of 404 page 2021-05-16 23:53:18 -04:00
Djordje Atlialp
7bc931ead2
Merge pull request #263 from talbotp/add-audio-for-posts
Added support for blog post audio.
2021-04-29 23:31:03 +02:00
Djordje Atlialp
9cf7e7076e
Merge pull request #266 from jorgeluiscarrillo/jorgeluiscarrillo-fix-footer-padding
Remove unnecessary padding in footer
2021-04-10 00:52:37 +02:00
Djordje Atlialp
d89c90d1b8 Add defaults 2021-04-07 19:18:09 +02:00
Djordje Atlialp
a64d27b8fc Add a theme toggle 2021-04-07 19:10:40 +02:00
jorgeluiscarrillo
a78fa28276
Remove unecessary padding in footer 2021-02-15 17:10:25 -08:00
talbotp
76b1b44665 Added support for blog post audio. 2021-02-06 06:06:02 +00:00
Djordje Atlialp
79d0488087 Add automatic dark/light theme switching based on os 2021-01-14 10:55:00 +01:00
Djordje Atlialp
46effd4614 Update _variables.scss 2021-01-10 23:41:52 +01:00
Djordje Atlialp
f43bf66f28 Improve tables and blockquotes 2021-01-10 22:57:19 +01:00
Djordje Atlialp
833de605e3 Update _main.scss 2021-01-10 20:41:33 +01:00
Djordje Atlialp
2e723e3f05 Improve table 2021-01-10 20:23:28 +01:00
Djordje Atlialp
1220741b2f Update _variables.scss 2021-01-10 19:20:19 +01:00
Djordje Atlialp
ca4c8a3375 Update prism.js 2021-01-10 19:20:16 +01:00
Djordje Atlialp
81f58d3911 Add better colors 2021-01-10 18:29:01 +01:00
Djordje Atlialp
24b4615f73
Merge pull request #197 from ay0o/background
added support for a background image on the homepage
2021-01-10 17:36:37 +01:00
Djordje Atlialp
a07959254b
Merge pull request #237 from AlexanderDavid/tables
Add CSS for tables to make them match the theme
2021-01-10 17:33:14 +01:00
Djordje Atlialp
e3808bce7d Improve description for twitter cards and posts 2021-01-10 16:04:23 +01:00
Alex Day
f066e4badc Add css for tables to make them match the theme 2020-11-11 17:20:27 -05:00
Nicky van Urk
fc3fc3dd1c Fix hamburger icon flicker 2020-09-14 13:06:57 +02:00
Ay0
35d298ae55 added support for a background image on the homepage 2020-08-09 21:24:24 +01:00
Djordje Atlialp
342a59a473
Add default sharing buttons in theme style 2020-07-02 12:40:06 +02:00
Nils Sandmann
aba0ed25cc
Added option to add image (e.g. portrait) on front page 2020-05-13 22:52:44 +02:00
Djordje Atlialp
460fb414b2 Fix lines within code blocks
Fix https://github.com/rhazdon/hugo-theme-hello-friend-ng/issues/106
2020-04-16 09:16:17 +02:00
Djordje Atlialp
c8169caec4 Update prism.js (1.20.0) 2020-04-16 09:15:47 +02:00
Djordje Atlialp
0877768267 Fix content margin 2020-03-05 15:38:52 +01:00
Djordje Atlialp
a5f406ffa4 Add figure css classes 2020-03-05 15:12:00 +01:00
Djordje Atlialp
827b107dd4 Use • instead of border for footer 2020-03-05 13:24:35 +01:00
Djordje Atlialp
b90c66b4e2
Merge pull request #51 from rinon/fix_container_flex_ie
Set container flex-basis to auto
2019-10-17 10:43:25 +02:00
Stephen Crane
bcf6253acc Set container flex-basis to auto
Without flex-basis: auto, IE overlays the footer on top of long pages of text,
as its position seems to be computed relative to the initial viewport.
2019-08-15 16:11:26 -07:00
Arnaldo Gabriel
19fc94cd8f Fixed accidental text selection 2019-08-12 21:26:19 -04:00
Christian Rebischke
7cedc03d94
added additional font-display configuration
unfortunately wasn't my last patch enough.
So here are all missing font-display configurations

Signed-off-by: Christian Rebischke <chris@nullday.de>
2019-07-16 19:10:13 +02:00
Djordje Atlialp
c8879dd0ac
Merge pull request #43 from shibumi/shibumi/enable-font-display-auto
Added font-display: auto to _fonts.scss
2019-07-16 08:21:33 +02:00
Christian Rebischke
588f70e8ba
Added font-display: auto to _fonts.scss
font-display on `auto` makes sure that the text is always
visible for the user. It's a suggestion by Googles PageSpeed Insights
to activate this feature:

https://developers.google.com/web/updates/2016/02/font-display?utm_source=lighthouse&utm_medium=unknown

Signed-off-by: Christian Rebischke <chris@nullday.de>
2019-07-15 23:41:46 +02:00
Hervy Qurrotul Ainur
24059c8cd6 Add pre scrollbar custom like hermit 2019-06-30 23:53:17 +07:00
André Almeida
d92675d678
sass: make logo font monospaced
Since the logo text wants to have the look and feel of a terminal, make
the font monospaced.

The monospace word is used twice because of this hack:
https://stackoverflow.com/questions/38781089/font-family-monospace-monospace

Signed-off-by: André Almeida <andrealmeid@riseup.net>
2019-05-23 00:01:27 -03:00
André Almeida
f93303553d
sass: fix h1 position
Signed-off-by: André Almeida <andrealmeid@riseup.net>
2019-05-22 20:29:32 -03:00