alula-themes 0.4.8 → 0.4.11a
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE → MIT-LICENSE} +0 -0
- data/lib/alula/themes/version.rb +9 -2
- metadata +29 -187
- data/.gitignore +0 -19
- data/Gemfile +0 -4
- data/README.md +0 -29
- data/Rakefile +0 -6
- data/VERSION +0 -1
- data/alula-themes.gemspec +0 -22
- data/themes/focused/assets/images/Lato-Bla-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-Bla-webfont.svg +0 -311
- data/themes/focused/assets/images/Lato-Bla-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-Bla-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-BlaIta-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-BlaIta-webfont.svg +0 -295
- data/themes/focused/assets/images/Lato-BlaIta-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-BlaIta-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-Bol-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-Bol-webfont.svg +0 -311
- data/themes/focused/assets/images/Lato-Bol-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-Bol-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-BolIta-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-BolIta-webfont.svg +0 -295
- data/themes/focused/assets/images/Lato-BolIta-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-BolIta-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-Hai-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-Hai-webfont.svg +0 -311
- data/themes/focused/assets/images/Lato-Hai-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-Hai-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-HaiIta-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-HaiIta-webfont.svg +0 -295
- data/themes/focused/assets/images/Lato-HaiIta-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-HaiIta-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-Lig-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-Lig-webfont.svg +0 -311
- data/themes/focused/assets/images/Lato-Lig-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-Lig-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-LigIta-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-LigIta-webfont.svg +0 -295
- data/themes/focused/assets/images/Lato-LigIta-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-LigIta-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-Reg-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-Reg-webfont.svg +0 -311
- data/themes/focused/assets/images/Lato-Reg-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-Reg-webfont.woff +0 -0
- data/themes/focused/assets/images/Lato-RegIta-webfont.eot +0 -0
- data/themes/focused/assets/images/Lato-RegIta-webfont.svg +0 -295
- data/themes/focused/assets/images/Lato-RegIta-webfont.ttf +0 -0
- data/themes/focused/assets/images/Lato-RegIta-webfont.woff +0 -0
- data/themes/focused/assets/images/smilies/angel.png +0 -0
- data/themes/focused/assets/images/smilies/angry.png +0 -0
- data/themes/focused/assets/images/smilies/cool.png +0 -0
- data/themes/focused/assets/images/smilies/crying.png +0 -0
- data/themes/focused/assets/images/smilies/devilish.png +0 -0
- data/themes/focused/assets/images/smilies/embarrassed.png +0 -0
- data/themes/focused/assets/images/smilies/exclaim.png +0 -0
- data/themes/focused/assets/images/smilies/idea.png +0 -0
- data/themes/focused/assets/images/smilies/kiss.png +0 -0
- data/themes/focused/assets/images/smilies/laugh.png +0 -0
- data/themes/focused/assets/images/smilies/monkey.png +0 -0
- data/themes/focused/assets/images/smilies/plain.png +0 -0
- data/themes/focused/assets/images/smilies/question.png +0 -0
- data/themes/focused/assets/images/smilies/raspberry.png +0 -0
- data/themes/focused/assets/images/smilies/sad.png +0 -0
- data/themes/focused/assets/images/smilies/smile-big.png +0 -0
- data/themes/focused/assets/images/smilies/smile.png +0 -0
- data/themes/focused/assets/images/smilies/smirk.png +0 -0
- data/themes/focused/assets/images/smilies/stock_right.png +0 -0
- data/themes/focused/assets/images/smilies/surprise.png +0 -0
- data/themes/focused/assets/images/smilies/uncertain.png +0 -0
- data/themes/focused/assets/images/smilies/wink.png +0 -0
- data/themes/focused/assets/images/smilies/worried.png +0 -0
- data/themes/focused/assets/images/smilies.png +0 -0
- data/themes/focused/assets/javascripts/focused.js.coffee +0 -7
- data/themes/focused/assets/javascripts/jquery.masonry.js +0 -500
- data/themes/focused/assets/javascripts/jquery.wookmark.js +0 -170
- data/themes/focused/assets/stylesheets/1140.css +0 -126
- data/themes/focused/assets/stylesheets/focused.css.scss +0 -66
- data/themes/focused/assets/stylesheets/ie.css +0 -43
- data/themes/focused/assets/stylesheets/lato.css.erb +0 -134
- data/themes/focused/assets/stylesheets/reset.css +0 -31
- data/themes/focused/assets/stylesheets/smilies.css.erb +0 -46
- data/themes/focused/assets/stylesheets/styles.css +0 -34
- data/themes/focused/layouts/default.html.haml +0 -44
- data/themes/focused/views/archive.html.haml +0 -2
- data/themes/focused/views/page.html.haml +0 -3
- data/themes/focused/views/paginate.html.haml +0 -13
- data/themes/focused/views/post.html.haml +0 -20
- data/themes/minimal/assets/images/Lato-Bla-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-Bla-webfont.svg +0 -311
- data/themes/minimal/assets/images/Lato-Bla-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-Bla-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-BlaIta-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-BlaIta-webfont.svg +0 -295
- data/themes/minimal/assets/images/Lato-BlaIta-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-BlaIta-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-Bol-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-Bol-webfont.svg +0 -311
- data/themes/minimal/assets/images/Lato-Bol-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-Bol-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-BolIta-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-BolIta-webfont.svg +0 -295
- data/themes/minimal/assets/images/Lato-BolIta-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-BolIta-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-Hai-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-Hai-webfont.svg +0 -311
- data/themes/minimal/assets/images/Lato-Hai-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-Hai-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-HaiIta-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-HaiIta-webfont.svg +0 -295
- data/themes/minimal/assets/images/Lato-HaiIta-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-HaiIta-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-Lig-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-Lig-webfont.svg +0 -311
- data/themes/minimal/assets/images/Lato-Lig-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-Lig-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-LigIta-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-LigIta-webfont.svg +0 -295
- data/themes/minimal/assets/images/Lato-LigIta-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-LigIta-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-Reg-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-Reg-webfont.svg +0 -311
- data/themes/minimal/assets/images/Lato-Reg-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-Reg-webfont.woff +0 -0
- data/themes/minimal/assets/images/Lato-RegIta-webfont.eot +0 -0
- data/themes/minimal/assets/images/Lato-RegIta-webfont.svg +0 -295
- data/themes/minimal/assets/images/Lato-RegIta-webfont.ttf +0 -0
- data/themes/minimal/assets/images/Lato-RegIta-webfont.woff +0 -0
- data/themes/minimal/assets/images/smilies/angel.png +0 -0
- data/themes/minimal/assets/images/smilies/angry.png +0 -0
- data/themes/minimal/assets/images/smilies/cool.png +0 -0
- data/themes/minimal/assets/images/smilies/crying.png +0 -0
- data/themes/minimal/assets/images/smilies/devilish.png +0 -0
- data/themes/minimal/assets/images/smilies/embarrassed.png +0 -0
- data/themes/minimal/assets/images/smilies/exclaim.png +0 -0
- data/themes/minimal/assets/images/smilies/idea.png +0 -0
- data/themes/minimal/assets/images/smilies/kiss.png +0 -0
- data/themes/minimal/assets/images/smilies/laugh.png +0 -0
- data/themes/minimal/assets/images/smilies/monkey.png +0 -0
- data/themes/minimal/assets/images/smilies/plain.png +0 -0
- data/themes/minimal/assets/images/smilies/question.png +0 -0
- data/themes/minimal/assets/images/smilies/raspberry.png +0 -0
- data/themes/minimal/assets/images/smilies/sad.png +0 -0
- data/themes/minimal/assets/images/smilies/smile-big.png +0 -0
- data/themes/minimal/assets/images/smilies/smile.png +0 -0
- data/themes/minimal/assets/images/smilies/smirk.png +0 -0
- data/themes/minimal/assets/images/smilies/stock_right.png +0 -0
- data/themes/minimal/assets/images/smilies/surprise.png +0 -0
- data/themes/minimal/assets/images/smilies/uncertain.png +0 -0
- data/themes/minimal/assets/images/smilies/wink.png +0 -0
- data/themes/minimal/assets/images/smilies/worried.png +0 -0
- data/themes/minimal/assets/images/smilies.png +0 -0
- data/themes/minimal/assets/javascripts/html5shiv.js +0 -220
- data/themes/minimal/assets/javascripts/minimal.js.coffee +0 -17
- data/themes/minimal/assets/stylesheets/lato.css.erb +0 -134
- data/themes/minimal/assets/stylesheets/minimal.css.scss +0 -229
- data/themes/minimal/assets/stylesheets/smilies.css.erb +0 -46
- data/themes/minimal/layouts/default.html.haml +0 -39
- data/themes/minimal/views/archive.html.haml +0 -2
- data/themes/minimal/views/page.html.haml +0 -3
- data/themes/minimal/views/paginate.html.haml +0 -17
- data/themes/minimal/views/post.html.haml +0 -20
@@ -1,220 +0,0 @@
|
|
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));
|
@@ -1,17 +0,0 @@
|
|
1
|
-
#=require jquery
|
2
|
-
|
3
|
-
MinimalTheme =
|
4
|
-
reorder: ->
|
5
|
-
screenWidth = jQuery(window).width()
|
6
|
-
|
7
|
-
if screenWidth <= 720
|
8
|
-
jQuery('.below_fold').prependTo(jQuery("footer"))
|
9
|
-
else
|
10
|
-
jQuery('.below_fold').appendTo(jQuery("header"))
|
11
|
-
|
12
|
-
jQuery ->
|
13
|
-
jQuery(window).resize ->
|
14
|
-
MinimalTheme.reorder()
|
15
|
-
|
16
|
-
MinimalTheme.reorder()
|
17
|
-
|
@@ -1,134 +0,0 @@
|
|
1
|
-
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 7, 2012 04:22:28 PM America/New_York */
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
@font-face {
|
6
|
-
font-family: 'LatoBlackItalic';
|
7
|
-
/* src: url('<%= asset_url("Lato-BlaIta-webfont.eot") %>');*/
|
8
|
-
src: local('Lato Black Italic'), local('LatoBlackItalic'),
|
9
|
-
url('<%= asset_url("Lato-BlaIta-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
10
|
-
url('<%= asset_url("Lato-BlaIta-webfont.woff") %>') format('woff'),
|
11
|
-
url('<%= asset_url("Lato-BlaIta-webfont.ttf") %>') format('truetype'),
|
12
|
-
url('<%= asset_url("Lato-BlaIta-webfont.svg") %>#LatoBlackItalic') format('svg');
|
13
|
-
font-weight: normal;
|
14
|
-
font-style: normal;
|
15
|
-
|
16
|
-
}
|
17
|
-
|
18
|
-
@font-face {
|
19
|
-
font-family: 'LatoBlack';
|
20
|
-
/* src: url('<%= asset_url("Lato-Bla-webfont.eot") %>');*/
|
21
|
-
src: local('Lato Black'), local('LatoBlack'),
|
22
|
-
url('<%= asset_url("Lato-Bla-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
23
|
-
url('<%= asset_url("Lato-Bla-webfont.woff") %>') format('woff'),
|
24
|
-
url('<%= asset_url("Lato-Bla-webfont.ttf") %>') format('truetype'),
|
25
|
-
url('<%= asset_url("Lato-Bla-webfont.svg") %>#LatoBlack') format('svg');
|
26
|
-
font-weight: normal;
|
27
|
-
font-style: normal;
|
28
|
-
|
29
|
-
}
|
30
|
-
|
31
|
-
@font-face {
|
32
|
-
font-family: 'LatoBoldItalic';
|
33
|
-
/* src: url('<%= asset_url("Lato-BolIta-webfont.eot") %>');*/
|
34
|
-
src: local('Lato Bold Italic'), local('LatoBoldItalic'),
|
35
|
-
url('<%= asset_url("Lato-BolIta-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
36
|
-
url('<%= asset_url("Lato-BolIta-webfont.woff") %>') format('woff'),
|
37
|
-
url('<%= asset_url("Lato-BolIta-webfont.ttf") %>') format('truetype'),
|
38
|
-
url('<%= asset_url("Lato-BolIta-webfont.svg") %>#LatoBoldItalic') format('svg');
|
39
|
-
font-weight: normal;
|
40
|
-
font-style: normal;
|
41
|
-
|
42
|
-
}
|
43
|
-
|
44
|
-
@font-face {
|
45
|
-
font-family: 'LatoBold';
|
46
|
-
/* src: url('<%= asset_url("Lato-Bol-webfont.eot") %>');*/
|
47
|
-
src: local('Lato Bold'), local('LatoBold'),
|
48
|
-
url('<%= asset_url("Lato-Bol-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
49
|
-
url('<%= asset_url("Lato-Bol-webfont.woff") %>') format('woff'),
|
50
|
-
url('<%= asset_url("Lato-Bol-webfont.ttf") %>') format('truetype'),
|
51
|
-
url('<%= asset_url("Lato-Bol-webfont.svg") %>#LatoBold') format('svg');
|
52
|
-
font-weight: normal;
|
53
|
-
font-style: normal;
|
54
|
-
|
55
|
-
}
|
56
|
-
|
57
|
-
@font-face {
|
58
|
-
font-family: 'LatoItalic';
|
59
|
-
/* src: url('<%= asset_url("Lato-RegIta-webfont.eot") %>');*/
|
60
|
-
src: local('Lato Italic'), local('LatoItalic'),
|
61
|
-
url('<%= asset_url("Lato-RegIta-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
62
|
-
url('<%= asset_url("Lato-RegIta-webfont.woff") %>') format('woff'),
|
63
|
-
url('<%= asset_url("Lato-RegIta-webfont.ttf") %>') format('truetype'),
|
64
|
-
url('<%= asset_url("Lato-RegIta-webfont.svg") %>#LatoItalic') format('svg');
|
65
|
-
font-weight: normal;
|
66
|
-
font-style: normal;
|
67
|
-
|
68
|
-
}
|
69
|
-
|
70
|
-
@font-face {
|
71
|
-
font-family: 'LatoRegular';
|
72
|
-
/* src: local('Lato Regular'), local('Lato-Regular'), url('<%= asset_url("Lato-Reg-webfont.eot") %>');*/
|
73
|
-
src: local('Lato Regular'), local('Lato-Regular'),
|
74
|
-
url('<%= asset_url("Lato-Reg-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
75
|
-
url('<%= asset_url("Lato-Reg-webfont.woff") %>') format('woff'),
|
76
|
-
url('<%= asset_url("Lato-Reg-webfont.ttf") %>') format('truetype'),
|
77
|
-
url('<%= asset_url("Lato-Reg-webfont.svg") %>#LatoRegular') format('svg');
|
78
|
-
font-weight: normal;
|
79
|
-
font-style: normal;
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
@font-face {
|
84
|
-
font-family: 'LatoLightItalic';
|
85
|
-
/* src: url('<%= asset_url("Lato-LigIta-webfont.eot") %>');*/
|
86
|
-
src: local('Lato Light Italic'), local('LatoLightItalic'),
|
87
|
-
url('<%= asset_url("Lato-LigIta-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
88
|
-
url('<%= asset_url("Lato-LigIta-webfont.woff") %>') format('woff'),
|
89
|
-
url('<%= asset_url("Lato-LigIta-webfont.ttf") %>') format('truetype'),
|
90
|
-
url('<%= asset_url("Lato-LigIta-webfont.svg") %>#LatoLightItalic') format('svg');
|
91
|
-
font-weight: normal;
|
92
|
-
font-style: normal;
|
93
|
-
|
94
|
-
}
|
95
|
-
|
96
|
-
@font-face {
|
97
|
-
font-family: 'LatoLight';
|
98
|
-
/* src: url('<%= asset_url("Lato-Lig-webfont.eot") %>');*/
|
99
|
-
src: local('Lato Light'), local('LatoLight'),
|
100
|
-
url('<%= asset_url("Lato-Lig-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
101
|
-
url('<%= asset_url("Lato-Lig-webfont.woff") %>') format('woff'),
|
102
|
-
url('<%= asset_url("Lato-Lig-webfont.ttf") %>') format('truetype'),
|
103
|
-
url('<%= asset_url("Lato-Lig-webfont.svg") %>#LatoLight') format('svg');
|
104
|
-
font-weight: normal;
|
105
|
-
font-style: normal;
|
106
|
-
|
107
|
-
}
|
108
|
-
|
109
|
-
@font-face {
|
110
|
-
font-family: 'LatoHairlineItalic';
|
111
|
-
/* src: url('<%= asset_url("Lato-HaiIta-webfont.eot") %>');*/
|
112
|
-
src: local('Lato Hairline Italic'), local('LatoHairlineItalic'),
|
113
|
-
url('<%= asset_url("Lato-HaiIta-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
114
|
-
url('<%= asset_url("Lato-HaiIta-webfont.woff") %>') format('woff'),
|
115
|
-
url('<%= asset_url("Lato-HaiIta-webfont.ttf") %>') format('truetype'),
|
116
|
-
url('<%= asset_url("Lato-HaiIta-webfont.svg") %>#LatoHairlineItalic') format('svg');
|
117
|
-
font-weight: normal;
|
118
|
-
font-style: normal;
|
119
|
-
|
120
|
-
}
|
121
|
-
|
122
|
-
@font-face {
|
123
|
-
font-family: 'LatoHairline';
|
124
|
-
/* src: url('<%= asset_url("Lato-Hai-webfont.eot") %>');*/
|
125
|
-
src: local('Lato HairLine'), local('LatoHairline'),
|
126
|
-
url('<%= asset_url("Lato-Hai-webfont.eot") %>?#iefix') format('embedded-opentype'),
|
127
|
-
url('<%= asset_url("Lato-Hai-webfont.woff") %>') format('woff'),
|
128
|
-
url('<%= asset_url("Lato-Hai-webfont.ttf") %>') format('truetype'),
|
129
|
-
url('<%= asset_url("Lato-Hai-webfont.svg") %>#LatoHairline') format('svg');
|
130
|
-
font-weight: normal;
|
131
|
-
font-style: normal;
|
132
|
-
|
133
|
-
}
|
134
|
-
|
@@ -1,229 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
*=require lato
|
3
|
-
*=require_self
|
4
|
-
*=require smilies
|
5
|
-
*/
|
6
|
-
|
7
|
-
body {
|
8
|
-
padding:50px;
|
9
|
-
font:14px/1.5 LatoRegular, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
10
|
-
color:#777;
|
11
|
-
font-weight:300;
|
12
|
-
}
|
13
|
-
|
14
|
-
header .title {
|
15
|
-
font-size: 28px;
|
16
|
-
line-height: 1.1;
|
17
|
-
color: #222;
|
18
|
-
margin: 0 0 20px;
|
19
|
-
clear: both;
|
20
|
-
}
|
21
|
-
|
22
|
-
h1, h2, h3, h4, h5, h6 {
|
23
|
-
color:#222;
|
24
|
-
margin:0 0 20px;
|
25
|
-
clear: both;
|
26
|
-
}
|
27
|
-
|
28
|
-
p, ul, ol, table, pre, dl {
|
29
|
-
margin:0 0 20px;
|
30
|
-
}
|
31
|
-
|
32
|
-
h1, h2, h3 {
|
33
|
-
line-height:1.1;
|
34
|
-
}
|
35
|
-
|
36
|
-
h1 {
|
37
|
-
font-size:28px;
|
38
|
-
}
|
39
|
-
|
40
|
-
h2 {
|
41
|
-
color:#393939;
|
42
|
-
}
|
43
|
-
|
44
|
-
h3, h4, h5, h6 {
|
45
|
-
color:#494949;
|
46
|
-
}
|
47
|
-
|
48
|
-
a {
|
49
|
-
color:#39c;
|
50
|
-
font-weight:400;
|
51
|
-
text-decoration:none;
|
52
|
-
}
|
53
|
-
|
54
|
-
.wrapper {
|
55
|
-
width:860px;
|
56
|
-
margin:0 auto;
|
57
|
-
}
|
58
|
-
|
59
|
-
blockquote {
|
60
|
-
border-left:1px solid #e5e5e5;
|
61
|
-
margin:0;
|
62
|
-
padding:0 0 0 20px;
|
63
|
-
font-style:italic;
|
64
|
-
}
|
65
|
-
|
66
|
-
code, pre {
|
67
|
-
font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
|
68
|
-
color:#333;
|
69
|
-
font-size:12px;
|
70
|
-
}
|
71
|
-
|
72
|
-
pre {
|
73
|
-
padding:8px 15px;
|
74
|
-
background: #f8f8f8;
|
75
|
-
border-radius:5px;
|
76
|
-
border:1px solid #e5e5e5;
|
77
|
-
overflow-x: auto;
|
78
|
-
}
|
79
|
-
|
80
|
-
table {
|
81
|
-
width:100%;
|
82
|
-
border-collapse:collapse;
|
83
|
-
}
|
84
|
-
|
85
|
-
th, td {
|
86
|
-
text-align:left;
|
87
|
-
padding:5px 10px;
|
88
|
-
border-bottom:1px solid #e5e5e5;
|
89
|
-
}
|
90
|
-
|
91
|
-
dt {
|
92
|
-
color:#444;
|
93
|
-
font-weight:700;
|
94
|
-
}
|
95
|
-
|
96
|
-
th {
|
97
|
-
color:#444;
|
98
|
-
}
|
99
|
-
|
100
|
-
img, video, .img {
|
101
|
-
max-width:100%;
|
102
|
-
border-radius: 4px;
|
103
|
-
box-shadow: 0px 0px 5px #777;
|
104
|
-
|
105
|
-
&.left, &.right { margin-bottom: 1em; margin-top: 1em; }
|
106
|
-
&.left { float: left; margin-right: 1em; }
|
107
|
-
&.right { float: right; mergin-left: 1em; }
|
108
|
-
&.none { float: none; clear: both; display: block; }
|
109
|
-
}
|
110
|
-
|
111
|
-
div.post {
|
112
|
-
margin-bottom: 25px;
|
113
|
-
div.spacer {
|
114
|
-
clear: both;
|
115
|
-
border-bottom: 1px solid #efefef;
|
116
|
-
padding-bottom: 15px;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
p.navigation {
|
121
|
-
clear: both;
|
122
|
-
a.left { float: left; }
|
123
|
-
a.right { float: right; }
|
124
|
-
}
|
125
|
-
|
126
|
-
header {
|
127
|
-
width:270px;
|
128
|
-
float:left;
|
129
|
-
position:fixed;
|
130
|
-
}
|
131
|
-
|
132
|
-
strong {
|
133
|
-
color:#222;
|
134
|
-
font-weight:700;
|
135
|
-
}
|
136
|
-
|
137
|
-
section {
|
138
|
-
width:500px;
|
139
|
-
float:right;
|
140
|
-
padding-bottom:50px;
|
141
|
-
}
|
142
|
-
|
143
|
-
small {
|
144
|
-
font-size:11px;
|
145
|
-
}
|
146
|
-
|
147
|
-
hr {
|
148
|
-
border:0;
|
149
|
-
background:#e5e5e5;
|
150
|
-
height:1px;
|
151
|
-
margin:0 0 20px;
|
152
|
-
}
|
153
|
-
|
154
|
-
footer {
|
155
|
-
width:270px;
|
156
|
-
float:left;
|
157
|
-
position:fixed;
|
158
|
-
bottom:50px;
|
159
|
-
}
|
160
|
-
|
161
|
-
@media print, screen and (max-width: 960px) {
|
162
|
-
|
163
|
-
div.wrapper {
|
164
|
-
width:auto;
|
165
|
-
margin:0;
|
166
|
-
}
|
167
|
-
|
168
|
-
header, section, footer {
|
169
|
-
float:none;
|
170
|
-
position:static;
|
171
|
-
width:auto;
|
172
|
-
}
|
173
|
-
|
174
|
-
header {
|
175
|
-
padding-right:320px;
|
176
|
-
}
|
177
|
-
|
178
|
-
section {
|
179
|
-
border:1px solid #e5e5e5;
|
180
|
-
border-width:1px 0;
|
181
|
-
padding:20px 0;
|
182
|
-
margin:0 0 20px;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
|
186
|
-
@media print, screen and (max-width: 720px) {
|
187
|
-
body {
|
188
|
-
word-wrap:break-word;
|
189
|
-
}
|
190
|
-
|
191
|
-
header {
|
192
|
-
padding:0;
|
193
|
-
}
|
194
|
-
|
195
|
-
header ul, header p.view {
|
196
|
-
position:static;
|
197
|
-
}
|
198
|
-
|
199
|
-
pre, code {
|
200
|
-
word-wrap:normal;
|
201
|
-
}
|
202
|
-
}
|
203
|
-
|
204
|
-
@media print, screen and (max-width: 480px) {
|
205
|
-
body {
|
206
|
-
padding:15px;
|
207
|
-
}
|
208
|
-
|
209
|
-
header ul {
|
210
|
-
display:none;
|
211
|
-
}
|
212
|
-
|
213
|
-
img, video, .img {
|
214
|
-
&.left, &.right {
|
215
|
-
float: none;
|
216
|
-
clear: both;
|
217
|
-
display: block;
|
218
|
-
margin: 1em auto;
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
|
223
|
-
@media print {
|
224
|
-
body {
|
225
|
-
padding:0.4in;
|
226
|
-
font-size:12pt;
|
227
|
-
color:#444;
|
228
|
-
}
|
229
|
-
}
|
@@ -1,46 +0,0 @@
|
|
1
|
-
.smilies-worried,
|
2
|
-
.smilies-wink,
|
3
|
-
.smilies-uncertain,
|
4
|
-
.smilies-surprise,
|
5
|
-
.smilies-stock_right,
|
6
|
-
.smilies-smirk,
|
7
|
-
.smilies-smile,
|
8
|
-
.smilies-smile-big,
|
9
|
-
.smilies-sad,
|
10
|
-
.smilies-raspberry,
|
11
|
-
.smilies-question,
|
12
|
-
.smilies-plain,
|
13
|
-
.smilies-monkey,
|
14
|
-
.smilies-laugh,
|
15
|
-
.smilies-kiss,
|
16
|
-
.smilies-idea,
|
17
|
-
.smilies-exclaim,
|
18
|
-
.smilies-embarrassed,
|
19
|
-
.smilies-devilish,
|
20
|
-
.smilies-crying,
|
21
|
-
.smilies-cool,
|
22
|
-
.smilies-angry,
|
23
|
-
.smilies-angel{background-image:url(<%= asset_url("smilies.png")%>);background-repeat:no-repeat;display:inline-block;text-indent:-9999px}
|
24
|
-
.smilies-worried{background-position:0px 0px;width:16px;height:16px;}
|
25
|
-
.smilies-wink{background-position:-16px 0px;width:16px;height:16px;}
|
26
|
-
.smilies-uncertain{background-position:0px -16px;width:16px;height:16px;}
|
27
|
-
.smilies-surprise{background-position:-16px -16px;width:16px;height:16px;}
|
28
|
-
.smilies-stock_right{background-position:-32px 0px;width:16px;height:16px;}
|
29
|
-
.smilies-smirk{background-position:-32px -16px;width:16px;height:16px;}
|
30
|
-
.smilies-smile{background-position:0px -32px;width:16px;height:16px;}
|
31
|
-
.smilies-smile-big{background-position:-16px -32px;width:16px;height:16px;}
|
32
|
-
.smilies-sad{background-position:-32px -32px;width:16px;height:16px;}
|
33
|
-
.smilies-raspberry{background-position:-48px 0px;width:16px;height:16px;}
|
34
|
-
.smilies-question{background-position:-48px -16px;width:16px;height:16px;}
|
35
|
-
.smilies-plain{background-position:-48px -32px;width:16px;height:16px;}
|
36
|
-
.smilies-monkey{background-position:0px -48px;width:16px;height:16px;}
|
37
|
-
.smilies-laugh{background-position:-16px -48px;width:16px;height:16px;}
|
38
|
-
.smilies-kiss{background-position:-32px -48px;width:16px;height:16px;}
|
39
|
-
.smilies-idea{background-position:-48px -48px;width:16px;height:16px;}
|
40
|
-
.smilies-exclaim{background-position:-64px 0px;width:16px;height:16px;}
|
41
|
-
.smilies-embarrassed{background-position:-64px -16px;width:16px;height:16px;}
|
42
|
-
.smilies-devilish{background-position:-64px -32px;width:16px;height:16px;}
|
43
|
-
.smilies-crying{background-position:-64px -48px;width:16px;height:16px;}
|
44
|
-
.smilies-cool{background-position:0px -64px;width:16px;height:16px;}
|
45
|
-
.smilies-angry{background-position:-16px -64px;width:16px;height:16px;}
|
46
|
-
.smilies-angel{background-position:-32px -64px;width:16px;height:16px;}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
!!!
|
2
|
-
%html{lang: locale}
|
3
|
-
%head
|
4
|
-
%meta{charset: "UTF-8"}
|
5
|
-
- if site.description != ""
|
6
|
-
%meta{name: "description", content: site.description}
|
7
|
-
- if site.author != ""
|
8
|
-
%meta{name: "author", content: site.author}
|
9
|
-
%title= (item.title ? "#{item.title} - " : "") + site.title
|
10
|
-
|
11
|
-
%meta{name: "viewport", content: "width=device-width, initial-scale=1"}
|
12
|
-
/[if lt IE 9]
|
13
|
-
= javascript_link "html5shiv"
|
14
|
-
= addons :head
|
15
|
-
|
16
|
-
%body{class: [item.id, "lang-#{locale}"]}
|
17
|
-
%div.wrapper
|
18
|
-
%header
|
19
|
-
.title= link_to site.title, site.url
|
20
|
-
%p= site.tagline
|
21
|
-
|
22
|
-
.below_fold
|
23
|
-
.sidebar
|
24
|
-
- item.sidebar.each do |item|
|
25
|
-
%p= link_to item.title, url_for(item.url)
|
26
|
-
|
27
|
-
%section
|
28
|
-
= yield
|
29
|
-
|
30
|
-
%footer
|
31
|
-
%p
|
32
|
-
Blog by
|
33
|
-
= site.author
|
34
|
-
%p
|
35
|
-
%small
|
36
|
-
= addons :footer
|
37
|
-
Powered by #{link_to "Alula", "http://www.alula.in"} —
|
38
|
-
Theme by #{link_to "orderedlist", "https://github.com/orderedlist/minimal"}
|
39
|
-
= addons :body
|