jekyll-california 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 +52 -0
- data/_includes/.gitkeep +0 -0
- data/_layouts/default.html +50 -0
- data/_layouts/page.html +7 -0
- data/_layouts/post.html +18 -0
- data/_layouts/project.html +19 -0
- data/_sass/_colors-dark.scss +0 -0
- data/_sass/_colors-light.scss +58 -0
- data/_sass/_colors-tufte.scss +188 -0
- data/_sass/_components.scss +0 -0
- data/_sass/_main.scss +265 -0
- data/_sass/_variables.scss +0 -0
- data/assets/style.scss +10 -0
- metadata +99 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ab6467ed0268674d1e7d6973acd77897e9a26ac8e7e8067aaccb247897c7926b
|
4
|
+
data.tar.gz: 2c4925b712e9991aa466f8a46b0b72ce056303d0bccaff8f5451a78e5ca18dff
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8c0202607f7ea00c14fc540b173e58665b05f929cccba1b6e37d61a5043ba32134cc92291acd526302e4c6e844e2d002ae742256d206b8d4922c12820c1612e4
|
7
|
+
data.tar.gz: 341de401e58a57aecd2cc49ce9f90ecc9a182b0bd3fef0b453cfe23d0d6552e50838e5b41678635869053e64958e9b0a795ffb1dc12dd5bd49e0d9c644eb3b3d
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Chenna Kautilya
|
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,52 @@
|
|
1
|
+
# california
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your Jekyll site's `Gemfile`:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem "jekyll-california"
|
14
|
+
```
|
15
|
+
|
16
|
+
And add this line to your Jekyll site's `_config.yml`:
|
17
|
+
|
18
|
+
```yaml
|
19
|
+
theme: jekyll-california
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
$ bundle
|
25
|
+
|
26
|
+
Or install it yourself as:
|
27
|
+
|
28
|
+
$ gem install jekyll-california
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/hashb/california. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
37
|
+
|
38
|
+
## Development
|
39
|
+
|
40
|
+
To set up your environment to develop this theme, run `bundle install`.
|
41
|
+
|
42
|
+
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.
|
43
|
+
|
44
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
45
|
+
To add a custom directory to your theme-gem, please edit the regexp in `california.gemspec` accordingly.
|
46
|
+
|
47
|
+
## License
|
48
|
+
|
49
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
50
|
+
|
51
|
+
Photo by [Robert Bye](https://unsplash.com/@robertbye) on Unsplash
|
52
|
+
|
data/_includes/.gitkeep
ADDED
File without changes
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<title>{{ page.title }}</title>
|
7
|
+
<meta name="viewport" content="width=device-width">
|
8
|
+
|
9
|
+
<!--[if lt IE 9]>
|
10
|
+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
11
|
+
<![endif]-->
|
12
|
+
<link href="https://fonts.googleapis.com/css?family=Karla&display=swap" rel="stylesheet">
|
13
|
+
<link href="/assets/style.css" rel="stylesheet" />
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
<header id="header">
|
18
|
+
<h1><a href="/">{{ site.title }}</a></h1>
|
19
|
+
<p>{{ site.description }}</p>
|
20
|
+
</header>
|
21
|
+
|
22
|
+
<div id="page">
|
23
|
+
<div id="sidebar">
|
24
|
+
{% assign current = page.url | downcase | split: '/' %}
|
25
|
+
<nav>
|
26
|
+
<ul>
|
27
|
+
<li><a href="/" {% if current.size == 0 %}class='active'{% endif %}>home</a></li>
|
28
|
+
<li><a href="/blog/" {% if current[1] == 'blog' %}class='active'{% endif %}>blog</a></li>
|
29
|
+
<li><a href="/work/" {% if current[1] == 'work' %}class='active'{% endif %}>work</a></li>
|
30
|
+
<li><a href="/archives/" {% if current[1] == 'archives' %}class='active'{% endif %}>archive</a></li>
|
31
|
+
<li><a href="/feed.xml">rss</a></li>
|
32
|
+
</ul>
|
33
|
+
</nav>
|
34
|
+
</div>
|
35
|
+
<div id="content">
|
36
|
+
{{ content }}
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<footer id="footer">
|
41
|
+
<p class="copyright">Copyright © {{ site.time | date: '%Y' }} {{ site.name }}. Powered by <a href="http://jekyllrb.com">Jekyll</a>, theme by <a href="http://www.webmaster-source.com">Matt Harzewski</a>.
|
42
|
+
<br>
|
43
|
+
The opinions on this site are my own and do not represent those of my employer.
|
44
|
+
<br>
|
45
|
+
This page was built on {{site.time}}
|
46
|
+
</p>
|
47
|
+
</footer>
|
48
|
+
|
49
|
+
</body>
|
50
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post">
|
5
|
+
|
6
|
+
{% if page.external-url %}
|
7
|
+
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
|
8
|
+
|
9
|
+
<p class="meta"><span class="postdate">Link: <a href="{{ page.external-url }}">{{ page.external-url }}</a></span></p>
|
10
|
+
{% else %}
|
11
|
+
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
|
12
|
+
{% endif %}
|
13
|
+
|
14
|
+
<div class="post-content">{{ content }}</div>
|
15
|
+
|
16
|
+
<p class="meta">Posted on <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"><span class="postdate">{{ page.date | date: "%b %d, %Y" }}</span></time></p>
|
17
|
+
|
18
|
+
</article>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post">
|
5
|
+
|
6
|
+
{% if page.external-url %}
|
7
|
+
<h1>
|
8
|
+
<a href="{{ page.external-url }}">{{ page.title }}</a>
|
9
|
+
<a class="anchor" href="{{ page.url }}"><i class="icon-anchor"></i></a>
|
10
|
+
</h1>
|
11
|
+
{% else %}
|
12
|
+
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<div class="post-content">{{ content }}</div>
|
16
|
+
|
17
|
+
<p class="meta">Posted on <span class="postdate">{{ page.date | date: "%b %d, %Y" }}</span></p>
|
18
|
+
|
19
|
+
</article>
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
html, body {
|
2
|
+
background-color: #fdf6e3;
|
3
|
+
color: #839496;
|
4
|
+
}
|
5
|
+
|
6
|
+
a, a:visited, a:active {
|
7
|
+
color: #2aa198;
|
8
|
+
border-color: #eee8d5;
|
9
|
+
}
|
10
|
+
|
11
|
+
a:hover {
|
12
|
+
background-color: #eee8d5;
|
13
|
+
border-color: #eee8d5;
|
14
|
+
color: #2aa198;
|
15
|
+
}
|
16
|
+
|
17
|
+
h1, h2, h3 {
|
18
|
+
color: #cb4b16;
|
19
|
+
}
|
20
|
+
|
21
|
+
h1 a, h1 a:visited, h1 a:active {
|
22
|
+
color: #cb4b16;
|
23
|
+
}
|
24
|
+
|
25
|
+
h1 a:hover {
|
26
|
+
background-color: #eee8d5;
|
27
|
+
border-color: #eee8d5;
|
28
|
+
}
|
29
|
+
|
30
|
+
article h1 a.anchor {
|
31
|
+
color: #2aa198;
|
32
|
+
}
|
33
|
+
|
34
|
+
blockquote {
|
35
|
+
border-color: #cb4b16;
|
36
|
+
}
|
37
|
+
|
38
|
+
#sidebar a:hover {
|
39
|
+
color: #2aa198;
|
40
|
+
background-color: #eee8d5;
|
41
|
+
}
|
42
|
+
|
43
|
+
#footer {
|
44
|
+
border-color: #eee8d5;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
/*** Pygments ***/
|
50
|
+
.highlight{
|
51
|
+
background-color: #eee8d5;
|
52
|
+
color: #657b83;
|
53
|
+
border: 1px solid #d6ceb6;
|
54
|
+
border-radius: 3px 3px 3px 3px;
|
55
|
+
overflow: auto;
|
56
|
+
padding: 6px 10px;
|
57
|
+
}
|
58
|
+
.highlight .c { color: #586E75 } .highlight .err { color: #93A1A1 } .highlight .g { color: #93A1A1 } .highlight .k { color: #859900 } .highlight .l { color: #93A1A1 } .highlight .n { color: #93A1A1 } .highlight .o { color: #859900 } .highlight .x { color: #CB4B16 } .highlight .p { color: #93A1A1 } .highlight .cm { color: #586E75 } .highlight .cp { color: #859900 } .highlight .c1 { color: #586E75 } .highlight .cs { color: #859900 } .highlight .gd { color: #2AA198 } .highlight .ge { color: #93A1A1; font-style: italic } .highlight .gr { color: #DC322F } .highlight .gh { color: #CB4B16 } .highlight .gi { color: #859900 } .highlight .go { color: #93A1A1 } .highlight .gp { color: #93A1A1 } .highlight .gs { color: #93A1A1; font-weight: bold } .highlight .gu { color: #CB4B16 } .highlight .gt { color: #93A1A1 } .highlight .kc { color: #CB4B16 } .highlight .kd { color: #268BD2 } .highlight .kn { color: #859900 } .highlight .kp { color: #859900 } .highlight .kr { color: #268BD2 } .highlight .kt { color: #DC322F } .highlight .ld { color: #93A1A1 } .highlight .m { color: #2AA198 } .highlight .s { color: #2AA198 } .highlight .na { color: #93A1A1 } .highlight .nb { color: #B58900 } .highlight .nc { color: #268BD2 } .highlight .no { color: #CB4B16 } .highlight .nd { color: #268BD2 } .highlight .ni { color: #CB4B16 } .highlight .ne { color: #CB4B16 } .highlight .nf { color: #268BD2 } .highlight .nl { color: #93A1A1 } .highlight .nn { color: #93A1A1 } .highlight .nx { color: #93A1A1 } .highlight .py { color: #93A1A1 } .highlight .nt { color: #268BD2 } .highlight .nv { color: #268BD2 } .highlight .ow { color: #859900 } .highlight .w { color: #93A1A1 } .highlight .mf { color: #2AA198 } .highlight .mh { color: #2AA198 } .highlight .mi { color: #2AA198 } .highlight .mo { color: #2AA198 } .highlight .sb { color: #586E75 } .highlight .sc { color: #2AA198 } .highlight .sd { color: #93A1A1 } .highlight .s2 { color: #2AA198 } .highlight .se { color: #CB4B16 } .highlight .sh { color: #93A1A1 } .highlight .si { color: #2AA198 } .highlight .sx { color: #2AA198 } .highlight .sr { color: #DC322F } .highlight .s1 { color: #2AA198 } .highlight .ss { color: #2AA198 } .highlight .bp { color: #268BD2 } .highlight .vc { color: #268BD2 } .highlight .vg { color: #268BD2 } .highlight .vi { color: #268BD2 } .highlight .il { color: #2AA198 }
|
@@ -0,0 +1,188 @@
|
|
1
|
+
html, body {
|
2
|
+
background-color: #fffff8;
|
3
|
+
color: #111111;
|
4
|
+
}
|
5
|
+
|
6
|
+
a, a:visited, a:active {
|
7
|
+
color: #2aa198;
|
8
|
+
border-color: #eee8d5;
|
9
|
+
}
|
10
|
+
|
11
|
+
a:hover {
|
12
|
+
background-color: #eee8d5;
|
13
|
+
border-color: #eee8d5;
|
14
|
+
color: #2aa198;
|
15
|
+
}
|
16
|
+
|
17
|
+
h1, h2, h3 {
|
18
|
+
color: #cb4b16;
|
19
|
+
}
|
20
|
+
|
21
|
+
h1 a, h1 a:visited, h1 a:active {
|
22
|
+
color: #cb4b16;
|
23
|
+
}
|
24
|
+
|
25
|
+
h1 a:hover {
|
26
|
+
background-color: #eee8d5;
|
27
|
+
border-color: #eee8d5;
|
28
|
+
}
|
29
|
+
|
30
|
+
article h1 a.anchor {
|
31
|
+
color: #111111;
|
32
|
+
}
|
33
|
+
|
34
|
+
blockquote {
|
35
|
+
border-color: #cb4b16;
|
36
|
+
}
|
37
|
+
|
38
|
+
#sidebar a:hover {
|
39
|
+
color: #cb4b16;
|
40
|
+
background-color: #eee8d5;
|
41
|
+
}
|
42
|
+
|
43
|
+
#footer {
|
44
|
+
border-color: #eee8d5;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
/*** Pygments ***/
|
50
|
+
.highlight{
|
51
|
+
margin-bottom: 15px;
|
52
|
+
overflow-y:auto;
|
53
|
+
}
|
54
|
+
.highlight {
|
55
|
+
background: #fffff8; }
|
56
|
+
.highlight .c {
|
57
|
+
color: #998;
|
58
|
+
font-style: italic; }
|
59
|
+
.highlight .err {
|
60
|
+
color: #a61717;
|
61
|
+
background-color: #e3d2d2; }
|
62
|
+
.highlight .k {
|
63
|
+
font-weight: bold; }
|
64
|
+
.highlight .o {
|
65
|
+
font-weight: bold; }
|
66
|
+
.highlight .cm {
|
67
|
+
color: #998;
|
68
|
+
font-style: italic; }
|
69
|
+
.highlight .cp {
|
70
|
+
color: #999;
|
71
|
+
font-weight: bold; }
|
72
|
+
.highlight .c1 {
|
73
|
+
color: #998;
|
74
|
+
font-style: italic; }
|
75
|
+
.highlight .cs {
|
76
|
+
color: #999;
|
77
|
+
font-weight: bold;
|
78
|
+
font-style: italic; }
|
79
|
+
.highlight .gd {
|
80
|
+
color: #000;
|
81
|
+
background-color: #fdd; }
|
82
|
+
.highlight .gd .x {
|
83
|
+
color: #000;
|
84
|
+
background-color: #faa; }
|
85
|
+
.highlight .ge {
|
86
|
+
font-style: italic; }
|
87
|
+
.highlight .gr {
|
88
|
+
color: #a00; }
|
89
|
+
.highlight .gh {
|
90
|
+
color: #999; }
|
91
|
+
.highlight .gi {
|
92
|
+
color: #000;
|
93
|
+
background-color: #dfd; }
|
94
|
+
.highlight .gi .x {
|
95
|
+
color: #000;
|
96
|
+
background-color: #afa; }
|
97
|
+
.highlight .go {
|
98
|
+
color: #888; }
|
99
|
+
.highlight .gp {
|
100
|
+
color: #555; }
|
101
|
+
.highlight .gs {
|
102
|
+
font-weight: bold; }
|
103
|
+
.highlight .gu {
|
104
|
+
color: #aaa; }
|
105
|
+
.highlight .gt {
|
106
|
+
color: #a00; }
|
107
|
+
.highlight .kc {
|
108
|
+
font-weight: bold; }
|
109
|
+
.highlight .kd {
|
110
|
+
font-weight: bold; }
|
111
|
+
.highlight .kp {
|
112
|
+
font-weight: bold; }
|
113
|
+
.highlight .kr {
|
114
|
+
font-weight: bold; }
|
115
|
+
.highlight .kt {
|
116
|
+
color: #458;
|
117
|
+
font-weight: bold; }
|
118
|
+
.highlight .m {
|
119
|
+
color: #099; }
|
120
|
+
.highlight .s {
|
121
|
+
color: #d14; }
|
122
|
+
.highlight .na {
|
123
|
+
color: #008080; }
|
124
|
+
.highlight .nb {
|
125
|
+
color: #0086B3; }
|
126
|
+
.highlight .nc {
|
127
|
+
color: #458;
|
128
|
+
font-weight: bold; }
|
129
|
+
.highlight .no {
|
130
|
+
color: #008080; }
|
131
|
+
.highlight .ni {
|
132
|
+
color: #800080; }
|
133
|
+
.highlight .ne {
|
134
|
+
color: #900;
|
135
|
+
font-weight: bold; }
|
136
|
+
.highlight .nf {
|
137
|
+
color: #900;
|
138
|
+
font-weight: bold; }
|
139
|
+
.highlight .nn {
|
140
|
+
color: #555; }
|
141
|
+
.highlight .nt {
|
142
|
+
color: #000080; }
|
143
|
+
.highlight .nv {
|
144
|
+
color: #008080; }
|
145
|
+
.highlight .ow {
|
146
|
+
font-weight: bold; }
|
147
|
+
.highlight .w {
|
148
|
+
color: #bbb; }
|
149
|
+
.highlight .mf {
|
150
|
+
color: #099; }
|
151
|
+
.highlight .mh {
|
152
|
+
color: #099; }
|
153
|
+
.highlight .mi {
|
154
|
+
color: #099; }
|
155
|
+
.highlight .mo {
|
156
|
+
color: #099; }
|
157
|
+
.highlight .sb {
|
158
|
+
color: #d14; }
|
159
|
+
.highlight .sc {
|
160
|
+
color: #d14; }
|
161
|
+
.highlight .sd {
|
162
|
+
color: #d14; }
|
163
|
+
.highlight .s2 {
|
164
|
+
color: #d14; }
|
165
|
+
.highlight .se {
|
166
|
+
color: #d14; }
|
167
|
+
.highlight .sh {
|
168
|
+
color: #d14; }
|
169
|
+
.highlight .si {
|
170
|
+
color: #d14; }
|
171
|
+
.highlight .sx {
|
172
|
+
color: #d14; }
|
173
|
+
.highlight .sr {
|
174
|
+
color: #009926; }
|
175
|
+
.highlight .s1 {
|
176
|
+
color: #d14; }
|
177
|
+
.highlight .ss {
|
178
|
+
color: #990073; }
|
179
|
+
.highlight .bp {
|
180
|
+
color: #999; }
|
181
|
+
.highlight .vc {
|
182
|
+
color: #008080; }
|
183
|
+
.highlight .vg {
|
184
|
+
color: #008080; }
|
185
|
+
.highlight .vi {
|
186
|
+
color: #008080; }
|
187
|
+
.highlight .il {
|
188
|
+
color: #099; }
|
File without changes
|
data/_sass/_main.scss
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
/*** Reset ***/
|
2
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
3
|
+
margin: 0;
|
4
|
+
padding: 0;
|
5
|
+
border: 0;
|
6
|
+
font-size: 100%;
|
7
|
+
font: inherit;
|
8
|
+
vertical-align: baseline;
|
9
|
+
}
|
10
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
11
|
+
display: block;
|
12
|
+
}
|
13
|
+
body {
|
14
|
+
line-height: 1;
|
15
|
+
}
|
16
|
+
ol, ul {
|
17
|
+
list-style: bullet;
|
18
|
+
}
|
19
|
+
blockquote, q {
|
20
|
+
quotes: none;
|
21
|
+
}
|
22
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
23
|
+
content: '';
|
24
|
+
content: none;
|
25
|
+
}
|
26
|
+
table {
|
27
|
+
border-collapse: collapse;
|
28
|
+
border-spacing: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
/*** Basics ***/
|
34
|
+
body {
|
35
|
+
font-family: 'Karla', sans-serif;
|
36
|
+
-webkit-font-smoothing: antialiased;
|
37
|
+
text-rendering: optimizeLegibility;
|
38
|
+
font-size: 14px;
|
39
|
+
line-height: 1.7;
|
40
|
+
}
|
41
|
+
|
42
|
+
a, a:active, a:visited {
|
43
|
+
text-decoration: none;
|
44
|
+
border-bottom: 1px solid #839496;
|
45
|
+
padding-bottom: 2px;
|
46
|
+
}
|
47
|
+
a:hover {
|
48
|
+
background-color: #839496;
|
49
|
+
color: #000000;
|
50
|
+
}
|
51
|
+
|
52
|
+
p, pre { margin-bottom: 15px; }
|
53
|
+
ul, ol { padding: 0 0 18px 30px; }
|
54
|
+
ol li, ul li { margin-top: 10px; margin-bottom: 10px; }
|
55
|
+
em, i { font-style: italic; }
|
56
|
+
strong, b { font-weight: bold; }
|
57
|
+
small { font-size: 1em; }
|
58
|
+
sup { vertical-align: super; font-size: 0.85em; }
|
59
|
+
sub { vertical-align: sub; font-size: 0.85em; }
|
60
|
+
|
61
|
+
code {
|
62
|
+
font: 0.85em Monaco, Courier, Monospace;
|
63
|
+
}
|
64
|
+
|
65
|
+
blockquote {
|
66
|
+
margin: 22px 22px;
|
67
|
+
padding: 0 20px;
|
68
|
+
border-left: 2px solid #000000;
|
69
|
+
font-size: 1.4em;
|
70
|
+
font-style: italic;
|
71
|
+
line-height: 1.5em;
|
72
|
+
}
|
73
|
+
|
74
|
+
acronym, abbr {
|
75
|
+
cursor: help;
|
76
|
+
letter-spacing: 1px;
|
77
|
+
border-bottom: 1px dashed;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
h1 {
|
82
|
+
font-size: 18px;
|
83
|
+
margin: 0 0 10px 0;
|
84
|
+
}
|
85
|
+
h2 {
|
86
|
+
font-size: 15px;
|
87
|
+
margin: 0 0 10px 0;
|
88
|
+
}
|
89
|
+
h3 {
|
90
|
+
font-size: 14px;
|
91
|
+
margin: 0 0 10px 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
/*** Useful Classes ***/
|
97
|
+
.clear { clear: both; }
|
98
|
+
.float-left { float: left; }
|
99
|
+
.float-right { float: right; }
|
100
|
+
.text-left { text-align: left; }
|
101
|
+
.text-right { text-align: right; }
|
102
|
+
.text-center { text-align: center; }
|
103
|
+
.text-justify { text-align: justify; }
|
104
|
+
.img-left { float: left; margin: 4px 10px 4px 0; }
|
105
|
+
.img-right { float: right; margin: 4px 0 4px 10px; }
|
106
|
+
.img-middle { vertical-align: middle; }
|
107
|
+
.nopadding { padding: 0; }
|
108
|
+
.nounderline { text-decoration: underline; }
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
/*** Structure ***/
|
113
|
+
#page {
|
114
|
+
width: 500px;
|
115
|
+
margin: 0 auto;
|
116
|
+
position: relative;
|
117
|
+
}
|
118
|
+
|
119
|
+
#header {
|
120
|
+
width: 500px;
|
121
|
+
margin: 40px auto 50px auto;
|
122
|
+
}
|
123
|
+
#header h1 {
|
124
|
+
font-size: 32px;
|
125
|
+
margin-bottom: 4px;
|
126
|
+
}
|
127
|
+
#header h1 a {
|
128
|
+
border: none;
|
129
|
+
}
|
130
|
+
|
131
|
+
#footer {
|
132
|
+
width: 500px;
|
133
|
+
margin: 50px auto 20px auto;
|
134
|
+
padding-top: 10px;
|
135
|
+
font-size: 0.85em;
|
136
|
+
border-top: 1px solid #073642;
|
137
|
+
}
|
138
|
+
|
139
|
+
#content {
|
140
|
+
width: 500px;
|
141
|
+
margin: 0 auto;
|
142
|
+
}
|
143
|
+
|
144
|
+
#sidebar {
|
145
|
+
position: absolute;
|
146
|
+
text-align: right;
|
147
|
+
width: 160px;
|
148
|
+
top: 0;
|
149
|
+
left: -240px;
|
150
|
+
}
|
151
|
+
|
152
|
+
#sidebar li {
|
153
|
+
list-style: none;
|
154
|
+
margin: 2px 0;
|
155
|
+
}
|
156
|
+
|
157
|
+
#sidebar a {
|
158
|
+
border: none;
|
159
|
+
font-family: 'Karla', sans-serif;
|
160
|
+
font-size: 1em;
|
161
|
+
padding: 2px 4px;
|
162
|
+
}
|
163
|
+
|
164
|
+
#sidebar .active {
|
165
|
+
font-weight: bold;
|
166
|
+
color: #cb4b16;
|
167
|
+
}
|
168
|
+
|
169
|
+
/*** Posts ***/
|
170
|
+
article {
|
171
|
+
margin-bottom: 40px;
|
172
|
+
}
|
173
|
+
|
174
|
+
article h1 {
|
175
|
+
font-size: 17px;
|
176
|
+
margin: 0 0 10px 0;
|
177
|
+
}
|
178
|
+
article h1 a {
|
179
|
+
border: none;
|
180
|
+
}
|
181
|
+
article h1 a.anchor {
|
182
|
+
margin-left: 8px;
|
183
|
+
}
|
184
|
+
|
185
|
+
article img {
|
186
|
+
display: block;
|
187
|
+
text-align: center;
|
188
|
+
margin: 0 auto 1em auto;
|
189
|
+
max-width: 90%;
|
190
|
+
}
|
191
|
+
|
192
|
+
article .meta {
|
193
|
+
padding-top: 6px;
|
194
|
+
font-size: 0.85em;
|
195
|
+
font-style: italic;
|
196
|
+
}
|
197
|
+
|
198
|
+
img.left {
|
199
|
+
float: left;
|
200
|
+
margin: 0 1em 1em 0;
|
201
|
+
max-width: 95%;
|
202
|
+
}
|
203
|
+
img.right {
|
204
|
+
float: right;
|
205
|
+
margin: 0 0 1em 1em;
|
206
|
+
max-width: 95%;
|
207
|
+
}
|
208
|
+
img.center {
|
209
|
+
display: block;
|
210
|
+
text-align: center;
|
211
|
+
margin: auto;
|
212
|
+
max-width: 95%;
|
213
|
+
}
|
214
|
+
|
215
|
+
/*
|
216
|
+
TODO: figure and related css;
|
217
|
+
*/
|
218
|
+
|
219
|
+
figcaption {
|
220
|
+
display: block;
|
221
|
+
text-align: center;
|
222
|
+
font-style: italic;
|
223
|
+
}
|
224
|
+
|
225
|
+
|
226
|
+
/*** Pagination ***/
|
227
|
+
.postnavigation {
|
228
|
+
padding-top: 10px;
|
229
|
+
text-align: center;
|
230
|
+
font-size: 1.2em;
|
231
|
+
}
|
232
|
+
|
233
|
+
.postnavigation .left {
|
234
|
+
float: left;
|
235
|
+
}
|
236
|
+
|
237
|
+
.postnavigation .right {
|
238
|
+
float: right;
|
239
|
+
}
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
/*** Media Queries ***/
|
244
|
+
@media all and (max-width: 870px) {
|
245
|
+
|
246
|
+
#page, #header, #content, #footer {
|
247
|
+
width: inherit;
|
248
|
+
padding-left: 10px;
|
249
|
+
padding-right: 10px;
|
250
|
+
}
|
251
|
+
|
252
|
+
#sidebar {
|
253
|
+
position: relative;
|
254
|
+
text-align: left;
|
255
|
+
width: 100%;
|
256
|
+
left: 0;
|
257
|
+
margin: 10px 10px 20px 10px;
|
258
|
+
}
|
259
|
+
|
260
|
+
#sidebar nav select.mnav {
|
261
|
+
display: block;
|
262
|
+
margin-bottom: 15px;
|
263
|
+
}
|
264
|
+
|
265
|
+
}
|
File without changes
|
data/assets/style.scss
ADDED
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-california
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chenna Kautilya
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-06-27 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: '3.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- gems@chenna.me
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/.gitkeep
|
65
|
+
- _layouts/default.html
|
66
|
+
- _layouts/page.html
|
67
|
+
- _layouts/post.html
|
68
|
+
- _layouts/project.html
|
69
|
+
- _sass/_colors-dark.scss
|
70
|
+
- _sass/_colors-light.scss
|
71
|
+
- _sass/_colors-tufte.scss
|
72
|
+
- _sass/_components.scss
|
73
|
+
- _sass/_main.scss
|
74
|
+
- _sass/_variables.scss
|
75
|
+
- assets/style.scss
|
76
|
+
homepage: https://chenna.me/california
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata: {}
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubygems_version: 3.0.4
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: California theme for Jekyll.
|
99
|
+
test_files: []
|