{"id":16597213,"url":"https://github.com/adrianmcli/thinklikeanidiot","last_synced_at":"2025-03-06T19:32:37.361Z","repository":{"id":34114055,"uuid":"37943864","full_name":"adrianmcli/thinklikeanidiot","owner":"adrianmcli","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-23T20:43:47.000Z","size":360,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-01-17T04:44:17.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrianmcli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-23T20:42:17.000Z","updated_at":"2015-06-23T20:42:50.000Z","dependencies_parsed_at":"2022-07-31T11:17:59.103Z","dependency_job_id":null,"html_url":"https://github.com/adrianmcli/thinklikeanidiot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fthinklikeanidiot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fthinklikeanidiot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fthinklikeanidiot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrianmcli%2Fthinklikeanidiot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrianmcli","download_url":"https://codeload.github.com/adrianmcli/thinklikeanidiot/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242274632,"owners_count":20101081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T23:55:15.182Z","updated_at":"2025-03-06T19:32:37.332Z","avatar_url":"https://github.com/adrianmcli.png","language":"CSS","readme":"# Lanyon\n\nLanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content first by tucking away navigation in a hidden drawer. It's based on [Poole](http://getpoole.com), the Jekyll butler.\n\n![Lanyon](https://f.cloud.github.com/assets/98681/1825266/be03f014-71b0-11e3-9539-876e61530e24.png)\n![Lanyon with open sidebar](https://f.cloud.github.com/assets/98681/1825267/be04a914-71b0-11e3-966f-8afe9894c729.png)\n\n\n## Contents\n\n- [Usage](#usage)\n- [Options](#options)\n  - [Sidebar menu](#sidebar-menu)\n  - [Themes](#themes)\n  - [Reverse layout](#reverse-layout)\n- [Development](#development)\n- [Author](#author)\n- [License](#license)\n\n\n## Usage\n\nLanyon is a theme built on top of [Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll setup—just download and start the Jekyll server. See [the Poole usage guidelines](https://github.com/poole/poole#usage) for how to install and use Jekyll.\n\n\n## Options\n\nLanyon includes some customizable options, typically applied via classes on the `\u003cbody\u003e` element.\n\n\n### Sidebar menu\n\nCreate a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/).\n\n```\n---\nlayout: page\ntitle: About\n---\n```\n\n**Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` layout.\n\n\n### Themes\n\nLanyon ships with eight optional themes based on the [base16 color scheme](https://github.com/chriskempson/base16). Apply a theme to change the color scheme (mostly applies to sidebar and links).\n\n![Lanyon with red theme](https://f.cloud.github.com/assets/98681/1825270/be065110-71b0-11e3-9ed8-9b8de753a4af.png)\n![Lanyon with red theme and open sidebar](https://f.cloud.github.com/assets/98681/1825269/be05ec20-71b0-11e3-91ea-a9138ef07186.png)\n\nThere are eight themes available at this time.\n\n![Available theme classes](https://f.cloud.github.com/assets/98681/1817044/e5b0ec06-6f68-11e3-83d7-acd1942797a1.png)\n\nTo use a theme, add any one of the available theme classes to the `\u003cbody\u003e` element in the `default.html` layout, like so:\n\n```html\n\u003cbody class=\"theme-base-08\"\u003e\n  ...\n\u003c/body\u003e\n```\n\nTo create your own theme, look to the Themes section of [included CSS file](https://github.com/poole/lanyon/blob/master/public/css/lanyon.css). Copy any existing theme (they're only a few lines of CSS), rename it, and change the provided colors.\n\n\n### Reverse layout\n\n![Lanyon with reverse layout](https://f.cloud.github.com/assets/98681/1825265/be03f2e4-71b0-11e3-89f1-360705524495.png)\n![Lanyon with reverse layout and open sidebar](https://f.cloud.github.com/assets/98681/1825268/be056174-71b0-11e3-88c8-5055bca4307f.png)\n\nReverse the page orientation with a single class.\n\n```html\n\u003cbody class=\"layout-reverse\"\u003e\n  ...\n\u003c/body\u003e\n```\n\n\n### Sidebar overlay instead of push\n\nMake the sidebar overlap the viewport content with a single class:\n\n```html\n\u003cbody class=\"sidebar-overlay\"\u003e\n  ...\n\u003c/body\u003e\n```\n\nThis will keep the content stationary and slide in the sidebar over the side content. It also adds a `box-shadow` based outline to the toggle for contrast against backgrounds, as well as a `box-shadow` on the sidebar for depth.\n\nIt's also available for a reversed layout when you add both classes:\n\n```html\n\u003cbody class=\"layout-reverse sidebar-overlay\"\u003e\n  ...\n\u003c/body\u003e\n```\n\n### Sidebar open on page load\n\nShow an open sidebar on page load by modifying the `\u003cinput\u003e` to add the `checked` boolean attribute:\n\n```html\n\u003cinput type=\"checkbox\" class=\"sidebar-checkbox\" id=\"sidebar-checkbox\" checked\u003e\n```\n\nUsing Liquid you can also conditionally show the sidebar open on a per-page basis. For example, here's how you could have it open on the homepage only:\n\n```html\n\u003cinput type=\"checkbox\" class=\"sidebar-checkbox\" id=\"sidebar-checkbox\" {% if page.title ==\"Home\" %}checked{% endif %}\u003e\n```\n\n## Development\n\nLanyon has two branches, but only one is used for active development.\n\n- `master` for development.  **All pull requests should be to submitted against `master`.**\n- `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.**\n\n\n## Author\n\n**Mark Otto**\n- \u003chttps://github.com/mdo\u003e\n- \u003chttps://twitter.com/mdo\u003e\n\n\n## License\n\nOpen sourced under the [MIT license](LICENSE.md).\n\n\u003c3\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Fthinklikeanidiot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrianmcli%2Fthinklikeanidiot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrianmcli%2Fthinklikeanidiot/lists"}