Commit Graph

65 Commits

Author SHA1 Message Date
Bea efbc59f5d0 Improve feature image aspect ratio on small screens 2021-03-17 17:01:38 +01:00
Bea e8eaecd4e9 Bump version to 0.1.1 2021-03-17 16:55:04 +01:00
Bea fbf125bf20 Fix wrong aspect ratio in pages
Pages have no columns, so we had to account for that.
2021-03-17 16:54:14 +01:00
Bea 63be0bf650 Make feature image have consistent 21:9 aspect ratio 2021-03-17 16:38:53 +01:00
Bea 1a5be0c2c6 Make feature image have a max height when showed in a post 2021-03-17 16:06:16 +01:00
Bea 9418dce69f Update theme for Ghost v4.0 2021-03-17 08:30:30 +01:00
Bea 34c911357b Make year in footer update automatically 2021-03-16 20:53:35 +01:00
Bea 9dfccddf8c Add padding at end of posts and pages
It looks better.
2021-03-16 20:41:36 +01:00
Bea 5959da4dec Make policy popup less annoying 2021-03-16 20:39:13 +01:00
Bea 09e0c3d016 Make post info text responsive 2021-03-16 18:39:18 +01:00
Bea 50c7afc806 Fix post info at bottom 2021-03-16 18:36:06 +01:00
Bea 16beaedc6f Fix policy opt-out issue 2021-03-16 17:50:12 +01:00
Lorenzo Dellacà c3bc836a99 Update 'assets/js/scripts/policy-popup.js' 2021-03-16 17:44:28 +01:00
Lorenzo Dellacà 29ca10e4dd Add function to remove consent 2021-03-16 17:41:44 +01:00
Lorenzo Dellacà 6af0e8208c Add Matomo method for opt-in 2021-03-16 17:40:31 +01:00
Lorenzo Dellacà 5fc071a534 Add cookie consent fix 2021-03-16 17:39:58 +01:00
Bea d976eaed0c Make <a> tag less bright
It was completely white before, and it had too much contrast in comparison to the rest of the text. Now, it's rgb(220, 220, 220).
2021-01-03 15:59:55 +01:00
Bea 2858f82b3a Start implementing post info at bottom
Now, all posts show info about: author, updated date, tags.
However, styling is needed and also the tags part has to be fixed (we need to add a comma after every tag's name, excluding the last one)
2021-01-03 15:56:27 +01:00
Bea 208ea6aa52 Make Remark42 load asynchronously 2021-01-03 12:13:21 +01:00
Bea 7dc83d3f75 Add PrismJS languages compatibility
Now, text highlighting supports HTML, CSS, C, JS, Bash, Batch, C++, C#, .gitignore, Java, JSON and YAML.
2021-01-03 11:49:54 +01:00
Bea 3adf2fcde4 Organize scripts under subdirectories 2021-01-03 11:38:55 +01:00
Bea 1890876929 Implement code highlighting via PrismJS
PrismJS has been locally included with a custom theme, to allow auto-highlighting of code blocks.
2021-01-03 11:25:51 +01:00
Bea 6fbeeb7303 Fix default.hbs indentation 2020-11-10 21:58:58 +01:00
Bea 40396bb835 Fix some fonts being too small 2020-11-10 21:58:41 +01:00
Bea e4bb647586 Make /tags/ page responsive, fix some paddings
In post cards, the "tag and date" text was slightly moved to the right and looked ugly. This was fixed.
The /tags/ page had a horizontal padding of 0 which made it look ugly. Solved.
The /tags/ page now scales based on screen size and is responsive. Fixes #5
2020-11-10 21:27:06 +01:00
Bea 3532021222 Hide Remark42's own footer 2020-11-10 19:28:59 +01:00
Bea 014a1ccf38 Make <a> underlined and animated 2020-11-09 23:28:32 +01:00
Bea deabfa8d93 Fix KG Bookmark sizing and proportions
This commit fixes #4.
The kg bookmark sometimes had weird proportions, depending on the original image size and how long the text to show is. Also, the title was not clamped to 2 lines max.
2020-11-09 19:35:10 +01:00
Bea 2aaf12a905 Make code block text a little darker 2020-11-09 12:25:31 +01:00
Bea a962887133 Fix mobile title and code block
- On posts, the line-height was too high and mobile devices were overflowing the title on top. Now it's smaller, so a longer title should not be a problem.
- The horizontal navbar on code blocks was always present. Now, it only shows when necessary.
2020-11-09 12:13:02 +01:00
Bea e2f0f4bc81 Install & configure gulp 2020-11-06 17:49:14 +01:00
Bea e899839211 Implement more image resizing, fix responsiveness
- Two new image sizes have been added: xl and xxl.
- Image resizing has been implemented in featured images.
- Some elements were not responsive, such as the link preview and code block.
2020-11-06 17:35:02 +01:00
Bea dfb76da486 Fix footer and homepage responsive fonts
Fonts had weird sizes in the homepage, and the footer was at a fixed 25px.
Now, they both scale correctly.
2020-11-06 01:34:32 +01:00
Bea d8b54a00d9 Proceed implementing responsive theme
The responsive theme is almost ready; most pages and elements now render correctly on the vast majority of screens. There are some known issues which are in the works.

Also, a <h4> "Paragraphs" title has been aded on the left navbar.
2020-11-06 00:28:34 +01:00
Bea ae728ffd9e Made navbar responsive & policy popup faster 2020-11-05 21:19:43 +01:00
Bea fe27137016 Start responsive design implementation
This commit brings a big update to the screen.css file, making the homepage + policy popup almost 100% responsive.
Another added feature is in the left sidebar: the currently viewed paragraph's title is now highlighted.
2020-11-05 20:44:02 +01:00
Bea 83302f7cc3 Added script to make list of headers
Added a new script with the purpose of getting all headers from a post's content and creating links for them in the left sidebar.
Some div classes have been modified, and a wrapper div has been added to posts because of this new script.
Some minor CSS changes have been made.
2020-11-05 16:14:13 +01:00
Bea 84f9eadd3b Bump version 2020-11-05 00:06:03 +01:00
Bea 13243eed69 Fix post columns applied to page content
- this commit fixes #3.
2020-11-04 23:52:05 +01:00
Bea 58f26b715b Fix indentation 2020-11-04 23:47:36 +01:00
Bea 67ba61d93b Fix missing handlebars checks 2020-11-04 23:43:30 +01:00
Bea f08c70ca67 Move vanta-js to separate partial to avoid duplication 2020-11-04 23:38:08 +01:00
Bea a39c83793e Fix comments and indentation 2020-11-04 23:35:44 +01:00
Bea eefd3de659 Fix minor issues
- fixed indentation
- moved navbars and policy popup to "partials"
- fixed broken image if website icon wasn't set
2020-11-04 23:29:55 +01:00
Bea 3cf0c72092 Update .editorconfig 2020-10-30 21:52:05 +01:00
Bea dec41159a8 Merge remote-tracking branch 'github/master'
# Conflicts:
#	assets/css/screen.css
#	custom-tags.hbs
#	tag.hbs
2020-10-30 21:37:54 +01:00
Bea 3360f14d83 Change line endings from CRLF to LF 2020-10-30 00:19:49 +01:00
Bea 964a474355 Update text font
- Switched from Roboto to Open Sans
- Removed unused fonts
- Reduced text size from 19px to 18px
- upped version (0.0.5 to 0.0.6)
2020-10-30 00:16:35 +01:00
Bea 69c1bf00d2 Finish creating /tags/ page
The tags page was finally completed, and shows every tag
with its own image.

A "see all tags" link was added in the header of every
(single) tag's page, in case of a missing description.

Also, the "secondary navigation" div now has a relative
position and a higher z-index, so that the tags page's
header does not cast a shadow on it.

Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
2020-08-20 15:47:29 +02:00
Bea e166717e21 Remove useless <link> stylesheet tag for removed CSS file
Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
2020-08-20 14:29:08 +02:00