");
18 | $(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
19 | $("nav ul li:first-child a").parent().addClass("active");
20 | });
21 |
22 | $("nav ul li").on("click", "a", function(event) {
23 | var position = $($(this).attr("href")).offset().top - 190;
24 | $("html, body").animate({scrollTop: position}, 400);
25 | $("nav ul li a").parent().removeClass("active");
26 | $(this).parent().addClass("active");
27 | event.preventDefault();
28 | });
29 |
30 | sectionHeight();
31 |
32 | $('img').on('load', sectionHeight);
33 | });
34 |
--------------------------------------------------------------------------------
/.github/config.yml:
--------------------------------------------------------------------------------
1 | # Behaviorbot config. See https://github.com/behaviorbot/ for more information.
2 | # Note: Please Don't edit this file directly.
3 | # Edit https://github.com/pages-themes/maintenance-scripts instead.
4 |
5 | # Configuration for update-docs - https://github.com/behaviorbot/update-docs
6 | updateDocsComment: "Thanks for the pull request! If you are making any changes to the user-facing functionality, please be sure to update the documentation in the `README` or `docs/` folder alongside your change. :heart:"
7 |
8 | # Configuration for request-info - https://github.com/behaviorbot/request-info
9 | requestInfoReplyComment: Thanks for this. Do you mind providing a bit more information about what problem you're trying to solve?
10 | requestInfoLabelToAdd: more-information-needed
11 |
12 | # Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
13 | #newIssueWelcomeComment: >
14 | # Welcome!
15 |
16 | # Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
17 | newPRWelcomeComment: Welcome! Congrats on your first pull request to the Leap Day theme. If you haven't already, please be sure to check out [the contributing guidelines](https://github.com/pages-themes/leap-day/blob/master/docs/CONTRIBUTING.md).
18 |
19 | # Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
20 | firstPRMergeComment: "Congrats on getting your first pull request to the Leap Day theme merged! Without amazing humans like you submitting pull requests, we couldn’t run this project. You rock! :tada:
55 |
56 |
57 |
--------------------------------------------------------------------------------
/_sass/fonts.scss:
--------------------------------------------------------------------------------
1 |
2 | @font-face {
3 | font-family: 'Quattrocento Sans';
4 | src: url('../fonts/quattrocentosans-bold-webfont.eot');
5 | src: url('../fonts/quattrocentosans-bold-webfont.eot?#iefix') format('embedded-opentype'),
6 | url('../fonts/quattrocentosans-bold-webfont.woff') format('woff'),
7 | url('../fonts/quattrocentosans-bold-webfont.ttf') format('truetype'),
8 | url('../fonts/quattrocentosans-bold-webfont.svg#QuattrocentoSansBold') format('svg');
9 | font-weight: bold;
10 | font-style: normal;
11 | }
12 |
13 | @font-face {
14 | font-family: 'Quattrocento Sans';
15 | src: url('../fonts/quattrocentosans-bolditalic-webfont.eot');
16 | src: url('../fonts/quattrocentosans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
17 | url('../fonts/quattrocentosans-bolditalic-webfont.woff') format('woff'),
18 | url('../fonts/quattrocentosans-bolditalic-webfont.ttf') format('truetype'),
19 | url('../fonts/quattrocentosans-bolditalic-webfont.svg#QuattrocentoSansBoldItalic') format('svg');
20 | font-weight: bold;
21 | font-style: italic;
22 | }
23 |
24 | @font-face {
25 | font-family: 'Quattrocento Sans';
26 | src: url('../fonts/quattrocentosans-italic-webfont.eot');
27 | src: url('../fonts/quattrocentosans-italic-webfont.eot?#iefix') format('embedded-opentype'),
28 | url('../fonts/quattrocentosans-italic-webfont.woff') format('woff'),
29 | url('../fonts/quattrocentosans-italic-webfont.ttf') format('truetype'),
30 | url('../fonts/quattrocentosans-italic-webfont.svg#QuattrocentoSansItalic') format('svg');
31 | font-weight: normal;
32 | font-style: italic;
33 | }
34 |
35 | @font-face {
36 | font-family: 'Quattrocento Sans';
37 | src: url('../fonts/quattrocentosans-regular-webfont.eot');
38 | src: url('../fonts/quattrocentosans-regular-webfont.eot?#iefix') format('embedded-opentype'),
39 | url('../fonts/quattrocentosans-regular-webfont.woff') format('woff'),
40 | url('../fonts/quattrocentosans-regular-webfont.ttf') format('truetype'),
41 | url('../fonts/quattrocentosans-regular-webfont.svg#QuattrocentoSansRegular') format('svg');
42 | font-weight: normal;
43 | font-style: normal;
44 | }
45 |
46 | @font-face {
47 | font-family: 'Copse';
48 | src: url('../fonts/copse-regular-webfont.eot');
49 | src: url('../fonts/copse-regular-webfont.eot?#iefix') format('embedded-opentype'),
50 | url('../fonts/copse-regular-webfont.woff') format('woff'),
51 | url('../fonts/copse-regular-webfont.ttf') format('truetype'),
52 | url('../fonts/copse-regular-webfont.svg#CopseRegular') format('svg');
53 | font-weight: normal;
54 | font-style: normal;
55 | }
56 |
--------------------------------------------------------------------------------
/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 | Text can be **bold**, _italic_, or ~~strikethrough~~.
6 |
7 | [Link to another page](./another-page.html).
8 |
9 | There should be whitespace between paragraphs.
10 |
11 | There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
12 |
13 | # Header 1
14 |
15 | This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
16 |
17 | ## Header 2
18 |
19 | > This is a blockquote following a header.
20 | >
21 | > When something is important enough, you do it even if the odds are not in your favor.
22 |
23 | ### Header 3
24 |
25 | ```js
26 | // Javascript code with syntax highlighting.
27 | var fun = function lang(l) {
28 | dateformat.i18n = require('./lang/' + l)
29 | return true;
30 | }
31 | ```
32 |
33 | ```ruby
34 | # Ruby code with syntax highlighting
35 | GitHubPages::Dependencies.gems.each do |gem, version|
36 | s.add_dependency(gem, "= #{version}")
37 | end
38 | ```
39 |
40 | #### Header 4
41 |
42 | * This is an unordered list following a header.
43 | * This is an unordered list following a header.
44 | * This is an unordered list following a header.
45 |
46 | ##### Header 5
47 |
48 | 1. This is an ordered list following a header.
49 | 2. This is an ordered list following a header.
50 | 3. This is an ordered list following a header.
51 |
52 | ###### Header 6
53 |
54 | | head1 | head two | three |
55 | |:-------------|:------------------|:------|
56 | | ok | good swedish fish | nice |
57 | | out of stock | good and plenty | nice |
58 | | ok | good `oreos` | hmm |
59 | | ok | good `zoute` drop | yumm |
60 |
61 | ### There's a horizontal rule below this.
62 |
63 | * * *
64 |
65 | ### Here is an unordered list:
66 |
67 | * Item foo
68 | * Item bar
69 | * Item baz
70 | * Item zip
71 |
72 | ### And an ordered list:
73 |
74 | 1. Item one
75 | 1. Item two
76 | 1. Item three
77 | 1. Item four
78 |
79 | ### And a nested list:
80 |
81 | - level 1 item
82 | - level 2 item
83 | - level 2 item
84 | - level 3 item
85 | - level 3 item
86 | - level 1 item
87 | - level 2 item
88 | - level 2 item
89 | - level 2 item
90 | - level 1 item
91 | - level 2 item
92 | - level 2 item
93 | - level 1 item
94 |
95 | ### Small image
96 |
97 | 
98 |
99 | ### Large image
100 |
101 | 
102 |
103 |
104 | ### Definition lists can be used with HTML syntax.
105 |
106 |
107 |
Name
108 |
Godzilla
109 |
Born
110 |
1952
111 |
Birthplace
112 |
Japan
113 |
Color
114 |
Green
115 |
116 |
117 | ```
118 | Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
119 | ```
120 |
121 | ```
122 | The final element.
123 | ```
124 |
--------------------------------------------------------------------------------
/docs/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | * Using welcoming and inclusive language
12 | * Being respectful of differing viewpoints and experiences
13 | * Gracefully accepting constructive criticism
14 | * Focusing on what is best for the community
15 | * Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | * Trolling, insulting/derogatory comments, and personal or political attacks
21 | * Public or private harassment
22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | * Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 | ## Enforcement
36 |
37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at opensource@github.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38 |
39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40 |
41 | ## Attribution
42 |
43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44 |
45 | [homepage]: http://contributor-covenant.org
46 | [version]: http://contributor-covenant.org/version/1/4/
47 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # The Leap day theme
2 |
3 | [](https://github.com/pages-themes/leap-day/actions/workflows/ci.yaml) [](https://badge.fury.io/rb/jekyll-theme-leap-day)
4 |
5 | *Leap day is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/leap-day), or even [use it today](#usage).*
6 |
7 | 
8 |
9 | ## Usage
10 |
11 | To use the Leap day theme:
12 |
13 | 1. Add the following to your site's `_config.yml`:
14 |
15 | ```yml
16 | remote_theme: pages-themes/leap-day@v0.2.0
17 | plugins:
18 | - jekyll-remote-theme # add this line to the plugins list if you already have one
19 | ```
20 |
21 | 2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
22 |
23 | ```ruby
24 | gem "github-pages", group: :jekyll_plugins
25 | ```
26 |
27 | ## Customizing
28 |
29 | ### Configuration variables
30 |
31 | Leap day will respect the following variables, if set in your site's `_config.yml`:
32 |
33 | ```yml
34 | title: [The title of your site]
35 | description: [A short description of your site's purpose]
36 | ```
37 |
38 | Additionally, you may choose to set the following optional variables:
39 |
40 | ```yml
41 | show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL]
42 | google_analytics: [Your Google Analytics tracking ID]
43 | ```
44 |
45 | ### Stylesheet
46 |
47 | If you'd like to add your own custom styles:
48 |
49 | 1. Create a file called `/assets/css/style.scss` in your site
50 | 2. Add the following content to the top of the file, exactly as shown:
51 | ```scss
52 | ---
53 | ---
54 |
55 | @import "{{ site.theme }}";
56 | ```
57 | 3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
58 |
59 | *Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
60 |
61 | ### Layouts
62 |
63 | If you'd like to change the theme's HTML layout:
64 |
65 | 1. For some changes such as a custom `favicon`, you can add custom files in your local `_includes` folder. The files [provided with the theme](https://github.com/pages-themes/leap-day/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/leap-day/blob/master/_layouts/default.html).
66 | 2. For more extensive changes, [copy the original template](https://github.com/pages-themes/leap-day/blob/master/_layouts/default.html) from the theme's repository (*Pro-tip: click "raw" to make copying easier*)
67 | 3. Create a file called `/_layouts/default.html` in your site
68 | 4. Paste the default layout content copied in the first step
69 | 5. Customize the layout as you'd like
70 |
71 | ### Customizing Google Analytics code
72 |
73 | Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into `_includes/head-custom-google-analytics.html` in your Jekyll site.
74 |
75 | ### Overriding GitHub-generated URLs
76 |
77 | Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs:
78 |
79 | 1. Look at [the template source](https://github.com/pages-themes/leap-day/blob/master/_layouts/default.html) to determine the name of the variable. It will be in the form of `{{ site.github.zip_url }}`.
80 | 2. Specify the URL that you'd like the template to use in your site's `_config.yml`. For example, if the variable was `site.github.url`, you'd add the following:
81 | ```yml
82 | github:
83 | zip_url: http://example.com/download.zip
84 | another_url: another value
85 | ```
86 | 3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.
87 |
88 | *Note: You must remove the `site.` prefix, and each variable name (after the `github.`) should be indent with two space below `github:`.*
89 |
90 | For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
91 |
92 | ## Roadmap
93 |
94 | See the [open issues](https://github.com/pages-themes/leap-day/issues) for a list of proposed features (and known issues).
95 |
96 | ## Project philosophy
97 |
98 | The Leap day theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
99 |
100 | ## Contributing
101 |
102 | Interested in contributing to Leap day? We'd love your help. Leap day is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](docs/CONTRIBUTING.md) for instructions on how to contribute.
103 |
104 | ### Previewing the theme locally
105 |
106 | If you'd like to preview the theme locally (for example, in the process of proposing a change):
107 |
108 | 1. Clone down the theme's repository (`git clone https://github.com/pages-themes/leap-day`)
109 | 2. `cd` into the theme's directory
110 | 3. Run `script/bootstrap` to install the necessary dependencies
111 | 4. Run `bundle exec jekyll serve` to start the preview server
112 | 5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
113 |
114 | ### Running tests
115 |
116 | The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` once before the test script will work.
117 |
--------------------------------------------------------------------------------
/docs/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to the Leap Day theme
2 |
3 | Hi there! We're thrilled that you'd like to contribute to the Leap Day theme. Your help is essential for keeping it great.
4 |
5 | the Leap Day theme is an open source project supported by the efforts of an entire community and built one contribution at a time by users like you. We'd love for you to get involved. Whatever your level of skill or however much time you can give, your contribution is greatly appreciated. There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests, helping other users by commenting on issues, or writing code which can be incorporated into the Leap Day theme itself.
6 |
7 | Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
8 |
9 |
10 | ## Looking for support?
11 |
12 | We'd love to help. Check out [the support guidelines](SUPPORT.md).
13 |
14 | ## How to report a bug
15 |
16 | Think you found a bug? Please check [the list of open issues](https://github.com/pages-themes/leap-day/issues) to see if your bug has already been reported. If it hasn't please [submit a new issue](https://github.com/pages-themes/leap-day/issues/new).
17 |
18 | Here are a few tips for writing *great* bug reports:
19 |
20 | * Describe the specific problem (e.g., "widget doesn't turn clockwise" versus "getting an error")
21 | * Include the steps to reproduce the bug, what you expected to happen, and what happened instead
22 | * Check that you are using the latest version of the project and its dependencies
23 | * Include what version of the project your using, as well as any relevant dependencies
24 | * Only include one bug per issue. If you have discovered two bugs, please file two issues
25 | * Even if you don't know how to fix the bug, including a failing test may help others track it down
26 |
27 | **If you find a security vulnerability, do not open an issue. Please email security@github.com instead.**
28 |
29 | ## How to suggest a feature or enhancement
30 |
31 | If you find yourself wishing for a feature that doesn't exist in the Leap Day theme, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that the Leap Day theme has today have been added because our users saw the need.
32 |
33 | Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and goals of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Please provide as much detail and context as possible, including describing the problem you're trying to solve.
34 |
35 | [Open an issue](https://github.com/pages-themes/leap-day/issues/new) which describes the feature you would like to see, why you want it, how it should work, etc.
36 |
37 |
38 |
39 | ## Your first contribution
40 |
41 | We'd love for you to contribute to the project. Unsure where to begin contributing to the Leap Day theme? You can start by looking through these "good first issue" and "help wanted" issues:
42 |
43 | * [Good first issues](https://github.com/pages-themes/leap-day/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - issues which should only require a few lines of code and a test or two
44 | * [Help wanted issues](https://github.com/pages-themes/leap-day/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) - issues which may be a bit more involved, but are specifically seeking community contributions
45 |
46 | *p.s. Feel free to ask for help; everyone is a beginner at first* :smiley_cat:
47 |
48 | ## How to propose changes
49 |
50 | Here's a few general guidelines for proposing changes:
51 |
52 | * If you are making visual changes, include a screenshot of what the affected element looks like, both before and after.
53 | * Follow the [Jekyll style guide](https://ben.balter.com/jekyll-style-guide).
54 | * If you are changing any user-facing functionality, please be sure to update the documentation
55 | * Each pull request should implement **one** feature or bug fix. If you want to add or fix more than one thing, submit more than one pull request
56 | * Do not commit changes to files that are irrelevant to your feature or bug fix
57 | * Don't bump the version number in your pull request (it will be bumped prior to release)
58 | * Write [a good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
59 |
60 | At a high level, [the process for proposing changes](https://guides.github.com/introduction/flow/) is:
61 |
62 | 1. [Fork](https://github.com/pages-themes/leap-day/fork) and clone the project
63 | 2. Configure and install the dependencies: `script/bootstrap`
64 | 3. Make sure the tests pass on your machine: `script/cibuild`
65 | 4. Create a new branch: `git checkout -b my-branch-name`
66 | 5. Make your change, add tests, and make sure the tests still pass
67 | 6. Push to your fork and [submit a pull request](https://github.com/pages-themes/leap-day/compare)
68 | 7. Pat your self on the back and wait for your pull request to be reviewed and merged
69 |
70 | **Interesting in submitting your first Pull Request?** It's easy! You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
71 |
72 | ## Bootstrapping your local development environment
73 |
74 | `script/bootstrap`
75 |
76 | ## Running tests
77 |
78 | `script/cibuild`
79 |
80 | ## Publishing Gem
81 | In order to publish the Gem bump the version in *this file*, commit, create a tag with the new version number, and finally push the commit and tag to the repo.
82 |
83 | ## Code of conduct
84 |
85 | This project is governed by [the Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
86 |
87 | ## Additional Resources
88 |
89 | * [Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)
90 | * [Using Pull Requests](https://help.github.com/articles/using-pull-requests/)
91 | * [GitHub Help](https://help.github.com)
92 |
--------------------------------------------------------------------------------
/assets/images/octocat-logo.svg:
--------------------------------------------------------------------------------
1 |
2 |
98 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | CC0 1.0 Universal
2 |
3 | Statement of Purpose
4 |
5 | The laws of most jurisdictions throughout the world automatically confer
6 | exclusive Copyright and Related Rights (defined below) upon the creator and
7 | subsequent owner(s) (each and all, an "owner") of an original work of
8 | authorship and/or a database (each, a "Work").
9 |
10 | Certain owners wish to permanently relinquish those rights to a Work for the
11 | purpose of contributing to a commons of creative, cultural and scientific
12 | works ("Commons") that the public can reliably and without fear of later
13 | claims of infringement build upon, modify, incorporate in other works, reuse
14 | and redistribute as freely as possible in any form whatsoever and for any
15 | purposes, including without limitation commercial purposes. These owners may
16 | contribute to the Commons to promote the ideal of a free culture and the
17 | further production of creative, cultural and scientific works, or to gain
18 | reputation or greater distribution for their Work in part through the use and
19 | efforts of others.
20 |
21 | For these and/or other purposes and motivations, and without any expectation
22 | of additional consideration or compensation, the person associating CC0 with a
23 | Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25 | and publicly distribute the Work under its terms, with knowledge of his or her
26 | Copyright and Related Rights in the Work and the meaning and intended legal
27 | effect of CC0 on those rights.
28 |
29 | 1. Copyright and Related Rights. A Work made available under CC0 may be
30 | protected by copyright and related or neighboring rights ("Copyright and
31 | Related Rights"). Copyright and Related Rights include, but are not limited
32 | to, the following:
33 |
34 | i. the right to reproduce, adapt, distribute, perform, display, communicate,
35 | and translate a Work;
36 |
37 | ii. moral rights retained by the original author(s) and/or performer(s);
38 |
39 | iii. publicity and privacy rights pertaining to a person's image or likeness
40 | depicted in a Work;
41 |
42 | iv. rights protecting against unfair competition in regards to a Work,
43 | subject to the limitations in paragraph 4(a), below;
44 |
45 | v. rights protecting the extraction, dissemination, use and reuse of data in
46 | a Work;
47 |
48 | vi. database rights (such as those arising under Directive 96/9/EC of the
49 | European Parliament and of the Council of 11 March 1996 on the legal
50 | protection of databases, and under any national implementation thereof,
51 | including any amended or successor version of such directive); and
52 |
53 | vii. other similar, equivalent or corresponding rights throughout the world
54 | based on applicable law or treaty, and any national implementations thereof.
55 |
56 | 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59 | and Related Rights and associated claims and causes of action, whether now
60 | known or unknown (including existing as well as future claims and causes of
61 | action), in the Work (i) in all territories worldwide, (ii) for the maximum
62 | duration provided by applicable law or treaty (including future time
63 | extensions), (iii) in any current or future medium and for any number of
64 | copies, and (iv) for any purpose whatsoever, including without limitation
65 | commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66 | the Waiver for the benefit of each member of the public at large and to the
67 | detriment of Affirmer's heirs and successors, fully intending that such Waiver
68 | shall not be subject to revocation, rescission, cancellation, termination, or
69 | any other legal or equitable action to disrupt the quiet enjoyment of the Work
70 | by the public as contemplated by Affirmer's express Statement of Purpose.
71 |
72 | 3. Public License Fallback. Should any part of the Waiver for any reason be
73 | judged legally invalid or ineffective under applicable law, then the Waiver
74 | shall be preserved to the maximum extent permitted taking into account
75 | Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76 | is so judged Affirmer hereby grants to each affected person a royalty-free,
77 | non transferable, non sublicensable, non exclusive, irrevocable and
78 | unconditional license to exercise Affirmer's Copyright and Related Rights in
79 | the Work (i) in all territories worldwide, (ii) for the maximum duration
80 | provided by applicable law or treaty (including future time extensions), (iii)
81 | in any current or future medium and for any number of copies, and (iv) for any
82 | purpose whatsoever, including without limitation commercial, advertising or
83 | promotional purposes (the "License"). The License shall be deemed effective as
84 | of the date CC0 was applied by Affirmer to the Work. Should any part of the
85 | License for any reason be judged legally invalid or ineffective under
86 | applicable law, such partial invalidity or ineffectiveness shall not
87 | invalidate the remainder of the License, and in such case Affirmer hereby
88 | affirms that he or she will not (i) exercise any of his or her remaining
89 | Copyright and Related Rights in the Work or (ii) assert any associated claims
90 | and causes of action with respect to the Work, in either case contrary to
91 | Affirmer's express Statement of Purpose.
92 |
93 | 4. Limitations and Disclaimers.
94 |
95 | a. No trademark or patent rights held by Affirmer are waived, abandoned,
96 | surrendered, licensed or otherwise affected by this document.
97 |
98 | b. Affirmer offers the Work as-is and makes no representations or warranties
99 | of any kind concerning the Work, express, implied, statutory or otherwise,
100 | including without limitation warranties of title, merchantability, fitness
101 | for a particular purpose, non infringement, or the absence of latent or
102 | other defects, accuracy, or the present or absence of errors, whether or not
103 | discoverable, all to the greatest extent permissible under applicable law.
104 |
105 | c. Affirmer disclaims responsibility for clearing rights of other persons
106 | that may apply to the Work or any use thereof, including without limitation
107 | any person's Copyright and Related Rights in the Work. Further, Affirmer
108 | disclaims responsibility for obtaining any necessary consents, permissions
109 | or other rights required for any use of the Work.
110 |
111 | d. Affirmer understands and acknowledges that Creative Commons is not a
112 | party to this document and has no duty or obligation with respect to this
113 | CC0 or use of the Work.
114 |
115 | For more information, please see
116 |
117 |
--------------------------------------------------------------------------------
/_sass/jekyll-theme-leap-day.scss:
--------------------------------------------------------------------------------
1 | /*
2 | Leap Day for GitHub Pages
3 | by Matt Graham
4 | */
5 |
6 | @import "normalize";
7 | @import "fonts";
8 | @import "rouge-base16-dark";
9 |
10 | body {
11 | font:14px/22px 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
12 | color:#2b2b2b;
13 | font-weight:300;
14 | margin: 0px;
15 | padding:0px 0 20px 0px;
16 | background: url(../images/body-background.png) #eae6d1;
17 | }
18 |
19 | h1, h2, h3, h4, h5, h6 {
20 | color:#333;
21 | margin:0 0 10px;
22 | }
23 |
24 | p, ul, ol, table, pre, dl {
25 | margin:0 0 20px;
26 | }
27 |
28 | h1, h2, h3 {
29 | line-height:1.1;
30 | }
31 |
32 | h1 {
33 | font-size:28px;
34 | }
35 |
36 | h2 {
37 | font-size: 24px;
38 | color:#393939;
39 | }
40 |
41 | h3, h4, h5, h6 {
42 | color:#666666;
43 | }
44 |
45 | h3 {
46 | font-size: 18px;
47 | line-height: 24px;
48 | }
49 |
50 | a {
51 | color:#4276b6;
52 | font-weight:400;
53 | text-decoration:none;
54 | }
55 |
56 | a small {
57 | font-size:11px;
58 | color:#666;
59 | margin-top:-0.6em;
60 | display:block;
61 | }
62 |
63 | ul{
64 | list-style-image:url('../images/bullet.png');
65 | }
66 |
67 | strong {
68 | font-weight: bold;
69 | color: #333;
70 | }
71 |
72 | .wrapper {
73 | width:650px;
74 | margin:0 auto;
75 | position:relative;
76 | }
77 |
78 | section img {
79 | max-width: 100%;
80 | }
81 |
82 | blockquote {
83 | border-left:1px solid #ffcc00;
84 | margin:0;
85 | padding:0 0 0 20px;
86 | font-style:italic;
87 | }
88 |
89 | code {
90 | font-family: 'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
91 | font-size:13px;
92 | color:#efefef;
93 | text-shadow: 0px 1px 0px #000;
94 | margin: 0 4px;
95 | padding: 2px 6px;
96 | background: #333;
97 | border-radius: 2px;
98 | }
99 |
100 | pre {
101 | padding:8px 15px;
102 | background: #333333;
103 | border-radius: 3px;
104 | border:1px solid #c7c7c7;
105 | overflow: auto;
106 | overflow-y: hidden;
107 |
108 | code {
109 | margin: 0px;
110 | padding: 0px;
111 | }
112 | }
113 |
114 | kbd {
115 | background-color: #fafbfc;
116 | border: 1px solid #c6cbd1;
117 | border-bottom-color: #959da5;
118 | border-radius: 3px;
119 | box-shadow: inset 0 -1px 0 #959da5;
120 | color: #444d56;
121 | display: inline-block;
122 | font-size: 11px;
123 | line-height: 10px;
124 | padding: 3px 5px;
125 | vertical-align: middle;
126 | }
127 |
128 | table {
129 | width:100%;
130 | border-collapse:collapse;
131 | }
132 |
133 | th {
134 | text-align:left;
135 | padding:5px 10px;
136 | border-bottom:1px solid #e5e5e5;
137 | color: #444;
138 | }
139 |
140 | td {
141 | text-align:left;
142 | padding:5px 10px;
143 | border-bottom:1px solid #e5e5e5;
144 | border-right: 1px solid #ffcc00;
145 |
146 | &:first-child {
147 | border-left: 1px solid #ffcc00;
148 | }
149 | }
150 |
151 | hr {
152 | border: 0;
153 | outline: none;
154 | height: 11px;
155 | background: transparent url('../images/hr.gif') center center repeat-x;
156 | margin: 0 0 20px;
157 | }
158 |
159 | dt {
160 | color:#444;
161 | font-weight:700;
162 | }
163 |
164 | header {
165 | padding: 25px 20px 40px 20px;
166 | margin: 0;
167 | position: fixed;
168 | top: 0;
169 | left:0;
170 | right:0;
171 | width: 100%;
172 | text-align: center;
173 | background: url(../images/background.png) #4276b6;
174 | box-shadow: 1px 0px 2px rgba(0,0,0,.75);
175 | z-index:99;
176 | -webkit-font-smoothing:antialiased;
177 | min-height: 76px;
178 |
179 | h1 {
180 | font: 40px/48px 'Copse', "Helvetica Neue", Helvetica, Arial, sans-serif;
181 | color: #f3f3f3;
182 | text-shadow: 0px 2px 0px #235796;
183 | margin: 0px;
184 | white-space: nowrap;
185 | overflow: hidden;
186 | text-overflow: ellipsis;
187 | -o-text-overflow: ellipsis;
188 | -ms-text-overflow: ellipsis;
189 | }
190 |
191 | p {
192 | color: #d8d8d8;
193 | text-shadow:rgba(#000, 0.2) 0 1px 0;
194 | font-size: 18px;
195 | margin: 0px;
196 | }
197 | }
198 |
199 | #banner {
200 | z-index: 100;
201 | left:0;
202 | right:50%;
203 | height: 50px;
204 | margin-right:-382px;
205 | position: fixed;
206 | top: 115px;
207 | background: #ffcc00;
208 | border: 1px solid #f0b500;
209 | box-shadow: 0px 1px 3px rgba(0,0,0,.25);
210 | border-radius: 0px 2px 2px 0px;
211 | padding-right: 10px;
212 |
213 | .button {
214 | border: 1px solid #dba500;
215 | background: linear-gradient(rgb(255, 231, 136), rgb(255, 206, 56));
216 | border-radius: 2px;
217 | box-shadow: inset 0px 1px 0px rgba(255,255,255,.4), 0px 1px 1px rgba(0,0,0,.1);
218 | background-color: #FFE788;
219 | margin-left: 5px;
220 | padding: 10px 12px;
221 | margin-top: 6px;
222 | line-height:14px;
223 | font-size:14px;
224 | color:#333;
225 | font-weight: bold;
226 | display:inline-block;
227 | text-align:center;
228 |
229 | &:hover {
230 | background: linear-gradient(rgb(255, 231, 136), rgb(255, 231, 136));
231 | background-color: #ffeca0;
232 | }
233 | }
234 |
235 | .fork {
236 | position:fixed;
237 | left:50%;
238 | margin-left:-325px;
239 | padding: 10px 12px;
240 | margin-top: 6px;
241 | line-height:14px;
242 | font-size:14px;
243 | background-color: #FFE788;
244 | }
245 |
246 | .downloads {
247 | float: right;
248 | margin:0 45px 0 0;
249 |
250 | span {
251 | float:left;
252 | line-height:52px;
253 | font-size:90%;
254 | color:#9d7f0d;
255 | text-transform:uppercase;
256 | text-shadow:rgba(#fff, 0.2) 0 1px 0;
257 | }
258 | }
259 |
260 | ul {
261 | list-style:none;
262 | height:40px;
263 | padding:0;
264 | float: left;
265 | margin-left:10px;
266 |
267 | li {
268 | display:inline;
269 |
270 | a.button {
271 | background-color: #FFE788;
272 | }
273 | }
274 | }
275 |
276 | #logo {
277 | position:absolute;
278 | height: 36px;
279 | width: 36px;
280 | right:7px;
281 | top:7px;
282 | display: block;
283 | background: url(../images/octocat-logo.svg);
284 | }
285 | }
286 |
287 | section {
288 | width:590px;
289 | padding: 30px 30px 50px 30px;
290 | margin: 20px 0;
291 | margin-top: 190px;
292 | position:relative;
293 | background: #fbfbfb;
294 | border-radius: 3px;
295 | border: 1px solid #cbcbcb;
296 | box-shadow: 0px 1px 2px rgba(0,0,0,.09), inset 0px 0px 2px 2px rgba(255,255,255,.5), inset 0 0 5px 5px rgba(255,255,255,.4);
297 | }
298 |
299 | small {
300 | font-size:12px;
301 | }
302 |
303 | nav {
304 | width: 230px;
305 | position: fixed;
306 | top: 220px;
307 | left:50%;
308 | margin-left:-580px;
309 | text-align: right;
310 |
311 | ul {
312 | list-style: none;
313 | list-style-image:none;
314 | font-size: 14px;
315 | line-height:24px;
316 |
317 | li {
318 | padding: 5px 0px;
319 | line-height: 16px;
320 | // padding-right:17px;
321 | // position:relative;
322 | // right:-12px;
323 |
324 | &.tag-h1 {
325 | font-size: 1.2em;
326 |
327 | a {
328 | font-weight: bold;
329 | color: #333;
330 | }
331 |
332 | + .tag-h2 {
333 |
334 | }
335 | }
336 |
337 | &.tag-h2 {
338 |
339 | + .tag-h1 {
340 | margin-top:10px;
341 | }
342 | }
343 | }
344 |
345 | a {
346 | color: #666;
347 |
348 | &:hover { color: #999; }
349 | }
350 |
351 | // .active {
352 | // border-right:solid 4px #39C;
353 | // padding-right:13px;
354 | // }
355 | }
356 | }
357 |
358 | footer {
359 | width:180px;
360 | position: fixed;
361 | left:50%;
362 | margin-left:-530px;
363 | bottom:20px;
364 | text-align: right;
365 | line-height: 16px;
366 | }
367 |
368 | @media print, screen and (max-width: 1060px) {
369 |
370 | div.wrapper {
371 | width:auto;
372 | margin:0;
373 | }
374 |
375 | nav{
376 | display: none;
377 | }
378 |
379 | header, section, footer {
380 | float:none;
381 |
382 | h1 {
383 | white-space: nowrap;
384 | overflow: hidden;
385 | text-overflow: ellipsis;
386 | -o-text-overflow: ellipsis;
387 | -ms-text-overflow: ellipsis;
388 | }
389 | }
390 |
391 | #banner {
392 | width: 100%;
393 |
394 | .downloads {
395 | margin-right: 60px;
396 | }
397 |
398 | .fork {
399 | }
400 |
401 | #logo {
402 | margin-right: 15px;
403 | }
404 | }
405 |
406 | section {
407 | border:1px solid #e5e5e5;
408 | border-width:1px 0;
409 | padding:20px 0;
410 | margin: 190px auto 20px;
411 | max-width: 600px;
412 | }
413 |
414 | footer{
415 | text-align: center;
416 | margin: 20px auto;
417 | position: relative;
418 | left:auto;
419 | bottom:auto;
420 | width:auto;
421 | }
422 | }
423 |
424 | @media print, screen and (max-width: 720px) {
425 | body {
426 | word-wrap:break-word;
427 | }
428 |
429 | header {
430 | padding:20px 20px;
431 | margin: 0;
432 |
433 | h1 {
434 | font-size: 32px;
435 | white-space: nowrap;
436 | overflow: hidden;
437 | text-overflow: ellipsis;
438 | -o-text-overflow: ellipsis;
439 | -ms-text-overflow: ellipsis;
440 | }
441 |
442 | p { display: none;}
443 | }
444 |
445 | #banner {
446 | top: 80px;
447 |
448 | .fork {
449 | float: left;
450 | display: inline-block;
451 | margin-left: 0px;
452 | position:fixed;
453 | left:20px;
454 |
455 | }
456 | }
457 |
458 | section {
459 | margin-top: 130px;
460 | margin-bottom: 0px;
461 | width: auto;
462 | }
463 |
464 | header ul, header p.view {
465 | position:static;
466 | }
467 | }
468 |
469 | @media print, screen and (max-width: 480px) {
470 | body {
471 | }
472 |
473 | header{
474 | position: relative;
475 | padding: 5px 0px;
476 | min-height: 0px;
477 |
478 | h1 {
479 | font-size: 24px;
480 | white-space: nowrap;
481 | overflow: hidden;
482 | text-overflow: ellipsis;
483 | -o-text-overflow: ellipsis;
484 | -ms-text-overflow: ellipsis;
485 | }
486 | }
487 | section {
488 | margin-top: 5px;
489 | }
490 |
491 | #banner { display: none;}
492 | header ul {
493 | display:none;
494 | }
495 | }
496 |
497 | @media print {
498 | body {
499 | padding:0.4in;
500 | font-size:12pt;
501 | color:#444;
502 | }
503 | }
504 |
505 | @media print, screen and (max-height: 680px) {
506 |
507 | footer {
508 | text-align: center;
509 | margin: 20px auto;
510 | position: relative;
511 | left:auto;
512 | bottom:auto;
513 | width:auto;
514 | }
515 | }
516 |
517 | @media print, screen and (max-height: 480px) {
518 | nav {
519 | display: none;
520 | }
521 |
522 | footer {
523 | text-align: center;
524 | margin: 20px auto;
525 | position: relative;
526 | left:auto;
527 | bottom:auto;
528 | width:auto;
529 | }
530 | }
531 |
--------------------------------------------------------------------------------
/_sass/normalize.scss:
--------------------------------------------------------------------------------
1 | /*! normalize.css 2012-02-07T12:37 UTC - https://github.com/necolas/normalize.css */
2 |
3 | /* =============================================================================
4 | HTML5 display definitions
5 | ========================================================================== */
6 |
7 | /*
8 | * Corrects block display not defined in IE6/7/8/9 & FF3
9 | */
10 |
11 | article,
12 | aside,
13 | details,
14 | figcaption,
15 | figure,
16 | footer,
17 | header,
18 | hgroup,
19 | nav,
20 | section,
21 | summary {
22 | display: block;
23 | }
24 |
25 | /*
26 | * Corrects inline-block display not defined in IE6/7/8/9 & FF3
27 | */
28 |
29 | audio,
30 | canvas,
31 | video {
32 | display: inline-block;
33 | *display: inline;
34 | *zoom: 1;
35 | }
36 |
37 | /*
38 | * Prevents modern browsers from displaying 'audio' without controls
39 | */
40 |
41 | audio:not([controls]) {
42 | display: none;
43 | }
44 |
45 | /*
46 | * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
47 | * Known issue: no IE6 support
48 | */
49 |
50 | [hidden] {
51 | display: none;
52 | }
53 |
54 |
55 | /* =============================================================================
56 | Base
57 | ========================================================================== */
58 |
59 | /*
60 | * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
61 | * http://clagnut.com/blog/348/#c790
62 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
63 | * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
64 | */
65 |
66 | html {
67 | font-size: 100%; /* 1 */
68 | -webkit-text-size-adjust: 100%; /* 2 */
69 | -ms-text-size-adjust: 100%; /* 2 */
70 | }
71 |
72 | /*
73 | * Addresses font-family inconsistency between 'textarea' and other form elements.
74 | */
75 |
76 | html,
77 | button,
78 | input,
79 | select,
80 | textarea {
81 | font-family: sans-serif;
82 | }
83 |
84 | /*
85 | * Addresses margins handled incorrectly in IE6/7
86 | */
87 |
88 | body {
89 | margin: 0;
90 | }
91 |
92 |
93 | /* =============================================================================
94 | Links
95 | ========================================================================== */
96 |
97 | /*
98 | * Addresses outline displayed oddly in Chrome
99 | */
100 |
101 | a:focus {
102 | outline: thin dotted;
103 | }
104 |
105 | /*
106 | * Improves readability when focused and also mouse hovered in all browsers
107 | * people.opera.com/patrickl/experiments/keyboard/test
108 | */
109 |
110 | a:hover,
111 | a:active {
112 | outline: 0;
113 | }
114 |
115 |
116 | /* =============================================================================
117 | Typography
118 | ========================================================================== */
119 |
120 | /*
121 | * Addresses font sizes and margins set differently in IE6/7
122 | * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
123 | */
124 |
125 | h1 {
126 | font-size: 2em;
127 | margin: 0.67em 0;
128 | }
129 |
130 | h2 {
131 | font-size: 1.5em;
132 | margin: 0.83em 0;
133 | }
134 |
135 | h3 {
136 | font-size: 1.17em;
137 | margin: 1em 0;
138 | }
139 |
140 | h4 {
141 | font-size: 1em;
142 | margin: 1.33em 0;
143 | }
144 |
145 | h5 {
146 | font-size: 0.83em;
147 | margin: 1.67em 0;
148 | }
149 |
150 | h6 {
151 | font-size: 0.75em;
152 | margin: 2.33em 0;
153 | }
154 |
155 | /*
156 | * Addresses styling not present in IE7/8/9, S5, Chrome
157 | */
158 |
159 | abbr[title] {
160 | border-bottom: 1px dotted;
161 | }
162 |
163 | /*
164 | * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
165 | */
166 |
167 | b,
168 | strong {
169 | font-weight: bold;
170 | }
171 |
172 | blockquote {
173 | margin: 1em 40px;
174 | }
175 |
176 | /*
177 | * Addresses styling not present in S5, Chrome
178 | */
179 |
180 | dfn {
181 | font-style: italic;
182 | }
183 |
184 | /*
185 | * Addresses styling not present in IE6/7/8/9
186 | */
187 |
188 | mark {
189 | background: #ff0;
190 | color: #000;
191 | }
192 |
193 | /*
194 | * Addresses margins set differently in IE6/7
195 | */
196 |
197 | p,
198 | pre {
199 | margin: 1em 0;
200 | }
201 |
202 | /*
203 | * Corrects font family set oddly in IE6, S4/5, Chrome
204 | * en.wikipedia.org/wiki/User:Davidgothberg/Test59
205 | */
206 |
207 | pre,
208 | code,
209 | kbd,
210 | samp {
211 | font-family: monospace, serif;
212 | _font-family: 'courier new', monospace;
213 | font-size: 1em;
214 | }
215 |
216 | /*
217 | * 1. Addresses CSS quotes not supported in IE6/7
218 | * 2. Addresses quote property not supported in S4
219 | */
220 |
221 | /* 1 */
222 |
223 | q {
224 | quotes: none;
225 | }
226 |
227 | /* 2 */
228 |
229 | q:before,
230 | q:after {
231 | content: '';
232 | content: none;
233 | }
234 |
235 | small {
236 | font-size: 75%;
237 | }
238 |
239 | /*
240 | * Prevents sub and sup affecting line-height in all browsers
241 | * gist.github.com/413930
242 | */
243 |
244 | sub,
245 | sup {
246 | font-size: 75%;
247 | line-height: 0;
248 | position: relative;
249 | vertical-align: baseline;
250 | }
251 |
252 | sup {
253 | top: -0.5em;
254 | }
255 |
256 | sub {
257 | bottom: -0.25em;
258 | }
259 |
260 |
261 | /* =============================================================================
262 | Lists
263 | ========================================================================== */
264 |
265 | /*
266 | * Addresses margins set differently in IE6/7
267 | */
268 |
269 | dl,
270 | menu,
271 | ol,
272 | ul {
273 | margin: 1em 0;
274 | }
275 |
276 | dd {
277 | margin: 0 0 0 40px;
278 | }
279 |
280 | /*
281 | * Addresses paddings set differently in IE6/7
282 | */
283 |
284 | menu,
285 | ol,
286 | ul {
287 | padding: 0 0 0 40px;
288 | }
289 |
290 | /*
291 | * Corrects list images handled incorrectly in IE7
292 | */
293 |
294 | nav ul,
295 | nav ol {
296 | list-style: none;
297 | list-style-image: none;
298 | }
299 |
300 |
301 | /* =============================================================================
302 | Embedded content
303 | ========================================================================== */
304 |
305 | /*
306 | * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
307 | * 2. Improves image quality when scaled in IE7
308 | * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
309 | */
310 |
311 | img {
312 | border: 0; /* 1 */
313 | -ms-interpolation-mode: bicubic; /* 2 */
314 | }
315 |
316 | /*
317 | * Corrects overflow displayed oddly in IE9
318 | */
319 |
320 | svg:not(:root) {
321 | overflow: hidden;
322 | }
323 |
324 |
325 | /* =============================================================================
326 | Figures
327 | ========================================================================== */
328 |
329 | /*
330 | * Addresses margin not present in IE6/7/8/9, S5, O11
331 | */
332 |
333 | figure {
334 | margin: 0;
335 | }
336 |
337 |
338 | /* =============================================================================
339 | Forms
340 | ========================================================================== */
341 |
342 | /*
343 | * Corrects margin displayed oddly in IE6/7
344 | */
345 |
346 | form {
347 | margin: 0;
348 | }
349 |
350 | /*
351 | * Define consistent border, margin, and padding
352 | */
353 |
354 | fieldset {
355 | border: 1px solid #c0c0c0;
356 | margin: 0 2px;
357 | padding: 0.35em 0.625em 0.75em;
358 | }
359 |
360 | /*
361 | * 1. Corrects color not being inherited in IE6/7/8/9
362 | * 2. Corrects text not wrapping in FF3
363 | * 3. Corrects alignment displayed oddly in IE6/7
364 | */
365 |
366 | legend {
367 | border: 0; /* 1 */
368 | padding: 0;
369 | white-space: normal; /* 2 */
370 | *margin-left: -7px; /* 3 */
371 | }
372 |
373 | /*
374 | * 1. Corrects font size not being inherited in all browsers
375 | * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
376 | * 3. Improves appearance and consistency in all browsers
377 | */
378 |
379 | button,
380 | input,
381 | select,
382 | textarea {
383 | font-size: 100%; /* 1 */
384 | margin: 0; /* 2 */
385 | vertical-align: baseline; /* 3 */
386 | *vertical-align: middle; /* 3 */
387 | }
388 |
389 | /*
390 | * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
391 | */
392 |
393 | button,
394 | input {
395 | line-height: normal; /* 1 */
396 | }
397 |
398 | /*
399 | * 1. Improves usability and consistency of cursor style between image-type 'input' and others
400 | * 2. Corrects inability to style clickable 'input' types in iOS
401 | * 3. Removes inner spacing in IE7 without affecting normal text inputs
402 | * Known issue: inner spacing remains in IE6
403 | */
404 |
405 | button,
406 | input[type="button"],
407 | input[type="reset"],
408 | input[type="submit"] {
409 | cursor: pointer; /* 1 */
410 | -webkit-appearance: button; /* 2 */
411 | *overflow: visible; /* 3 */
412 | }
413 |
414 | /*
415 | * Re-set default cursor for disabled elements
416 | */
417 |
418 | button[disabled],
419 | input[disabled] {
420 | cursor: default;
421 | }
422 |
423 | /*
424 | * 1. Addresses box sizing set to content-box in IE8/9
425 | * 2. Removes excess padding in IE8/9
426 | * 3. Removes excess padding in IE7
427 | Known issue: excess padding remains in IE6
428 | */
429 |
430 | input[type="checkbox"],
431 | input[type="radio"] {
432 | box-sizing: border-box; /* 1 */
433 | padding: 0; /* 2 */
434 | *height: 13px; /* 3 */
435 | *width: 13px; /* 3 */
436 | }
437 |
438 | /*
439 | * 1. Addresses appearance set to searchfield in S5, Chrome
440 | * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
441 | */
442 |
443 | input[type="search"] {
444 | -webkit-appearance: textfield; /* 1 */
445 | -moz-box-sizing: content-box;
446 | -webkit-box-sizing: content-box; /* 2 */
447 | box-sizing: content-box;
448 | }
449 |
450 | /*
451 | * Removes inner padding and search cancel button in S5, Chrome on OS X
452 | */
453 |
454 | input[type="search"]::-webkit-search-decoration,
455 | input[type="search"]::-webkit-search-cancel-button {
456 | -webkit-appearance: none;
457 | }
458 |
459 | /*
460 | * Removes inner padding and border in FF3+
461 | * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
462 | */
463 |
464 | button::-moz-focus-inner,
465 | input::-moz-focus-inner {
466 | border: 0;
467 | padding: 0;
468 | }
469 |
470 | /*
471 | * 1. Removes default vertical scrollbar in IE6/7/8/9
472 | * 2. Improves readability and alignment in all browsers
473 | */
474 |
475 | textarea {
476 | overflow: auto; /* 1 */
477 | vertical-align: top; /* 2 */
478 | }
479 |
480 |
481 | /* =============================================================================
482 | Tables
483 | ========================================================================== */
484 |
485 | /*
486 | * Remove most spacing between table cells
487 | */
488 |
489 | table {
490 | border-collapse: collapse;
491 | border-spacing: 0;
492 | }
--------------------------------------------------------------------------------
/assets/fonts/quattrocentosans-bold-webfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/assets/fonts/quattrocentosans-regular-webfont.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------