styless 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -291
- data/_layouts/default.html +11 -3
- data/_layouts/home.html +4 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +4 -0
- data/_sass/styless.scss +391 -0
- data/assets/css/styless.scss +4 -0
- data/assets/images/.gitkeep +1 -0
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a000a019eafbb5107dc5c098e10a617f41717382b6c1c26f2021d994afd33368
|
4
|
+
data.tar.gz: 0e37e1a940f5b890014f4828166cb7d4775ac38d29f75c83a3d1fbfaa565d611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7deecbca41906f1f99f4185025179da12f1de144ac73169c4d2e2345cf416725b1d088f7c163cc716887afd9a6538a9b43cd70084dae815db97a884d3f7877c3
|
7
|
+
data.tar.gz: 3b1f52e0cdfb7ff94bf1ff88d945def5d862d6343f5478d391f67fa9158fad903918b1d71f76315f79b567dc88784b495c06844986f2a6659b1a42512f6241a6
|
data/README.md
CHANGED
@@ -1,319 +1,71 @@
|
|
1
|
-
|
1
|
+
<br><br>
|
2
|
+
<p align="center">
|
3
|
+
<h1 align="center">Styless</h1>
|
4
|
+
<p align="center">A modern, highly customizable, and unstyled Jekyll theme for developers with built-in dark mode.<br>Easily hosted on GitHub Pages with few dependencies.</p>
|
5
|
+
<p align="center"><strong><a href="https://pmarsceill.github.io/just-the-docs/">See it in action!</a></strong></p>
|
6
|
+
<br><br><br>
|
7
|
+
</p>
|
2
8
|
|
3
|
-
|
9
|
+
## Getting started
|
10
|
+
### Dependencies
|
11
|
+
Styless is built for [Jekyll](https://jekyllrb.com/), a static site generator. View the [quick start guide](https://jekyllrb.com/) for more information. Styless requires no special plugins and can run on GitHub Pages’ standard Jekyll compiler. The [Jekyll SEO Tag plugin](https://github.com/jekyll/jekyll-seo-tag) is included by default (no need to run any special installation) to inject SEO and open graph metadata on docs pages. For information on how to configure SEO and open graph metadata visit the [Jekyll SEO Tag usage guide](https://jekyll.github.io/jekyll-seo-tag/usage/).
|
4
12
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
[Theme preview](https://moonharelabs.github.io/styless/)
|
9
|
-
|
10
|
-
![styless theme preview](/screenshot.png)
|
11
|
-
|
12
|
-
## Installation
|
13
|
-
|
14
|
-
Add this line to your Jekyll site's Gemfile:
|
15
|
-
|
16
|
-
```ruby
|
17
|
-
gem "styless"
|
18
|
-
```
|
19
|
-
|
20
|
-
And then execute:
|
21
|
-
|
22
|
-
$ bundle
|
23
|
-
|
24
|
-
|
25
|
-
## Contents At-A-Glance
|
26
|
-
|
27
|
-
Minima has been scaffolded by the `jekyll new-theme` command and therefore has all the necessary files and directories to have a new Jekyll site up and running with zero-configuration.
|
28
|
-
|
29
|
-
### Layouts
|
30
|
-
|
31
|
-
Refers to files within the `_layouts` directory, that define the markup for your theme.
|
32
|
-
|
33
|
-
- `default.html` — The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says ` {{ content }} ` and are linked to this file via [FrontMatter](https://jekyllrb.com/docs/frontmatter/) declaration `layout: default`.
|
34
|
-
- `home.html` — The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
|
35
|
-
- `page.html` — The layout for your documents that contain FrontMatter, but are not posts.
|
36
|
-
- `post.html` — The layout for your posts.
|
37
|
-
|
38
|
-
#### Home Layout
|
39
|
-
|
40
|
-
`home.html` is a flexible HTML layout for the site's landing-page / home-page / index-page. <br/>
|
41
|
-
|
42
|
-
##### *Main Heading and Content-injection*
|
43
|
-
|
44
|
-
From Minima v2.2 onwards, the *home* layout will inject all content from your `index.md` / `index.html` **before** the **`Posts`** heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. *We recommended that you title this section with a Heading2 (`##`)*.
|
45
|
-
|
46
|
-
Usually the `site.title` itself would suffice as the implicit 'main-title' for a landing-page. But, if your landing-page would like a heading to be explicitly displayed, then simply define a `title` variable in the document's front matter and it will be rendered with an `<h1>` tag.
|
47
|
-
|
48
|
-
##### *Post Listing*
|
49
|
-
|
50
|
-
This section is optional from Minima v2.2 onwards.<br/>
|
51
|
-
It will be automatically included only when your site contains one or more valid posts or drafts (if the site is configured to `show_drafts`).
|
52
|
-
|
53
|
-
The title for this section is `Posts` by default and rendered with an `<h2>` tag. You can customize this heading by defining a `list_title` variable in the document's front matter.
|
54
|
-
|
55
|
-
|
56
|
-
### Includes
|
57
|
-
|
58
|
-
Refers to snippets of code within the `_includes` directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
|
59
|
-
|
60
|
-
- `disqus_comments.html` — Code to markup disqus comment box.
|
61
|
-
- `footer.html` — Defines the site's footer section.
|
62
|
-
- `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
|
63
|
-
- `head.html` — Code-block that defines the `<head></head>` in *default* layout.
|
64
|
-
- `custom-head.html` — Placeholder to allow users to add more metadata to `<head />`.
|
65
|
-
- `header.html` — Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
|
66
|
-
- `social.html` — Renders social-media icons based on the `minima:social_links` data in the config file.
|
67
|
-
|
68
|
-
|
69
|
-
### Sass
|
70
|
-
|
71
|
-
Refers to `.scss` files within the `_sass` directory that define the theme's styles.
|
72
|
-
|
73
|
-
- `minima/skins/classic.scss` — The "classic" skin of the theme. *Used by default.*
|
74
|
-
- `minima/initialize.scss` — A component that defines the theme's *skin-agnostic* variable defaults and sass partials.
|
75
|
-
It imports the following components (in the following order):
|
76
|
-
- `minima/custom-variables.scss` — A hook that allows overriding variable defaults and mixins. (*Note: Cannot override styles*)
|
77
|
-
- `minima/_base.scss` — Sass partial for resets and defines base styles for various HTML elements.
|
78
|
-
- `minima/_layout.scss` — Sass partial that defines the visual style for various layouts.
|
79
|
-
- `minima/custom-styles.scss` — A hook that allows overriding styles defined above. (*Note: Cannot override variables*)
|
80
|
-
|
81
|
-
Refer the [skins](#skins) section for more details.
|
82
|
-
|
83
|
-
|
84
|
-
### Assets
|
85
|
-
|
86
|
-
Refers to various asset files within the `assets` directory.
|
87
|
-
|
88
|
-
- `assets/css/style.scss` — Imports sass files from within the `_sass` directory and gets processed into the theme's
|
89
|
-
stylesheet: `assets/css/styles.css`.
|
90
|
-
- `assets/minima-social-icons.svg` — A composite SVG file comprised of *symbols* related to various social-media icons.
|
91
|
-
This file is used as-is without any processing. Refer [section on social networks](#social-networks) for its usage.
|
92
|
-
|
93
|
-
|
94
|
-
### Plugins
|
95
|
-
|
96
|
-
Minima comes with [`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin preinstalled to make sure your website gets the most useful meta tags. See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up.
|
97
|
-
|
98
|
-
|
99
|
-
## Usage
|
100
|
-
|
101
|
-
Have the following line in your config file:
|
13
|
+
### Quick start: Use as a GitHub Pages remote theme
|
102
14
|
|
15
|
+
1. Add Styless to your Jekyll site's `_config.yml` as a [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/)
|
103
16
|
```yaml
|
104
|
-
|
17
|
+
remote_theme: moonharelabs/styless
|
105
18
|
```
|
19
|
+
<small>You must have GitHub Pages enabled on your repo, one or more Markdown files, and a `_config.yml` file. [See an example repository](https://github.com/moonharelabs/styless/tree/main/docs)</small>
|
106
20
|
|
107
21
|
|
108
|
-
###
|
22
|
+
### Local installation: Use the gem-based theme
|
109
23
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
The site's default CSS has now moved to a new place within the gem itself, [`assets/css/style.scss`](assets/css/style.scss).
|
114
|
-
|
115
|
-
In Minima 3.0, if you only need to customize the colors of the theme, refer to the subsequent section on skins. To have your
|
116
|
-
*CSS overrides* in sync with upstream changes released in future versions, you can collect all your overrides for the Sass
|
117
|
-
variables and mixins inside a sass file placed at `_sass/minima/custom-variables.scss` and all other overrides inside a sass file
|
118
|
-
placed at path `_sass/minima/custom.scss`.
|
119
|
-
|
120
|
-
You need not maintain entire partial(s) at the site's source just to override a few styles. However, your stylesheet's primary
|
121
|
-
source (`assets/css/style.scss`) should contain the following:
|
122
|
-
|
123
|
-
- Front matter dashes at the very beginning (can be empty).
|
124
|
-
- Directive to import a skin.
|
125
|
-
- Directive to import the base styles (automatically loads overrides when available).
|
126
|
-
|
127
|
-
Therefore, your `assets/css/style.scss` should contain the following at minimum:
|
128
|
-
|
129
|
-
```sass
|
130
|
-
---
|
131
|
-
---
|
132
|
-
|
133
|
-
@import "minima/skins/{{ site.minima.skin | default: 'classic' }}";
|
134
|
-
@import "minima/initialize";
|
135
|
-
```
|
136
|
-
|
137
|
-
#### Skins
|
138
|
-
|
139
|
-
Minima 3.0 supports defining and switching between multiple color-palettes (or *skins*).
|
140
|
-
|
141
|
-
```
|
142
|
-
.
|
143
|
-
├── minima.scss
|
144
|
-
└── minima
|
145
|
-
└── _syntax-highlighting.scss
|
24
|
+
1. Install the Ruby Gem
|
25
|
+
```bash
|
26
|
+
$ gem install styless
|
146
27
|
```
|
147
|
-
|
148
|
-
|
149
|
-
A skin is a Sass file placed in the directory `_sass/minima/skins` and it defines the variable defaults related to the "color"
|
150
|
-
aspect of the theme. It also embeds the Sass rules related to syntax-highlighting since that is primarily related to color and
|
151
|
-
has to be adjusted in harmony with the current skin.
|
152
|
-
|
153
|
-
The default color palette for Minima is defined within `_sass/minima/skins/classic.scss`. To switch to another available skin,
|
154
|
-
simply declare it in the site's config file. For example, to activate `_sass/minima/skins/dark.scss` as the skin, the setting
|
155
|
-
would be:
|
156
|
-
|
157
|
-
```yaml
|
158
|
-
minima:
|
159
|
-
skin: dark
|
160
|
-
```
|
161
|
-
|
162
|
-
As part of the migration to support skins, some existing Sass variables have been retired and some **have been redefined** as
|
163
|
-
summarized in the following table:
|
164
|
-
|
165
|
-
Minima 2.0 | Minima 3.0
|
166
|
-
--------------- | ----------
|
167
|
-
`$brand-color` | `$link-base-color`
|
168
|
-
`$grey-*` | `$brand-*`
|
169
|
-
`$orange-color` | *has been removed*
|
170
|
-
|
171
|
-
##### Available skins
|
172
|
-
|
173
|
-
- classic
|
174
|
-
- dark
|
175
|
-
- solarized
|
176
|
-
- solarized-dark
|
177
|
-
|
178
|
-
### Customize navigation links
|
179
|
-
|
180
|
-
This allows you to set which pages you want to appear in the navigation area and configure order of the links.
|
181
|
-
|
182
|
-
For instance, to only link to the `about` and the `portfolio` page, add the following to your `_config.yml`:
|
183
|
-
|
184
28
|
```yaml
|
185
|
-
|
186
|
-
|
187
|
-
- portfolio.md
|
188
|
-
```
|
189
|
-
|
190
|
-
|
191
|
-
### Change default date format
|
192
|
-
|
193
|
-
You can change the default date format by specifying `site.minima.date_format`
|
194
|
-
in `_config.yml`.
|
195
|
-
|
196
|
-
```
|
197
|
-
# Minima date format
|
198
|
-
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
|
199
|
-
minima:
|
200
|
-
date_format: "%b %-d, %Y"
|
29
|
+
# .. or add it to your your Jekyll site’s Gemfile
|
30
|
+
gem "styless"
|
201
31
|
```
|
202
|
-
|
203
|
-
|
204
|
-
### Extending the `<head />`
|
205
|
-
|
206
|
-
You can *add* custom metadata to the `<head />` of your layouts by creating a file `_includes/custom-head.html` in your source directory. For example, to add favicons:
|
207
|
-
|
208
|
-
1. Head over to [https://realfavicongenerator.net/](https://realfavicongenerator.net/) to add your own favicons.
|
209
|
-
2. [Customize](#customization) default `_includes/custom-head.html` in your source directory and insert the given code snippet.
|
210
|
-
|
211
|
-
|
212
|
-
### Enabling comments (via Disqus)
|
213
|
-
|
214
|
-
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
|
215
|
-
|
216
|
-
To enable it, add the following lines to your Jekyll site:
|
217
|
-
|
32
|
+
2. Add Styless to your Jekyll site’s `_config.yml`
|
218
33
|
```yaml
|
219
|
-
|
220
|
-
shortname: my_disqus_shortname
|
34
|
+
theme: "styless"
|
221
35
|
```
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
|
226
|
-
|
227
|
-
If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
|
228
|
-
|
229
|
-
:warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work.
|
230
|
-
|
231
|
-
### Author Metadata
|
232
|
-
|
233
|
-
From `Minima-3.0` onwards, `site.author` is expected to be a mapping of attributes instead of a simple scalar value:
|
234
|
-
|
235
|
-
```yaml
|
236
|
-
author:
|
237
|
-
name: John Smith
|
238
|
-
email: "john.smith@foobar.com"
|
36
|
+
3. Run you local Jekyll server
|
37
|
+
```bash
|
38
|
+
$ jekyll serve
|
239
39
|
```
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
Minima 2.x | Minima 3.0
|
244
|
-
------------- | -------------------
|
245
|
-
`site.author` | `site.author.name`
|
246
|
-
`site.email` | `site.author.email`
|
247
|
-
|
248
|
-
|
249
|
-
### Social networks
|
250
|
-
|
251
|
-
You can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your config.
|
252
|
-
From `Minima-3.0` onwards, the usernames are to be nested under `minima.social_links`, with the keys being simply the social-network's name:
|
253
|
-
|
254
|
-
```yaml
|
255
|
-
minima:
|
256
|
-
social_links:
|
257
|
-
twitter: jekyllrb
|
258
|
-
github: jekyll
|
259
|
-
stackoverflow: "11111"
|
260
|
-
dribbble: jekyll
|
261
|
-
facebook: jekyll
|
262
|
-
flickr: jekyll
|
263
|
-
instagram: jekyll
|
264
|
-
linkedin: jekyll
|
265
|
-
pinterest: jekyll
|
266
|
-
telegram: jekyll
|
267
|
-
microdotblog: jekyll
|
268
|
-
keybase: jekyll
|
269
|
-
|
270
|
-
mastodon:
|
271
|
-
- username: jekyll
|
272
|
-
instance: example.com
|
273
|
-
- username: jekyll2
|
274
|
-
instance: example.com
|
275
|
-
|
276
|
-
gitlab:
|
277
|
-
- username: jekyll
|
278
|
-
instance: example.com
|
279
|
-
- username: jekyll2
|
280
|
-
instance: example.com
|
281
|
-
|
282
|
-
youtube: jekyll
|
283
|
-
youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
|
284
|
-
youtube_channel_name: CloudCannon
|
40
|
+
```bash
|
41
|
+
# .. or if you're using a Gemfile (bundler)
|
42
|
+
$ bundle exec jekyll serve
|
285
43
|
```
|
44
|
+
4. Point your web browser to [http://localhost:4000](http://localhost:4000)
|
286
45
|
|
46
|
+
If you're hosting your site on GitHub Pages, [set up GitHub Pages and Jekyll locally](https://help.github.com/en/articles/setting-up-your-github-pages-site-locally-with-jekyll) so that you can more easily work in your development environment.
|
287
47
|
|
288
|
-
###
|
289
|
-
|
290
|
-
To enable Google Analytics, add the following lines to your Jekyll site:
|
48
|
+
### Configure Styless
|
291
49
|
|
292
|
-
|
293
|
-
google_analytics: UA-NNNNNNNN-N
|
294
|
-
```
|
295
|
-
|
296
|
-
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
297
|
-
|
298
|
-
### Enabling Excerpts on the Home Page
|
50
|
+
- [See configuration options](configuration)
|
299
51
|
|
300
|
-
|
52
|
+
---
|
301
53
|
|
302
|
-
|
303
|
-
show_excerpts: true
|
304
|
-
```
|
54
|
+
## About the project
|
305
55
|
|
56
|
+
Styless is © 2021-{{ "now" | date: "%Y" }} by @ksengine.
|
306
57
|
|
307
|
-
|
58
|
+
### License
|
308
59
|
|
309
|
-
|
60
|
+
Styless is distributed by an [Unlicense License](https://github.com/moonharelabs/styless/tree/main/LICENSE).
|
310
61
|
|
311
|
-
|
62
|
+
### Contributing
|
312
63
|
|
313
|
-
|
64
|
+
When contributing to this repository, please first discuss the change you wish to make via issue,
|
65
|
+
email, or any other method with the owners of this repository before making a change. Read more about becoming a contributor in [our GitHub repo](https://github.com/moonharelabs/styless#contributing).
|
314
66
|
|
315
|
-
|
67
|
+
### Code of Conduct
|
316
68
|
|
317
|
-
|
69
|
+
Styless is committed to fostering a welcoming community.
|
318
70
|
|
319
|
-
|
71
|
+
[View our Code of Conduct](https://github.com/moonharelabs/styless/tree/main/CODE_OF_CONDUCT.md) on our GitHub repository.
|
data/_layouts/default.html
CHANGED
@@ -1,8 +1,16 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
{% seo %}
|
9
|
+
<link rel="stylesheet" href="{{ "/assets/css/styless.css?v=" | append: site.github.build_revision | relative_url }}">
|
10
|
+
</head>
|
11
|
+
<body>
|
4
12
|
|
5
13
|
{{ content }}
|
6
14
|
|
7
|
-
</body>
|
15
|
+
</body>
|
8
16
|
</html>
|
data/_layouts/home.html
ADDED
data/_layouts/page.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div style='
|
5
|
+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
6
|
+
font-size: 16px;
|
7
|
+
line-height: 1.5;
|
8
|
+
word-wrap: break-word;
|
9
|
+
max-width: 1012px;
|
10
|
+
margin: 32px auto 32px auto;
|
11
|
+
padding-right: 16px;
|
12
|
+
padding-left: 16px;'>
|
13
|
+
{{ content }}
|
14
|
+
</div>
|
data/_layouts/post.html
ADDED
data/_sass/styless.scss
ADDED
@@ -0,0 +1,391 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
html {
|
4
|
+
line-height: 1.15;
|
5
|
+
-webkit-text-size-adjust: 100%
|
6
|
+
}
|
7
|
+
|
8
|
+
body {
|
9
|
+
margin: 0
|
10
|
+
}
|
11
|
+
|
12
|
+
main {
|
13
|
+
display: block
|
14
|
+
}
|
15
|
+
|
16
|
+
h1 {
|
17
|
+
font-size: 2em;
|
18
|
+
margin: .67em 0
|
19
|
+
}
|
20
|
+
|
21
|
+
hr {
|
22
|
+
box-sizing: content-box;
|
23
|
+
height: 0;
|
24
|
+
overflow: visible
|
25
|
+
}
|
26
|
+
|
27
|
+
pre {
|
28
|
+
font-family: monospace, monospace;
|
29
|
+
font-size: 1em
|
30
|
+
}
|
31
|
+
|
32
|
+
a {
|
33
|
+
background-color: transparent
|
34
|
+
}
|
35
|
+
|
36
|
+
abbr[title] {
|
37
|
+
border-bottom: none;
|
38
|
+
text-decoration: underline;
|
39
|
+
text-decoration: underline dotted
|
40
|
+
}
|
41
|
+
|
42
|
+
b,
|
43
|
+
strong {
|
44
|
+
font-weight: bolder
|
45
|
+
}
|
46
|
+
|
47
|
+
code,
|
48
|
+
kbd,
|
49
|
+
samp {
|
50
|
+
font-family: monospace, monospace;
|
51
|
+
font-size: 1em
|
52
|
+
}
|
53
|
+
|
54
|
+
small {
|
55
|
+
font-size: 80%
|
56
|
+
}
|
57
|
+
|
58
|
+
sub,
|
59
|
+
sup {
|
60
|
+
font-size: 75%;
|
61
|
+
line-height: 0;
|
62
|
+
position: relative;
|
63
|
+
vertical-align: baseline
|
64
|
+
}
|
65
|
+
|
66
|
+
sub {
|
67
|
+
bottom: -.25em
|
68
|
+
}
|
69
|
+
|
70
|
+
sup {
|
71
|
+
top: -.5em
|
72
|
+
}
|
73
|
+
|
74
|
+
img {
|
75
|
+
border-style: none
|
76
|
+
}
|
77
|
+
|
78
|
+
button,
|
79
|
+
input,
|
80
|
+
optgroup,
|
81
|
+
select,
|
82
|
+
textarea {
|
83
|
+
font-family: inherit;
|
84
|
+
font-size: 100%;
|
85
|
+
line-height: 1.15;
|
86
|
+
margin: 0
|
87
|
+
}
|
88
|
+
|
89
|
+
button,
|
90
|
+
input {
|
91
|
+
overflow: visible
|
92
|
+
}
|
93
|
+
|
94
|
+
button,
|
95
|
+
select {
|
96
|
+
text-transform: none
|
97
|
+
}
|
98
|
+
|
99
|
+
[type=button],
|
100
|
+
[type=reset],
|
101
|
+
[type=submit],
|
102
|
+
button {
|
103
|
+
-webkit-appearance: button
|
104
|
+
}
|
105
|
+
|
106
|
+
[type=button]::-moz-focus-inner,
|
107
|
+
[type=reset]::-moz-focus-inner,
|
108
|
+
[type=submit]::-moz-focus-inner,
|
109
|
+
button::-moz-focus-inner {
|
110
|
+
border-style: none;
|
111
|
+
padding: 0
|
112
|
+
}
|
113
|
+
|
114
|
+
[type=button]:-moz-focusring,
|
115
|
+
[type=reset]:-moz-focusring,
|
116
|
+
[type=submit]:-moz-focusring,
|
117
|
+
button:-moz-focusring {
|
118
|
+
outline: 1px dotted ButtonText
|
119
|
+
}
|
120
|
+
|
121
|
+
fieldset {
|
122
|
+
padding: .35em .75em .625em
|
123
|
+
}
|
124
|
+
|
125
|
+
legend {
|
126
|
+
box-sizing: border-box;
|
127
|
+
color: inherit;
|
128
|
+
display: table;
|
129
|
+
max-width: 100%;
|
130
|
+
padding: 0;
|
131
|
+
white-space: normal
|
132
|
+
}
|
133
|
+
|
134
|
+
progress {
|
135
|
+
vertical-align: baseline
|
136
|
+
}
|
137
|
+
|
138
|
+
textarea {
|
139
|
+
overflow: auto
|
140
|
+
}
|
141
|
+
|
142
|
+
[type=checkbox],
|
143
|
+
[type=radio] {
|
144
|
+
box-sizing: border-box;
|
145
|
+
padding: 0
|
146
|
+
}
|
147
|
+
|
148
|
+
[type=number]::-webkit-inner-spin-button,
|
149
|
+
[type=number]::-webkit-outer-spin-button {
|
150
|
+
height: auto
|
151
|
+
}
|
152
|
+
|
153
|
+
[type=search] {
|
154
|
+
-webkit-appearance: textfield;
|
155
|
+
outline-offset: -2px
|
156
|
+
}
|
157
|
+
|
158
|
+
[type=search]::-webkit-search-decoration {
|
159
|
+
-webkit-appearance: none
|
160
|
+
}
|
161
|
+
|
162
|
+
::-webkit-file-upload-button {
|
163
|
+
-webkit-appearance: button;
|
164
|
+
font: inherit
|
165
|
+
}
|
166
|
+
|
167
|
+
details {
|
168
|
+
display: block
|
169
|
+
}
|
170
|
+
|
171
|
+
summary {
|
172
|
+
display: list-item
|
173
|
+
}
|
174
|
+
|
175
|
+
template {
|
176
|
+
display: none
|
177
|
+
}
|
178
|
+
|
179
|
+
[hidden] {
|
180
|
+
display: none
|
181
|
+
}
|
182
|
+
|
183
|
+
.highlight table td { padding: 5px; padding: 0.3125rem}
|
184
|
+
.highlight table pre { margin: 0; }
|
185
|
+
.highlight .cm {
|
186
|
+
color: #999988;
|
187
|
+
font-style: italic;
|
188
|
+
}
|
189
|
+
.highlight .cp {
|
190
|
+
color: #999999;
|
191
|
+
font-weight: bold;
|
192
|
+
}
|
193
|
+
.highlight .c1 {
|
194
|
+
color: #999988;
|
195
|
+
font-style: italic;
|
196
|
+
}
|
197
|
+
.highlight .cs {
|
198
|
+
color: #999999;
|
199
|
+
font-weight: bold;
|
200
|
+
font-style: italic;
|
201
|
+
}
|
202
|
+
.highlight .c, .highlight .cd {
|
203
|
+
color: #999988;
|
204
|
+
font-style: italic;
|
205
|
+
}
|
206
|
+
.highlight .err {
|
207
|
+
color: #a61717;
|
208
|
+
background-color: #e3d2d2;
|
209
|
+
}
|
210
|
+
.highlight .gd {
|
211
|
+
color: #000000;
|
212
|
+
background-color: #ffdddd;
|
213
|
+
}
|
214
|
+
.highlight .ge {
|
215
|
+
color: #000000;
|
216
|
+
font-style: italic;
|
217
|
+
}
|
218
|
+
.highlight .gr {
|
219
|
+
color: #aa0000;
|
220
|
+
}
|
221
|
+
.highlight .gh {
|
222
|
+
color: #999999;
|
223
|
+
}
|
224
|
+
.highlight .gi {
|
225
|
+
color: #000000;
|
226
|
+
background-color: #ddffdd;
|
227
|
+
}
|
228
|
+
.highlight .go {
|
229
|
+
color: #888888;
|
230
|
+
}
|
231
|
+
.highlight .gp {
|
232
|
+
color: #555555;
|
233
|
+
}
|
234
|
+
.highlight .gs {
|
235
|
+
font-weight: bold;
|
236
|
+
}
|
237
|
+
.highlight .gu {
|
238
|
+
color: #aaaaaa;
|
239
|
+
}
|
240
|
+
.highlight .gt {
|
241
|
+
color: #aa0000;
|
242
|
+
}
|
243
|
+
.highlight .kc {
|
244
|
+
color: #000000;
|
245
|
+
font-weight: bold;
|
246
|
+
}
|
247
|
+
.highlight .kd {
|
248
|
+
color: #000000;
|
249
|
+
font-weight: bold;
|
250
|
+
}
|
251
|
+
.highlight .kn {
|
252
|
+
color: #000000;
|
253
|
+
font-weight: bold;
|
254
|
+
}
|
255
|
+
.highlight .kp {
|
256
|
+
color: #000000;
|
257
|
+
font-weight: bold;
|
258
|
+
}
|
259
|
+
.highlight .kr {
|
260
|
+
color: #000000;
|
261
|
+
font-weight: bold;
|
262
|
+
}
|
263
|
+
.highlight .kt {
|
264
|
+
color: #445588;
|
265
|
+
font-weight: bold;
|
266
|
+
}
|
267
|
+
.highlight .k, .highlight .kv {
|
268
|
+
color: #000000;
|
269
|
+
font-weight: bold;
|
270
|
+
}
|
271
|
+
.highlight .mf {
|
272
|
+
color: #009999;
|
273
|
+
}
|
274
|
+
.highlight .mh {
|
275
|
+
color: #009999;
|
276
|
+
}
|
277
|
+
.highlight .il {
|
278
|
+
color: #009999;
|
279
|
+
}
|
280
|
+
.highlight .mi {
|
281
|
+
color: #009999;
|
282
|
+
}
|
283
|
+
.highlight .mo {
|
284
|
+
color: #009999;
|
285
|
+
}
|
286
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
287
|
+
color: #009999;
|
288
|
+
}
|
289
|
+
.highlight .sb {
|
290
|
+
color: #d14;
|
291
|
+
}
|
292
|
+
.highlight .sc {
|
293
|
+
color: #d14;
|
294
|
+
}
|
295
|
+
.highlight .sd {
|
296
|
+
color: #d14;
|
297
|
+
}
|
298
|
+
.highlight .s2 {
|
299
|
+
color: #d14;
|
300
|
+
}
|
301
|
+
.highlight .se {
|
302
|
+
color: #d14;
|
303
|
+
}
|
304
|
+
.highlight .sh {
|
305
|
+
color: #d14;
|
306
|
+
}
|
307
|
+
.highlight .si {
|
308
|
+
color: #d14;
|
309
|
+
}
|
310
|
+
.highlight .sx {
|
311
|
+
color: #d14;
|
312
|
+
}
|
313
|
+
.highlight .sr {
|
314
|
+
color: #009926;
|
315
|
+
}
|
316
|
+
.highlight .s1 {
|
317
|
+
color: #d14;
|
318
|
+
}
|
319
|
+
.highlight .ss {
|
320
|
+
color: #990073;
|
321
|
+
}
|
322
|
+
.highlight .s {
|
323
|
+
color: #d14;
|
324
|
+
}
|
325
|
+
.highlight .na {
|
326
|
+
color: #008080;
|
327
|
+
}
|
328
|
+
.highlight .bp {
|
329
|
+
color: #999999;
|
330
|
+
}
|
331
|
+
.highlight .nb {
|
332
|
+
color: #0086B3;
|
333
|
+
}
|
334
|
+
.highlight .nc {
|
335
|
+
color: #445588;
|
336
|
+
font-weight: bold;
|
337
|
+
}
|
338
|
+
.highlight .no {
|
339
|
+
color: #008080;
|
340
|
+
}
|
341
|
+
.highlight .nd {
|
342
|
+
color: #3c5d5d;
|
343
|
+
font-weight: bold;
|
344
|
+
}
|
345
|
+
.highlight .ni {
|
346
|
+
color: #800080;
|
347
|
+
}
|
348
|
+
.highlight .ne {
|
349
|
+
color: #990000;
|
350
|
+
font-weight: bold;
|
351
|
+
}
|
352
|
+
.highlight .nf {
|
353
|
+
color: #990000;
|
354
|
+
font-weight: bold;
|
355
|
+
}
|
356
|
+
.highlight .nl {
|
357
|
+
color: #990000;
|
358
|
+
font-weight: bold;
|
359
|
+
}
|
360
|
+
.highlight .nn {
|
361
|
+
color: #555555;
|
362
|
+
}
|
363
|
+
.highlight .nt {
|
364
|
+
color: #000080;
|
365
|
+
}
|
366
|
+
.highlight .vc {
|
367
|
+
color: #008080;
|
368
|
+
}
|
369
|
+
.highlight .vg {
|
370
|
+
color: #008080;
|
371
|
+
}
|
372
|
+
.highlight .vi {
|
373
|
+
color: #008080;
|
374
|
+
}
|
375
|
+
.highlight .nv {
|
376
|
+
color: #008080;
|
377
|
+
}
|
378
|
+
.highlight .ow {
|
379
|
+
color: #000000;
|
380
|
+
font-weight: bold;
|
381
|
+
}
|
382
|
+
.highlight .o {
|
383
|
+
color: #000000;
|
384
|
+
font-weight: bold;
|
385
|
+
}
|
386
|
+
.highlight .w {
|
387
|
+
color: #bbbbbb;
|
388
|
+
}
|
389
|
+
.highlight {
|
390
|
+
background-color: #f8f8f8;
|
391
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: styless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kavindu Santhusa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: jekyll-admin
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: jekyll-feed
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,6 +96,12 @@ files:
|
|
82
96
|
- LICENSE
|
83
97
|
- README.md
|
84
98
|
- _layouts/default.html
|
99
|
+
- _layouts/home.html
|
100
|
+
- _layouts/page.html
|
101
|
+
- _layouts/post.html
|
102
|
+
- _sass/styless.scss
|
103
|
+
- assets/css/styless.scss
|
104
|
+
- assets/images/.gitkeep
|
85
105
|
homepage: https://github.com/moonharelabs/styless
|
86
106
|
licenses:
|
87
107
|
- Unlicense
|