commit 4582790774ca9e27ef4610f920bafa35be2681eb Author: Sai Kiran Sripada Date: Fri Jan 24 16:50:29 2020 +0530 Intial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..259ce50 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +_site +.sass-cache +.DS_Store +.jekyll-metadata + +# Ignore the config file that's used for gh-pages. +_config.gh-pages.yml + +Gemfile.lock diff --git a/404.md b/404.md new file mode 100644 index 0000000..ac82462 --- /dev/null +++ b/404.md @@ -0,0 +1,13 @@ +--- +layout: center +permalink: /404.html +--- + +# 404 + +Sorry, we can't seem to find this page. + +
+ Home + Contact +
diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..6538df6 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.saikiransripada.com diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..6c0a588 --- /dev/null +++ b/Gemfile @@ -0,0 +1,6 @@ +source 'https://rubygems.org' + +# A simple Ruby Gem to bootstrap dependencies for setting up and +# maintaining a local Jekyll environment in sync with GitHub Pages +# https://github.com/github/pages-gem +gem 'github-pages' diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..95c8ccf --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,25 @@ +Copyright (c) 2014-2019 John Otander +Copyright (c) 2014 Daniel Eden for animate.css +Copyright (c) 2014 Brent Jackson for Basscss +Copyright (c) 2013 Twitter, Inc for CSS copied from Bootstrap + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b63c80 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# saikiransripada.github.io [![Build Status](https://travis-ci.org/saikiransripada/saikiransripada.github.io.svg?branch=dev)](https://travis-ci.org/saikiransripada/saikiransripada.github.io) + +[saikiransripada.com](https://www.saikiransripada.com) - My personal blog + +## Thanks to the following + +* [BASSCSS](http://basscss.com) +* [Jekyll](http://jekyllrb.com) +* [Refills](http://refills.bourbon.io/) +* [Solarized](http://ethanschoonover.com/solarized) +* [Animate.css](http://daneden.github.io/animate.css/) diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..90c1a41 --- /dev/null +++ b/Rakefile @@ -0,0 +1,111 @@ +drafts_dir = '_drafts' +posts_dir = '_posts' + +# rake post['my new post'] +desc 'create a new post with "rake post[\'post title\']"' +task :post, :title do |t, args| + if args.title + title = args.title + else + puts "Please try again. Remember to include the filename." + end + mkdir_p "#{posts_dir}" + filename = "#{posts_dir}/#{Time.now.strftime('%Y-%m-%d')}-#{title.downcase.gsub(/[^\w]+/, '-')}.md" + puts "Creating new post: #{filename}" + File.open(filename, "w") do |f| + f << <<-EOS.gsub(/^ /, '') + --- + layout: post + title: #{title} + date: #{Time.new.strftime('%Y-%m-%d %H:%M')} + categories: + --- + + EOS + end + +# Uncomment the line below if you want the post to automatically open in your default text editor +# system ("#{ENV['EDITOR']} #{filename}") +end + +# usage: rake draft['my new draft'] +desc 'create a new draft post with "rake draft[\'draft title\']"' +task :draft, :title do |t, args| + if args.title + title = args.title + else + puts "Please try again. Remember to include the filename." + end + mkdir_p "#{drafts_dir}" + filename = "#{drafts_dir}/#{title.downcase.gsub(/[^\w]+/, '-')}.md" + puts "Creating new draft: #{filename}" + File.open(filename, "w") do |f| + f << <<-EOS.gsub(/^ /, '') + --- + layout: post + title: #{title} + date: #{Time.new.strftime('%Y-%m-%d %H:%M')} + categories: + --- + + EOS + end + +# Uncomment the line below if you want the draft to automatically open in your default text editor +# system ("#{ENV['EDITOR']} #{filename}") +end + +desc 'preview the site with drafts' +task :preview do + puts "## Generating site" + puts "## Stop with ^C ( +C )" + system "jekyll serve --watch --drafts" +end + +# usage: rake undraft['my-file.md'] +desc 'publish a draft post with "rake undraft[\'draft-file.md\']"' +task :undraft, :file do |t, args| + if args.file + file = args.file + else + abort "Please try again. Remember to include the file name." + end + + draft = "#{drafts_dir}/#{file}" + unless File.exists?(draft) + abort "Draft does not exist: #{draft}" + end + + today = Time.now + post = "#{posts_dir}/#{today.strftime('%Y-%m-%d')}-#{file}" + + # Slurp file in to memory + lines = IO.readlines(draft).map do |line| + dateline = /\s*^date:\s*(.*)\s*$/.match(line) + if dateline + puts "Original date of draft: #{dateline[1]}" + "date: #{today.strftime('%Y-%m-%d %H:%M')}" + else + line + end + end + + print "Moving #{draft} to #{post}..." + FileUtils.mv(draft, post) + puts "done." + + print "Modifying date for post to '#{today.strftime('%Y-%m-%d %H:%M')}'..." + File.open(post, 'w') do |file| + file.puts lines + end + puts "done." + +# Uncomment the line below if you want the post to automatically open in your default text editor +# system ("#{ENV['EDITOR']} #{post}") +end + +desc 'list tasks' +task :list do + puts "Tasks: #{(Rake::Task.tasks - [Rake::Task[:list]]).join(', ')}" + puts "(type rake -T for more detail)\n\n" +end diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..02d2443 --- /dev/null +++ b/_config.yml @@ -0,0 +1,86 @@ +# Site settings +title: Mixyll +email: hello@example.com +author: Sai Kiran Sripada +description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book." +baseurl: "" +url: "https://mixyll.saikiransripada.com" +date_format: "%b %-d, %Y" +header_pages: + - about.md + - contact.html + +google_analytics: + +# Optional features +animated: true +show_related_posts: true +show_post_footers: false +show_social_icons: true + +# Preview image for social media aka og:image and twitter:image +post_preview_image: false + +# Disqus post comments +disqus_shortname: + +# Social icons +github_username: saikiransripada +twitter_username: wp_user +linkedin_username: saikiransripada + +# Post sharing icons +show_sharing_icons: true +# Change to 'true' to enable individual icons +share_facebook: true +share_twitter: true +share_googleplus: true +share_linkedin: true +share_digg: true +share_tumblr: true +share_reddit: true +share_stumbleupon: true +share_hackernews: true + +text: + pagination: + newer: 'Newer' + older: 'Older' + share_buttons: + text: 'Share:' + facebook: 'Share on Facebook' + twitter: 'Share on Twitter' + googleplus: 'Share on Google+' + linkedin: 'Share on LinkedIn' + digg: 'Share on Digg' + tumblr: 'Share on Tumblr' + reddit: 'Share on Reddit' + stumbleupon: 'Share on StumbleUpon' + hackernews: 'Share on Hacker News' + post: + updated: 'Updated' + minute_read: 'minute read' + related_posts: 'Related Posts' + post_footer: 'Lorem ipsum' + index: + coming_soon: 'Coming soon...' + og_locale: 'en_US' + +# Build settings +markdown: kramdown +redcarpet: + extensions: ['smart', 'tables', 'with_toc_data'] +permalink: :title +paginate: 4 +sass: + style: compressed +plugins: + - jekyll-paginate + - jekyll-sitemap + +exclude: + - Gemfile + - Gemfile.lock + - Rakefile + - README.md + - vendor diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..46643aa --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,17 @@ +
+
+
+ + © {{ site.time | date:"%Y" }} {{ site.title }} + +
+ {% if site.show_social_icons %} + {% include social_links.html %} + {% endif %} +
+
+ diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..cfa3aa4 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,66 @@ + + + + {% if page.title %}{{ page.title | strip_html }} – {% endif %}{{ site.title | strip_html }} + + + + + + + {% if page.meta_robots %} + {% else %}{% endif %} + + {% if page.categories %}{% endif %} + + + + + + + + + + {% if site.show_social_icons or site.show_sharing_icons %} + + {% endif %} + + + + + + + + + + {% if site.post_preview_image %} + + {% endif %} + + + + {% if site.twitter_username %} + + + {% endif %} + + + + {% if site.post_preview_image %} + + {% endif %} + + + + + {% if site.google_analytics %} + + {% endif %} + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..381f8f7 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,11 @@ + diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..0b30d9e --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,15 @@ +{% assign default_paths = site.pages | map: "path" %} +{% assign page_paths = site.header_pages | default: default_paths %} + +{% for path in page_paths %} + + {% assign item = site.pages | where: "path", path | first %} + + {% if item.title and page.title == item.title %} + {{ item.title }} + {% elsif item.title %} + {{ item.title }} + {% endif %} + + +{% endfor %} diff --git a/_includes/pagination.html b/_includes/pagination.html new file mode 100644 index 0000000..5a61202 --- /dev/null +++ b/_includes/pagination.html @@ -0,0 +1,23 @@ +{% if paginator.total_pages != 1 %} + +{% endif %} diff --git a/_includes/post_footer.html b/_includes/post_footer.html new file mode 100644 index 0000000..8487bd7 --- /dev/null +++ b/_includes/post_footer.html @@ -0,0 +1,5 @@ + diff --git a/_includes/share_buttons.html b/_includes/share_buttons.html new file mode 100644 index 0000000..0351887 --- /dev/null +++ b/_includes/share_buttons.html @@ -0,0 +1,41 @@ + diff --git a/_includes/social_links.html b/_includes/social_links.html new file mode 100644 index 0000000..b3c57d6 --- /dev/null +++ b/_includes/social_links.html @@ -0,0 +1,16 @@ + +
diff --git a/_layouts/center.html b/_layouts/center.html new file mode 100644 index 0000000..80e8e04 --- /dev/null +++ b/_layouts/center.html @@ -0,0 +1,18 @@ + + +{% include head.html %} + + +
+ {% include header.html %} + +
+
+ {{ content }} +
+
+
+ + {% include footer.html %} + + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..cc8cbd8 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,18 @@ + + +{% include head.html %} + + +
+ {% include header.html %} + +
+
+ {{ content }} +
+
+
+ + {% include footer.html %} + + diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..b09b848 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,11 @@ +--- +layout: default +--- +
+
+

