1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-18 02:07:05 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
d68a3d4bcb
source/scss/bootstrap.scss: Enable forms
So that the user can use form styles via HTML, like on a contact
form or something.
2017-04-16 17:55:52 +03:00
Caleb Cushing
fac07eaec0 add a little padding around a code block (#63)
if you have formatted code in a post it's a little ugly because it goes from a white background to a  grey with no space around the characters so they're right at the edge, this fixes that.
2017-04-08 19:24:25 +03:00
132d659955
source/scss/main.scss: Add style to blockquote tags
Bootstrap's default only styles blockquote tags that also have the
class "blockquote". As Hugo's Markdown syntax for blockquotes only
produces bare blockquote tags, we should apply the same style to
those as well, as this is most likely what users expect.
2017-03-16 15:38:59 +02:00
a6a384cc82 Update margin around sharing icons for Bootstrap v4 Alpha 6
As of Alpha 6 there is no longer .nav-inline, so we need to add our
own class and apply our own margin.
2017-01-09 16:54:20 +02:00
7d85c9a740 source/scss/style.scss: Import local overrides last
It seems this is actually the preferred way to do it, but something
in the Bootstrap v4 Alpha 6 release—perhaps the upgraded version of
Normalize.css with that release—caused our styles to be overridden
and now I realize that it should have never been working before!
2017-01-09 16:54:20 +02:00
e9d05dd97d source/scss/style.scss: Remove unused variables
Flexbox is enabled in Bootstrap v4 Aplha 6 by default and has no
fallback so these variables are unnecessary.
2017-01-09 16:54:20 +02:00
859ce04e0c source/scss/bootstrap.scss: Update against v4 alpha 6
See: node_modules/bootstrap/scss/bootstrap.scss
2017-01-09 16:54:20 +02:00
c85e8278b7
source/scss/style.scss: No file extensions in @import
sass-lint says you shouldn't use file extensions in @import.
2017-01-08 15:54:34 +02:00
528f75fb0f
source/scss/font-awesome.scss: Add fa-rss-square 2017-01-07 21:46:59 +02:00
8236d92ac8
source/scss/font-awesome.scss: Add fa-rss 2017-01-07 21:39:13 +02:00
25e5232a98
source/scss/main.scss: Add top margin to Disqus
When both sharing and Disqus blocks are present, the Disqus block
needs a top margin. Otherwise, if sharing is hidden, then the hr
following the blog post's article tag already provides enough of
a bottom margin.
2017-01-07 11:28:25 +02:00
4d79004570
source/scss: Only import parts of font-awesome that we actually need
We can save ~30KiB in our stylesheet by only importing font-awesome
features and icons that we are actually using.
2016-11-16 12:00:21 +02:00
97694ecab9
source/scss/bootstrap.scss: Update from distribution
Only changes a comment, but it's the principle that counts (one day
they might change something important so it's good to check).
2016-10-19 20:24:24 -07:00
071139a371
source/scss/bootstrap.scss: Enable buttons
I need the button classes for pagination.
2016-10-05 17:20:25 +03:00
435ba0f706
Build a custom Bootstrap
We don't use all the Bootstrap stuff, so let's just build a custom
one with the components we need. This saves about 50k.
2016-09-21 08:29:27 +03:00
4801700449
source/scss/style.scss: Import font-awesome to style.scss 2016-09-15 16:32:26 +03:00
2b25241f3c
style: Don't highlight links when they are in headers
This uses some SASS magic instead of the previous single rule
because I need it for both the blog title as well as each post's
title link. Yay, SASS?!
2016-09-14 15:14:13 +03:00
e2e01a38f0
Don't style clickable header text like other links 2016-09-14 12:25:23 +03:00
5bb47cc220
source/scss/main.scss: Add styling for images in blog posts
Taken from Hugo vienna theme: https://github.com/keichi/vienna
2016-09-07 14:02:18 +03:00
2bb1d6ecc0
First commit with initial theme
Some file are empty (created by `hugo new theme`), but I've left
them for reference later.
2016-08-28 16:22:32 +03:00