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)
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
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.
- 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.
- 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.
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.
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.
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.
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>
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>