{{ page.title }}

+
+
+ {{ content }} +
+
diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..5ae9430 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,64 @@ +--- +layout: default +--- + +{% assign minutes = content | strip_html | number_of_words | divided_by: 180 %} +{% if minutes == 0 %} +{% assign minutes = 1 %} +{% endif %} + +
+

{{ page.title }}

+ + {% if page.update_date %} + + {% endif %} + +
+ +
+ {{ content }} +
+ +{% if site.show_sharing_icons %} + {% include share_buttons.html %} +{% endif %} + +{% if site.show_post_footers %} + {% include post_footer.html %} +{% endif %} + +{% if site.disqus_shortname %} +
+ + +{% endif %} + +{% if site.show_related_posts %} +

{{ site.text.post.related_posts | default: "Related Posts" }}

+ +{% endif %} diff --git a/_posts/2014-06-08-mixyll-has-pagination.md b/_posts/2014-06-08-mixyll-has-pagination.md new file mode 100644 index 0000000..33789de --- /dev/null +++ b/_posts/2014-06-08-mixyll-has-pagination.md @@ -0,0 +1,9 @@ +--- +layout: post +title: Mixyll has Pagination +date: 2014-06-08 11:21:29 +summary: This is an empty post to illustrate the pagination component with Mixyll. +categories: jekyll mixyll +--- + +This is an empty post to illustrate the pagination component with Mixyll. diff --git a/_posts/2014-06-09-so-what-is-jekyll.md b/_posts/2014-06-09-so-what-is-jekyll.md new file mode 100644 index 0000000..7834340 --- /dev/null +++ b/_posts/2014-06-09-so-what-is-jekyll.md @@ -0,0 +1,17 @@ +--- +layout: post +title: So, What is Jekyll? +date: 2014-06-09 12:32:18 +summary: Transform your plain text into static websites and blogs. Simple, static, and blog-aware. +categories: jekyll mixyll +--- + +Jekyll is a tool for transforming your plain text into static websites and +blogs. It is simple, static, and blog-aware. Jekyll uses the +[Liquid](http://docs.shopify.com/themes/liquid-basics) templating +language and has builtin [Markdown](http://daringfireball.net/projects/markdown/) +and [Textile](http://en.wikipedia.org/wiki/Textile_(markup_language)) support. + +It also ties in nicely to [Github Pages](https://pages.github.com/). + +Learn more about Jekyll on their [website](http://jekyllrb.com/). diff --git a/_posts/2014-06-10-see-mixyll-in-action.md b/_posts/2014-06-10-see-mixyll-in-action.md new file mode 100644 index 0000000..1dbc69a --- /dev/null +++ b/_posts/2014-06-10-see-mixyll-in-action.md @@ -0,0 +1,174 @@ +--- +layout: post +title: Mixyll in Action +date: 2014-06-10 12:31:19 +summary: See what the different elements looks like. Your markdown has never looked better. I promise. +categories: jekyll mixyll +--- + +There is a significant amount of subtle, yet precisely calibrated, styling to ensure +that your content is emphasized while still looking aesthetically pleasing. + +All links are easy to [locate and discern](#), yet don't detract from the [harmony +of a paragraph](#). The _same_ goes for italics and __bold__ elements. Even the the strikeout +works if for some reason you need to update your post. For consistency's sake, +The same goes for insertions, of course. + +### Code, with syntax highlighting + +Here's an example of some ruby code with line anchors. + +{% highlight ruby lineanchors %} +# The most awesome of classes +class Awesome < ActiveRecord::Base + include EvenMoreAwesome + + validates_presence_of :something + validates :email, email_format: true + + def initialize(email, name = nil) + self.email = email + self.name = name + self.favorite_number = 12 + puts 'created awesomeness' + end + + def email_format + email =~ /\S+@\S+\.\S+/ + end +end +{% endhighlight %} + +Here's some CSS: + +{% highlight css %} +.foobar { + /* Named colors rule */ + color: tomato; +} +{% endhighlight %} + +Here's some JavaScript: + +{% highlight js %} +var isPresent = require('is-present') + +module.exports = function doStuff(things) { + if (isPresent(things)) { + doOtherStuff(things) + } +} +{% endhighlight %} + +Here's some HTML: + +{% highlight html %} +
+

Hello, world!

+
+{% endhighlight %} + +# Headings! + +They're responsive, and well-proportioned (in `padding`, `line-height`, `margin`, and `font-size`). +They also heavily rely on the awesome utility, [BASSCSS](http://www.basscss.com/). + +##### They draw the perfect amount of attention + +This allows your content to have the proper informational and contextual hierarchy. Yay. + +### There are lists, too + + * Apples + * Oranges + * Potatoes + * Milk + + 1. Mow the lawn + 2. Feed the dog + 3. Dance + +### Images look great, too + +![desk](https://cloud.githubusercontent.com/assets/1424573/3378137/abac6d7c-fbe6-11e3-8e09-55745b6a8176.png) + +_![desk](https://cloud.githubusercontent.com/assets/1424573/3378137/abac6d7c-fbe6-11e3-8e09-55745b6a8176.png)_ + + +### There are also pretty colors + +Also the result of [BASSCSS](http://www.basscss.com/), you can highlight certain components +of a post with CSS classes. + +I don't recommend using blue, though. It looks like a link. + +### Footnotes! + +Markdown footnotes are supported, and they look great! Simply put e.g. `[^1]` where you want the footnote to appear,[^1] and then add +the reference at the end of your markdown. + +### Stylish blockquotes included + +You can use the markdown quote syntax, `>` for simple quotes. + +> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis porta mauris. + +However, you need to inject html if you'd like a citation footer. I will be working on a way to +hopefully sidestep this inconvenience. + +
+

+ Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. +

+
Antoine de Saint-Exupéry
+
+ + +### Tables + +Tables represent tabular data and can be built using markdown syntax. They are rendered responsively in Mixyll for a variety of screen widths. + +Here's a simple example of a table: + +| Quantity | Description | Price | +|----------+-------------+----------:| +| 2 | Orange | $0.99 | +| 1 | Pineapple | $2.99 | +| 4 | Banana | $0.39 | +|==========|=============|===========| +| | **Total** | **$6.14** | + +A table must have a body of one or more rows, but can optionally also have a header or footer. + +The cells in a column, including the header row cell, can either be aligned: + +- left, +- right or +- center. + +Most inline text formatting is available in table cells, block-level formatting are not. + +|----------------+----------------------+------------------------+----------------------------------| +| Default header | Left header | Center header | Right header | +|----------------|:---------------------|:----------------------:|---------------------------------:| +| Default | Left | Center | Right | +| *Italic* | **Bold** | ***Bold italic*** | `monospace` | +| [link text](#) | ```code``` | ~~Strikeout~~ | Insertion | +| line
break | "Smart quotes" | highlight | green | +| Footnote[^2] | subscript | superscript | red | +|================+======================+========================+==================================+ +| Footer row | +|----------------+----------------------+------------------------+----------------------------------| + +### There's more being added all the time + +Checkout the [Github repository](https://github.com/saikiransripada/mixyll) to request, +or add, features. + +Happy writing. + +--- + +[^1]: Important information that may distract from the main text can go in footnotes. + +[^2]: Footnotes will work in tables since they're just links. diff --git a/_posts/2014-06-11-welcome-to-mixyll.markdown b/_posts/2014-06-11-welcome-to-mixyll.markdown new file mode 100644 index 0000000..7351ac4 --- /dev/null +++ b/_posts/2014-06-11-welcome-to-mixyll.markdown @@ -0,0 +1,26 @@ +--- +layout: post +title: Hello, Mixyll +date: 2014-06-11 15:31:19 +summary: Mixyll is a simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff. +categories: jekyll mixyll +--- + +Hello. + +Mixyll (Minimal version of Pixyll) is a simple, beautiful theme for Jekyll based on the popular Jekyll theme Pixyll by John Otander that emphasizes content rather than aesthetic fluff. It's mobile _first_, fluidly responsive, and delightfully lightweight. + +It's pretty minimal, but leverages large type and drastic contrast to make a statement, on all devices. + +
+

+ Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. +

+
Antoine de Saint-Exupéry
+
+ +## Where is it? + +Checkout the [Github repository](https://github.com/saikiransripada/mixyll) to download it, request a feature, or report a bug. + +It's free, and open source ([MIT](http://opensource.org/licenses/MIT)). diff --git a/_posts/2019-01-26-guide-to-forking-pixyll.md b/_posts/2019-01-26-guide-to-forking-pixyll.md new file mode 100644 index 0000000..e6199c6 --- /dev/null +++ b/_posts/2019-01-26-guide-to-forking-pixyll.md @@ -0,0 +1,66 @@ +--- +layout: post +title: Guide to Forking Mixyll +date: 2019-01-26 19:22 +summary: Mixyll is available to you under the MIT license. +categories: jekyll mixyll +--- + +The following is an overview to copying and sharing Mixyll.[^1] + +Most people have an understanding of what the copyright and licensing obligations are for source code, but not everyone has practical experience. There is a lot of information about how to use free and open source source code generally, but not necessarily how it works specifically. + +## Basics + +Mixyll is free and open source software under the MIT license, a _permissive license_. You can use Mixyll without charge and it is provided to you, "as is", without warranty of any kind. + +These are some of the rights for Mixyll since it is under the MIT license:[^2] + +1. You can **copy** Mixyll by forking it on GitHub or by any other means of copying. +2. You can **use** Mixyll to publish your site without restriction or limitation. +3. You can **change** Mixyll as you wish, and you can publish your site with a modified version of Mixyll. +4. You can also **distribute** copies of Mixyll to other people. +5. You can also **distribute modified** copies of Mixyll. + +Other rights you have of Mixyll under the MIT license: + +- You can **sell** copies of Mixyll, including copies you have modified. +- You can **combine** Mixyll with other works that are under the MIT license, or other permissive licenses, a copyleft license or a proprietary license. Mixyll already does this itself by using Jekyll, Ruby and other dependencies. +- You can distribute copies of Mixyll to others under either the MIT license or you can **relicense** Mixyll under another license. This includes a different permissive license, a copyleft license or a proprietary license. + +Your only responsibility is to preserve both the copyright notices of Mixyll and the MIT license in your copy or modified work. + +## How to + +If you've modified Mixyll significantly and want to share your version, especially public copies of the code, then there are a few items you should do. + +1. You should probably **rename** your fork of Mixyll with a different name. +2. A new name isn't required by the MIT license, but it is good etiquette.[^3] +3. You should add your name to the **copyright** of your version, and you should preserve the existing copyrights of Mixyll. +4. Maintaining the copyright notices isn't required of the MIT license, but it is suggested by the license and is a good practice for documenting the copyrights of your derived work. + +The items above do not apply when you just copied and modified Mixyll in small ways to just publish your site and you have no plans to fork Mixyll under a different name. + +If you want to publish a fork of Mixyll under a different name but keeping it under the MIT license, then you should add your name to the copyright notices: + + Copyright (c) 2019 Your Name + Copyright (c) 2014-2019 John Otander for Mixyll + +However, if you want to publish a fork of Mixyll under a different name *and* a different license, then you should should still add your name to the copyright notices but have a section titled "Mixyll" at the bottom of your LICENSE file that preserves the copyright and license notices for Mixyll: + + Mixyll + + Copyright (c) 2014-2019 John Otander + + MIT License + + Permission is hereby granted, [...] + +If you are just modifying Mixyll in small ways to customize your site, you are not obligated to maintain the copyright notices of Mixyll on your site. However, if you want to credit the Mixyll theme that would be appreciated, see section on "Mixyll Plug" in the README file that came with Mixyll. + +Thanks for using Mixyll, and happy hacking! + +--- +[^1]: **Disclaimer**: This material is for informational purposes only, and should not be construed as legal advice or opinion. For actual legal advice, you should consult with professional legal services. +[^2]: This list of privileges are derived from the four freedoms of "The Free Software Definition" published by the GNU project . +[^3]: Using a different name from "Mixyll" for your derivate work helps avoid misdirected questions from people who are using your version. It's similar to using version numbers to discrimate the revisions of software when troubleshooting issues. diff --git a/_sass/_animations.scss b/_sass/_animations.scss new file mode 100644 index 0000000..953d370 --- /dev/null +++ b/_sass/_animations.scss @@ -0,0 +1,60 @@ +/*! +Animate.css - http://daneden.me/animate +Licensed under the MIT license - http://opensource.org/licenses/MIT + +Copyright (c) 2014 Daniel Eden +*/ + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +.animated.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +@-webkit-keyframes fadeInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-20px); + transform: translateY(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +@keyframes fadeInDown { + 0% { + opacity: 0; + + -webkit-transform: translateY(-20px) translate3d(0, 0, 0); + -ms-transform: translateY(-20px) translate3d(0, 0, 0); + transform: translateY(-20px) translate3d(0, 0, 0); + } + + 100% { + opacity: 1; + + -webkit-transform: translateY(0) translate3d(0, 0, 0); + -ms-transform: translateY(0) translate3d(0, 0, 0); + transform: translateY(0) translate3d(0, 0, 0); + } +} + +.fade-in-down { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} diff --git a/_sass/_base.scss b/_sass/_base.scss new file mode 100644 index 0000000..0c85862 --- /dev/null +++ b/_sass/_base.scss @@ -0,0 +1,34 @@ +@charset "UTF-8"; +/*! + +Pixyll + +A simple, beautiful theme for Jekyll that emphasizes content rather than +aesthetic fluff. + +Built upon BASSCSS (http://jxnblk.github.io/basscss). + +Crafted with <3 by John Otander (@4lpine) - ©2015-2019 John Otander +MIT License http://opensource.org/licenses/MIT + +*/ + +html, body { + height: auto; + min-height: 100%; +} + +img { + max-width: 100%; +} + +em img { + max-width: 100%; + margin-left: 0; +} + +body { + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} diff --git a/_sass/_basscss.scss b/_sass/_basscss.scss new file mode 100644 index 0000000..c9e1584 --- /dev/null +++ b/_sass/_basscss.scss @@ -0,0 +1,25 @@ +/*! + + BASSCSS + + Next-level CSS toolkit - basscss.com + + Made with love by Jxnblk - ©2014 Brent Jackson + MIT License http://opensource.org/licenses/MIT + +*/ + +@import 'basscss/base-buttons'; +@import 'basscss/base-forms'; +@import 'basscss/base-reset'; +@import 'basscss/base-typography'; + +@import 'basscss/buttons-blue'; + +@import 'basscss/syntax-highlighting'; +@import 'basscss/color-base'; +@import 'basscss/colors'; + +@import 'basscss/utility-headings'; +@import 'basscss/utility-typography'; +@import 'basscss/utility-white-space'; diff --git a/_sass/_blockquotes.scss b/_sass/_blockquotes.scss new file mode 100644 index 0000000..e7291ba --- /dev/null +++ b/_sass/_blockquotes.scss @@ -0,0 +1,16 @@ +blockquote { + border-left: 5px solid #7a7a7a; + font-style: italic; + margin-left: $space-1; + padding: $space-1; +} + +blockquote footer { + background-color: #fff; + border-color: transparent; + color: #7a7a7a; + font-size: .85rem; + font-style: normal; + text-align: left; + padding: 0; +} diff --git a/_sass/_clearfix.scss b/_sass/_clearfix.scss new file mode 100644 index 0000000..b770844 --- /dev/null +++ b/_sass/_clearfix.scss @@ -0,0 +1,8 @@ +.clearfix:before, .clearfix:after { + content: ' '; + display: table; +} + +.clearfix:after { + clear: both; +} diff --git a/_sass/_code.scss b/_sass/_code.scss new file mode 100644 index 0000000..c4c40b9 --- /dev/null +++ b/_sass/_code.scss @@ -0,0 +1,82 @@ +pre, +pre code { + background-color: transparent; + border-radius: $pre-border-radius; +} + +pre, +code { + font-family: $monospace-font-family; +} + +code { + color: #bf616a; +} + +p { + code { + background-color: #f9f9f9; + border-radius: 3px; + padding: .25em .5em; + } +} + +pre { + padding: 1.125em; + line-height: 1.11; + overflow-x: scroll; + margin-bottom: 0.88em; + background-color: $pre-background-color; +} + +.highlight { + margin: 1rem 0; +} + +.highlight .p { + font-size: 1.125rem; + line-height: 1; +} + +pre { + counter-reset: line-numbering; + white-space: pre; + overflow-x: auto; + word-break: inherit; + word-wrap: inherit; +} + +pre a { + background-image: none; +} + +pre a::before { + content: counter(line-numbering); + counter-increment: line-numbering; + padding-right: 1em; /* space after numbers */ + width: 25px; + text-align: right; + opacity: 0.7; + display: inline-block; + color: $light-gray; + margin-right: 16px; + font-size: 13px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +pre a:first-of-type::before { + padding-top: 10px; +} + +pre a:last-of-type::before { + padding-bottom: 10px; +} + +pre a:only-of-type::before { + padding: 10px; +} diff --git a/_sass/_footer.scss b/_sass/_footer.scss new file mode 100644 index 0000000..f5c202b --- /dev/null +++ b/_sass/_footer.scss @@ -0,0 +1,38 @@ +.site { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-height: 100vh; +} + +.site-wrap { + -webkit-box-flex: 1; + -webkit-flex: 1; + -ms-flex: 1 0 auto; + flex: 1 0 auto; + padding-bottom: $h1-responsive-max; +} + +footer { + background-color: $footer-bg-color; + border-top: $footer-border-top; + color: $footer-color; + font-size: $footer-font-size; + font-weight: $footer-font-weight; + padding: $space-2 $footer-padding; + text-align: center; +} + +footer .measure { + line-height: $space-2; +} + +footer small { + font-family: $heading-font-family; +} diff --git a/_sass/_forms.scss b/_sass/_forms.scss new file mode 100644 index 0000000..2563dd5 --- /dev/null +++ b/_sass/_forms.scss @@ -0,0 +1,106 @@ +input, +select, +textarea, +fieldset { + font-size: $form-field-font-size; + margin-top: 0; + margin-bottom: $space-1; +} + +input[type=text], +input[type=datetime], +input[type=datetime-local], +input[type=email], +input[type=month], +input[type=number], +input[type=password], +input[type=search], +input[type=tel], +input[type=time], +input[type=url], +input[type=week] { + box-sizing: border-box; + height: $form-field-height; + padding: $form-field-padding-y $form-field-padding-x; + vertical-align: middle; + -webkit-appearance: none; +} + +select { + box-sizing: border-box; + line-height: 1.75; + padding: $form-field-padding-y $form-field-padding-x; +} + +select:not([multiple]) { + height: $form-field-height; + vertical-align: middle; +} + +textarea { + box-sizing: border-box; + line-height: 1.75; + padding: $form-field-padding-y $form-field-padding-x; +} + +.form-stacked input, +.form-stacked textarea, +.form-stacked select { + width: 100%; +} + +.field-light { + background-color: white; + transition: box-shadow .2s ease; + border-style: solid; + border-width: $border-width; + border-color: $border-color; + border-radius: $border-radius; +} + +.field-light:focus { + outline: none; + border-color: $blue; + box-shadow: 0 0 2px rgba($blue,.5); +} + +.field-light:disabled { + color: $mid-gray; + background-color: $darken-2; +} + +.field-light:read-only:not(select) { + background-color: $darken-2; +} + +.field-light:invalid { + border-color: $red; +} + +.field-light.is-success { + border-color: $green; +} + +.field-light.is-warning { + border-color: $yellow; +} + +.field-light.is-error { + border-color: $red; +} + + +.radio-light, +.checkbox-light { + transition: box-shadow .2s ease; +} + +.radio-light { + border-radius: 50%; +} + +.radio-light:focus, +.checkbox-light:focus { + outline: none; + box-shadow: 0 0 2px rgba($blue, .5); +} diff --git a/_sass/_gists.scss b/_sass/_gists.scss new file mode 100644 index 0000000..d4ca451 --- /dev/null +++ b/_sass/_gists.scss @@ -0,0 +1,12 @@ +.gist, +.gist .highlight .p { + font-size: .75rem; +} + +.gist .lines { + width: 100%; +} + +.gist table>tbody>tr>td { + border-top: 0px; +} diff --git a/_sass/_header.scss b/_sass/_header.scss new file mode 100644 index 0000000..a424338 --- /dev/null +++ b/_sass/_header.scss @@ -0,0 +1,65 @@ +.site-header { + padding-top: $space-1; + padding-bottom: $space-2; +} + +.share-page { + padding: $space-2 0; +} + +.share-links a { + margin: 0 0.2em; +} + +.site-header a, +.social-icons a, +.share-links a { + color: $header-color; + font-size: $h3; + font-weight: $header-font-weight; + background-image: none; +} + +.site-header .site-title { + font-size: $h2; +} + +.site-header nav a { + color: $nav-color; +} + +.site-header nav a:hover, +.site-header nav a:focus, +.site-header nav a:active, +.site-header nav a.nav-active:hover, +.site-header nav a.nav-active:focus, +.site-header nav a.nav-active:active { + color: $nav-link-color; + opacity: 1; + border-bottom: $nav-link-border-bottom; +} + +.site-header nav a.nav-active { + border-bottom: $nav-active-border-bottom; +} + +.site-nav a + a { + margin-left: $nav-link-padding-x; +} + +.site-header a:hover, +.posts .post a:hover .post-meta, +.posts .post a:hover .post-title, +.posts .post a:hover .post-summary, +.social-icons a:hover, +.share-links a:hover { + opacity: 0.88; +} + +.site-header { + text-align: center; +} + +.site-header .site-nav { + text-align: center; +} diff --git a/_sass/_links.scss b/_sass/_links.scss new file mode 100644 index 0000000..ec84e7c --- /dev/null +++ b/_sass/_links.scss @@ -0,0 +1,40 @@ +a { + color: $link-color; + background-image: linear-gradient(to top, + rgba(0,0,0,0) 13%, + rgba($link-color,.8) 13%, + rgba($link-color,.8) 18%, + rgba(0,0,0,0) 17% + ); + text-shadow: white 1px 0px 0px, white -1px 0px 0px; +} + +a:hover, +a:focus, +a:active { + border: 0; + color: $link-hover-color; + text-decoration: none; + background-image: linear-gradient(to top, + rgba(0,0,0,0) 13%, + rgba($link-hover-color,.8) 13%, + rgba($link-hover-color,.8) 17%, + rgba(0,0,0,0) 17% + ); + text-shadow: white 1px 0px 0px, white -1px 0px 0px; +} + +// Correct issues with buttons +button, +.button { + text-shadow: none; + background-image: none; +} + +.button:hover, +.button:focus, +.button:active { + color: white; + text-shadow: none; + background-image: none; +} diff --git a/_sass/_measure.scss b/_sass/_measure.scss new file mode 100644 index 0000000..f509ccb --- /dev/null +++ b/_sass/_measure.scss @@ -0,0 +1,4 @@ +.measure { + margin: 0 auto; + max-width: $measure-width; +} diff --git a/_sass/_media-queries.scss b/_sass/_media-queries.scss new file mode 100644 index 0000000..ee4178d --- /dev/null +++ b/_sass/_media-queries.scss @@ -0,0 +1,59 @@ +@media screen and (min-width: $viewport-small) { + html { + font-size: 16px; + } + + h1, + .h1 { + font-size: $h1; + } + + .site-header { + text-align: left; + } + + .site-nav { + margin-top: 0; + } + + .site-header a, + .social-icons a, + .share-links a { + font-size: $h5; + } + + .site-header .site-title { + font-size: $h4; + float: left; + font-weight: $bold-font-weight; + } + + .site-header .site-nav { + float: right; + margin-top: .25rem; + } + + blockquote { + margin: 0 0 0 $space-2; + padding: $space-2 $space-1 + $space-2; + } +} + +@media screen and (min-width: $viewport-medium) { + html { + font-size: 18px; + } +} + +@media screen and (min-width: $viewport-large) { + html { + font-size: 20px; + } +} + +@media screen and (min-width: $viewport-large + 14) { + em img { + max-width: $measure-width + 14; + margin-left: -7em; + } +} diff --git a/_sass/_pagination.scss b/_sass/_pagination.scss new file mode 100644 index 0000000..a3eed28 --- /dev/null +++ b/_sass/_pagination.scss @@ -0,0 +1,53 @@ +.pagination { + font-size: $h5; + font-family: $heading-font-family; + font-weight: 300; + text-align: center; +} + +.pagination a, .pagination .disabled { + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + background: #fafafa; + border-radius: 0.1875em; + border: 1px solid #f3f3f3; + color: #333333; + padding: .75em 1.5em; + font-size: $h5; +} + +.pagination .disabled, .pagination .pagination-meta { + opacity: 0.5; +} + +.pagination .pagination-meta { + overflow: hidden; +} + +.pagination a:hover, .pagination a:focus { + background: white; + color: #477dca; +} + +.pagination a:active { + background: #f7f7f7; +} + +.pagination .button { + font-size: 1rem; + font-weight: 300; + letter-spacing: 1px; +} + +.button-disabled { + opacity: 0.55; + background-color: #999; +} + +.button-disabled:hover, +.button-disabled:active, +.button-disabled:focus { + cursor: not-allowed; + background-color: #999; +} diff --git a/_sass/_positions.scss b/_sass/_positions.scss new file mode 100644 index 0000000..3449fac --- /dev/null +++ b/_sass/_positions.scss @@ -0,0 +1,7 @@ +.left { + float: left; +} + +.right { + float: right; +} diff --git a/_sass/_posts.scss b/_sass/_posts.scss new file mode 100644 index 0000000..62a728c --- /dev/null +++ b/_sass/_posts.scss @@ -0,0 +1,67 @@ + +.posts { + margin: 0; +} + +.posts .post { + margin-bottom: 0.75em; + border-bottom: thin solid #f3f3f3; +} + +.posts .post:last-child { + border-bottom: none; + margin-bottom: .375em; + padding-bottom: 0; +} + +.post-link .post-title { + margin-top: 0; + font-weight: 600; + color: #333; +} + +.post-footer { + @extend .italic; + + margin-top: .75rem; + text-align: center; +} + +.post-footer .avatar { + margin: 2rem 0; + width: 100px; + border-radius: 50%; +} + +.meta, +.post-meta { + width: auto; + font-weight: 300; + margin: 0; + padding: .25em 0; + color: #7a7a7a; + font-size: $h6; +} + +.post-summary { + line-height: $h1; +} + +.related-post-title { + padding-bottom: 0.25em; + border-bottom: thin solid #f3f3f3; +} + +.related-posts { + line-height: $h1; + padding-top: $space-2; +} + +.related-posts a { + color: $dark-gray; + background-image: none; +} + +.related-posts a:hover { + text-decoration: underline; +} diff --git a/_sass/_social-icons.scss b/_sass/_social-icons.scss new file mode 100644 index 0000000..4005407 --- /dev/null +++ b/_sass/_social-icons.scss @@ -0,0 +1,18 @@ +.social-icons { + font-size: 1.25rem; +} + +.social-icons a.fa { + cursor: pointer; + opacity: 0.8; + padding: 0 0.2em; +} + +.social-icons a.fa:hover { + opacity: 1; +} + +.social-icons iframe[title=Flattr] { + position: relative; + top: 0.1em; +} diff --git a/_sass/_tables.scss b/_sass/_tables.scss new file mode 100644 index 0000000..d8a7d37 --- /dev/null +++ b/_sass/_tables.scss @@ -0,0 +1,47 @@ +/* + Table styles copied from Bootstrap + Copyright (c) 2013 Twitter, Inc +*/ + +table { + width: 100%; + max-width: 100%; + margin-bottom: 1.5rem; + font-size: 1.125rem; + overflow-x:auto; + display:block; + // Cells + > thead, + > tbody, + > tfoot { + > tr { + > th, + > td { + padding: 12px; + line-height: 1.2; + vertical-align: top; + border-top: 1px solid #333; + } + } + } + // Bottom align for column headings + > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #333; + } + // Remove top border from thead by default + > caption + thead, + > colgroup + thead, + > thead:first-child { + > tr:first-child { + > th, + > td { + border-top: 0; + } + } + } + // Account for multiple tbody instances + > tbody + tbody { + border-top: 2px solid #333; + } +} diff --git a/_sass/_typography.scss b/_sass/_typography.scss new file mode 100644 index 0000000..9dce6d8 --- /dev/null +++ b/_sass/_typography.scss @@ -0,0 +1,24 @@ +html { + font-size: $base-font-size; +} + +abbr { + border-bottom: $abbr-border-bottom; + cursor: help; +} + +p { + color: #333; + line-height: 1.5; +} + +small, +.small { + font-size: 0.707rem; +} + +sup { + position: relative; + vertical-align: middle; + top: -0.9ex; +} diff --git a/_sass/_variables.scss b/_sass/_variables.scss new file mode 100644 index 0000000..b136d94 --- /dev/null +++ b/_sass/_variables.scss @@ -0,0 +1,134 @@ +// Typography +$base-font-size: 14px !default; +$bold-font-weight: bold !default; +$font-family: 'Merriweather', 'PT Serif', Georgia, 'Times New Roman', serif !default; +$line-height: 1.5 !default; +$heading-font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif !default; +$heading-font-weight: 900 !default; +$heading-line-height: 1.25 !default; +$monospace-font-family: 'Source Code Pro', Consolas, monospace !default; +$h1: 1.5rem !default; +$h2: 1.5rem !default; +$h3: 1.25rem !default; +$h4: 1rem !default; +$h5: .875rem !default; +$h6: .75rem !default; +$h00: 4rem !default; +$h0: 3rem !default; +$h00-responsive: 8vw !default; +$h0-responsive: 6vw !default; +$h1-responsive: 4vw !default; +$h00-responsive-max: 7.68rem !default; +$h0-responsive-max: 5.76rem !default; +$h1-responsive-max: 3.84rem !default; +$abbr-border-bottom: 1px black dotted; + +// Page width +$measure-width: 42rem !default; + +// Viewport widths +$viewport-small: 32em; +$viewport-medium: 48em; +$viewport-large: 64em; + +// Colors +$blue: #0076df !default; +$red: #f95020 !default; +$green: #00cf26 !default; +$yellow: #efcc00 !default; +$orange: #ffcc22 !default; +$purple: #f92080 !default; +$dark-blue: #00369f !default; +$green: #00ab37 !default; +$dark-green: #009f06 !default; +$light-pink: #ffdddd !default; +$light-green: #ddffdd !default; +$dark-gray: #444 !default; +$mid-gray: #777 !default; +$light-gray: #ccc !default; +$lighter-gray: #eee !default; +$darken-1: rgba(#000,.0625) !default; +$darken-2: rgba(#000,.125) !default; +$darken-3: rgba(#000,.25) !default; +$darken-4: rgba(#000,.5) !default; + +// Links +$link-color: $blue; +$link-hover-color: darken($blue, 40%); + +// Breakpoints +$breakpoint-md: '(min-width: 52em)'; +$breakpoint-xl: '(min-width: 96em)'; + +// Whitespace +$space-1: .5rem !default; +$space-2: 1rem !default; +$space-3: 2rem !default; +$space-4: 4rem !default; + +// Buttons +$button-font-size: inherit !default; +$button-font-weight: normal !default; +$button-line-height: 1.125rem !default; +$button-padding-y: .5rem !default; +$button-padding-x: 1rem !default; +$button-font-family: $heading-font-family; + +// Forms +$form-field-font-size: 1rem !default; +$form-field-height: 2.25rem !default; +$form-field-padding-y: .5rem !default; +$form-field-padding-x: .5rem !default; + +// Borders +$border-color: $light-gray !default; +$border-width: 1px !default; +$border-radius: 3px !default; + +// Forms +$form-field-font-size: 1rem; +$form-field-height: 2.25rem; +$form-field-padding-y: .5rem; +$form-field-padding-x: .5rem; + +// Code +$pre-border-radius: 0; +$pre-background-color: #fafafa; +$hljs-comment: $mid-gray; +$hljs-keyword: $dark-blue; +$hljs-name: $dark-gray; +$hljs-number: $dark-green; +$hljs-string: $red; +$hljs-title: $red; +$hljs-type: $dark-blue; +$hljs-tag: $dark-blue; +$hljs-attribute: $dark-green; +$hljs-regexp: $dark-green; +$hljs-symbol: $purple; +$hljs-built-in: $dark-blue; +$hljs-preprocessor: $mid-gray; +$hljs-deletion: $light-pink; +$hljs-addition: $light-green; +$hljs-change: $dark-blue; +$hljs-chunk: $light-gray; + +// Header +$header-border-top: thin solid #f3f3f3; +$header-color: $dark-gray; +$header-bg-color: #fafafa; +$header-font-weight: 300; + +// Nav +$nav-color: $mid-gray; +$nav-link-color: #444; +$nav-link-padding-x: $space-2; +$nav-link-border-bottom: 2px solid #444; +$nav-active-border-bottom: 1px solid $light-gray; + +// Footer +$footer-border-top: thin solid #f3f3f3; +$footer-padding: $space-3; +$footer-color: #7a7a7a; +$footer-bg-color: #fafafa; +$footer-font-weight: 300; +$footer-font-size: .75rem; diff --git a/_sass/basscss/_base-buttons.scss b/_sass/basscss/_base-buttons.scss new file mode 100644 index 0000000..9b49c10 --- /dev/null +++ b/_sass/basscss/_base-buttons.scss @@ -0,0 +1,29 @@ +/* Basscss Base Buttons */ + +button, +.button { + font-family: $button-font-family; + font-size: $button-font-size; + font-weight: $button-font-weight; + text-decoration: none; + cursor: pointer; + display: inline-block; + box-sizing: border-box; + line-height: $button-line-height; + padding: $button-padding-y $button-padding-x; + margin: 0; + height: auto; + border: 1px solid transparent; + vertical-align: middle; + -webkit-appearance: none; +} + +::-moz-focus-inner { + border: 0; + padding: 0; +} + +.button:hover { + text-decoration: none; + border: 1px solid transparent; +} diff --git a/_sass/basscss/_base-forms.scss b/_sass/basscss/_base-forms.scss new file mode 100644 index 0000000..1a69ded --- /dev/null +++ b/_sass/basscss/_base-forms.scss @@ -0,0 +1,57 @@ +/* Basscss Base Forms */ + +input, +select, +textarea, +fieldset { + font-size: $form-field-font-size; + margin-top: 0; + margin-bottom: $space-1; +} + +input[type=text], +input[type=datetime], +input[type=datetime-local], +input[type=email], +input[type=month], +input[type=number], +input[type=password], +input[type=search], +input[type=tel], +input[type=time], +input[type=url], +input[type=week] { + box-sizing: border-box; + height: $form-field-height; + padding: $form-field-padding-y $form-field-padding-x; + vertical-align: middle; + -webkit-appearance: none; +} + +select { + box-sizing: border-box; + line-height: 1.75; + padding: $form-field-padding-y $form-field-padding-x; +} + +select:not([multiple]) { + height: $form-field-height; + vertical-align: middle; +} + +textarea { + box-sizing: border-box; + line-height: 1.75; + padding: $form-field-padding-y $form-field-padding-x; +} + +.fieldset-reset { + padding: 0; + margin-left: 0; + margin-right: 0; + border: 0; +} + +.fieldset-reset legend { + padding: 0; +} diff --git a/_sass/basscss/_base-reset.scss b/_sass/basscss/_base-reset.scss new file mode 100644 index 0000000..9c509a5 --- /dev/null +++ b/_sass/basscss/_base-reset.scss @@ -0,0 +1,20 @@ +body, +button { + margin: 0; +} + +button, +input, +select, +textarea { + font-family: inherit; + font-size: 100%; +} + +img { + max-width: 100%; +} + +svg { + max-height: 100%; +} diff --git a/_sass/basscss/_base-typography.scss b/_sass/basscss/_base-typography.scss new file mode 100644 index 0000000..49bbbdf --- /dev/null +++ b/_sass/basscss/_base-typography.scss @@ -0,0 +1,101 @@ +/* Basscss Base Typography */ + +body { + font-family: $font-family; + line-height: $line-height; + font-size: 88%; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: $heading-font-family; + font-weight: $heading-font-weight; + line-height: $heading-line-height; + margin-top: 1em; + margin-bottom: .5em; +} + +p, +dl, +ol, +ul { + font-size: $h5; + margin-top: 0; + margin-bottom: $space-2; +} + +ol, +ul { + padding-left: $space-3; +} + +pre, +code, +samp { + font-family: $monospace-font-family; + font-size: inherit; +} + +pre { + margin-top: 0; + margin-bottom: $space-2; + overflow-x: scroll; +} + +hr { + margin-top: $space-3; + margin-bottom: $space-3; +} + +blockquote { + margin-top: $space-3; + margin-bottom: $space-3; + margin-left: 0; + padding-left: $space-2; + padding-right: $space-2; +} + +blockquote, +blockquote p { + font-size: $h3; + font-style: italic; +} + +h1, +.h1 { + font-size: $h1; +} + +h2, +.h2 { + font-size: $h2; +} + +h3, +.h3 { + font-size: $h3; +} + +h4, +.h4 { + font-size: $h4; +} + +h5, +.h5 { + font-size: $h5; +} + +h6, +.h6 { + font-size: $h6; +} + +.list-reset { + list-style: none; + padding-left: 0; +} diff --git a/_sass/basscss/_buttons-blue.scss b/_sass/basscss/_buttons-blue.scss new file mode 100644 index 0000000..c2373a9 --- /dev/null +++ b/_sass/basscss/_buttons-blue.scss @@ -0,0 +1,27 @@ +.button-blue { + color: white; + background-color: $blue; + border-radius: $border-radius; + transition-duration: .1s; + transition-timing-function: ease-out; + transition-property: box-shadow, background-color; +} + +.button-blue:hover { + opacity: .875; +} + +.button-blue:active, +.button-blue.is-active { + box-shadow: inset 0 0 0 32px rgba(#000,.125), inset 0 2px 3px 0 rgba(#000,.25); +} + +.button-blue:focus { + outline: none; + box-shadow: 0 0 0 2px rgba(white, .5), 0 0 1px 4px rgba($blue, .5); +} + +.button-blue:disabled, +.button-blue.is-disabled { + opacity: .5; +} diff --git a/_sass/basscss/_color-base.scss b/_sass/basscss/_color-base.scss new file mode 100644 index 0000000..486b02e --- /dev/null +++ b/_sass/basscss/_color-base.scss @@ -0,0 +1,28 @@ +/* Basscss Color Base */ + +body { + color: $dark-gray; + background-color: white; +} + +a { + color: $blue; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +pre, +code { + background-color: $lighter-gray; + border-radius: $border-radius; +} + +hr { + border: 0; + border-bottom-style: solid; + border-bottom-width: $border-width; + border-bottom-color: $border-color; +} diff --git a/_sass/basscss/_colors.scss b/_sass/basscss/_colors.scss new file mode 100644 index 0000000..bd7d44b --- /dev/null +++ b/_sass/basscss/_colors.scss @@ -0,0 +1,97 @@ +/* Basscss Colors */ + +.dark-gray { + color: $dark-gray; +} + +.white { + color: white; +} + +.blue { + color: $blue; +} + +.mid-gray { + color: $mid-gray; +} + +.light-gray { + color: $light-gray; +} + +.lighter-gray { + color: $lighter-gray; +} + +.red { + color: $red; +} + +.green { + color: $green; +} + +.yellow { + color: $yellow; +} + +.orange { + color: $orange; +} + +.bg-dark-gray { + background-color: $dark-gray; +} + +.bg-white { + background-color: white; +} + +.bg-blue { + background-color: $blue; +} + +.bg-mid-gray { + background-color: $mid-gray; +} + +.bg-light-gray { + background-color: $light-gray; +} + +.bg-lighter-gray { + background-color: $lighter-gray; +} + +.bg-red { + background-color: $red; +} + +.bg-green { + background-color: $green; +} + +.bg-yellow { + background-color: $yellow; +} + +.bg-orange { + background-color: $orange; +} + +.bg-darken-1 { + background-color: $darken-1; +} + +.bg-darken-2 { + background-color: $darken-2; +} + +.bg-darken-3 { + background-color: $darken-3; +} + +.bg-darken-4 { + background-color: $darken-4; +} diff --git a/_sass/basscss/_syntax-highlighting.scss b/_sass/basscss/_syntax-highlighting.scss new file mode 100644 index 0000000..d32db05 --- /dev/null +++ b/_sass/basscss/_syntax-highlighting.scss @@ -0,0 +1,119 @@ +.highlight { + -webkit-text-size-adjust: none; +} + +.highlight .c, +.highlight .cs, +.highlight .cm, +.highlight .cp, +.highlight .c1 { + color: $hljs-comment; + font-style: italic; +} + +.highlight .k, +.highlight .kc, +.highlight .kd, +.highlight .kn, +.highlight .kr, +.highlight .kt, +.highlight .kp { + color: $hljs-keyword; +} + +.highlight .na, +.highlight .nb, +.highlight .nc, +.highlight .no, +.highlight .nd, +.highlight .ni, +.highlight .ne, +.highlight .nf, +.highlight .nl, +.highlight .nn, +.highlight .nx { + color: $hljs-name; +} + +.highlight .mi, +.highlight .il { + color: $hljs-number; +} + +.highlight .s, +.highlight .sb, +.highlight .sc, +.highlight .sd, +.highlight .s2, +.highlight .s3, +.highlight .sh, +.highlight .si, +.highlight .sx, +.highlight .sr, +.highlight .ss, +.highlight .s1 { + color: $hljs-string; +} + +.hljs-title, +.hljs-id, +.scss .hljs-preprocessor { + color: $hljs-title; + font-weight: bold; +} + +.highlight .k { + font-weight: normal; +} + +.highlight .nc, +.highlight .no { + color: $hljs-type; +} + +.highlight .o { + color: $hljs-tag; + font-weight: normal; +} + +.highlight .nb { + color: $hljs-attribute; +} + +.highlight .sr { + color: $hljs-regexp; +} + +.highlight .ss { + color: $hljs-symbol; +} + +.hljs-built_in { + color: $hljs-built-in; +} + +.hljs-preprocessor, +.hljs-pragma, +.hljs-pi, +.hljs-doctype, +.hljs-shebang, +.hljs-cdata { + color: $hljs-preprocessor; + font-weight: bold; +} + +.hljs-deletion { + background: $hljs-deletion; +} + +.hljs-addition { + background: $hljs-addition; +} + +.diff .hljs-change { + background: $hljs-change; +} + +.hljs-chunk { + color: $hljs-chunk; +} diff --git a/_sass/basscss/_utility-headings.scss b/_sass/basscss/_utility-headings.scss new file mode 100644 index 0000000..b9fd7f5 --- /dev/null +++ b/_sass/basscss/_utility-headings.scss @@ -0,0 +1,37 @@ +/* Basscss Utility Headings */ + +.h00 { + font-size: $h00; +} + +.h0 { + font-size: $h0; +} + +@media #{$breakpoint-md} { + .h00-responsive { + font-size: $h00-responsive; + } + + .h0-responsive { + font-size: $h0-responsive; + } + + .h1-responsive { + font-size: $h1-responsive; + } +} + +@media #{$breakpoint-xl} { + .h00-responsive { + font-size: $h00-responsive-max; + } + + .h0-responsive { + font-size: $h0-responsive-max; + } + + .h1-responsive { + font-size: $h1-responsive-max; + } +} diff --git a/_sass/basscss/_utility-typography.scss b/_sass/basscss/_utility-typography.scss new file mode 100644 index 0000000..14b1ab4 --- /dev/null +++ b/_sass/basscss/_utility-typography.scss @@ -0,0 +1,38 @@ +/* Basscss Utility Typography */ + +.bold { + font-weight: $bold-font-weight; +} + +.regular { + font-weight: normal; +} + +.italic { + font-style: italic; +} + +.caps { + text-transform: uppercase; + letter-spacing: .2em; +} + +.left-align { + text-align: left; +} + +.center { + text-align: center; +} + +.right-align { + text-align: right; +} + +.justify { + text-align: justify; +} + +.nowrap { + white-space: nowrap; +} diff --git a/_sass/basscss/_utility-white-space.scss b/_sass/basscss/_utility-white-space.scss new file mode 100644 index 0000000..c33a067 --- /dev/null +++ b/_sass/basscss/_utility-white-space.scss @@ -0,0 +1,182 @@ +/* Basscss Utility White Space */ + +.m0 { + margin: 0; +} + +.mt0 { + margin-top: 0; +} + +.mr0 { + margin-right: 0; +} + +.mb0 { + margin-bottom: 0; +} + +.ml0 { + margin-left: 0; +} + +.m1 { + margin: $space-1; +} + +.mt1 { + margin-top: $space-1; +} + +.mr1 { + margin-right: $space-1; +} + +.mb1 { + margin-bottom: $space-1; +} + +.ml1 { + margin-left: $space-1; +} + +.m2 { + margin: $space-2; +} + +.mt2 { + margin-top: $space-2; +} + +.mr2 { + margin-right: $space-2; +} + +.mb2 { + margin-bottom: $space-2; +} + +.ml2 { + margin-left: $space-2; +} + +.m3 { + margin: $space-3; +} + +.mt3 { + margin-top: $space-3; +} + +.mr3 { + margin-right: $space-3; +} + +.mb3 { + margin-bottom: $space-3; +} + +.ml3 { + margin-left: $space-3; +} + +.m4 { + margin: $space-4; +} + +.mt4 { + margin-top: $space-4; +} + +.mr4 { + margin-right: $space-4; +} + +.mb4 { + margin-bottom: $space-4; +} + +.ml4 { + margin-left: $space-4; +} + +.mxn1 { + margin-left: -$space-1; + margin-right: -$space-1; +} + +.mxn2 { + margin-left: -$space-2; + margin-right: -$space-2; +} + +.mxn3 { + margin-left: -$space-3; + margin-right: -$space-3; +} + +.mxn4 { + margin-left: -$space-4; + margin-right: -$space-4; +} + +.mx-auto { + margin-left: auto; + margin-right: auto; +} + +.p1 { + padding: $space-1; +} + +.py1 { + padding-top: $space-1; + padding-bottom: $space-1; +} + +.px1 { + padding-left: $space-1; + padding-right: $space-1; +} + +.p2 { + padding: $space-2; +} + +.py2 { + padding-top: $space-2; + padding-bottom: $space-2; +} + +.px2 { + padding-left: $space-2; + padding-right: $space-2; +} + +.p3 { + padding: $space-3; +} + +.py3 { + padding-top: $space-2; + padding-bottom: $space-1 + $space-2; +} + +.px3 { + padding-left: $space-3; + padding-right: $space-3; +} + +.p4 { + padding: $space-4; +} + +.py4 { + padding-top: $space-4; + padding-bottom: $space-4; +} + +.px4 { + padding-left: $space-4; + padding-right: $space-4; +} diff --git a/about.md b/about.md new file mode 100644 index 0000000..3f9ae60 --- /dev/null +++ b/about.md @@ -0,0 +1,94 @@ +--- +layout: page +title: About Mixyll +permalink: /about/ +tags: about +--- + +This Jekyll theme was crafted with <3 by [John Otander](http://johnotander.com) +([@4lpine](https://twitter.com/4lpine)). + +Checkout the [Github repository](https://github.com/saikiransripada/mixyll) to download it, +request a feature, report a bug, or contribute. It's free, and open source +([MIT](http://opensource.org/licenses/MIT)). + +Thanks to the following: + +* [BASSCSS](http://basscss.com) +* [Jekyll](http://jekyllrb.com) +* [Refills](http://refills.bourbon.io/) +* [Type Scale](http://type-scale.com/) + +List of contributors: + +- Aaron S. Hawley +- Adam Menges +- Alex Claman +- Alex Johnson +- Alex Touchet +- Allister Antosik +- Amin Bandali +- Anders Nissen +- Andrea Margiovanni +- Andreas Niedermair +- Andrzej Ośmiałowski +- Anuj More +- Arvind Chembarpu +- Assaf Gelber +- Barry vd. Heuvel +- Bartek Krzemień +- Benjamin Sinkula +- Bennett Rogers +- Brian Gaid +- Brian Hurst +- Chee Yeo +- Cody Chan +- Cristian Henrique +- David Ernst +- David Moodie +- Donate Altenburger +- Eddie Schoute +- Fernando Mantoan +- Gurchet Rai +- Harish Narayanan +- Jack Platten +- Jehan Tremback +- Jiaxi Gu (Isaac) +- John Otander +- Jordan Danielewski +- Josh Buxton +- Kirill Kulikov +- Kyle Maxwell +- Marta Sztybor +- Martin Wagner +- Matthew Graybosch +- Maxim Tsoy +- Mete Balci +- Mike Lloyd +- Mikhail Grachev +- mindwind +- Nick Rakochy +- Nikolay Georgiev +- Noel Bautista +- Oliver Hamlet +- Onur (e0i) +- Praveer Gupta +- Rassol (Karmeye) +- Renato Fialho +- Ricky Han +- Roberto Pesando +- Ryan Jacobs +- Scott Martin +- Selim Eren Bekçe +- Shruti Rijhwani +- Steef Hegeman +- Tehmasp Chaudhri +- Thomas Galvin +- Timothy Gu +- Tom Kraak +- Vishnu Ks +- Vladislav Arbatov +- Wilfred Hughes +- Yaroslav Yadrishnikov +- Yee Chie Tu +- Yeou Chien diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..64545ee --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,23 @@ +# appveyor.yml + +environment: + RUBY_VERSION: 25 + +platform: + - x64 + +install: + - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH% + - bundle install + +before_build: + - ruby -v + - gem -v + - rake --version + - bundle -v + - bundle exec jekyll -v + +build_script: + - bundle exec jekyll build + - rake 'draft[Hello\, world]' + - rake undraft[hello-world.md] diff --git a/contact.html b/contact.html new file mode 100644 index 0000000..2e2f6f0 --- /dev/null +++ b/contact.html @@ -0,0 +1,47 @@ +--- +layout: page +title: Say Hello +permalink: /contact/ +tags: contact +--- + +
+ {% if site.ajaxify_contact_form %} +
+ + + + + + + +
+ {% else %} +
+ + + + + + + + +
+ {% endif %} +
+ +{% if site.ajaxify_contact_form %} + {% include ajaxify_content_form.html %} +{% endif %} diff --git a/css/style.scss b/css/style.scss new file mode 100644 index 0000000..62a9754 --- /dev/null +++ b/css/style.scss @@ -0,0 +1,28 @@ +--- +# The scss file which include files from _sass/ +--- +@charset "UTF-8"; + +@import 'variables'; + +@import 'basscss'; + +@import 'base'; + +@import 'links'; +@import 'positions'; +@import 'clearfix'; +@import 'code'; +@import 'forms'; +@import 'typography'; +@import 'header'; +@import 'tables'; +@import 'animations'; +@import 'footer'; +@import 'social-icons'; +@import 'blockquotes'; +@import 'posts'; +@import 'media-queries'; +@import 'gists'; +@import 'measure'; +@import 'pagination'; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..ea74aa8 Binary files /dev/null and b/favicon.ico differ diff --git a/fb-instant-articles.xml b/fb-instant-articles.xml new file mode 100644 index 0000000..42a9481 --- /dev/null +++ b/fb-instant-articles.xml @@ -0,0 +1,35 @@ +--- +layout: null +--- + + + + + {{ site.name | xml_escape }} + {{ site.url }} + + {% if site.description %}{{ site.description | xml_escape }}{% endif %} + + {% for post in site.posts %} + {% unless post.link %} + + {{ post.title | xml_escape }} + {{ site.url }}{{ post.url }} + + + + {{ post.url }} + + {% if post.summary %} + {{ post.summary | xml_escape }} + {% endif %} + + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.author }} + + {% endunless %} + {% endfor %} + + diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..df74dca --- /dev/null +++ b/feed.xml @@ -0,0 +1,21 @@ +--- +layout: null +--- + + + + {{ site.title | xml_escape }} + {{ site.description | xml_escape }} + {{ site.url }}{{ site.baseurl }}/ + + {% for post in site.posts limit:10 %} + + {{ post.title | xml_escape }} + {{ post.content | xml_escape }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + {{ post.url | prepend: site.baseurl | prepend: site.url }} + + {% endfor %} + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..f7d227b --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ +--- +layout: default +--- +{% assign posts_count = paginator.posts | size %} + +
+ {% if posts_count > 0 %} +
+ {% for post in paginator.posts %} +
+ +

{{ post.title }}

+ + {% if post.summary %} + {{ post.summary }} + {% else %} + {{ post.excerpt }} + {% endif %} + +
+ {% endfor %} +
+ + {% include pagination.html %} + {% else %} +

{{ site.text.index.coming_soon }}

+ {% endif %} +
diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..0d36638 --- /dev/null +++ b/sw.js @@ -0,0 +1,54 @@ +--- +layout: null +--- +var CACHE_NAME = "saikiransripada-{{site.time | date: '%Y%m%d%H%M%S'}}"; + +self.addEventListener("install", function(e) { + e.waitUntil( + caches.open(CACHE_NAME).then(function(cache) { + return cache.addAll([ + "{{ '/css/style.css' | relative_url }}?{{ site.time | date: '%Y%m%d%H%M' }}", + "{{ '/' | relative_url }}" + ]); + }) + ); +}); + +self.addEventListener("activate", function(e) { + e.waitUntil( + caches.keys().then(function(names) { + return Promise.all( + names.map(function(name) { + if (name != CACHE_NAME) { + return caches.delete(name); + } + }) + ); + }) + ); + return clients.claim(); +}); + +addEventListener("fetch", function(e) { + e.respondWith( + caches.match(e.request).then(function(response) { + return response || fetch(e.request).then(function(response) { + var clonedResponse = response.clone(); + var hosts = [ + "https://fonts.googleapis.com", + "https://fonts.gstatic.com", + "https://maxcdn.bootstrapcdn.com", + "https://cdnjs.cloudflare.com" + ]; + hosts.map(function(host) { + if (e.request.url.indexOf(host) === 0) { + caches.open(CACHE_NAME).then(function(cache) { + cache.put(e.request, clonedResponse); + }); + } + }); + return response; + }); + }) + ); +}); diff --git a/thanks.md b/thanks.md new file mode 100644 index 0000000..2df886f --- /dev/null +++ b/thanks.md @@ -0,0 +1,6 @@ +--- +layout: page +title: Thanks For Your Message +permalink: /thanks/ +--- +{{ site.text.thanks }} \ No newline at end of file