alula-themes 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/alula-themes.gemspec +19 -0
- data/lib/alula/themes/install.rb +12 -0
- data/lib/alula/themes/version.rb +5 -0
- data/lib/alula/themes.rb +5 -0
- data/themes/minimal/includes/article.html +17 -0
- data/themes/minimal/javascripts/html5shiv.js +220 -0
- data/themes/minimal/javascripts/minimal.js +0 -0
- data/themes/minimal/javascripts/minimal_body.js +0 -0
- data/themes/minimal/layouts/default.html +36 -0
- data/themes/minimal/layouts/post.html +6 -0
- data/themes/minimal/site/index.html +9 -0
- data/themes/minimal/stylesheets/minimal.css +5 -0
- data/themes/minimal/stylesheets/minimal_default.css +255 -0
- data/themes/minimal/stylesheets/pygment_trac.css +69 -0
- metadata +75 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Mikko Kokkonen
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Alula::Themes
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'alula-themes'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install alula-themes
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/alula/themes/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Mikko Kokkonen"]
|
6
|
+
gem.email = ["mikko@mikian.com"]
|
7
|
+
gem.description = %q{Beatiful themes for Alula}
|
8
|
+
gem.summary = %q{Ready to use themes for Alula blogs.}
|
9
|
+
gem.homepage = ""
|
10
|
+
|
11
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
+
gem.files = `git ls-files`.split("\n")
|
13
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
+
gem.name = "alula-themes"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Alula::Themes::VERSION
|
17
|
+
|
18
|
+
gem.add_dependency 'alula'
|
19
|
+
end
|
data/lib/alula/themes.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{% if index %}
|
2
|
+
<h1><a href="{{ root_url }}{{ post.url }}">
|
3
|
+
{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}
|
4
|
+
</a></h1>
|
5
|
+
{% else %}
|
6
|
+
<h1>{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if index %}
|
10
|
+
{{ content | excerpt }}
|
11
|
+
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
|
12
|
+
{% if excerpted %}
|
13
|
+
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
|
14
|
+
{% endif %}
|
15
|
+
{% else %}
|
16
|
+
{{ content }}
|
17
|
+
{% endif %}
|
@@ -0,0 +1,220 @@
|
|
1
|
+
/*! HTML5 Shiv vpre3.5 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */
|
2
|
+
;(function(window, document) {
|
3
|
+
|
4
|
+
/** Preset options */
|
5
|
+
var options = window.html5 || {};
|
6
|
+
|
7
|
+
/** Used to skip problem elements */
|
8
|
+
var reSkip = /^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i;
|
9
|
+
|
10
|
+
/** Not all elements can be cloned in IE (this list can be shortend) **/
|
11
|
+
var saveClones = /^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i;
|
12
|
+
|
13
|
+
/** Detect whether the browser supports default html5 styles */
|
14
|
+
var supportsHtml5Styles;
|
15
|
+
|
16
|
+
/** Detect whether the browser supports unknown elements */
|
17
|
+
var supportsUnknownElements;
|
18
|
+
|
19
|
+
(function() {
|
20
|
+
var a = document.createElement('a');
|
21
|
+
|
22
|
+
a.innerHTML = '<xyz></xyz>';
|
23
|
+
|
24
|
+
//if the hidden property is implemented we can assume, that the browser supports HTML5 Styles | this fails in Chrome 8
|
25
|
+
supportsHtml5Styles = ('hidden' in a);
|
26
|
+
//if we are part of Modernizr, we do an additional test to solve the Chrome 8 fail
|
27
|
+
if(supportsHtml5Styles && typeof injectElementWithStyles == 'function'){
|
28
|
+
injectElementWithStyles('#modernizr{}', function(node){
|
29
|
+
node.hidden = true;
|
30
|
+
supportsHtml5Styles = (window.getComputedStyle ?
|
31
|
+
getComputedStyle(node, null) :
|
32
|
+
node.currentStyle).display == 'none';
|
33
|
+
});
|
34
|
+
}
|
35
|
+
|
36
|
+
supportsUnknownElements = a.childNodes.length == 1 || (function() {
|
37
|
+
// assign a false positive if unable to shiv
|
38
|
+
try {
|
39
|
+
(document.createElement)('a');
|
40
|
+
} catch(e) {
|
41
|
+
return true;
|
42
|
+
}
|
43
|
+
var frag = document.createDocumentFragment();
|
44
|
+
return (
|
45
|
+
typeof frag.cloneNode == 'undefined' ||
|
46
|
+
typeof frag.createDocumentFragment == 'undefined' ||
|
47
|
+
typeof frag.createElement == 'undefined'
|
48
|
+
);
|
49
|
+
}());
|
50
|
+
|
51
|
+
}());
|
52
|
+
|
53
|
+
/*--------------------------------------------------------------------------*/
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Creates a style sheet with the given CSS text and adds it to the document.
|
57
|
+
* @private
|
58
|
+
* @param {Document} ownerDocument The document.
|
59
|
+
* @param {String} cssText The CSS text.
|
60
|
+
* @returns {StyleSheet} The style element.
|
61
|
+
*/
|
62
|
+
function addStyleSheet(ownerDocument, cssText) {
|
63
|
+
var p = ownerDocument.createElement('p'),
|
64
|
+
parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;
|
65
|
+
|
66
|
+
p.innerHTML = 'x<style>' + cssText + '</style>';
|
67
|
+
return parent.insertBefore(p.lastChild, parent.firstChild);
|
68
|
+
}
|
69
|
+
|
70
|
+
/**
|
71
|
+
* Returns the value of `html5.elements` as an array.
|
72
|
+
* @private
|
73
|
+
* @returns {Array} An array of shived element node names.
|
74
|
+
*/
|
75
|
+
function getElements() {
|
76
|
+
var elements = html5.elements;
|
77
|
+
return typeof elements == 'string' ? elements.split(' ') : elements;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Shivs the `createElement` and `createDocumentFragment` methods of the document.
|
82
|
+
* @private
|
83
|
+
* @param {Document|DocumentFragment} ownerDocument The document.
|
84
|
+
*/
|
85
|
+
function shivMethods(ownerDocument) {
|
86
|
+
var cache = {},
|
87
|
+
docCreateElement = ownerDocument.createElement,
|
88
|
+
docCreateFragment = ownerDocument.createDocumentFragment,
|
89
|
+
frag = docCreateFragment();
|
90
|
+
|
91
|
+
ownerDocument.createElement = function(nodeName) {
|
92
|
+
//abort shiv
|
93
|
+
if(!html5.shivMethods){
|
94
|
+
return docCreateElement(nodeName);
|
95
|
+
}
|
96
|
+
|
97
|
+
var node;
|
98
|
+
|
99
|
+
if(cache[nodeName]){
|
100
|
+
node = cache[nodeName].cloneNode();
|
101
|
+
} else if(saveClones.test(nodeName)){
|
102
|
+
node = (cache[nodeName] = docCreateElement(nodeName)).cloneNode();
|
103
|
+
} else {
|
104
|
+
node = docCreateElement(nodeName);
|
105
|
+
}
|
106
|
+
|
107
|
+
// Avoid adding some elements to fragments in IE < 9 because
|
108
|
+
// * Attributes like `name` or `type` cannot be set/changed once an element
|
109
|
+
// is inserted into a document/fragment
|
110
|
+
// * Link elements with `src` attributes that are inaccessible, as with
|
111
|
+
// a 403 response, will cause the tab/window to crash
|
112
|
+
// * Script elements appended to fragments will execute when their `src`
|
113
|
+
// or `text` property is set
|
114
|
+
return node.canHaveChildren && !reSkip.test(nodeName) ? frag.appendChild(node) : node;
|
115
|
+
};
|
116
|
+
|
117
|
+
ownerDocument.createDocumentFragment = Function('h,f', 'return function(){' +
|
118
|
+
'var n=f.cloneNode(),c=n.createElement;' +
|
119
|
+
'h.shivMethods&&(' +
|
120
|
+
// unroll the `createElement` calls
|
121
|
+
getElements().join().replace(/\w+/g, function(nodeName) {
|
122
|
+
docCreateElement(nodeName);
|
123
|
+
frag.createElement(nodeName);
|
124
|
+
return 'c("' + nodeName + '")';
|
125
|
+
}) +
|
126
|
+
');return n}'
|
127
|
+
)(html5, frag);
|
128
|
+
}
|
129
|
+
|
130
|
+
/*--------------------------------------------------------------------------*/
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Shivs the given document.
|
134
|
+
* @memberOf html5
|
135
|
+
* @param {Document} ownerDocument The document to shiv.
|
136
|
+
* @returns {Document} The shived document.
|
137
|
+
*/
|
138
|
+
function shivDocument(ownerDocument) {
|
139
|
+
var shived;
|
140
|
+
if (ownerDocument.documentShived) {
|
141
|
+
return ownerDocument;
|
142
|
+
}
|
143
|
+
if (html5.shivCSS && !supportsHtml5Styles) {
|
144
|
+
shived = !!addStyleSheet(ownerDocument,
|
145
|
+
// corrects block display not defined in IE6/7/8/9
|
146
|
+
'article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}' +
|
147
|
+
// corrects audio display not defined in IE6/7/8/9
|
148
|
+
'audio{display:none}' +
|
149
|
+
// corrects canvas and video display not defined in IE6/7/8/9
|
150
|
+
'canvas,video{display:inline-block;*display:inline;*zoom:1}' +
|
151
|
+
// corrects 'hidden' attribute and audio[controls] display not present in IE7/8/9
|
152
|
+
'[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}' +
|
153
|
+
// adds styling not present in IE6/7/8/9
|
154
|
+
'mark{background:#FF0;color:#000}'
|
155
|
+
);
|
156
|
+
}
|
157
|
+
if (!supportsUnknownElements) {
|
158
|
+
shived = !shivMethods(ownerDocument);
|
159
|
+
}
|
160
|
+
if (shived) {
|
161
|
+
ownerDocument.documentShived = shived;
|
162
|
+
}
|
163
|
+
return ownerDocument;
|
164
|
+
}
|
165
|
+
|
166
|
+
/*--------------------------------------------------------------------------*/
|
167
|
+
|
168
|
+
/**
|
169
|
+
* The `html5` object is exposed so that more elements can be shived and
|
170
|
+
* existing shiving can be detected on iframes.
|
171
|
+
* @type Object
|
172
|
+
* @example
|
173
|
+
*
|
174
|
+
* // options can be changed before the script is included
|
175
|
+
* html5 = { 'elements': 'mark section', 'shivCSS': false, 'shivMethods': false };
|
176
|
+
*/
|
177
|
+
var html5 = {
|
178
|
+
|
179
|
+
/**
|
180
|
+
* An array or space separated string of node names of the elements to shiv.
|
181
|
+
* @memberOf html5
|
182
|
+
* @type Array|String
|
183
|
+
*/
|
184
|
+
'elements': options.elements || 'abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video',
|
185
|
+
|
186
|
+
/**
|
187
|
+
* A flag to indicate that the HTML5 style sheet should be inserted.
|
188
|
+
* @memberOf html5
|
189
|
+
* @type Boolean
|
190
|
+
*/
|
191
|
+
'shivCSS': !(options.shivCSS === false),
|
192
|
+
|
193
|
+
/**
|
194
|
+
* A flag to indicate that the document's `createElement` and `createDocumentFragment`
|
195
|
+
* methods should be overwritten.
|
196
|
+
* @memberOf html5
|
197
|
+
* @type Boolean
|
198
|
+
*/
|
199
|
+
'shivMethods': !(options.shivMethods === false),
|
200
|
+
|
201
|
+
/**
|
202
|
+
* A string to describe the type of `html5` object ("default" or "default print").
|
203
|
+
* @memberOf html5
|
204
|
+
* @type String
|
205
|
+
*/
|
206
|
+
'type': 'default',
|
207
|
+
|
208
|
+
// shivs the document according to the specified `html5` object options
|
209
|
+
'shivDocument': shivDocument
|
210
|
+
};
|
211
|
+
|
212
|
+
/*--------------------------------------------------------------------------*/
|
213
|
+
|
214
|
+
// expose html5
|
215
|
+
window.html5 = html5;
|
216
|
+
|
217
|
+
// shiv the document
|
218
|
+
shivDocument(document);
|
219
|
+
|
220
|
+
}(this, document));
|
File without changes
|
File without changes
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
|
2
|
+
<!doctype html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<title>Minimal by Steve Smith</title>
|
7
|
+
|
8
|
+
{% stylesheet_link %}
|
9
|
+
{% javascript_link %}
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
11
|
+
<!--[if lt IE 9]>
|
12
|
+
{% javascript_link "html5shiv" %}
|
13
|
+
<![endif]-->
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
<div class="wrapper">
|
18
|
+
<header>
|
19
|
+
<h1>{{ site.title }}</h1>
|
20
|
+
<p>{{ site.tagline }}</p>
|
21
|
+
|
22
|
+
</header>
|
23
|
+
|
24
|
+
<section>
|
25
|
+
{{ content }}
|
26
|
+
</section>
|
27
|
+
|
28
|
+
<footer>
|
29
|
+
{{ site.root }} - {{ root_url }}
|
30
|
+
<p>Blog by {{ site.author }}</p>
|
31
|
+
<p><small>Powered by Alula — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
|
32
|
+
</footer>
|
33
|
+
</div>
|
34
|
+
{% javascript_link "scripts_body" %}
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,255 @@
|
|
1
|
+
@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
|
2
|
+
|
3
|
+
body {
|
4
|
+
padding:50px;
|
5
|
+
font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
6
|
+
color:#777;
|
7
|
+
font-weight:300;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1, h2, h3, h4, h5, h6 {
|
11
|
+
color:#222;
|
12
|
+
margin:0 0 20px;
|
13
|
+
}
|
14
|
+
|
15
|
+
p, ul, ol, table, pre, dl {
|
16
|
+
margin:0 0 20px;
|
17
|
+
}
|
18
|
+
|
19
|
+
h1, h2, h3 {
|
20
|
+
line-height:1.1;
|
21
|
+
}
|
22
|
+
|
23
|
+
h1 {
|
24
|
+
font-size:28px;
|
25
|
+
}
|
26
|
+
|
27
|
+
h2 {
|
28
|
+
color:#393939;
|
29
|
+
}
|
30
|
+
|
31
|
+
h3, h4, h5, h6 {
|
32
|
+
color:#494949;
|
33
|
+
}
|
34
|
+
|
35
|
+
a {
|
36
|
+
color:#39c;
|
37
|
+
font-weight:400;
|
38
|
+
text-decoration:none;
|
39
|
+
}
|
40
|
+
|
41
|
+
a small {
|
42
|
+
font-size:11px;
|
43
|
+
color:#777;
|
44
|
+
margin-top:-0.6em;
|
45
|
+
display:block;
|
46
|
+
}
|
47
|
+
|
48
|
+
.wrapper {
|
49
|
+
width:860px;
|
50
|
+
margin:0 auto;
|
51
|
+
}
|
52
|
+
|
53
|
+
blockquote {
|
54
|
+
border-left:1px solid #e5e5e5;
|
55
|
+
margin:0;
|
56
|
+
padding:0 0 0 20px;
|
57
|
+
font-style:italic;
|
58
|
+
}
|
59
|
+
|
60
|
+
code, pre {
|
61
|
+
font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
|
62
|
+
color:#333;
|
63
|
+
font-size:12px;
|
64
|
+
}
|
65
|
+
|
66
|
+
pre {
|
67
|
+
padding:8px 15px;
|
68
|
+
background: #f8f8f8;
|
69
|
+
border-radius:5px;
|
70
|
+
border:1px solid #e5e5e5;
|
71
|
+
overflow-x: auto;
|
72
|
+
}
|
73
|
+
|
74
|
+
table {
|
75
|
+
width:100%;
|
76
|
+
border-collapse:collapse;
|
77
|
+
}
|
78
|
+
|
79
|
+
th, td {
|
80
|
+
text-align:left;
|
81
|
+
padding:5px 10px;
|
82
|
+
border-bottom:1px solid #e5e5e5;
|
83
|
+
}
|
84
|
+
|
85
|
+
dt {
|
86
|
+
color:#444;
|
87
|
+
font-weight:700;
|
88
|
+
}
|
89
|
+
|
90
|
+
th {
|
91
|
+
color:#444;
|
92
|
+
}
|
93
|
+
|
94
|
+
img {
|
95
|
+
max-width:100%;
|
96
|
+
}
|
97
|
+
|
98
|
+
header {
|
99
|
+
width:270px;
|
100
|
+
float:left;
|
101
|
+
position:fixed;
|
102
|
+
}
|
103
|
+
|
104
|
+
header ul {
|
105
|
+
list-style:none;
|
106
|
+
height:40px;
|
107
|
+
|
108
|
+
padding:0;
|
109
|
+
|
110
|
+
background: #eee;
|
111
|
+
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
112
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
|
113
|
+
background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
|
114
|
+
background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
|
115
|
+
background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
|
116
|
+
background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
|
117
|
+
|
118
|
+
border-radius:5px;
|
119
|
+
border:1px solid #d2d2d2;
|
120
|
+
box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
|
121
|
+
width:270px;
|
122
|
+
}
|
123
|
+
|
124
|
+
header li {
|
125
|
+
width:89px;
|
126
|
+
float:left;
|
127
|
+
border-right:1px solid #d2d2d2;
|
128
|
+
height:40px;
|
129
|
+
}
|
130
|
+
|
131
|
+
header ul a {
|
132
|
+
line-height:1;
|
133
|
+
font-size:11px;
|
134
|
+
color:#999;
|
135
|
+
display:block;
|
136
|
+
text-align:center;
|
137
|
+
padding-top:6px;
|
138
|
+
height:40px;
|
139
|
+
}
|
140
|
+
|
141
|
+
strong {
|
142
|
+
color:#222;
|
143
|
+
font-weight:700;
|
144
|
+
}
|
145
|
+
|
146
|
+
header ul li + li {
|
147
|
+
width:88px;
|
148
|
+
border-left:1px solid #fff;
|
149
|
+
}
|
150
|
+
|
151
|
+
header ul li + li + li {
|
152
|
+
border-right:none;
|
153
|
+
width:89px;
|
154
|
+
}
|
155
|
+
|
156
|
+
header ul a strong {
|
157
|
+
font-size:14px;
|
158
|
+
display:block;
|
159
|
+
color:#222;
|
160
|
+
}
|
161
|
+
|
162
|
+
section {
|
163
|
+
width:500px;
|
164
|
+
float:right;
|
165
|
+
padding-bottom:50px;
|
166
|
+
}
|
167
|
+
|
168
|
+
small {
|
169
|
+
font-size:11px;
|
170
|
+
}
|
171
|
+
|
172
|
+
hr {
|
173
|
+
border:0;
|
174
|
+
background:#e5e5e5;
|
175
|
+
height:1px;
|
176
|
+
margin:0 0 20px;
|
177
|
+
}
|
178
|
+
|
179
|
+
footer {
|
180
|
+
width:270px;
|
181
|
+
float:left;
|
182
|
+
position:fixed;
|
183
|
+
bottom:50px;
|
184
|
+
}
|
185
|
+
|
186
|
+
@media print, screen and (max-width: 960px) {
|
187
|
+
|
188
|
+
div.wrapper {
|
189
|
+
width:auto;
|
190
|
+
margin:0;
|
191
|
+
}
|
192
|
+
|
193
|
+
header, section, footer {
|
194
|
+
float:none;
|
195
|
+
position:static;
|
196
|
+
width:auto;
|
197
|
+
}
|
198
|
+
|
199
|
+
header {
|
200
|
+
padding-right:320px;
|
201
|
+
}
|
202
|
+
|
203
|
+
section {
|
204
|
+
border:1px solid #e5e5e5;
|
205
|
+
border-width:1px 0;
|
206
|
+
padding:20px 0;
|
207
|
+
margin:0 0 20px;
|
208
|
+
}
|
209
|
+
|
210
|
+
header a small {
|
211
|
+
display:inline;
|
212
|
+
}
|
213
|
+
|
214
|
+
header ul {
|
215
|
+
position:absolute;
|
216
|
+
right:50px;
|
217
|
+
top:52px;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
@media print, screen and (max-width: 720px) {
|
222
|
+
body {
|
223
|
+
word-wrap:break-word;
|
224
|
+
}
|
225
|
+
|
226
|
+
header {
|
227
|
+
padding:0;
|
228
|
+
}
|
229
|
+
|
230
|
+
header ul, header p.view {
|
231
|
+
position:static;
|
232
|
+
}
|
233
|
+
|
234
|
+
pre, code {
|
235
|
+
word-wrap:normal;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
@media print, screen and (max-width: 480px) {
|
240
|
+
body {
|
241
|
+
padding:15px;
|
242
|
+
}
|
243
|
+
|
244
|
+
header ul {
|
245
|
+
display:none;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
@media print {
|
250
|
+
body {
|
251
|
+
padding:0.4in;
|
252
|
+
font-size:12pt;
|
253
|
+
color:#444;
|
254
|
+
}
|
255
|
+
}
|
@@ -0,0 +1,69 @@
|
|
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: #800080; font-weight: bold; } /* 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 .kn { font-weight: bold } /* Keyword.Namespace */
|
25
|
+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
26
|
+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
27
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
28
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
29
|
+
.highlight .s { color: #d14 } /* Literal.String */
|
30
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
31
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
32
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
33
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
34
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
35
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
36
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
37
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
40
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
.type-csharp .highlight .k { color: #0000FF }
|
64
|
+
.type-csharp .highlight .kt { color: #0000FF }
|
65
|
+
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
|
66
|
+
.type-csharp .highlight .nc { color: #2B91AF }
|
67
|
+
.type-csharp .highlight .nn { color: #000000 }
|
68
|
+
.type-csharp .highlight .s { color: #A31515 }
|
69
|
+
.type-csharp .highlight .sc { color: #A31515 }
|
metadata
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: alula-themes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Mikko Kokkonen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-04-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: alula
|
16
|
+
requirement: &70137047333160 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70137047333160
|
25
|
+
description: Beatiful themes for Alula
|
26
|
+
email:
|
27
|
+
- mikko@mikian.com
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- Gemfile
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- alula-themes.gemspec
|
38
|
+
- lib/alula/themes.rb
|
39
|
+
- lib/alula/themes/install.rb
|
40
|
+
- lib/alula/themes/version.rb
|
41
|
+
- themes/minimal/includes/article.html
|
42
|
+
- themes/minimal/javascripts/html5shiv.js
|
43
|
+
- themes/minimal/javascripts/minimal.js
|
44
|
+
- themes/minimal/javascripts/minimal_body.js
|
45
|
+
- themes/minimal/layouts/default.html
|
46
|
+
- themes/minimal/layouts/post.html
|
47
|
+
- themes/minimal/site/index.html
|
48
|
+
- themes/minimal/stylesheets/minimal.css
|
49
|
+
- themes/minimal/stylesheets/minimal_default.css
|
50
|
+
- themes/minimal/stylesheets/pygment_trac.css
|
51
|
+
homepage: ''
|
52
|
+
licenses: []
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
requirements: []
|
70
|
+
rubyforge_project:
|
71
|
+
rubygems_version: 1.8.17
|
72
|
+
signing_key:
|
73
|
+
specification_version: 3
|
74
|
+
summary: Ready to use themes for Alula blogs.
|
75
|
+
test_files: []
|