Commit Graph

21 Commits

Author SHA1 Message Date
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
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
3adf2fcde4 Organize scripts under subdirectories 2021-01-03 11:38:55 +01:00
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
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
ae728ffd9e Made navbar responsive & policy popup faster 2020-11-05 21:19:43 +01:00
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
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
3360f14d83 Change line endings from CRLF to LF 2020-10-30 00:19:49 +01:00
3bd2fe5627 End CSS refactoring and organization
CSS refactoring is now complete, and all styles are correctly
organized in main "screen.css" file, with a table of contents.

All supplementary CSS files have been removed, with the
exception of "fonts.css", as explained in previous commit.

This CSS implementation may, however, be considered immature,
and thus could be subject to heavy changes again in the near
future.

Many things are also still missing, such as a responsive
design and support for some custom pages (such as /tags/).

Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
2020-08-20 14:05:14 +02:00
67344effd0 Begin CSS refactoring for improved organization
CSS code was divided in multiple files, however this was not practical
for organization since different pages needed different CSS classes one
 another, that were in most of those CSS files.

This commit brings (mostly) everything in one file with a table of
contents on top.

An exception is made for fonts, that are now in a separate "fonts.css"
file, since they contain fundamentally different things.

Classes organization is not yet complete, however a great part was done.
Next commits will finalize this organization and finish moving classes.

Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
2020-08-18 18:20:39 +02:00
da155c7d7e Lots of changes
- add tags.hbs
- add home.hbs, copy of index.hbs
- change <h1> global font size
 make some animations faster
- make post title & footer background black instead of animated gradient
- make "services" link in navbar white instead of animated gradient
- move some css classes to screen.css to allow tags.hbs accessing them
- fix policy popup being covered (issue #001)
- fix policy popup style
- fig kg-bookmark thumbnail image
- add PT Serif font
- add category and posted date under post title
- move big post cards to post-card-big.hbs, so both index, home and tags can access it
- mode post post cards style to new post-card-style.css file
- update page.hbs, now rendering correctly and including content
- add "l" size to package.json, to allow more high-res images
2020-08-18 15:30:35 +02:00
e9c2f9ea41 improve css in general:
- display images as blocks
- style and add <hr> div before comments section

move remark42 from subdomain to subdirectory
2020-08-17 14:44:33 +02:00
061b6dc122 implement some image resizing (todo: implement in whole website)
fix/improve css
change arrow-fade mode
2020-08-16 17:58:46 +02:00
3b4b716667 implement sidebar related-posts style
implement remark42 commenting system
2020-08-16 12:25:09 +02:00
25b37da7ce fix minor stuff, rename some CSS classes 2020-08-13 15:41:45 +02:00
3b02a75451 began structuring index page. posts now show correctly on a 1920x1080 screen. 2020-08-13 14:23:29 +02:00
c64c2985ad this is actually the first commit - theme made on the base CSS/HTML of the already existing (but handmade) mind-overflow.net website. 2020-08-12 00:30:29 +02:00
1b10a2e2a7 Initial commit 2020-08-10 19:03:30 +02:00