From a7888d199b66649f07174ac4dfafe01361f65087 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Tue, 25 Jun 2019 14:46:01 +0800 Subject: [PATCH 01/11] Fix overflow scroll to auto Only show scrollbar when necessary --- _sass/_highlights.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/_highlights.scss b/_sass/_highlights.scss index 8ed7169..98945f3 100644 --- a/_sass/_highlights.scss +++ b/_sass/_highlights.scss @@ -2,7 +2,7 @@ .highlight { background-color: #1e1c3f; padding: 7px 7px 7px 10px; - overflow: scroll; + overflow: auto; font-size: 90%; } From b1ea19681e3580ec98a45b0f471cf85ae1bcfb4c Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Wed, 24 Jul 2019 14:56:50 +0530 Subject: [PATCH 02/11] Update 2019-02-13-introducing-reverie-jekyll-theme.md --- _posts/2019-02-13-introducing-reverie-jekyll-theme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_posts/2019-02-13-introducing-reverie-jekyll-theme.md b/_posts/2019-02-13-introducing-reverie-jekyll-theme.md index ef494db..0f2e948 100644 --- a/_posts/2019-02-13-introducing-reverie-jekyll-theme.md +++ b/_posts/2019-02-13-introducing-reverie-jekyll-theme.md @@ -29,6 +29,10 @@ This is a plug-and-play Jekyll theme which you can use on GitHub Pages without e - RSS Feed - In-built sitemap +
+ +
+ ## Using Reverie on GitHub Pages ### Step 1) Fork Reverie to your User Repository From 8792d5f11715a1b5772694d46c541b5f3fa189b9 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Wed, 24 Jul 2019 17:07:05 +0530 Subject: [PATCH 03/11] Add Analytics --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 93f4a5c..f707d00 100644 --- a/_config.yml +++ b/_config.yml @@ -41,7 +41,7 @@ footer-links: disqus: # Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking -google_analytics: +google_analytics: UA-43339302-4 # Your website URL (e.g. http://amitmerchant1990.github.io or http://www.amitmerchant.com) # Used for Sitemap.xml and your RSS feed From 5ed73bab013f64e6d62716d7afa3d61130da15eb Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 14:17:05 +0530 Subject: [PATCH 04/11] Create 2019-7-27-super-long-article.md --- _posts/2019-7-27-super-long-article.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _posts/2019-7-27-super-long-article.md diff --git a/_posts/2019-7-27-super-long-article.md b/_posts/2019-7-27-super-long-article.md new file mode 100644 index 0000000..d148630 --- /dev/null +++ b/_posts/2019-7-27-super-long-article.md @@ -0,0 +1,11 @@ +--- +layout: post +title: Some articles are just so long they deserve a really long title to see if things will break well +categories: Miscellaneous +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. From 338bba59cf38bf51f163e84d8dec67b737d4c484 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 14:19:28 +0530 Subject: [PATCH 05/11] Create 2019-7-27-this-post-demonstrates-post-content-styles.md --- ...s-post-demonstrates-post-content-styles.md | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 _posts/2019-7-27-this-post-demonstrates-post-content-styles.md diff --git a/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md new file mode 100644 index 0000000..00591b3 --- /dev/null +++ b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md @@ -0,0 +1,103 @@ +--- +layout: post +title: This post demonstrates post content styles +categories: Miscellaneous +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. + +## Some great heading (h2) + +Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. + +Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +## Another great heading (h2) + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. + +### Some great subheading (h3) + +Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. + +Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. + +### Some great subheading (h3) + +Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +> This quote will change your life. It will reveal the secrets of the universe, and all the wonders of humanity. Don't misuse it. + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. + +### Some great subheading (h3) + +Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. + +```html + + + + +

Hello, World!

+ + +``` + + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +#### You might want a sub-subheading (h4) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +#### But it's probably overkill (h4) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +### Oh hai, an unordered list!! + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +- First item, yo +- Second item, dawg +- Third item, what what?! +- Fourth item, fo sheezy my neezy + +### Oh hai, an ordered list!! + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +1. First item, yo +2. Second item, dawg +3. Third item, what what?! +4. Fourth item, fo sheezy my neezy + + + +## Headings are cool! (h2) + +Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. + +### Tables + +Title 1 | Title 2 | Title 3 | Title 4 +--------------------- | --------------------- | --------------------- | --------------------- +lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit + + +Title 1 | Title 2 | Title 3 | Title 4 +--- | --- | --- | --- +lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit +lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur | lorem ipsum dolor sit amet | lorem ipsum dolor sit +lorem ipsum dolor | lorem ipsum | lorem | lorem ipsum +lorem ipsum dolor | lorem ipsum dolor sit | lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur From 091d0b923498df6f9d0a0bd68e2b5423cea9f2c5 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 14:22:03 +0530 Subject: [PATCH 06/11] Update 2019-7-27-this-post-demonstrates-post-content-styles.md --- ...s-post-demonstrates-post-content-styles.md | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md index 00591b3..215c2a4 100644 --- a/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md +++ b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md @@ -87,17 +87,9 @@ Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet b ### Tables -Title 1 | Title 2 | Title 3 | Title 4 ---------------------- | --------------------- | --------------------- | --------------------- -lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit -lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit -lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit -lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit - - -Title 1 | Title 2 | Title 3 | Title 4 ---- | --- | --- | --- -lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit -lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur | lorem ipsum dolor sit amet | lorem ipsum dolor sit -lorem ipsum dolor | lorem ipsum | lorem | lorem ipsum -lorem ipsum dolor | lorem ipsum dolor sit | lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur +|Title 1 | Title 2 | Title 3 | Title 4 | +|--------------------- | --------------------- | --------------------- | ---------------------| +|lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit| +|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit| +|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit| +|lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit| From 5e176ef9a041931e325c0ab739711b773e03e63d Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 14:23:56 +0530 Subject: [PATCH 07/11] Add support for html tables --- style.scss | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/style.scss b/style.scss index 22767b2..3b0afff 100644 --- a/style.scss +++ b/style.scss @@ -86,6 +86,46 @@ p { margin: 15px 0; } +table { + padding: 0; +} + +table tr { + border-top: 1px solid #cccccc; + background-color: white; + margin: 0; + padding: 0; +} + +table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +table tr th { + font-weight: bold; + border: 1px solid #cccccc; + text-align: left; + margin: 0; + padding: 6px 13px; +} + +table tr td { + border: 1px solid #cccccc; + text-align: left; + margin: 0; + padding: 6px 13px; +} + +table tr th :first-child, +table tr td :first-child { + margin-top: 0; +} + +table tr th :last-child, +table tr td :last-child { + margin-bottom: 0; +} + /*.detailed .entry p:first-of-type:first-letter { float: left; margin: 0.13em 0.05em 0 -0.05em; From 3d72926dfd3c7cf76cca8867cf8cfbc8581a90ff Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 14:24:44 +0530 Subject: [PATCH 08/11] Update 2019-7-27-this-post-demonstrates-post-content-styles.md --- _posts/2019-7-27-this-post-demonstrates-post-content-styles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md index 215c2a4..99e68c5 100644 --- a/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md +++ b/_posts/2019-7-27-this-post-demonstrates-post-content-styles.md @@ -4,7 +4,7 @@ title: This post demonstrates post content styles categories: Miscellaneous --- -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. ## Some great heading (h2) From 6d792ca13083849afbea2d4b0542601168f38093 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 17:11:06 +0530 Subject: [PATCH 09/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f4e031..5da4821 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
-Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and [personal touches](https://github.com/amitmerchant1990/amitmerchant1990.github.io) which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). +Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). > [Theme demo](https://www.amitmerchant.com/reverie/introducing-reverie-jekyll-theme/) From b0f28b9db78abeb56931861daa0f3b2d5aae13f4 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 17:11:32 +0530 Subject: [PATCH 10/11] Update 2019-02-13-introducing-reverie-jekyll-theme.md --- _posts/2019-02-13-introducing-reverie-jekyll-theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2019-02-13-introducing-reverie-jekyll-theme.md b/_posts/2019-02-13-introducing-reverie-jekyll-theme.md index 0f2e948..01b0c72 100644 --- a/_posts/2019-02-13-introducing-reverie-jekyll-theme.md +++ b/_posts/2019-02-13-introducing-reverie-jekyll-theme.md @@ -4,7 +4,7 @@ title: Introducing Reverie - A ridiculously elegant Jekyll theme categories: [Miscellaneous, Jekyll] --- -[Reverie](https://github.com/amitmerchant1990/reverie) is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and [personal touches](https://github.com/amitmerchant1990/amitmerchant1990.github.io) which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). +[Reverie](https://github.com/amitmerchant1990/reverie) is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal touches which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). This is a plug-and-play Jekyll theme which you can use on GitHub Pages without even setting up a local environment. From f8c436a59edfeeb622b15bedcb06a5c02fb0ff57 Mon Sep 17 00:00:00 2001 From: Amit Merchant Date: Sat, 27 Jul 2019 17:12:13 +0530 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5da4821..765216f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
-Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). +Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal touches which I've implemented to suit my needs for [my blog](https://www.amitmerchant.com). > [Theme demo](https://www.amitmerchant.com/reverie/introducing-reverie-jekyll-theme/)