Commit Graph

12 Commits

Author SHA1 Message Date
c83671ad8c General CSS touch ups
Added margin to bottom of business-card and tidied up spacing of h1 and
hr elements.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-07-06 21:41:20 -04:00
072e3d9870 Themed post content (tables, images, figures, code)
Added theming for tables, inline images, and figures. Inline images are
specified using the markdown syntax "![link text](link_href)" somewhere
within a paragraph. When a link is specified with the same syntax given
previously, Pandoc will generate it as a figure. Figures are displayed
across the whole width of the post and inline-images floated to the
right. Some javascript was added to js/default.js to enable the ability
to click to toggle fullscreen on images and figures.

Code blocks were previously themed but the styling needed to be updated
due to how an update to how pandoc generates code blocks.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-07-06 21:41:20 -04:00
8205cb8c87 Tweaked list styles after skeleton upgrade
Numbered bullets didn't stand out and text wasn't formatted correctly
around them (within ol > li's). Also changed the amount of margin
spacing around nested ol/ul elements.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-30 04:46:26 -05:00
110b6a0e64 Fixed issue with ol > li's not being numbered
Issue introduced in b0851fc where in ordered lists, li's were
unnumbered.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-29 16:59:23 -05:00
843c0f3f69 Fixed little issue with tag page headings
For some reason changing from skeleton 1.2 -> 2.04 broke the "tagged"
image displayed before h1's on the tag pages.

See commit 06114cf

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-25 03:23:58 -05:00
06114cfc0d Upgrade skeleton from 1.2 -> 2.04
Skeleton switched from having 16 columns to 12. A few improvements to
skeleton also required a little tweaking of the current css as well as a
cleanup of templates/default.html.

Note: templates/default-nojs.html was not updated though an update will
be trivial. This is only relevant if the nojs section of the site is
revived.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-25 01:44:32 -05:00
485bab9b98 Began theming pagination first/last/next/previous
Added spans that will show "First Page", "Previous Page", "Next Page",
"Last Page" when its unavailable. Eg. the user is on the last page so
there should be no link to click and instead just place holder text.

The css uses flexbox display and thus only works in modern
browsers (see: http://caniuse.com/#feat=flexbox). This may be changed in
the future as to support more browsers (IE9+ specifically).

Images/Icons for "First Page", "Previous Page", "Next Page", "Last Page"
have yet to be set (though would preferably be done in pure CSS).

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-24 18:36:55 -05:00
b0851fc6fa Fixed li bullet indicator
Use the unicode arrow '2192' infront of ol > li bullets. This must have
been missed while porting css from sass to clay.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-23 14:26:20 -05:00
86b05d8f28 Fixed rendering of source code
Commit cd5ae7b652 (the switch to clay)
introduced a error rendering source code in posts.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-19 23:40:37 -05:00
cd5ae7b652 Finished porting css from sass to clay
Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00
7b08488815 Ported sass/_blog.sass to clay and modularized clay css files
* ported sass/_blog.sass to within clay/Header.hs (excluding use of
mixins - see comments in source)
* split up clay css into a few modules (Util, Header and Main)
* still missing any properties that were implemented as sass
  mixins (from sass/default.sass and sass/_blog.sass) as well as porting
  the following sass files (from sass/):
  * _home-page.sass
  * _contact-page.sass
  * _post-page.sass
  * _tag-page.sass
  * _src-highlight.sass

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00
c64af63d82 Switch from sass to clay for css pre-processing
Removed dependency on sass in src/site.hs and replaced it with clay.
This is achieved by adding a second executable to the projects cabal
file (called 'gencss') and a folder (called 'clay) that contains all .hs files for
clay (nested however deeply). Then whenever the site is being built, the
"cabal build gencss" command is run, which if successful is followed by
"cabal run gencss compact" whose output is captured and saved to
/default.css.

The sass folder has been left while the majority of the sass has not
been ported over to clay. Only part of sass/default.sass has been ported.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00