Giter Site home page Giter Site logo

boldandblue's Introduction

Bold and Blue Octopress Theme

Bold and Blue is an Octopress theme designed to be bold, but minimal.

Bold and Blue

For a demo, head this way.

To get this snazzy fellow running on your blog, follow the instructions below.

Navigate to the root of your Octopress install, then run these two commands.

$ git clone https://github.com/johnkeith/boldandblue.git .themes/boldandblue
	
$ bundle exec rake install['boldandblue']

Or, if zsh is giving you grief, use this instead of the previous line.

$ bundle exec rake install\['boldandblue'\]

Tada! That's all folks - read on only if you want to see the rational behind some of Bold and Blue's design decisions.

Whys and Wherefores of the Design

Octopress' basic theme does a great job with many aspects: layout, typography, and responsiveness. (In short, readability is the base design's strong suit). What it lacks, however, is pizzaz.

This theme aims to add a little boldness to the mix, while retaining the spirit of what makes Octopress a user-friendly and recognizable platform.

Bold and Blue changes the default Octopress fonts. The default serif stack is now $serif: "Noto Serif", serif; and the default sans stack is $sans: "Open Sans", sans-serif; . The heading font family uses the sans stack.

Color is also altered in this theme, in a semi-major way. Under sass/custom/_colors.scss you can see the changes that were made in order to strip out the darkness and textures of the default Octopress theme. This new theme utilizes Octopress's grey defaults for the majority of the typography, but it adds an accent color that can be seen in the site title and all links. For this acccent color, Bold and Blue currently uses the solarized blue (#268bd2) that is also found in the codeblocks. This accent can easily be changed - simply alter the value of $link-color in the _colors.scss file and this will change the colors in the navbar, the title, and even the text in the search box.

Typographically, a few changes were made. Due to the increased width of the body (1320px max as opposed to the 1200px max of Octopress' defaults), the line-height and font-size of the body element have been increased to 1.8em and 1.1em respectively. (You can see this change in sass/custom/_styles.scss).

Bold and Blue also incorporates a sticky header. While I may try to animate the header's sticking process at some point in the future, for now I think the transition is fine, due to the white background of both header and body. The jQuery that enables the sticky header can be found in the source/_includes/custom/after_footer.html, while the CSS that keeps the header where it needs to be is in the _styles.scss file. (The jQuery and CSS snippets for this header came from this article).

Additionally, the site search box has been moved into the sidebar, due to the fixed position of the header. Along with this, the RSS icon has been commented out, like the search box, in the source/_includes/navigation.html file. You can find the new location of the search box in source/_includes/index.html.

Finally, material in the sidebar has been seperated into its own file - source/_includes/aside.html. This file is then included in the source/index.html, source/_layouts/page.html, and source/_layouts/post.html.

boldandblue's People

Contributors

dgmstuart avatar jbinto avatar johnkeith avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.