Repository: pages-themes/leap-day
Branch: master
Commit: 22906d2f6c9c
Files: 34
Total size: 57.6 KB
Directory structure:
gitextract__opogo2y/
├── .github/
│ ├── CODEOWNERS
│ ├── config.yml
│ ├── no-response.yml
│ ├── settings.yml
│ ├── stale.yml
│ └── workflows/
│ ├── ci.yaml
│ └── publish-gem.yml
├── .gitignore
├── .rubocop.yml
├── .travis.yml
├── Gemfile
├── LICENSE
├── README.md
├── _config.yml
├── _includes/
│ ├── head-custom-google-analytics.html
│ └── head-custom.html
├── _layouts/
│ └── default.html
├── _sass/
│ ├── fonts.scss
│ ├── jekyll-theme-leap-day.scss
│ ├── leap-day.scss
│ ├── normalize.scss
│ └── rouge-base16-dark.scss
├── another-page.md
├── assets/
│ ├── css/
│ │ └── style.scss
│ └── js/
│ └── main.js
├── docs/
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ └── SUPPORT.md
├── index.md
├── jekyll-theme-leap-day.gemspec
└── script/
├── bootstrap
├── cibuild
├── release
└── validate-html
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/CODEOWNERS
================================================
# Require maintainer's :+1: for changes to the .github/ repo-config files
# mainly due to https://github.com/probot/settings privilege escalation
.github/* @pages-themes/maintainers
================================================
FILE: .github/config.yml
================================================
# Behaviorbot config. See https://github.com/behaviorbot/ for more information.
# Note: Please Don't edit this file directly.
# Edit https://github.com/pages-themes/maintenance-scripts instead.
# Configuration for update-docs - https://github.com/behaviorbot/update-docs
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:"
# Configuration for request-info - https://github.com/behaviorbot/request-info
requestInfoReplyComment: Thanks for this. Do you mind providing a bit more information about what problem you're trying to solve?
requestInfoLabelToAdd: more-information-needed
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
#newIssueWelcomeComment: >
# Welcome!
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
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).
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
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:<br /><br />If you're interested in tackling another bug or feature, take a look at [the open issues](https://github.com/pages-themes/leap-day/issues), especially those [labeled `help wanted`](https://github.com/pages-themes/leap-day/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)."
================================================
FILE: .github/no-response.yml
================================================
# Configuration for probot-no-response - https://github.com/probot/no-response
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
# Label requiring a response
responseRequiredLabel: more-information-needed
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
================================================
FILE: .github/settings.yml
================================================
# Repository settings set via https://github.com/probot/settings
repository:
has_issues: true
has_wiki: false
has_projects: false
has_downloads: false
labels:
- name: help wanted
oldname: help-wanted
color: 0e8a16
- name: more-information-needed
color: d93f0b
- name: bug
color: b60205
- name: feature
color: 1d76db
- name: good first issue
color: "5319e7"
# Not currently implemented by probot/settings, but manually implemented in script/deploy
branch_protection:
restrictions: null
enforce_admins: false
required_status_checks:
strict: true
contexts:
- "script/cibuild" # GitHub Actions CI workflow
required_pull_request_reviews:
require_code_owner_reviews: true
================================================
FILE: .github/stale.yml
================================================
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale Issue or Pull Request is closed
daysUntilClose: 7
# Issues or Pull Requests with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking as stale
staleLabel: wontfix
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable
closeComment: false
# Limit to only `issues` or `pulls`
# only: issues
================================================
FILE: .github/workflows/ci.yaml
================================================
on:
push:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
name: script/cibuild
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.0
bundler-cache: true
- name: build
run: script/bootstrap
- name: test
run: script/cibuild
================================================
FILE: .github/workflows/publish-gem.yml
================================================
name: Publish Gem
on:
release:
types: [released]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.0'
- name: Build gem
run: |
gem build github-pages.gemspec
- name: Publish
run: |
gem push github-pages.gem --key ${{ secrets.PAGES_GEM_PUBLISH }}
================================================
FILE: .gitignore
================================================
_site
.sass-cache
Gemfile.lock
*.gem
.jekyll-cache
================================================
FILE: .rubocop.yml
================================================
inherit_gem:
rubocop-github:
- config/default.yml
AllCops:
Exclude:
- _site/**/*
- vendor/**/*
Layout/LineLength:
Enabled: false
================================================
FILE: .travis.yml
================================================
language: ruby
cache: bundler
rvm: 2.6
install: script/bootstrap
script: script/cibuild
================================================
FILE: Gemfile
================================================
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
================================================
FILE: LICENSE
================================================
CC0 1.0 Universal
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator and
subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific
works ("Commons") that the public can reliably and without fear of later
claims of infringement build upon, modify, incorporate in other works, reuse
and redistribute as freely as possible in any form whatsoever and for any
purposes, including without limitation commercial purposes. These owners may
contribute to the Commons to promote the ideal of a free culture and the
further production of creative, cultural and scientific works, or to gain
reputation or greater distribution for their Work in part through the use and
efforts of others.
For these and/or other purposes and motivations, and without any expectation
of additional consideration or compensation, the person associating CC0 with a
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
and publicly distribute the Work under its terms, with knowledge of his or her
Copyright and Related Rights in the Work and the meaning and intended legal
effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not limited
to, the following:
i. the right to reproduce, adapt, distribute, perform, display, communicate,
and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or likeness
depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data in
a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation thereof,
including any amended or successor version of such directive); and
vii. other similar, equivalent or corresponding rights throughout the world
based on applicable law or treaty, and any national implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention of,
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
and Related Rights and associated claims and causes of action, whether now
known or unknown (including existing as well as future claims and causes of
action), in the Work (i) in all territories worldwide, (ii) for the maximum
duration provided by applicable law or treaty (including future time
extensions), (iii) in any current or future medium and for any number of
copies, and (iv) for any purpose whatsoever, including without limitation
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
the Waiver for the benefit of each member of the public at large and to the
detriment of Affirmer's heirs and successors, fully intending that such Waiver
shall not be subject to revocation, rescission, cancellation, termination, or
any other legal or equitable action to disrupt the quiet enjoyment of the Work
by the public as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason be
judged legally invalid or ineffective under applicable law, then the Waiver
shall be preserved to the maximum extent permitted taking into account
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
is so judged Affirmer hereby grants to each affected person a royalty-free,
non transferable, non sublicensable, non exclusive, irrevocable and
unconditional license to exercise Affirmer's Copyright and Related Rights in
the Work (i) in all territories worldwide, (ii) for the maximum duration
provided by applicable law or treaty (including future time extensions), (iii)
in any current or future medium and for any number of copies, and (iv) for any
purpose whatsoever, including without limitation commercial, advertising or
promotional purposes (the "License"). The License shall be deemed effective as
of the date CC0 was applied by Affirmer to the Work. Should any part of the
License for any reason be judged legally invalid or ineffective under
applicable law, such partial invalidity or ineffectiveness shall not
invalidate the remainder of the License, and in such case Affirmer hereby
affirms that he or she will not (i) exercise any of his or her remaining
Copyright and Related Rights in the Work or (ii) assert any associated claims
and causes of action with respect to the Work, in either case contrary to
Affirmer's express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or warranties
of any kind concerning the Work, express, implied, statutory or otherwise,
including without limitation warranties of title, merchantability, fitness
for a particular purpose, non infringement, or the absence of latent or
other defects, accuracy, or the present or absence of errors, whether or not
discoverable, all to the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without limitation
any person's Copyright and Related Rights in the Work. Further, Affirmer
disclaims responsibility for obtaining any necessary consents, permissions
or other rights required for any use of the Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to this
CC0 or use of the Work.
For more information, please see
<http://creativecommons.org/publicdomain/zero/1.0/>
================================================
FILE: README.md
================================================
# The Leap day theme
[](https://github.com/pages-themes/leap-day/actions/workflows/ci.yaml) [](https://badge.fury.io/rb/jekyll-theme-leap-day)
*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).*

