sebasic 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +101 -0
- data/_config.yml +10 -0
- data/_includes/footer.html +3 -0
- data/_includes/head.html +14 -0
- data/_includes/header.html +6 -0
- data/_layouts/default.html +11 -0
- data/_layouts/home.html +22 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +18 -0
- data/assets/css/main.css +174 -0
- data/assets/css/normalize.css +349 -0
- data/assets/css/syntax.css +60 -0
- metadata +126 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9f0c580da36ff7f3423a2b20e64d82a941a555931b94ac443a646f77ade9ae5c
|
4
|
+
data.tar.gz: 66b23f752581507171313b51fed921b170b998e1b8b108ec4cc0aafe9b51aafa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bbbc4f144026c5c0c91bd132c5a631569b881bc66379577b5cb042accb2d9d88a4424f3d1ea61d8e69edb624453cf3ba2fcc7e28231e862059df54d534e9ce6e
|
7
|
+
data.tar.gz: c0e7f385cd9afcb4c5244c20de5eba2fec025ae947d3d7fb2a7b49476d4bb55909c3d756414645dcdcaffd3a8ccb180bde797059186d5cb1b5387098bf9d5951
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Lewis R
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# sebasic
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/sebasic.svg)](https://badge.fury.io/rb/sebasic)
|
4
|
+
|
5
|
+
Sebasic is an easy on the eyes IKEA style blog [Jekyll](https://jekyllrb.com/) for programmers. [[view demo]](https://lewis8s.codes)
|
6
|
+
|
7
|
+
Inspired by [sgolem](https://sgolem.com/) theme, and [rauchg.com](https://rauchg.com/)
|
8
|
+
|
9
|
+
![](./github/banner_2.png)
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
### New Blog
|
14
|
+
If you want to create a new blog using sebasic. You can follow these steps after setting up the [Jekyll](https://jekyllrb.com) environments:
|
15
|
+
|
16
|
+
Clone this repository:
|
17
|
+
```bash
|
18
|
+
git clone https://github.com/lewisrobbins/sebasic
|
19
|
+
```
|
20
|
+
|
21
|
+
Move into that directory:
|
22
|
+
```bash
|
23
|
+
cd sebasic/
|
24
|
+
```
|
25
|
+
|
26
|
+
Install required gems using `bundle`:
|
27
|
+
```bash
|
28
|
+
bundle install
|
29
|
+
```
|
30
|
+
|
31
|
+
Run the blog in localhost
|
32
|
+
```bash
|
33
|
+
jekyll serve
|
34
|
+
```
|
35
|
+
|
36
|
+
Once you successfully run the sebasic blog, you can modify the theme and add posts by yourself, have fun!
|
37
|
+
|
38
|
+
### Add sebasic to an Existing Blog
|
39
|
+
|
40
|
+
Add this line to your Jekyll site's `Gemfile`:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
gem "sebasic"
|
44
|
+
```
|
45
|
+
|
46
|
+
And add this line to your Jekyll site's `_config.yml`:
|
47
|
+
|
48
|
+
```yaml
|
49
|
+
theme: sebasic
|
50
|
+
```
|
51
|
+
|
52
|
+
And then execute:
|
53
|
+
|
54
|
+
$ bundle
|
55
|
+
|
56
|
+
Or install it yourself as:
|
57
|
+
|
58
|
+
$ gem install sebasic
|
59
|
+
|
60
|
+
### Deploy to Github Pages
|
61
|
+
|
62
|
+
:warning: If you want to publish your site in [Github Pages](https://pages.github.com/). Change `theme: xxx` in `_config.yml` to `remote_theme: lewisrobbins/sebasic` then push to your github repo (this is important, or you will get an error from github pages that not support the sebasic theme). If you want to test your site locally, you can change that to `theme: sebasic` and build again.
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
## Usage
|
67
|
+
|
68
|
+
You can modify the `_config.yml` to custom your blog.
|
69
|
+
|
70
|
+
```yaml
|
71
|
+
title: sebasic
|
72
|
+
description: Test site
|
73
|
+
author: Lewis R
|
74
|
+
url: https://lewis8s.codes
|
75
|
+
|
76
|
+
sebasic:
|
77
|
+
date_format: "%B %d, %Y"
|
78
|
+
twitter_user: realDonaldTrump # Twitter username for 'follow me button'
|
79
|
+
|
80
|
+
theme: sebasic
|
81
|
+
```
|
82
|
+
|
83
|
+
# Build settings
|
84
|
+
|
85
|
+
## Contributing
|
86
|
+
|
87
|
+
Bug reports and pull requests are welcome on GitHub at [here](https://github.com/lewisrobbins/sebasic)
|
88
|
+
|
89
|
+
## Development
|
90
|
+
|
91
|
+
To set up your environment to develop this theme, run `bundle install`.
|
92
|
+
|
93
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
94
|
+
|
95
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
96
|
+
To add a custom directory to your theme-gem, please edit the regexp in `sebasic.gemspec` accordingly.
|
97
|
+
|
98
|
+
## License
|
99
|
+
|
100
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
101
|
+
|
data/_config.yml
ADDED
data/_includes/head.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8" />
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
|
+
{%- seo title=false -%}
|
6
|
+
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css" />
|
7
|
+
<link rel="shortcut icon" type="image/x-icon" href="/{{ site.favicon }}?" />
|
8
|
+
<link rel="stylesheet" href="{{ site.url }}/assets/css/normalize.css" />
|
9
|
+
<link rel="stylesheet" href="{{ site.url }}/assets/css/syntax.css" />
|
10
|
+
{%- feed_meta -%}
|
11
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
12
|
+
{%- include google-analytics.html -%}
|
13
|
+
{%- endif -%}
|
14
|
+
</head>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<head>
|
5
|
+
<title>{{ site.title }}</title>
|
6
|
+
</head>
|
7
|
+
|
8
|
+
{%- if site.posts.size > 0 -%}
|
9
|
+
<ul>
|
10
|
+
{% for post in site.posts %}
|
11
|
+
{% capture post_data %}{{ page.date | date: "%B %d, %Y" }}{% endcapture %}
|
12
|
+
|
13
|
+
{%- assign date_format = "%B %d, %Y" -%}
|
14
|
+
<li>
|
15
|
+
<span>{{ post.date | date: date_format }}</span>
|
16
|
+
<a href="{{ post.url | relative_url }}">
|
17
|
+
{{ post.title | escape }}
|
18
|
+
</a>
|
19
|
+
</li>
|
20
|
+
{% endfor %}
|
21
|
+
</ul>
|
22
|
+
{%- endif -%}
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>{{ page.title }}</title>
|
7
|
+
</head>
|
8
|
+
|
9
|
+
<h1 class="post_title">
|
10
|
+
{{ page.title | escape }}
|
11
|
+
</h1>
|
12
|
+
<span class="date_post_published">
|
13
|
+
{%- assign date_format = "%B %d, %Y" -%}
|
14
|
+
{{ page.date | date: date_format }}
|
15
|
+
</span>
|
16
|
+
<div class="content">
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
data/assets/css/main.css
ADDED
@@ -0,0 +1,174 @@
|
|
1
|
+
:root {
|
2
|
+
--link-color: #0c00ff;
|
3
|
+
}
|
4
|
+
|
5
|
+
.highlight {
|
6
|
+
overflow-x: scroll;
|
7
|
+
font-size: 1rem;
|
8
|
+
}
|
9
|
+
|
10
|
+
blockquote {
|
11
|
+
content = "";
|
12
|
+
position: absolute;
|
13
|
+
left: 0;
|
14
|
+
right: 0;
|
15
|
+
bottom: 0;
|
16
|
+
width: 0.5rem;
|
17
|
+
background: #d3d3d3;
|
18
|
+
}
|
19
|
+
|
20
|
+
blockquote p {
|
21
|
+
color: grey;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* index list of articles */
|
26
|
+
|
27
|
+
ul, ol {
|
28
|
+
list-style: none;
|
29
|
+
}
|
30
|
+
ul li {
|
31
|
+
padding: 10px 15px;
|
32
|
+
}
|
33
|
+
|
34
|
+
ul li span {
|
35
|
+
color: #5b5b5b;
|
36
|
+
display: block;
|
37
|
+
font-size: 13px;
|
38
|
+
}
|
39
|
+
|
40
|
+
ul li a {
|
41
|
+
font-weight: bold;
|
42
|
+
color: var(--link-color);
|
43
|
+
text-decoration: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
@media (any-hover: hover) {
|
47
|
+
ul li a:hover {
|
48
|
+
background: #eee;
|
49
|
+
}
|
50
|
+
|
51
|
+
ul li a:active {
|
52
|
+
background: #ccc;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
@media (min-width: 500px) {
|
57
|
+
ul {
|
58
|
+
padding: 20px 0;
|
59
|
+
max-width: 42rem;
|
60
|
+
margin: auto;
|
61
|
+
}
|
62
|
+
|
63
|
+
ul li {
|
64
|
+
padding-left: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
ul li a {
|
68
|
+
padding: 10px 15px;
|
69
|
+
transition: 150ms background-color ease-in;
|
70
|
+
}
|
71
|
+
|
72
|
+
ul li span {
|
73
|
+
display: inline-block;
|
74
|
+
width: 160px;
|
75
|
+
padding-right: 10px;
|
76
|
+
text-align: right;
|
77
|
+
font-size: inherit;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
/* main app body */
|
82
|
+
|
83
|
+
body {
|
84
|
+
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
|
85
|
+
font-size: 18px;
|
86
|
+
text-rendering: optimizeSpeed;
|
87
|
+
}
|
88
|
+
|
89
|
+
main {
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
.app_layout {
|
95
|
+
--content-width: 50ch;
|
96
|
+
--layout-padding: 2rem;
|
97
|
+
margin: 0 auto;
|
98
|
+
padding: 0 var(--layout-pading);
|
99
|
+
max-width: calc(var(--content-width) + var(--layout-padding));
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
/* header */
|
104
|
+
|
105
|
+
.style_header {
|
106
|
+
padding: 2rem 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.style_header nav {
|
110
|
+
display: flex;
|
111
|
+
justify-content: space-between;
|
112
|
+
align-items: center;
|
113
|
+
}
|
114
|
+
|
115
|
+
.style_header nav a {
|
116
|
+
position: relative;
|
117
|
+
text-decoration: none;
|
118
|
+
}
|
119
|
+
|
120
|
+
nav a.home_link {
|
121
|
+
color: #000;
|
122
|
+
font-size: 1.1rem;
|
123
|
+
font-weight: bolder;
|
124
|
+
}
|
125
|
+
|
126
|
+
nav a.follow_me {
|
127
|
+
user-select: none;
|
128
|
+
padding: 0.5rem 1rem;
|
129
|
+
font-size: 0.9rem;
|
130
|
+
font-weight: bolder;
|
131
|
+
background: #000;
|
132
|
+
color: #fff;
|
133
|
+
}
|
134
|
+
|
135
|
+
/* blog post title */
|
136
|
+
|
137
|
+
.post_title {
|
138
|
+
margin: 0;
|
139
|
+
font-size: 2em;
|
140
|
+
}
|
141
|
+
|
142
|
+
.date_post_published {
|
143
|
+
display: block;
|
144
|
+
padding-top: 0.25rem;
|
145
|
+
font-size: 0.9rem;
|
146
|
+
}
|
147
|
+
|
148
|
+
.content {
|
149
|
+
padding: 1rem 0;
|
150
|
+
}
|
151
|
+
|
152
|
+
.content p {
|
153
|
+
line-height: 1.5;
|
154
|
+
}
|
155
|
+
|
156
|
+
.content a {
|
157
|
+
color: #0c00ff;
|
158
|
+
}
|
159
|
+
|
160
|
+
.content h2 {
|
161
|
+
margin: 3rem 0 1.5rem;
|
162
|
+
}
|
163
|
+
|
164
|
+
.content img {
|
165
|
+
display: block;
|
166
|
+
margin: 0 auto;
|
167
|
+
max-width: 100%;
|
168
|
+
}
|
169
|
+
|
170
|
+
/* footer */
|
171
|
+
footer {
|
172
|
+
display: flex;
|
173
|
+
justify-content: end;
|
174
|
+
}
|
@@ -0,0 +1,349 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Correct the line height in all browsers.
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
9
|
+
*/
|
10
|
+
|
11
|
+
html {
|
12
|
+
line-height: 1.15; /* 1 */
|
13
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Sections
|
17
|
+
========================================================================== */
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Remove the margin in all browsers.
|
21
|
+
*/
|
22
|
+
|
23
|
+
body {
|
24
|
+
margin: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Render the `main` element consistently in IE.
|
29
|
+
*/
|
30
|
+
|
31
|
+
main {
|
32
|
+
display: block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
37
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
38
|
+
*/
|
39
|
+
|
40
|
+
h1 {
|
41
|
+
font-size: 2em;
|
42
|
+
margin: 0.67em 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Grouping content
|
46
|
+
========================================================================== */
|
47
|
+
|
48
|
+
/**
|
49
|
+
* 1. Add the correct box sizing in Firefox.
|
50
|
+
* 2. Show the overflow in Edge and IE.
|
51
|
+
*/
|
52
|
+
|
53
|
+
hr {
|
54
|
+
box-sizing: content-box; /* 1 */
|
55
|
+
height: 0; /* 1 */
|
56
|
+
overflow: visible; /* 2 */
|
57
|
+
}
|
58
|
+
|
59
|
+
/**
|
60
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
61
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
62
|
+
*/
|
63
|
+
|
64
|
+
pre {
|
65
|
+
font-family: monospace, monospace; /* 1 */
|
66
|
+
font-size: 1em; /* 2 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Text-level semantics
|
70
|
+
========================================================================== */
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Remove the gray background on active links in IE 10.
|
74
|
+
*/
|
75
|
+
|
76
|
+
a {
|
77
|
+
background-color: transparent;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* 1. Remove the bottom border in Chrome 57-
|
82
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
83
|
+
*/
|
84
|
+
|
85
|
+
abbr[title] {
|
86
|
+
border-bottom: none; /* 1 */
|
87
|
+
text-decoration: underline; /* 2 */
|
88
|
+
text-decoration: underline dotted; /* 2 */
|
89
|
+
}
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
93
|
+
*/
|
94
|
+
|
95
|
+
b,
|
96
|
+
strong {
|
97
|
+
font-weight: bolder;
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
102
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
103
|
+
*/
|
104
|
+
|
105
|
+
code,
|
106
|
+
kbd,
|
107
|
+
samp {
|
108
|
+
font-family: monospace, monospace; /* 1 */
|
109
|
+
font-size: 1em; /* 2 */
|
110
|
+
}
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Add the correct font size in all browsers.
|
114
|
+
*/
|
115
|
+
|
116
|
+
small {
|
117
|
+
font-size: 80%;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
122
|
+
* all browsers.
|
123
|
+
*/
|
124
|
+
|
125
|
+
sub,
|
126
|
+
sup {
|
127
|
+
font-size: 75%;
|
128
|
+
line-height: 0;
|
129
|
+
position: relative;
|
130
|
+
vertical-align: baseline;
|
131
|
+
}
|
132
|
+
|
133
|
+
sub {
|
134
|
+
bottom: -0.25em;
|
135
|
+
}
|
136
|
+
|
137
|
+
sup {
|
138
|
+
top: -0.5em;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* Embedded content
|
142
|
+
========================================================================== */
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Remove the border on images inside links in IE 10.
|
146
|
+
*/
|
147
|
+
|
148
|
+
img {
|
149
|
+
border-style: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
/* Forms
|
153
|
+
========================================================================== */
|
154
|
+
|
155
|
+
/**
|
156
|
+
* 1. Change the font styles in all browsers.
|
157
|
+
* 2. Remove the margin in Firefox and Safari.
|
158
|
+
*/
|
159
|
+
|
160
|
+
button,
|
161
|
+
input,
|
162
|
+
optgroup,
|
163
|
+
select,
|
164
|
+
textarea {
|
165
|
+
font-family: inherit; /* 1 */
|
166
|
+
font-size: 100%; /* 1 */
|
167
|
+
line-height: 1.15; /* 1 */
|
168
|
+
margin: 0; /* 2 */
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Show the overflow in IE.
|
173
|
+
* 1. Show the overflow in Edge.
|
174
|
+
*/
|
175
|
+
|
176
|
+
button,
|
177
|
+
input { /* 1 */
|
178
|
+
overflow: visible;
|
179
|
+
}
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
183
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
184
|
+
*/
|
185
|
+
|
186
|
+
button,
|
187
|
+
select { /* 1 */
|
188
|
+
text-transform: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
193
|
+
*/
|
194
|
+
|
195
|
+
button,
|
196
|
+
[type="button"],
|
197
|
+
[type="reset"],
|
198
|
+
[type="submit"] {
|
199
|
+
-webkit-appearance: button;
|
200
|
+
}
|
201
|
+
|
202
|
+
/**
|
203
|
+
* Remove the inner border and padding in Firefox.
|
204
|
+
*/
|
205
|
+
|
206
|
+
button::-moz-focus-inner,
|
207
|
+
[type="button"]::-moz-focus-inner,
|
208
|
+
[type="reset"]::-moz-focus-inner,
|
209
|
+
[type="submit"]::-moz-focus-inner {
|
210
|
+
border-style: none;
|
211
|
+
padding: 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Restore the focus styles unset by the previous rule.
|
216
|
+
*/
|
217
|
+
|
218
|
+
button:-moz-focusring,
|
219
|
+
[type="button"]:-moz-focusring,
|
220
|
+
[type="reset"]:-moz-focusring,
|
221
|
+
[type="submit"]:-moz-focusring {
|
222
|
+
outline: 1px dotted ButtonText;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Correct the padding in Firefox.
|
227
|
+
*/
|
228
|
+
|
229
|
+
fieldset {
|
230
|
+
padding: 0.35em 0.75em 0.625em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* 1. Correct the text wrapping in Edge and IE.
|
235
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
236
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
237
|
+
* `fieldset` elements in all browsers.
|
238
|
+
*/
|
239
|
+
|
240
|
+
legend {
|
241
|
+
box-sizing: border-box; /* 1 */
|
242
|
+
color: inherit; /* 2 */
|
243
|
+
display: table; /* 1 */
|
244
|
+
max-width: 100%; /* 1 */
|
245
|
+
padding: 0; /* 3 */
|
246
|
+
white-space: normal; /* 1 */
|
247
|
+
}
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
251
|
+
*/
|
252
|
+
|
253
|
+
progress {
|
254
|
+
vertical-align: baseline;
|
255
|
+
}
|
256
|
+
|
257
|
+
/**
|
258
|
+
* Remove the default vertical scrollbar in IE 10+.
|
259
|
+
*/
|
260
|
+
|
261
|
+
textarea {
|
262
|
+
overflow: auto;
|
263
|
+
}
|
264
|
+
|
265
|
+
/**
|
266
|
+
* 1. Add the correct box sizing in IE 10.
|
267
|
+
* 2. Remove the padding in IE 10.
|
268
|
+
*/
|
269
|
+
|
270
|
+
[type="checkbox"],
|
271
|
+
[type="radio"] {
|
272
|
+
box-sizing: border-box; /* 1 */
|
273
|
+
padding: 0; /* 2 */
|
274
|
+
}
|
275
|
+
|
276
|
+
/**
|
277
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
278
|
+
*/
|
279
|
+
|
280
|
+
[type="number"]::-webkit-inner-spin-button,
|
281
|
+
[type="number"]::-webkit-outer-spin-button {
|
282
|
+
height: auto;
|
283
|
+
}
|
284
|
+
|
285
|
+
/**
|
286
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
287
|
+
* 2. Correct the outline style in Safari.
|
288
|
+
*/
|
289
|
+
|
290
|
+
[type="search"] {
|
291
|
+
-webkit-appearance: textfield; /* 1 */
|
292
|
+
outline-offset: -2px; /* 2 */
|
293
|
+
}
|
294
|
+
|
295
|
+
/**
|
296
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
297
|
+
*/
|
298
|
+
|
299
|
+
[type="search"]::-webkit-search-decoration {
|
300
|
+
-webkit-appearance: none;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
305
|
+
* 2. Change font properties to `inherit` in Safari.
|
306
|
+
*/
|
307
|
+
|
308
|
+
::-webkit-file-upload-button {
|
309
|
+
-webkit-appearance: button; /* 1 */
|
310
|
+
font: inherit; /* 2 */
|
311
|
+
}
|
312
|
+
|
313
|
+
/* Interactive
|
314
|
+
========================================================================== */
|
315
|
+
|
316
|
+
/*
|
317
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
318
|
+
*/
|
319
|
+
|
320
|
+
details {
|
321
|
+
display: block;
|
322
|
+
}
|
323
|
+
|
324
|
+
/*
|
325
|
+
* Add the correct display in all browsers.
|
326
|
+
*/
|
327
|
+
|
328
|
+
summary {
|
329
|
+
display: list-item;
|
330
|
+
}
|
331
|
+
|
332
|
+
/* Misc
|
333
|
+
========================================================================== */
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Add the correct display in IE 10+.
|
337
|
+
*/
|
338
|
+
|
339
|
+
template {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
|
343
|
+
/**
|
344
|
+
* Add the correct display in IE 10.
|
345
|
+
*/
|
346
|
+
|
347
|
+
[hidden] {
|
348
|
+
display: none;
|
349
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
.highlight { background: #ffffff; }
|
2
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
3
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
4
|
+
.highlight .k { font-weight: bold } /* Keyword */
|
5
|
+
.highlight .o { font-weight: bold } /* Operator */
|
6
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
10
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
11
|
+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
12
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
13
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
14
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
15
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
16
|
+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
17
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
18
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
19
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
20
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
21
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
22
|
+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
|
23
|
+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
|
24
|
+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
25
|
+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
26
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
27
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
28
|
+
.highlight .s { color: #d14 } /* Literal.String */
|
29
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
30
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
31
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
32
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
33
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
36
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
37
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
38
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
39
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
40
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
41
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
42
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
43
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
44
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
45
|
+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
46
|
+
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
47
|
+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
48
|
+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
49
|
+
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
50
|
+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
51
|
+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
52
|
+
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
53
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
54
|
+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
55
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
56
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
57
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
58
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
59
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
60
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
metadata
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sebasic
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lewis R
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-06-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-feed
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.9'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-seo-tag
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.1.4
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.1.4
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '12.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '12.0'
|
83
|
+
description:
|
84
|
+
email:
|
85
|
+
- lewis.robbins2@gmail.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- LICENSE.txt
|
91
|
+
- README.md
|
92
|
+
- _config.yml
|
93
|
+
- _includes/footer.html
|
94
|
+
- _includes/head.html
|
95
|
+
- _includes/header.html
|
96
|
+
- _layouts/default.html
|
97
|
+
- _layouts/home.html
|
98
|
+
- _layouts/page.html
|
99
|
+
- _layouts/post.html
|
100
|
+
- assets/css/main.css
|
101
|
+
- assets/css/normalize.css
|
102
|
+
- assets/css/syntax.css
|
103
|
+
homepage: https://github.com/lewisrobbins/sebasic
|
104
|
+
licenses:
|
105
|
+
- MIT
|
106
|
+
metadata: {}
|
107
|
+
post_install_message:
|
108
|
+
rdoc_options: []
|
109
|
+
require_paths:
|
110
|
+
- lib
|
111
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
requirements: []
|
122
|
+
rubygems_version: 3.0.3
|
123
|
+
signing_key:
|
124
|
+
specification_version: 4
|
125
|
+
summary: A basic Jekyll theme for programmers
|
126
|
+
test_files: []
|