## Usage
To use the Leap day theme:
1. Add the following to your site's `_config.yml`:
```yml
remote_theme: pages-themes/leap-day@v0.2.0
plugins:
- jekyll-remote-theme # add this line to the plugins list if you already have one
```
2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
```ruby
gem "github-pages", group: :jekyll_plugins
```
## Customizing
### Configuration variables
Leap day will respect the following variables, if set in your site's `_config.yml`:
```yml
title: [The title of your site]
description: [A short description of your site's purpose]
```
Additionally, you may choose to set the following optional variables:
```yml
show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL]
google_analytics: [Your Google Analytics tracking ID]
```
### Stylesheet
If you'd like to add your own custom styles:
1. Create a file called `/assets/css/style.scss` in your site
2. Add the following content to the top of the file, exactly as shown:
```scss
---
---
@import "{{ site.theme }}";
```
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
*Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
### Layouts
If you'd like to change the theme's HTML layout:
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).
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<br />(*Pro-tip: click "raw" to make copying easier*)
3. Create a file called `/_layouts/default.html` in your site
4. Paste the default layout content copied in the first step
5. Customize the layout as you'd like
### Customizing Google Analytics code
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.
### Overriding GitHub-generated URLs
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:
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 }}`.
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:
```yml
github:
zip_url: http://example.com/download.zip
another_url: another value
```
3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.
*Note: You must remove the `site.` prefix, and each variable name (after the `github.`) should be indent with two space below `github:`.*
For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
## Roadmap
See the [open issues](https://github.com/pages-themes/leap-day/issues) for a list of proposed features (and known issues).
## Project philosophy
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.
## Contributing
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.
### Previewing the theme locally
If you'd like to preview the theme locally (for example, in the process of proposing a change):
1. Clone down the theme's repository (`git clone https://github.com/pages-themes/leap-day`)
2. `cd` into the theme's directory
3. Run `script/bootstrap` to install the necessary dependencies
4. Run `bundle exec jekyll serve` to start the preview server
5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
### Running tests
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.
================================================
FILE: _config.yml
================================================
title: Leap Day theme
description: Leap Day is a theme for GitHub Pages.
show_downloads: true
google_analytics:
theme: jekyll-theme-leap-day
================================================
FILE: _includes/head-custom-google-analytics.html
================================================
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
================================================
FILE: _includes/head-custom.html
================================================
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
<!-- Setup Google Analytics -->
{% include head-custom-google-analytics.html %}
<!-- You can set your favicon here -->
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
<!-- end custom head snippets -->
================================================
FILE: _layouts/default.html
================================================
<!doctype html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% seo %}
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<script src="https://code.jquery.com/jquery-3.3.0.min.js" integrity="sha256-RTQy8VOmNlT6b2PIRur37p6JEBZUE7o8wPgMvu18MC4=" crossorigin="anonymous"></script>
<script src="{{ '/assets/js/main.js' | relative_url }}"></script>
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
{% include head-custom.html %}
</head>
<body>
<header>
<h1>{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<p>{{ page.description | default: site.description | default: site.github.project_tagline }}</p>
</header>
<div id="banner">
<span id="logo"></span>
<a href="{{ site.github.repository_url }}" class="button fork"><strong>View On GitHub</strong></a>
{% if site.show_downloads %}
<div class="downloads">
<span>Downloads:</span>
<ul>
<li><a href="{{ site.github.zip_url }}" class="button">ZIP</a></li>
<li><a href="{{ site.github.tar_url }}" class="button">TAR</a></li>
</ul>
</div>
{% endif %}
</div><!-- end banner -->
<div class="wrapper">
<nav>
<ul></ul>
</nav>
<section>
{{ content }}
</section>
<footer>
{% if site.github.is_project_page %}
<p>Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p><small>Hosted on GitHub Pages — Theme by <a href="https://twitter.com/mattgraham">mattgraham</a></small></p>
</footer>
</div>
</body>
</html>
================================================
FILE: _sass/fonts.scss
================================================
@font-face {
font-family: 'Quattrocento Sans';
src: url('../fonts/quattrocentosans-bold-webfont.eot');
src: url('../fonts/quattrocentosans-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/quattrocentosans-bold-webfont.woff') format('woff'),
url('../fonts/quattrocentosans-bold-webfont.ttf') format('truetype'),
url('../fonts/quattrocentosans-bold-webfont.svg#QuattrocentoSansBold') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Quattrocento Sans';
src: url('../fonts/quattrocentosans-bolditalic-webfont.eot');
src: url('../fonts/quattrocentosans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/quattrocentosans-bolditalic-webfont.woff') format('woff'),
url('../fonts/quattrocentosans-bolditalic-webfont.ttf') format('truetype'),
url('../fonts/quattrocentosans-bolditalic-webfont.svg#QuattrocentoSansBoldItalic') format('svg');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Quattrocento Sans';
src: url('../fonts/quattrocentosans-italic-webfont.eot');
src: url('../fonts/quattrocentosans-italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/quattrocentosans-italic-webfont.woff') format('woff'),
url('../fonts/quattrocentosans-italic-webfont.ttf') format('truetype'),
url('../fonts/quattrocentosans-italic-webfont.svg#QuattrocentoSansItalic') format('svg');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Quattrocento Sans';
src: url('../fonts/quattrocentosans-regular-webfont.eot');
src: url('../fonts/quattrocentosans-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/quattrocentosans-regular-webfont.woff') format('woff'),
url('../fonts/quattrocentosans-regular-webfont.ttf') format('truetype'),
url('../fonts/quattrocentosans-regular-webfont.svg#QuattrocentoSansRegular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Copse';
src: url('../fonts/copse-regular-webfont.eot');
src: url('../fonts/copse-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/copse-regular-webfont.woff') format('woff'),
url('../fonts/copse-regular-webfont.ttf') format('truetype'),
url('../fonts/copse-regular-webfont.svg#CopseRegular') format('svg');
font-weight: normal;
font-style: normal;
}
================================================
FILE: _sass/jekyll-theme-leap-day.scss
================================================
/*
Leap Day for GitHub Pages
by Matt Graham
*/
@import "normalize";
@import "fonts";
@import "rouge-base16-dark";
body {
font:14px/22px 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#2b2b2b;
font-weight:300;
margin: 0px;
padding:0px 0 20px 0px;
background: url(../images/body-background.png) #eae6d1;
}
h1, h2, h3, h4, h5, h6 {
color:#333;
margin:0 0 10px;
}
p, ul, ol, table, pre, dl {
margin:0 0 20px;
}
h1, h2, h3 {
line-height:1.1;
}
h1 {
font-size:28px;
}
h2 {
font-size: 24px;
color:#393939;
}
h3, h4, h5, h6 {
color:#666666;
}
h3 {
font-size: 18px;
line-height: 24px;
}
a {
color:#4276b6;
font-weight:400;
text-decoration:none;
}
a small {
font-size:11px;
color:#666;
margin-top:-0.6em;
display:block;
}
ul{
list-style-image:url('../images/bullet.png');
}
strong {
font-weight: bold;
color: #333;
}
.wrapper {
width:650px;
margin:0 auto;
position:relative;
}
section img {
max-width: 100%;
}
blockquote {
border-left:1px solid #ffcc00;
margin:0;
padding:0 0 0 20px;
font-style:italic;
}
code {
font-family: 'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
font-size:13px;
color:#efefef;
text-shadow: 0px 1px 0px #000;
margin: 0 4px;
padding: 2px 6px;
background: #333;
border-radius: 2px;
}
pre {
padding:8px 15px;
background: #333333;
border-radius: 3px;
border:1px solid #c7c7c7;
overflow: auto;
overflow-y: hidden;
code {
margin: 0px;
padding: 0px;
}
}
kbd {
background-color: #fafbfc;
border: 1px solid #c6cbd1;
border-bottom-color: #959da5;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #959da5;
color: #444d56;
display: inline-block;
font-size: 11px;
line-height: 10px;
padding: 3px 5px;
vertical-align: middle;
}
table {
width:100%;
border-collapse:collapse;
}
th {
text-align:left;
padding:5px 10px;
border-bottom:1px solid #e5e5e5;
color: #444;
}
td {
text-align:left;
padding:5px 10px;
border-bottom:1px solid #e5e5e5;
border-right: 1px solid #ffcc00;
&:first-child {
border-left: 1px solid #ffcc00;
}
}
hr {
border: 0;
outline: none;
height: 11px;
background: transparent url('../images/hr.gif') center center repeat-x;
margin: 0 0 20px;
}
dt {
color:#444;
font-weight:700;
}
header {
padding: 25px 20px 40px 20px;
margin: 0;
position: fixed;
top: 0;
left:0;
right:0;
width: 100%;
text-align: center;
background: url(../images/background.png) #4276b6;
box-shadow: 1px 0px 2px rgba(0,0,0,.75);
z-index:99;
-webkit-font-smoothing:antialiased;
min-height: 76px;
h1 {
font: 40px/48px 'Copse', "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #f3f3f3;
text-shadow: 0px 2px 0px #235796;
margin: 0px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
}
p {
color: #d8d8d8;
text-shadow:rgba(#000, 0.2) 0 1px 0;
font-size: 18px;
margin: 0px;
}
}
#banner {
z-index: 100;
left:0;
right:50%;
height: 50px;
margin-right:-382px;
position: fixed;
top: 115px;
background: #ffcc00;
border: 1px solid #f0b500;
box-shadow: 0px 1px 3px rgba(0,0,0,.25);
border-radius: 0px 2px 2px 0px;
padding-right: 10px;
.button {
border: 1px solid #dba500;
background: linear-gradient(rgb(255, 231, 136), rgb(255, 206, 56));
border-radius: 2px;
box-shadow: inset 0px 1px 0px rgba(255,255,255,.4), 0px 1px 1px rgba(0,0,0,.1);
background-color: #FFE788;
margin-left: 5px;
padding: 10px 12px;
margin-top: 6px;
line-height:14px;
font-size:14px;
color:#333;
font-weight: bold;
display:inline-block;
text-align:center;
&:hover {
background: linear-gradient(rgb(255, 231, 136), rgb(255, 231, 136));
background-color: #ffeca0;
}
}
.fork {
position:fixed;
left:50%;
margin-left:-325px;
padding: 10px 12px;
margin-top: 6px;
line-height:14px;
font-size:14px;
background-color: #FFE788;
}
.downloads {
float: right;
margin:0 45px 0 0;
span {
float:left;
line-height:52px;
font-size:90%;
color:#9d7f0d;
text-transform:uppercase;
text-shadow:rgba(#fff, 0.2) 0 1px 0;
}
}
ul {
list-style:none;
height:40px;
padding:0;
float: left;
margin-left:10px;
li {
display:inline;
a.button {
background-color: #FFE788;
}
}
}
#logo {
position:absolute;
height: 36px;
width: 36px;
right:7px;
top:7px;
display: block;
background: url(../images/octocat-logo.svg);
}
}
section {
width:590px;
padding: 30px 30px 50px 30px;
margin: 20px 0;
margin-top: 190px;
position:relative;
background: #fbfbfb;
border-radius: 3px;
border: 1px solid #cbcbcb;
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);
}
small {
font-size:12px;
}
nav {
width: 230px;
position: fixed;
top: 220px;
left:50%;
margin-left:-580px;
text-align: right;
ul {
list-style: none;
list-style-image:none;
font-size: 14px;
line-height:24px;
li {
padding: 5px 0px;
line-height: 16px;
// padding-right:17px;
// position:relative;
// right:-12px;
&.tag-h1 {
font-size: 1.2em;
a {
font-weight: bold;
color: #333;
}
+ .tag-h2 {
}
}
&.tag-h2 {
+ .tag-h1 {
margin-top:10px;
}
}
}
a {
color: #666;
&:hover { color: #999; }
}
// .active {
// border-right:solid 4px #39C;
// padding-right:13px;
// }
}
}
footer {
width:180px;
position: fixed;
left:50%;
margin-left:-530px;
bottom:20px;
text-align: right;
line-height: 16px;
}
@media print, screen and (max-width: 1060px) {
div.wrapper {
width:auto;
margin:0;
}
nav{
display: none;
}
header, section, footer {
float:none;
h1 {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
}
}
#banner {
width: 100%;
.downloads {
margin-right: 60px;
}
.fork {
}
#logo {
margin-right: 15px;
}
}
section {
border:1px solid #e5e5e5;
border-width:1px 0;
padding:20px 0;
margin: 190px auto 20px;
max-width: 600px;
}
footer{
text-align: center;
margin: 20px auto;
position: relative;
left:auto;
bottom:auto;
width:auto;
}
}
@media print, screen and (max-width: 720px) {
body {
word-wrap:break-word;
}
header {
padding:20px 20px;
margin: 0;
h1 {
font-size: 32px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
}
p { display: none;}
}
#banner {
top: 80px;
.fork {
float: left;
display: inline-block;
margin-left: 0px;
position:fixed;
left:20px;
}
}
section {
margin-top: 130px;
margin-bottom: 0px;
width: auto;
}
header ul, header p.view {
position:static;
}
}
@media print, screen and (max-width: 480px) {
body {
}
header{
position: relative;
padding: 5px 0px;
min-height: 0px;
h1 {
font-size: 24px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
}
}
section {
margin-top: 5px;
}
#banner { display: none;}
header ul {
display:none;
}
}
@media print {
body {
padding:0.4in;
font-size:12pt;
color:#444;
}
}
@media print, screen and (max-height: 680px) {
footer {
text-align: center;
margin: 20px auto;
position: relative;
left:auto;
bottom:auto;
width:auto;
}
}
@media print, screen and (max-height: 480px) {
nav {
display: none;
}
footer {
text-align: center;
margin: 20px auto;
position: relative;
left:auto;
bottom:auto;
width:auto;
}
}
================================================
FILE: _sass/leap-day.scss
================================================
// Placeholder file. If your site uses
// @import "{{ site.theme }}";
// Then using this theme with jekyll-remote-theme will work fine.
@import "jekyll-theme-leap-day";
================================================
FILE: _sass/normalize.scss
================================================
/*! normalize.css 2012-02-07T12:37 UTC - https://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects block display not defined in IE6/7/8/9 & FF3
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
display: block;
}
/*
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
*/
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/*
* Prevents modern browsers from displaying 'audio' without controls
*/
audio:not([controls]) {
display: none;
}
/*
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
* Known issue: no IE6 support
*/
[hidden] {
display: none;
}
/* =============================================================================
Base
========================================================================== */
/*
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
* http://clagnut.com/blog/348/#c790
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
*/
html {
font-size: 100%; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
/*
* Addresses font-family inconsistency between 'textarea' and other form elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/*
* Addresses margins handled incorrectly in IE6/7
*/
body {
margin: 0;
}
/* =============================================================================
Links
========================================================================== */
/*
* Addresses outline displayed oddly in Chrome
*/
a:focus {
outline: thin dotted;
}
/*
* Improves readability when focused and also mouse hovered in all browsers
* people.opera.com/patrickl/experiments/keyboard/test
*/
a:hover,
a:active {
outline: 0;
}
/* =============================================================================
Typography
========================================================================== */
/*
* Addresses font sizes and margins set differently in IE6/7
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.75em;
margin: 2.33em 0;
}
/*
* Addresses styling not present in IE7/8/9, S5, Chrome
*/
abbr[title] {
border-bottom: 1px dotted;
}
/*
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
*/
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
/*
* Addresses styling not present in S5, Chrome
*/
dfn {
font-style: italic;
}
/*
* Addresses styling not present in IE6/7/8/9
*/
mark {
background: #ff0;
color: #000;
}
/*
* Addresses margins set differently in IE6/7
*/
p,
pre {
margin: 1em 0;
}
/*
* Corrects font family set oddly in IE6, S4/5, Chrome
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
*/
pre,
code,
kbd,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
/*
* 1. Addresses CSS quotes not supported in IE6/7
* 2. Addresses quote property not supported in S4
*/
/* 1 */
q {
quotes: none;
}
/* 2 */
q:before,
q:after {
content: '';
content: none;
}
small {
font-size: 75%;
}
/*
* Prevents sub and sup affecting line-height in all browsers
* gist.github.com/413930
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* =============================================================================
Lists
========================================================================== */
/*
* Addresses margins set differently in IE6/7
*/
dl,
menu,
ol,
ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
}
/*
* Addresses paddings set differently in IE6/7
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/*
* Corrects list images handled incorrectly in IE7
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* =============================================================================
Embedded content
========================================================================== */
/*
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
* 2. Improves image quality when scaled in IE7
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
*/
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
/*
* Corrects overflow displayed oddly in IE9
*/
svg:not(:root) {
overflow: hidden;
}
/* =============================================================================
Figures
========================================================================== */
/*
* Addresses margin not present in IE6/7/8/9, S5, O11
*/
figure {
margin: 0;
}
/* =============================================================================
Forms
========================================================================== */
/*
* Corrects margin displayed oddly in IE6/7
*/
form {
margin: 0;
}
/*
* Define consistent border, margin, and padding
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/*
* 1. Corrects color not being inherited in IE6/7/8/9
* 2. Corrects text not wrapping in FF3
* 3. Corrects alignment displayed oddly in IE6/7
*/
legend {
border: 0; /* 1 */
padding: 0;
white-space: normal; /* 2 */
*margin-left: -7px; /* 3 */
}
/*
* 1. Corrects font size not being inherited in all browsers
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
* 3. Improves appearance and consistency in all browsers
*/
button,
input,
select,
textarea {
font-size: 100%; /* 1 */
margin: 0; /* 2 */
vertical-align: baseline; /* 3 */
*vertical-align: middle; /* 3 */
}
/*
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
*/
button,
input {
line-height: normal; /* 1 */
}
/*
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
* 2. Corrects inability to style clickable 'input' types in iOS
* 3. Removes inner spacing in IE7 without affecting normal text inputs
* Known issue: inner spacing remains in IE6
*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer; /* 1 */
-webkit-appearance: button; /* 2 */
*overflow: visible; /* 3 */
}
/*
* Re-set default cursor for disabled elements
*/
button[disabled],
input[disabled] {
cursor: default;
}
/*
* 1. Addresses box sizing set to content-box in IE8/9
* 2. Removes excess padding in IE8/9
* 3. Removes excess padding in IE7
Known issue: excess padding remains in IE6
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}
/*
* 1. Addresses appearance set to searchfield in S5, Chrome
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/*
* Removes inner padding and search cancel button in S5, Chrome on OS X
*/
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
/*
* Removes inner padding and border in FF3+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/*
* 1. Removes default vertical scrollbar in IE6/7/8/9
* 2. Improves readability and alignment in all browsers
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* =============================================================================
Tables
========================================================================== */
/*
* Remove most spacing between table cells
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
================================================
FILE: _sass/rouge-base16-dark.scss
================================================
/*
generated by rouge http://rouge.jneen.net/
original base16 by Chris Kempson (https://github.com/chriskempson/base16)
*/
.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
.highlight, .highlight .w {
color: #d0d0d0;
}
.highlight .err {
color: #151515;
background-color: #ac4142;
}
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
color: #888;
}
.highlight .cp {
color: #f4bf75;
}
.highlight .nt {
color: #f4bf75;
}
.highlight .o, .highlight .ow {
color: #d0d0d0;
}
.highlight .p, .highlight .pi {
color: #d0d0d0;
}
.highlight .gi {
color: #90a959;
}
.highlight .gd {
color: #ac4142;
}
.highlight .gh {
color: #6a9fb5;
font-weight: bold;
}
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
color: #aa759f;
}
.highlight .kc {
color: #d28445;
}
.highlight .kt {
color: #d28445;
}
.highlight .kd {
color: #d28445;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
color: #90a959;
}
.highlight .sr {
color: #75b5aa;
}
.highlight .si {
color: #8f5536;
}
.highlight .se {
color: #8f5536;
}
.highlight .nn {
color: #f4bf75;
}
.highlight .nc {
color: #f4bf75;
}
.highlight .no {
color: #f4bf75;
}
.highlight .na {
color: #6a9fb5;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
color: #90a959;
}
.highlight .ss {
color: #90a959;
}
================================================
FILE: another-page.md
================================================
---
layout: default
---
## Welcome to another page
_yay_
[back](./)
================================================
FILE: assets/css/style.scss
================================================
---
---
@import 'jekyll-theme-leap-day';
================================================
FILE: assets/js/main.js
================================================
var sectionHeight = function() {
var total = $(window).height(),
$section = $('section').css('height','auto');
if ($section.outerHeight(true) < total) {
var margin = $section.outerHeight(true) - $section.height();
$section.height(total - margin - 20);
} else {
$section.css('height','auto');
}
}
$(window).resize(sectionHeight);
$(function() {
$("section h1, section h2, section h3").each(function(){
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
$("nav ul li:first-child a").parent().addClass("active");
});
$("nav ul li").on("click", "a", function(event) {
var position = $($(this).attr("href")).offset().top - 190;
$("html, body").animate({scrollTop: position}, 400);
$("nav ul li a").parent().removeClass("active");
$(this).parent().addClass("active");
event.preventDefault();
});
sectionHeight();
$('img').on('load', sectionHeight);
});
================================================
FILE: docs/CODE_OF_CONDUCT.md
================================================
# Contributor Covenant Code of Conduct
## Our Pledge
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.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
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.
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.
## Scope
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.
## Enforcement
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.
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.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
================================================
FILE: docs/CONTRIBUTING.md
================================================
# Contributing to the Leap Day theme
Hi there! We're thrilled that you'd like to contribute to the Leap Day theme. Your help is essential for keeping it great.
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.
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.
## Looking for support?
We'd love to help. Check out [the support guidelines](SUPPORT.md).
## How to report a bug
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).
Here are a few tips for writing *great* bug reports:
* Describe the specific problem (e.g., "widget doesn't turn clockwise" versus "getting an error")
* Include the steps to reproduce the bug, what you expected to happen, and what happened instead
* Check that you are using the latest version of the project and its dependencies
* Include what version of the project your using, as well as any relevant dependencies
* Only include one bug per issue. If you have discovered two bugs, please file two issues
* Even if you don't know how to fix the bug, including a failing test may help others track it down
**If you find a security vulnerability, do not open an issue. Please email security@github.com instead.**
## How to suggest a feature or enhancement
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.
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.
[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.
## Your first contribution
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:
* [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
* [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
*p.s. Feel free to ask for help; everyone is a beginner at first* :smiley_cat:
## How to propose changes
Here's a few general guidelines for proposing changes:
* If you are making visual changes, include a screenshot of what the affected element looks like, both before and after.
* Follow the [Jekyll style guide](https://ben.balter.com/jekyll-style-guide).
* If you are changing any user-facing functionality, please be sure to update the documentation
* 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
* Do not commit changes to files that are irrelevant to your feature or bug fix
* Don't bump the version number in your pull request (it will be bumped prior to release)
* Write [a good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
At a high level, [the process for proposing changes](https://guides.github.com/introduction/flow/) is:
1. [Fork](https://github.com/pages-themes/leap-day/fork) and clone the project
2. Configure and install the dependencies: `script/bootstrap`
3. Make sure the tests pass on your machine: `script/cibuild`
4. Create a new branch: `git checkout -b my-branch-name`
5. Make your change, add tests, and make sure the tests still pass
6. Push to your fork and [submit a pull request](https://github.com/pages-themes/leap-day/compare)
7. Pat your self on the back and wait for your pull request to be reviewed and merged
**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)
## Bootstrapping your local development environment
`script/bootstrap`
## Running tests
`script/cibuild`
## Publishing Gem
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.
## Code of conduct
This project is governed by [the Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
## Additional Resources
* [Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)
* [Using Pull Requests](https://help.github.com/articles/using-pull-requests/)
* [GitHub Help](https://help.github.com)
================================================
FILE: docs/SUPPORT.md
================================================
## Where to get help
If you think you've found a bug in the Leap Day theme, please [check the existing issues](https://github.com/pages-themes/leap-day/issues), and if no one has reported the problem, [open a new issue](https://github.com/pages-themes/leap-day/issues/new).
If you have a general question about the theme, how to implement it, or how to customize it for your site you have two options:
1. Search for your query on [`support.github.com`](https://support.github.com/?q=pages+Leap Day+theme), which will also look for similar topics on [`github.community`](https://github.community/search?q=pages+Leap Day+theme)
2. Ask your question of the Jekyll community on [talk.jekyllrb.com](https://talk.jekyllrb.com/)
3. [Contact GitHub Support](https://github.com/contact?form%5Bsubject%5D=GitHub%20Pages%20theme%20pages-themes/leap-day)
================================================
FILE: index.md
================================================
---
layout: default
---
Text can be **bold**, _italic_, or ~~strikethrough~~.
[Link to another page](./another-page.html).
There should be whitespace between paragraphs.
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
# Header 1
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.
## Header 2
> This is a blockquote following a header.
>
> When something is important enough, you do it even if the odds are not in your favor.
### Header 3
```js
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
```
```ruby
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
```
#### Header 4
* This is an unordered list following a header.
* This is an unordered list following a header.
* This is an unordered list following a header.
##### Header 5
1. This is an ordered list following a header.
2. This is an ordered list following a header.
3. This is an ordered list following a header.
###### Header 6
| head1 | head two | three |
|:-------------|:------------------|:------|
| ok | good swedish fish | nice |
| out of stock | good and plenty | nice |
| ok | good `oreos` | hmm |
| ok | good `zoute` drop | yumm |
### There's a horizontal rule below this.
* * *
### Here is an unordered list:
* Item foo
* Item bar
* Item baz
* Item zip
### And an ordered list:
1. Item one
1. Item two
1. Item three
1. Item four
### And a nested list:
- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item
### Small image

### Large image

### Definition lists can be used with HTML syntax.
<dl>
<dt>Name</dt>
<dd>Godzilla</dd>
<dt>Born</dt>
<dd>1952</dd>
<dt>Birthplace</dt>
<dd>Japan</dd>
<dt>Color</dt>
<dd>Green</dd>
</dl>
```
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.
```
```
The final element.
```
================================================
FILE: jekyll-theme-leap-day.gemspec
================================================
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "jekyll-theme-leap-day"
s.version = "0.2.0"
s.license = "CC0-1.0"
s.authors = ["Matt Graham", "GitHub, Inc."]
s.email = ["opensource+jekyll-theme-leap-day@github.com"]
s.homepage = "https://github.com/pages-themes/leap-day"
s.summary = "Leap Day is a Jekyll theme for GitHub Pages"
s.files = `git ls-files -z`.split("\x0").select do |f|
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
end
s.required_ruby_version = ">= 2.4.0"
s.platform = Gem::Platform::RUBY
s.add_runtime_dependency "jekyll", "> 3.5", "< 5.0"
s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
s.add_development_dependency "html-proofer", "~> 3.0"
s.add_development_dependency "rubocop-github", "~> 0.16"
s.add_development_dependency "w3c_validators", "~> 1.3"
end
================================================
FILE: script/bootstrap
================================================
#!/bin/sh
set -e
gem install bundler
bundle install
================================================
FILE: script/cibuild
================================================
#!/bin/sh
set -e
bundle exec jekyll build
bundle exec htmlproofer ./_site --check-html --check-sri --typhoeus-config='{"headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"}}'
bundle exec rubocop -D --config .rubocop.yml
bundle exec script/validate-html
gem build jekyll-theme-leap-day.gemspec
================================================
FILE: script/release
================================================
#!/bin/sh
# Tag and push a release.
set -e
# Make sure we're in the project root.
cd $(dirname "$0")/..
# Make sure the darn thing works
bundle update
# Build a new gem archive.
rm -rf jekyll-theme-leap-day-*.gem
gem build -q jekyll-theme-leap-day.gemspec
# Make sure we're on the master branch.
(git branch | grep -q 'master') || {
echo "Only release from the master branch."
exit 1
}
# Figure out what version we're releasing.
tag=v`ls jekyll-theme-leap-day-*.gem | sed 's/^jekyll-theme-leap-day-\(.*\)\.gem$/\1/'`
# Make sure we haven't released this version before.
git fetch -t origin
(git tag -l | grep -q "$tag") && {
echo "Whoops, there's already a '${tag}' tag."
exit 1
}
# Tag it and bag it.
gem push jekyll-theme-leap-day-*.gem && git tag "$tag" &&
git push origin master && git push origin "$tag"
================================================
FILE: script/validate-html
================================================
#!/usr/bin/env ruby
# frozen_string_literal: true
require "w3c_validators"
def validator(file)
extension = File.extname(file)
if extension == ".html"
W3CValidators::NuValidator.new
elsif extension == ".css"
W3CValidators::CSSValidator.new
end
end
def validate(file)
puts "Checking #{file}..."
path = File.expand_path "../_site/#{file}", __dir__
results = validator(file).validate_file(path)
return puts "Valid!" if results.errors.empty?
results.errors.each { |err| puts err }
exit 1
end
validate "index.html"
validate File.join "assets", "css", "style.css"
gitextract__opogo2y/
├── .github/
│ ├── CODEOWNERS
│ ├── config.yml
│ ├── no-response.yml
│ ├── settings.yml
│ ├── stale.yml
│ └── workflows/
│ ├── ci.yaml
│ └── publish-gem.yml
├── .gitignore
├── .rubocop.yml
├── .travis.yml
├── Gemfile
├── LICENSE
├── README.md
├── _config.yml
├── _includes/
│ ├── head-custom-google-analytics.html
│ └── head-custom.html
├── _layouts/
│ └── default.html
├── _sass/
│ ├── fonts.scss
│ ├── jekyll-theme-leap-day.scss
│ ├── leap-day.scss
│ ├── normalize.scss
│ └── rouge-base16-dark.scss
├── another-page.md
├── assets/
│ ├── css/
│ │ └── style.scss
│ └── js/
│ └── main.js
├── docs/
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ └── SUPPORT.md
├── index.md
├── jekyll-theme-leap-day.gemspec
└── script/
├── bootstrap
├── cibuild
├── release
└── validate-html
Condensed preview — 34 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (63K chars).
[
{
"path": ".github/CODEOWNERS",
"chars": 182,
"preview": "# Require maintainer's :+1: for changes to the .github/ repo-config files\n# mainly due to https://github.com/probot/sett"
},
{
"path": ".github/config.yml",
"chars": 1788,
"preview": "# Behaviorbot config. See https://github.com/behaviorbot/ for more information.\n# Note: Please Don't edit this file dire"
},
{
"path": ".github/no-response.yml",
"chars": 705,
"preview": "# Configuration for probot-no-response - https://github.com/probot/no-response\n\n# Number of days of inactivity before an"
},
{
"path": ".github/settings.yml",
"chars": 737,
"preview": "# Repository settings set via https://github.com/probot/settings\n\nrepository:\n has_issues: true\n has_wiki: false\n has"
},
{
"path": ".github/stale.yml",
"chars": 856,
"preview": "# Configuration for probot-stale - https://github.com/probot/stale\n\n# Number of days of inactivity before an Issue or Pu"
},
{
"path": ".github/workflows/ci.yaml",
"chars": 377,
"preview": "on:\n push:\n pull_request:\n types: [opened, synchronize]\njobs:\n build:\n runs-on: ubuntu-latest\n name: script/"
},
{
"path": ".github/workflows/publish-gem.yml",
"chars": 465,
"preview": "name: Publish Gem\n\non:\n release:\n types: [released]\n\njobs:\n release:\n runs-on: ubuntu-latest\n steps:\n - "
},
{
"path": ".gitignore",
"chars": 51,
"preview": "_site\n.sass-cache\nGemfile.lock\n*.gem\n.jekyll-cache\n"
},
{
"path": ".rubocop.yml",
"chars": 149,
"preview": "inherit_gem:\n rubocop-github:\n - config/default.yml\n\nAllCops:\n Exclude:\n - _site/**/*\n - vendor/**/*\n\nLayout/"
},
{
"path": ".travis.yml",
"chars": 89,
"preview": "language: ruby\ncache: bundler\nrvm: 2.6\n\ninstall: script/bootstrap\nscript: script/cibuild\n"
},
{
"path": "Gemfile",
"chars": 70,
"preview": "# frozen_string_literal: true\n\nsource \"https://rubygems.org\"\n\ngemspec\n"
},
{
"path": "LICENSE",
"chars": 6555,
"preview": "CC0 1.0 Universal\n\nStatement of Purpose\n\nThe laws of most jurisdictions throughout the world automatically confer\nexclus"
},
{
"path": "README.md",
"chars": 5712,
"preview": "# The Leap day theme\n\n[{i['GoogleAnalyticsObject']=r;i[r]=i[r]||function("
},
{
"path": "_includes/head-custom.html",
"chars": 346,
"preview": "<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->\n\n<!-- Setup Google Analytic"
},
{
"path": "_layouts/default.html",
"chars": 2154,
"preview": "<!doctype html>\n<html lang=\"{{ site.lang | default: \"en-US\" }}\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equi"
},
{
"path": "_sass/fonts.scss",
"chars": 2542,
"preview": "\n@font-face {\n font-family: 'Quattrocento Sans';\n src: url('../fonts/quattrocentosans-bold-webfont.eot');\n src:"
},
{
"path": "_sass/jekyll-theme-leap-day.scss",
"chars": 8344,
"preview": "/*\nLeap Day for GitHub Pages\nby Matt Graham\n*/\n\n@import \"normalize\";\n@import \"fonts\";\n@import \"rouge-base16-dark\";\n\nbody"
},
{
"path": "_sass/leap-day.scss",
"chars": 173,
"preview": "// Placeholder file. If your site uses\n// @import \"{{ site.theme }}\";\n// Then using this theme with jekyll-remote-th"
},
{
"path": "_sass/normalize.scss",
"chars": 8849,
"preview": "/*! normalize.css 2012-02-07T12:37 UTC - https://github.com/necolas/normalize.css */\n\n/* ==============================="
},
{
"path": "_sass/rouge-base16-dark.scss",
"chars": 1529,
"preview": "/*\n generated by rouge http://rouge.jneen.net/\n original base16 by Chris Kempson (https://github.com/chriskempson/ba"
},
{
"path": "another-page.md",
"chars": 71,
"preview": "---\nlayout: default\n---\n\n## Welcome to another page\n\n_yay_\n\n[back](./)\n"
},
{
"path": "assets/css/style.scss",
"chars": 42,
"preview": "---\n---\n\n@import 'jekyll-theme-leap-day';\n"
},
{
"path": "assets/js/main.js",
"chars": 1163,
"preview": "var sectionHeight = function() {\n var total = $(window).height(),\n $section = $('section').css('height','auto')"
},
{
"path": "docs/CODE_OF_CONDUCT.md",
"chars": 3218,
"preview": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, w"
},
{
"path": "docs/CONTRIBUTING.md",
"chars": 6000,
"preview": "# Contributing to the Leap Day theme\n\nHi there! We're thrilled that you'd like to contribute to the Leap Day theme. Your"
},
{
"path": "docs/SUPPORT.md",
"chars": 846,
"preview": "## Where to get help\n\nIf you think you've found a bug in the Leap Day theme, please [check the existing issues](https://"
},
{
"path": "index.md",
"chars": 2595,
"preview": "---\nlayout: default\n---\n\nText can be **bold**, _italic_, or ~~strikethrough~~.\n\n[Link to another page](./another-page.ht"
},
{
"path": "jekyll-theme-leap-day.gemspec",
"chars": 943,
"preview": "# frozen_string_literal: true\n\nGem::Specification.new do |s|\n s.name = \"jekyll-theme-leap-day\"\n s.version "
},
{
"path": "script/bootstrap",
"chars": 54,
"preview": "#!/bin/sh\n\nset -e\n\ngem install bundler\nbundle install\n"
},
{
"path": "script/cibuild",
"chars": 337,
"preview": "#!/bin/sh\n\nset -e\n\nbundle exec jekyll build\nbundle exec htmlproofer ./_site --check-html --check-sri --typhoeus-config='"
},
{
"path": "script/release",
"chars": 835,
"preview": "#!/bin/sh\n# Tag and push a release.\n\nset -e\n\n# Make sure we're in the project root.\n\ncd $(dirname \"$0\")/..\n\n# Make sure "
},
{
"path": "script/validate-html",
"chars": 592,
"preview": "#!/usr/bin/env ruby\n# frozen_string_literal: true\n\nrequire \"w3c_validators\"\n\ndef validator(file)\n extension = File.extn"
}
]
About this extraction
This page contains the full source code of the pages-themes/leap-day GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 34 files (57.6 KB), approximately 16.1k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.