cmdparse 2.0.6 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,54 +1,57 @@
1
1
  **cmdparse** - an advanced command line parser using optparse which has support for commands
2
2
 
3
- Copyright (C) 2004-2014 Thomas Leitner
3
+ Copyright (C) 2004-2015 Thomas Leitner
4
4
 
5
5
  ## Description
6
6
 
7
- Some programs use a "command style" command line. Examples for such programs are the "svn" program
8
- from Subversion and the "gem" program from Rubygems. The standard Ruby distribution has no library
7
+ Some programs use a "command style" command line. Examples for such programs are the "gem" program
8
+ from Rubygems and the "svn" program from Subversion. The standard Ruby distribution has no library
9
9
  to create programs that use such a command line interface.
10
10
 
11
11
  This library, cmdparse, can be used to create such a command line interface. Internally it uses
12
- optparse or any other option parser library to parse options and it provides a nice API for
13
- specifying commands.
12
+ optparse to parse options and it provides a nice API for specifying commands.
14
13
 
15
- ## License
14
+ See <http://cmdparse.gettalong.org> for detailed information, an extensive tutorial and the API
15
+ reference!
16
16
 
17
- GNU LGPLv3 - see COPYING.LESSER for the LGPL and COPYING for the GPL
18
17
 
19
- ## Dependencies
18
+ ## Documentation
20
19
 
21
- none
20
+ You can build the documentation by invoking
22
21
 
23
- ## Installation
22
+ $ rake doc
24
23
 
25
- The preferred way of installing cmdparse is via RubyGems:
24
+ This builds the whole documentation and needs webgen >=1.4.0 (http://webgen.gettalong.org) for
25
+ building.
26
26
 
27
- $ gem install cmdparse
28
27
 
29
- If you do not have RubyGems installed, but Rake, you can use the following command:
28
+ ## Example Usage
30
29
 
31
- $ rake install
30
+ There is an example of how to use cmdparse in the `example/net.rb` file. A detailed walkthrough of
31
+ what each part does can be found on <http://cmdparse.gettalong.org/tutorial.html>.
32
32
 
33
- If you have neither RubyGems nor Rake, use these commands:
34
33
 
35
- $ ruby setup.rb config
36
- $ ruby setup.rb setup
37
- $ ruby setup.rb install
34
+ ## License
38
35
 
39
- ## Documentation
36
+ MIT - see COPYING.
37
+
38
+
39
+ ## Dependencies
40
+
41
+ none
40
42
 
41
- You can build the documentation by invoking
42
43
 
43
- $ rake doc
44
+ ## Installation
44
45
 
45
- This builds the API and the additional documentation. The additional documentation needs webgen
46
- >=1.0.0 (webgen.gettalong.org) for building.
46
+ The preferred way of installing cmdparse is via RubyGems:
47
47
 
48
+ $ gem install cmdparse
48
49
 
49
- ## Example
50
+ If you don't want to use RubyGems, use these commands:
50
51
 
51
- There is an example of how to use cmdparse in the `net.rb` file.
52
+ $ ruby setup.rb config
53
+ $ ruby setup.rb setup
54
+ $ ruby setup.rb install
52
55
 
53
56
 
54
57
  ## Contact
@@ -56,4 +59,4 @@ There is an example of how to use cmdparse in the `net.rb` file.
56
59
  Author: Thomas Leitner
57
60
 
58
61
  * Web: <http://cmdparse.gettalong.org>
59
- * e-Mail: <t_leitner@gmx.at>
62
+ * e-Mail: <mailto:t_leitner@gmx.at>
data/Rakefile CHANGED
@@ -2,38 +2,15 @@
2
2
  #
3
3
  #--
4
4
  # cmdparse: advanced command line parser supporting commands
5
- # Copyright (C) 2004-2014 Thomas Leitner
6
- #
7
- # This file is part of cmdparse.
8
- #
9
- # cmdparse is free software: you can redistribute it and/or modify it under the terms of the GNU
10
- # Lesser General Public License as published by the Free Software Foundation, either version 3 of
11
- # the License, or (at your option) any later version.
12
- #
13
- # cmdparse is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
14
- # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
15
- # General Public License for more details.
16
- #
17
- # You should have received a copy of the GNU Lesser General Public License along with cmdparse. If
18
- # not, see <http://www.gnu.org/licenses/>.
5
+ # Copyright (C) 2004-2015 Thomas Leitner
19
6
  #
7
+ # This file is part of cmdparse which is licensed under the MIT.
20
8
  #++
9
+ #
21
10
 
22
- begin
23
- require 'rubygems'
24
- require 'rubygems/package_task'
25
- rescue Exception
26
- nil
27
- end
28
-
29
- begin
30
- require 'webgen/page'
31
- rescue LoadError
32
- end
33
-
11
+ require 'rubygems/package_task'
34
12
  require 'rake/clean'
35
13
  require 'rake/packagetask'
36
- require 'rake/testtask'
37
14
  require 'rdoc/task'
38
15
 
39
16
  # General actions ##############################################################
@@ -42,15 +19,21 @@ $:.unshift 'lib'
42
19
  require 'cmdparse'
43
20
 
44
21
  PKG_NAME = "cmdparse"
45
- PKG_VERSION = CmdParse::VERSION.join('.')
22
+ PKG_VERSION = CmdParse::VERSION
46
23
  PKG_FULLNAME = PKG_NAME + "-" + PKG_VERSION
47
24
 
25
+ begin
26
+ require 'webgen/page'
27
+ rescue LoadError
28
+ end
29
+
48
30
  # End user tasks ################################################################
49
31
 
50
32
  # The default task is run if rake is given no explicit arguments.
51
-
52
- desc "Default Task (does testing)"
53
- task :default => :test
33
+ task :default do
34
+ puts "Select task to execute:"
35
+ sh "rake -T"
36
+ end
54
37
 
55
38
  desc "Installs the package #{PKG_NAME} using setup.rb"
56
39
  task :install do
@@ -63,32 +46,18 @@ task :clean do
63
46
  ruby "setup.rb clean"
64
47
  end
65
48
 
66
- Rake::TestTask.new do |test|
67
- test.test_files = FileList['test/tc_*.rb']
68
- end
49
+ desc "Build the whole user documentation (website and api)"
50
+ task :doc
69
51
 
70
52
  if defined?(Webgen)
71
53
  CLOBBER << "htmldoc"
72
54
  CLOBBER << "webgen-tmp"
73
- desc "Builds the documentation"
55
+
56
+ desc "Builds the documentation website"
74
57
  task :htmldoc do
75
58
  sh "webgen"
76
59
  end
77
- end
78
-
79
- if defined? RDoc::Task
80
- RDoc::Task.new do |rdoc|
81
- rdoc.rdoc_dir = 'htmldoc/rdoc'
82
- rdoc.title = PKG_NAME
83
- rdoc.main = 'CmdParse::CommandParser'
84
- rdoc.options << '--line-numbers'
85
- rdoc.rdoc_files.include('lib')
86
- end
87
- end
88
-
89
- if defined?(Webgen) && defined?(RDoc::Task)
90
- desc "Build the whole user documentation"
91
- task :doc => [:rdoc, :htmldoc]
60
+ task :doc => :htmldoc
92
61
  end
93
62
 
94
63
  # Developer tasks ##############################################################
@@ -98,14 +67,13 @@ namespace :dev do
98
67
  PKG_FILES = FileList.new( [
99
68
  'setup.rb',
100
69
  'COPYING',
101
- 'COPYING.LESSER',
102
70
  'README.md',
103
71
  'Rakefile',
104
- 'net.rb',
72
+ 'example/net.rb',
105
73
  'VERSION',
106
74
  'lib/**/*.rb',
107
75
  'doc/**/*',
108
- 'test/*'
76
+ 'webgen.config'
109
77
  ])
110
78
 
111
79
  CLOBBER << "VERSION"
@@ -120,53 +88,49 @@ namespace :dev do
120
88
  pkg.package_files = PKG_FILES
121
89
  end
122
90
 
123
- if defined? Gem
124
- spec = Gem::Specification.new do |s|
125
-
126
- #### Basic information
127
- s.name = PKG_NAME
128
- s.version = PKG_VERSION
129
- s.summary = "Advanced command line parser supporting commands"
130
- s.description = <<-EOF
131
- cmdparse provides classes for parsing commands on the command line; command line options
132
- are parsed using optparse or any other option parser implementation. Programs that use
133
- such command line interfaces are, for example, subversion's 'svn' or Rubygem's 'gem' program.
134
- EOF
135
- s.license = 'LGPLv3'
136
-
137
- #### Dependencies, requirements and files
138
- s.files = PKG_FILES.to_a
139
- s.require_path = 'lib'
140
- s.autorequire = 'cmdparse'
141
-
142
- #### Documentation
143
- s.has_rdoc = true
144
- s.rdoc_options = ['--line-numbers', '--main', 'CmdParse::CommandParser']
145
-
146
- #### Author and project details
147
- s.author = "Thomas Leitner"
148
- s.email = "t_leitner@gmx.at"
149
- s.homepage = "http://cmdparse.gettalong.org"
150
- end
151
-
152
- Gem::PackageTask.new(spec) do |pkg|
153
- pkg.need_zip = true
154
- pkg.need_tar = true
155
- end
91
+ spec = Gem::Specification.new do |s|
92
+
93
+ #### Basic information
94
+ s.name = PKG_NAME
95
+ s.version = PKG_VERSION
96
+ s.summary = "Advanced command line parser supporting commands"
97
+ s.description = <<-EOF
98
+ cmdparse provides classes for parsing (possibly nested) commands on the command line;
99
+ command line options themselves are parsed using optparse.
100
+ EOF
101
+ s.license = 'MIT'
102
+
103
+ #### Dependencies, requirements and files
104
+ s.files = PKG_FILES.to_a
105
+ s.require_path = 'lib'
106
+ s.required_ruby_version = ">= 2.0.0"
107
+ s.add_development_dependency "webgen", "~> 1.4"
108
+
109
+ #### Documentation
110
+ s.has_rdoc = true
111
+ s.rdoc_options = ['--line-numbers', '--main', 'CmdParse::CommandParser']
112
+
113
+ #### Author and project details
114
+ s.author = "Thomas Leitner"
115
+ s.email = "t_leitner@gmx.at"
116
+ s.homepage = "http://cmdparse.gettalong.org"
117
+ end
156
118
 
119
+ Gem::PackageTask.new(spec) do |pkg|
120
+ pkg.need_zip = true
121
+ pkg.need_tar = true
157
122
  end
158
123
 
159
- if defined?(Gem)
160
- desc "Upload the release to Rubygems"
161
- task :publish_files => [:package] do
162
- sh "gem push pkg/cmdparse-#{PKG_VERSION}.gem"
163
- puts 'done'
164
- end
124
+ desc "Upload the release to Rubygems"
125
+ task :publish_files => [:package] do
126
+ sh "gem push pkg/cmdparse-#{PKG_VERSION}.gem"
165
127
  end
166
128
 
167
- if defined?(Webgen) && defined?(Gem) && defined?(Rake::RDocTask)
129
+ if defined?(Webgen)
168
130
  desc "Release cmdparse version " + PKG_VERSION
169
- task :release => [:clobber, :package, :publish_files]
131
+ task :release => [:clobber, :package, :publish_files, :doc] do
132
+ puts "Upload htmldoc/ to the webserver"
133
+ end
170
134
  end
171
135
 
172
136
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.6
1
+ 3.0.0
@@ -0,0 +1,5 @@
1
+ ---
2
+ rdoc_options: lib/ --main 'CmdParse::CommandParser' --title 'cmdparse'
3
+ prefix_link_defs: false
4
+ output_structure: hierarchical
5
+ api_template: /api.template
@@ -0,0 +1,24 @@
1
+ --- name:content pipeline:erb
2
+ <%
3
+ rdoc_object = context.node.node_info[:rdoc_object]
4
+ api = context.node.node_info[:api]
5
+ %>
6
+ <div style="text-align: center">
7
+ <select onchange="window.location.href=this.value">
8
+ <option value="#">-- Classes and Modules --</option>
9
+ <% rdoc_object.store.all_classes_and_modules.sort.each do |entry| %>
10
+ <option value="<%= context.dest_node.route_to(api.class_nodes[entry.full_name], context.dest_node.lang) %>"><%= entry.full_name %></option>
11
+ <% end %>
12
+ </select>
13
+
14
+ <select onchange="window.location.href=this.value">
15
+ <option value="#">-- Attributes and Methods --</option>
16
+ <% (rdoc_object.attributes + rdoc_object.method_list).sort.each do |entry| %>
17
+ <option value="#<%= entry.aref %>"><%= entry.pretty_name %></option>
18
+ <% end %>
19
+ </select>
20
+ </div>
21
+
22
+ <hr style="margin-top: 0.5em; padding: 0;" />
23
+
24
+ <%= context.render_block(:name => 'content', :chain => [context.website.tree['/templates/api.template'], context.content_node]) %>
@@ -0,0 +1,1987 @@
1
+ @charset 'UTF-8';
2
+
3
+ $logo-color: #3A974D;
4
+
5
+ /*
6
+ Striped by HTML5 UP
7
+ html5up.net | @n33co
8
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
9
+ */
10
+
11
+ /***************************************/
12
+ /***************************************/
13
+ /* Original file: skel.css */
14
+ /***************************************/
15
+ /***************************************/
16
+
17
+
18
+ /* Resets (http://meyerweb.com/eric/tools/css/reset/ | v2.0 | 20110126 | License: none (public domain)) */
19
+
20
+ 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{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none}
21
+
22
+ /* Box Model */
23
+
24
+ *, *:before, *:after {
25
+ -moz-box-sizing: border-box;
26
+ -webkit-box-sizing: border-box;
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ /* Container */
31
+
32
+ .container {
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+
36
+ /* width: (containers) */
37
+ width: 1200px;
38
+ }
39
+
40
+ /* Modifiers */
41
+
42
+ /* 125% */
43
+ .container.\31 25\25 {
44
+ width: 100%;
45
+
46
+ /* max-width: (containers * 1.25) */
47
+ max-width: 1500px;
48
+
49
+ /* min-width: (containers) */
50
+ min-width: 1200px;
51
+ }
52
+
53
+ /* 75% */
54
+ .container.\37 5\25 {
55
+
56
+ /* width: (containers * 0.75) */
57
+ width: 900px;
58
+
59
+ }
60
+
61
+ /* 50% */
62
+ .container.\35 0\25 {
63
+
64
+ /* width: (containers * 0.50) */
65
+ width: 600px;
66
+
67
+ }
68
+
69
+ /* 25% */
70
+ .container.\32 5\25 {
71
+
72
+ /* width: (containers * 0.25) */
73
+ width: 300px;
74
+
75
+ }
76
+
77
+ /* Grid */
78
+
79
+ .row {
80
+ border-bottom: solid 1px transparent;
81
+ }
82
+
83
+ .row > * {
84
+ float: left;
85
+ }
86
+
87
+ .row:after, .row:before {
88
+ content: '';
89
+ display: block;
90
+ clear: both;
91
+ height: 0;
92
+ }
93
+
94
+ .row.uniform > * > :first-child {
95
+ margin-top: 0;
96
+ }
97
+
98
+ .row.uniform > * > :last-child {
99
+ margin-bottom: 0;
100
+ }
101
+
102
+ /* Gutters */
103
+
104
+ /* Normal */
105
+
106
+ .row > * {
107
+ /* padding: (gutters.horizontal) 0 0 (gutters.vertical) */
108
+ padding: 40px 0 0 40px;
109
+ }
110
+
111
+ .row {
112
+ /* margin: -(gutters.horizontal) 0 -1px -(gutters.vertical) */
113
+ margin: -40px 0 -1px -40px;
114
+ }
115
+
116
+ .row.uniform > * {
117
+ /* padding: (gutters.vertical) 0 0 (gutters.vertical) */
118
+ padding: 40px 0 0 40px;
119
+ }
120
+
121
+ .row.uniform {
122
+ /* margin: -(gutters.vertical) 0 -1px -(gutters.vertical) */
123
+ margin: -40px 0 -1px -40px;
124
+ }
125
+
126
+ /* 200% */
127
+
128
+ .row.\32 00\25 > * {
129
+ /* padding: (gutters.horizontal) 0 0 (gutters.vertical) */
130
+ padding: 80px 0 0 80px;
131
+ }
132
+
133
+ .row.\32 00\25 {
134
+ /* margin: -(gutters.horizontal) 0 -1px -(gutters.vertical) */
135
+ margin: -80px 0 -1px -80px;
136
+ }
137
+
138
+ .row.uniform.\32 00\25 > * {
139
+ /* padding: (gutters.vertical) 0 0 (gutters.vertical) */
140
+ padding: 80px 0 0 80px;
141
+ }
142
+
143
+ .row.uniform.\32 00\25 {
144
+ /* margin: -(gutters.vertical) 0 -1px -(gutters.vertical) */
145
+ margin: -80px 0 -1px -80px;
146
+ }
147
+
148
+ /* 150% */
149
+
150
+ .row.\31 50\25 > * {
151
+ /* padding: (gutters.horizontal) 0 0 (gutters.vertical) */
152
+ padding: 60px 0 0 60px;
153
+ }
154
+
155
+ .row.\31 50\25 {
156
+ /* margin: -(gutters.horizontal) 0 -1px -(gutters.vertical) */
157
+ margin: -60px 0 -1px -60px;
158
+ }
159
+
160
+ .row.uniform.\31 50\25 > * {
161
+ /* padding: (gutters.vertical) 0 0 (gutters.vertical) */
162
+ padding: 60px 0 0 60px;
163
+ }
164
+
165
+ .row.uniform.\31 50\25 {
166
+ /* margin: -(gutters.vertical) 0 -1px -(gutters.vertical) */
167
+ margin: -60px 0 -1px -60px;
168
+ }
169
+
170
+ /* 50% */
171
+
172
+ .row.\35 0\25 > * {
173
+ /* padding: (gutters.horizontal) 0 0 (gutters.vertical) */
174
+ padding: 20px 0 0 20px;
175
+ }
176
+
177
+ .row.\35 0\25 {
178
+ /* margin: -(gutters.horizontal) 0 -1px -(gutters.vertical) */
179
+ margin: -20px 0 -1px -20px;
180
+ }
181
+
182
+ .row.uniform.\35 0\25 > * {
183
+ /* padding: (gutters.vertical) 0 0 (gutters.vertical) */
184
+ padding: 20px 0 0 20px;
185
+ }
186
+
187
+ .row.uniform.\35 0\25 {
188
+ /* margin: -(gutters.vertical) 0 -1px -(gutters.vertical) */
189
+ margin: -20px 0 -1px -20px;
190
+ }
191
+
192
+ /* 25% */
193
+
194
+ .row.\32 5\25 > * {
195
+ /* padding: (gutters.horizontal) 0 0 (gutters.vertical) */
196
+ padding: 10px 0 0 10px;
197
+ }
198
+
199
+ .row.\32 5\25 {
200
+ /* margin: -(gutters.horizontal) 0 -1px -(gutters.vertical) */
201
+ margin: -10px 0 -1px -10px;
202
+ }
203
+
204
+ .row.uniform.\32 5\25 > * {
205
+ /* padding: (gutters.vertical) 0 0 (gutters.vertical) */
206
+ padding: 10px 0 0 10px;
207
+ }
208
+
209
+ .row.uniform.\32 5\25 {
210
+ /* margin: -(gutters.vertical) 0 -1px -(gutters.vertical) */
211
+ margin: -10px 0 -1px -10px;
212
+ }
213
+
214
+ /* 0% */
215
+
216
+ .row.\30 \25 > * {
217
+ padding: 0;
218
+ }
219
+
220
+ .row.\30 \25 {
221
+ margin: 0 0 -1px 0;
222
+ }
223
+
224
+ /* Cells */
225
+
226
+ .\31 2u, .\31 2u\24 { width: 100%; clear: none; margin-left: 0; }
227
+ .\31 1u, .\31 1u\24 { width: 91.6666666667%; clear: none; margin-left: 0; }
228
+ .\31 0u, .\31 0u\24 { width: 83.3333333333%; clear: none; margin-left: 0; }
229
+ .\39 u, .\39 u\24 { width: 75%; clear: none; margin-left: 0; }
230
+ .\38 u, .\38 u\24 { width: 66.6666666667%; clear: none; margin-left: 0; }
231
+ .\37 u, .\37 u\24 { width: 58.3333333333%; clear: none; margin-left: 0; }
232
+ .\36 u, .\36 u\24 { width: 50%; clear: none; margin-left: 0; }
233
+ .\35 u, .\35 u\24 { width: 41.6666666667%; clear: none; margin-left: 0; }
234
+ .\34 u, .\34 u\24 { width: 33.3333333333%; clear: none; margin-left: 0; }
235
+ .\33 u, .\33 u\24 { width: 25%; clear: none; margin-left: 0; }
236
+ .\32 u, .\32 u\24 { width: 16.6666666667%; clear: none; margin-left: 0; }
237
+ .\31 u, .\31 u\24 { width: 8.3333333333%; clear: none; margin-left: 0; }
238
+
239
+ .\31 2u\24 + *,
240
+ .\31 1u\24 + *,
241
+ .\31 0u\24 + *,
242
+ .\39 u\24 + *,
243
+ .\38 u\24 + *,
244
+ .\37 u\24 + *,
245
+ .\36 u\24 + *,
246
+ .\35 u\24 + *,
247
+ .\34 u\24 + *,
248
+ .\33 u\24 + *,
249
+ .\32 u\24 + *,
250
+ .\31 u\24 + * {
251
+ clear: left;
252
+ }
253
+
254
+ .\-11u { margin-left: 91.6666666667% }
255
+ .\-10u { margin-left: 83.3333333333% }
256
+ .\-9u { margin-left: 75% }
257
+ .\-8u { margin-left: 66.6666666667% }
258
+ .\-7u { margin-left: 58.3333333333% }
259
+ .\-6u { margin-left: 50% }
260
+ .\-5u { margin-left: 41.6666666667% }
261
+ .\-4u { margin-left: 33.3333333333% }
262
+ .\-3u { margin-left: 25% }
263
+ .\-2u { margin-left: 16.6666666667% }
264
+ .\-1u { margin-left: 8.3333333333% }
265
+
266
+
267
+ /***************************************/
268
+ /***************************************/
269
+ /* Original file: style.css */
270
+ /***************************************/
271
+ /***************************************/
272
+
273
+ @import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700|Open+Sans+Condensed:300,700");
274
+
275
+ /*********************************************************************************/
276
+ /* Basic */
277
+ /*********************************************************************************/
278
+
279
+ body
280
+ {
281
+ background-color: #e8e8e8;
282
+ background-image: url('images/bg02.png');
283
+ }
284
+
285
+ body.is-loading * {
286
+ -moz-transition: none !important;
287
+ -webkit-transition: none !important;
288
+ -o-transition: none !important;
289
+ -ms-transition: none !important;
290
+ transition: none !important;
291
+ -moz-animation: none !important;
292
+ -webkit-animation: none !important;
293
+ -o-animation: none !important;
294
+ -ms-animation: none !important;
295
+ animation: none !important;
296
+ }
297
+
298
+ body,input,textarea,select
299
+ {
300
+ font-family: 'Source Sans Pro', sans-serif;
301
+ font-weight: 400;
302
+ color: #565656;
303
+ }
304
+
305
+ a
306
+ {
307
+ color: $logo-color;
308
+ }
309
+
310
+ strong, b
311
+ {
312
+ font-weight: 700;
313
+ color: #232323;
314
+ }
315
+
316
+ h2,h3,h4,h5,h6
317
+ {
318
+ font-family: 'Open Sans Condensed', sans-serif;
319
+ font-weight: 700;
320
+ color: #232323;
321
+ margin-top: 1em;
322
+ }
323
+ h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child
324
+ {
325
+ margin-top: 0;
326
+ }
327
+
328
+ h2 a, h4 a, h5 a, h6 a
329
+ {
330
+ text-decoration: none;
331
+ color: inherit;
332
+ }
333
+
334
+ blockquote
335
+ {
336
+ border-left: solid 5px #ddd;
337
+ padding: 1em 0 1em 2em;
338
+ font-style: italic;
339
+ }
340
+
341
+ em, i
342
+ {
343
+ font-style: italic;
344
+ }
345
+
346
+ hr
347
+ {
348
+ border: 0;
349
+ border-top: solid 1px #ddd;
350
+ padding: 1.5em 0 0 0;
351
+ margin: 1.75em 0 0 0;
352
+ }
353
+
354
+ sub
355
+ {
356
+ position: relative;
357
+ top: 0.5em;
358
+ font-size: 0.8em;
359
+ }
360
+
361
+ sup
362
+ {
363
+ position: relative;
364
+ top: -0.5em;
365
+ font-size: 0.8em;
366
+ }
367
+
368
+ br.clear
369
+ {
370
+ clear: both;
371
+ }
372
+
373
+ p, ul, ol, dl, table
374
+ {
375
+ margin-bottom: 1em;
376
+ }
377
+
378
+ /* Table */
379
+
380
+ table
381
+ {
382
+ width: 100%;
383
+ }
384
+
385
+ table.default
386
+ {
387
+ }
388
+
389
+ table.default tbody tr:nth-child(2n+2)
390
+ {
391
+ background: #f4f4f4;
392
+ }
393
+
394
+ table.default td
395
+ {
396
+ padding: 0.5em 1em 0.5em 1em;
397
+ }
398
+
399
+ table.default th
400
+ {
401
+ text-align: left;
402
+ font-weight: 700;
403
+ padding: 0.75em 1em 0.75em 1em;
404
+ }
405
+
406
+ table.default thead
407
+ {
408
+ border-bottom: solid 1px #ddd;
409
+ }
410
+
411
+ table.default tfoot
412
+ {
413
+ border-top: solid 1px #ddd;
414
+ background: #eee;
415
+ }
416
+
417
+ table.default tbody
418
+ {
419
+ }
420
+
421
+ /* Form */
422
+
423
+ form
424
+ {
425
+ }
426
+
427
+ form label
428
+ {
429
+ font-family: 'Open Sans Condensed', sans-serif;
430
+ font-weight: 700;
431
+ color: #232323;
432
+ margin: 0 0 0.75em 0;
433
+ }
434
+
435
+ form input[type="search"],
436
+ form input[type="text"],
437
+ form input[type="email"],
438
+ form input[type="password"],
439
+ form select,
440
+ form textarea
441
+ {
442
+ display: block;
443
+ border-radius: 0.4em;
444
+ -webkit-appearance: none;
445
+ border: solid 1px #ddd;
446
+ padding: 0.5em 0.75em;
447
+ width: 100%;
448
+ line-height: 1.25em;
449
+ }
450
+
451
+ form input[type="text"]:focus,
452
+ form input[type="email"]:focus,
453
+ form input[type="password"]:focus,
454
+ form select:focus,
455
+ form textarea:focus
456
+ {
457
+ box-shadow: 0px 0px 2px 2px #c94663;
458
+ }
459
+
460
+ form ::-webkit-input-placeholder
461
+ {
462
+ color: #aaa;
463
+ }
464
+
465
+ form :-moz-placeholder
466
+ {
467
+ color: #aaa;
468
+ }
469
+
470
+ form ::-moz-placeholder
471
+ {
472
+ color: #aaa;
473
+ }
474
+
475
+ form :-ms-input-placeholder
476
+ {
477
+ color: #aaa;
478
+ }
479
+
480
+ /* Section/Article */
481
+
482
+ header
483
+ {
484
+ margin: 0 0 2em 0;
485
+ }
486
+
487
+ header > p
488
+ {
489
+ font-family: 'Open Sans Condensed', sans-serif;
490
+ font-weight: 300;
491
+ display: block;
492
+ margin-top: 1em;
493
+ color: #999;
494
+ }
495
+
496
+ section,
497
+ article
498
+ {
499
+ margin-bottom: 3em;
500
+ }
501
+
502
+ section > :last-child,
503
+ article > :last-child
504
+ {
505
+ margin-bottom: 0;
506
+ }
507
+
508
+ section > .inner > :last-child,
509
+ article > .inner > :last-child
510
+ {
511
+ margin-bottom: 0;
512
+ }
513
+
514
+ section:last-child,
515
+ article:last-child
516
+ {
517
+ margin-bottom: 0;
518
+ }
519
+
520
+ /* Image */
521
+
522
+ .image
523
+ {
524
+ display: inline-block;
525
+ }
526
+
527
+ .image img
528
+ {
529
+ display: block;
530
+ width: 100%;
531
+ }
532
+
533
+ .image.fit
534
+ {
535
+ display: block;
536
+ width: 100%;
537
+ }
538
+
539
+ .image.featured
540
+ {
541
+ display: block;
542
+ width: 100%;
543
+ margin: 0 0 2em 0;
544
+ }
545
+
546
+ .image.left
547
+ {
548
+ float: left;
549
+ margin: 0 2em 2em 0;
550
+ }
551
+
552
+ .image.centered
553
+ {
554
+ display: block;
555
+ margin: 0 0 2em 0;
556
+ }
557
+
558
+ .image.centered img
559
+ {
560
+ margin: 0 auto;
561
+ width: auto;
562
+ }
563
+
564
+ /* Button */
565
+
566
+ input[type="button"],
567
+ input[type="submit"],
568
+ input[type="reset"],
569
+ .button
570
+ {
571
+ cursor: pointer;
572
+ background-color: #c94663;
573
+ background-image: url('images/bg01.png');
574
+ border-radius: 0.4em;
575
+ text-align: center;
576
+ box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,0.15);
577
+ color: #fff;
578
+ font-family: 'Open Sans Condensed', sans-serif;
579
+ font-weight: 700;
580
+ text-decoration: none;
581
+ -moz-transition: background-color .25s ease-in-out, color .25s ease-in-out;
582
+ -webkit-transition: background-color .25s ease-in-out, color .25s ease-in-out;
583
+ -o-transition: background-color .25s ease-in-out, color .25s ease-in-out;
584
+ -ms-transition: background-color .25s ease-in-out, color .25s ease-in-out;
585
+ transition: background-color .25s ease-in-out, color .25s ease-in-out;
586
+ text-shadow: -1px -1px 0px rgba(0,0,0,0.5);
587
+ }
588
+
589
+ input[type="button"]:disabled,
590
+ input[type="submit"]:disabled,
591
+ input[type="reset"]:disabled,
592
+ input[type="button"].disabled,
593
+ input[type="submit"].disabled,
594
+ input[type="reset"].disabled,
595
+ .button.disabled
596
+ {
597
+ opacity: 0.35;
598
+ cursor: default;
599
+ }
600
+
601
+ input[type="button"]:hover,
602
+ input[type="submit"]:hover,
603
+ input[type="reset"]:hover,
604
+ .button:hover
605
+ {
606
+ background-color: #d95673;
607
+ }
608
+
609
+ input[type="button"]:active,
610
+ input[type="submit"]:active,
611
+ input[type="reset"]:active,
612
+ .button:active
613
+ {
614
+ background-color: #b93653;
615
+ }
616
+
617
+ input[type="button"].alt,
618
+ input[type="submit"].alt,
619
+ input[type="reset"].alt,
620
+ .button.alt
621
+ {
622
+ background-color: #364050;
623
+ }
624
+
625
+ input[type="button"].alt:hover,
626
+ input[type="submit"].alt:hover,
627
+ input[type="reset"].alt:hover,
628
+ .button.alt:hover
629
+ {
630
+ background-color: #465060;
631
+ }
632
+
633
+ input[type="button"].alt:active,
634
+ input[type="submit"].alt:active,
635
+ input[type="reset"].alt:active,
636
+ .button.alt:active
637
+ {
638
+ background-color: #263040;
639
+ }
640
+
641
+ /* List */
642
+
643
+ #content ul
644
+ {
645
+ list-style: disc;
646
+ padding-left: 1.25em;
647
+ }
648
+
649
+ #content ul li
650
+ {
651
+ padding-left: 0.5em;
652
+ }
653
+
654
+ #content ol
655
+ {
656
+ list-style: decimal;
657
+ padding-left: 1.25em;
658
+ }
659
+
660
+ #content ul li
661
+ {
662
+ padding-left: 0.25em;
663
+ }
664
+
665
+ /* Pagination */
666
+
667
+ .pagination
668
+ {
669
+ }
670
+
671
+ .pagination .pages
672
+ {
673
+ display: inline-block;
674
+ font-family: 'Open Sans Condensed', sans-serif;
675
+ font-weight: 700;
676
+ }
677
+
678
+ .pagination .pages span
679
+ {
680
+ display: inline-block;
681
+ width: 1.5em;
682
+ text-align: center;
683
+ margin: 0 0.4em 0 0;
684
+ }
685
+
686
+ .pagination .pages a
687
+ {
688
+ cursor: pointer;
689
+ display: inline-block;
690
+ text-align: center;
691
+ text-decoration: none;
692
+ color: inherit;
693
+ background-color: #e8e8e8;
694
+ background-image: url('images/bg02.png');
695
+ color: #565656;
696
+ margin: 0 0.4em 0 0;
697
+ border-radius: 0.4em;
698
+ -moz-transition: background-color .25s ease-in-out;
699
+ -webkit-transition: background-color .25s ease-in-out;
700
+ -o-transition: background-color .25s ease-in-out;
701
+ -ms-transition: background-color .25s ease-in-out;
702
+ transition: background-color .25s ease-in-out;
703
+ box-shadow: inset 0 0.075em 0.25em 0 rgba(0,0,0,0.1);
704
+ }
705
+
706
+ .pagination .pages a:hover
707
+ {
708
+ background-color: #dadada;
709
+ }
710
+
711
+ .pagination .pages a.active
712
+ {
713
+ background-color: #364050;
714
+ color: #fff;
715
+ box-shadow: none;
716
+ text-shadow: -1px -1px 0px rgba(0,0,0,0.5);
717
+ }
718
+
719
+ /* Box */
720
+
721
+ .box
722
+ {
723
+ }
724
+
725
+ .box.post
726
+ {
727
+ position: relative;
728
+ }
729
+
730
+ .box.post .info
731
+ {
732
+ }
733
+
734
+ .box.post .info .stats
735
+ {
736
+ margin: 0;
737
+ cursor: default;
738
+ }
739
+
740
+ .box.post .info .stats a
741
+ {
742
+ font-size: 0.8em;
743
+ text-decoration: none;
744
+ color: #232323;
745
+ font-weight: 700;
746
+ line-height: 1em;
747
+ }
748
+
749
+ .box.recent-posts,
750
+ .box.recent-comments
751
+ {
752
+ }
753
+
754
+ .box.recent-posts li,
755
+ .box.recent-comments li
756
+ {
757
+ border-top: solid 1px rgba(0,0,0,0.25);
758
+ box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.075);
759
+ padding: 0.5em 0 0.5em 0;
760
+ }
761
+
762
+ .box.recent-posts li:first-child,
763
+ .box.recent-comments li:first-child
764
+ {
765
+ border-top: 0;
766
+ box-shadow: none;
767
+ padding-top: 0;
768
+ }
769
+
770
+ .box.recent-posts li:last-child,
771
+ .box.recent-comments li:last-child
772
+ {
773
+ padding-bottom: 0;
774
+ }
775
+
776
+ .box.search
777
+ {
778
+ }
779
+
780
+ .box.search form
781
+ {
782
+ position: relative;
783
+ }
784
+
785
+ .box.search form input
786
+ {
787
+ position: relative;
788
+ padding-right: 34px;
789
+ }
790
+
791
+ .box.search form:before
792
+ {
793
+ display:inline-block;
794
+ font-family: FontAwesome;
795
+ font-size: 18px;
796
+ text-decoration: none;
797
+ font-style: normal;
798
+ font-weight: normal;
799
+ -webkit-font-smoothing:antialiased;
800
+ -moz-osx-font-smoothing:grayscale;
801
+ content: '\f002';
802
+
803
+ filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
804
+ -webkit-transform:scale(-1, 1);
805
+ -moz-transform:scale(-1, 1);
806
+ -ms-transform:scale(-1, 1);
807
+ -o-transform:scale(-1, 1);
808
+ transform:scale(-1, 1);
809
+
810
+ position: absolute;
811
+ right: 0.5em;
812
+ top: 0.25em;
813
+ z-index: 1;
814
+ text-shadow: none;
815
+ color: #c8ccce;
816
+ }
817
+
818
+ .box.text-style1
819
+ {
820
+ }
821
+
822
+ .box.text-style1 .inner
823
+ {
824
+ position: relative;
825
+ background-color: #272E39;
826
+ background-color: rgba(0,0,0,0.15);
827
+ border-radius: 0.4em;
828
+ padding: 1.25em;
829
+ box-shadow: 0 0 0 1px rgba(255,255,255,0.05), inset 0 0 0.25em 0 rgba(0,0,0,0.25);
830
+ }
831
+
832
+ /*********************************************************************************/
833
+ /* Icons */
834
+ /*********************************************************************************/
835
+
836
+ .icon {
837
+ position: relative;
838
+ text-decoration: none;
839
+ }
840
+
841
+ .icon:before {
842
+ -moz-osx-font-smoothing: grayscale;
843
+ -webkit-font-smoothing: antialiased;
844
+ font-family: FontAwesome;
845
+ font-style: normal;
846
+ font-weight: normal;
847
+ text-transform: none !important;
848
+ }
849
+
850
+ .icon > .label {
851
+ display: none;
852
+ }
853
+
854
+ /*********************************************************************************/
855
+ /* Wrapper */
856
+ /*********************************************************************************/
857
+
858
+ #wrapper
859
+ {
860
+ position: relative;
861
+ }
862
+
863
+ /*********************************************************************************/
864
+ /* Nav */
865
+ /*********************************************************************************/
866
+
867
+ #nav
868
+ {
869
+ }
870
+
871
+ #nav > ul > li > ul
872
+ {
873
+ /* display: none; */
874
+ }
875
+
876
+ #nav ul
877
+ {
878
+ margin: 0;
879
+ }
880
+
881
+ #nav > ul > li
882
+ {
883
+ border-top: solid 1px rgba(0,0,0,0.25);
884
+ box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.075);
885
+ padding: 0.5em 0 0.5em 0;
886
+ }
887
+
888
+ #nav > ul > li:first-child
889
+ {
890
+ border: 0;
891
+ box-shadow: none;
892
+ padding-top: 0;
893
+ }
894
+
895
+ #nav > ul > li:last-child
896
+ {
897
+ padding-bottom: 0;
898
+ }
899
+
900
+ #nav li a
901
+ {
902
+ display: block;
903
+ padding: 0.4em 1em 0.4em 1em;
904
+ text-decoration: none;
905
+ border-radius: 0.4em;
906
+ outline: 0;
907
+ }
908
+
909
+ #nav li.current a
910
+ {
911
+ background-color: #272E39 !important;
912
+ background-color: rgba(0,0,0,0.15) !important;
913
+ box-shadow: 0 0 0 1px rgba(255,255,255,0.05), inset 0 0 0.25em 0 rgba(0,0,0,0.25);
914
+ font-weight: 700;
915
+ color: #fff;
916
+ }
917
+
918
+ #nav li:hover a
919
+ {
920
+ background-color: rgba(255,255,255,0.1);
921
+ color: #fff;
922
+ }
923
+
924
+ /*********************************************************************************/
925
+ /* Sidebar */
926
+ /*********************************************************************************/
927
+
928
+ #sidebar
929
+ {
930
+ color: #aaa;
931
+ color: rgba(255,255,255,0.55);
932
+ text-shadow: -1px -1px 0px rgba(0,0,0,0.5);
933
+ }
934
+
935
+ #sidebar form input,
936
+ #sidebar form select,
937
+ #sidebar form textarea
938
+ {
939
+ border: 0;
940
+ }
941
+
942
+ #sidebar section,
943
+ #sidebar nav
944
+ {
945
+ position: relative;
946
+ }
947
+
948
+ #sidebar section:before,
949
+ #sidebar nav:before
950
+ {
951
+ content: '';
952
+ border-top: solid 1px;
953
+ border-bottom: solid 1px;
954
+ border-color: #171E29;
955
+ border-color: rgba(0,0,0,0.25);
956
+ box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.075), 0px 1px 0px 0px rgba(255,255,255,0.075);
957
+ display: block;
958
+ }
959
+
960
+ #sidebar strong, #sidebar b
961
+ {
962
+ color: #fff;
963
+ }
964
+
965
+ #sidebar a
966
+ {
967
+ color: #d4dde0;
968
+ }
969
+
970
+ #sidebar h2,
971
+ #sidebar h3,
972
+ #sidebar h4,
973
+ #sidebar h5,
974
+ #sidebar h6
975
+ {
976
+ color: #fff;
977
+ }
978
+
979
+ #sidebar header
980
+ {
981
+ margin: 0 0 1.25em 0;
982
+ }
983
+
984
+ #sidebar section,
985
+ #sidebar nav
986
+ {
987
+ margin: 1em 0 0 0;
988
+ font-size: 0.9em;
989
+ }
990
+
991
+ #sidebar section:before,
992
+ #sidebar nav:before
993
+ {
994
+ height: 0.5em;
995
+ margin: 0 0 1em 0;
996
+ }
997
+
998
+ /*********************************************************************************/
999
+ /* Content */
1000
+ /*********************************************************************************/
1001
+
1002
+ #content
1003
+ {
1004
+ position: relative;
1005
+ background-color: #fff;
1006
+ background-image: url('images/bg02.png');
1007
+ }
1008
+
1009
+ #content > .inner
1010
+ {
1011
+ position: relative;
1012
+ z-index: 1;
1013
+ }
1014
+
1015
+ /*********************************************************************************/
1016
+ /* Copyright */
1017
+ /*********************************************************************************/
1018
+
1019
+ #copyright
1020
+ {
1021
+ }
1022
+
1023
+ #copyright p
1024
+ {
1025
+ opacity: 0.75;
1026
+ }
1027
+
1028
+ #copyright a
1029
+ {
1030
+ color: inherit !important;
1031
+ }
1032
+
1033
+ #copyright:before
1034
+ {
1035
+ content: '';
1036
+ border-top: solid 1px;
1037
+ border-bottom: solid 1px;
1038
+ border-color: #171E29;
1039
+ border-color: rgba(0,0,0,0.25);
1040
+ box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.075), 0px 1px 0px 0px rgba(255,255,255,0.075);
1041
+ display: block;
1042
+ }
1043
+
1044
+ /*********************************************************************************/
1045
+ /* Mobile UI */
1046
+ /*********************************************************************************/
1047
+
1048
+
1049
+ #titleBar
1050
+ {
1051
+ background: #364050 url('images/bg01.png');
1052
+ backface-visibility: hidden;
1053
+ z-index: 10004;
1054
+ position: fixed;
1055
+ display: none;
1056
+ width: 100%;
1057
+ height: 44px;
1058
+ top: 0px;
1059
+ left: 0px;
1060
+ }
1061
+
1062
+ #titleBar .title
1063
+ {
1064
+ display: block;
1065
+ color: #fff;
1066
+ line-height: 44px;
1067
+ font-size: 1.25em;
1068
+ font-family: 'Open Sans Condensed', sans-serif;
1069
+ font-weight: 700;
1070
+ letter-spacing: 0.1em;
1071
+ text-shadow: -1px -1px 0px rgba(0,0,0,0.5);
1072
+ box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.25);
1073
+ text-align: center;
1074
+ }
1075
+
1076
+ #titleBar .toggle
1077
+ {
1078
+ width: 80px;
1079
+ height: 60px;
1080
+ position: absolute;
1081
+ left: 0;
1082
+ top: 0;
1083
+ }
1084
+
1085
+ #titleBar .toggle:before
1086
+ {
1087
+ content: '<<>>';
1088
+ font-weight: bold;
1089
+ display: block;
1090
+ position: absolute;
1091
+ left: 7px;
1092
+ top: 7px;
1093
+ font-size: 14px;
1094
+ width: 50px;
1095
+ height: 30px;
1096
+ line-height: 30px;
1097
+ background: $logo-color url('images/bg01.png');
1098
+ border-radius: 5px;
1099
+ color: #fff;
1100
+ text-align: center;
1101
+ box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,0.15), 0 0.025em 0.15em 0em rgba(0,0,0,0.25);
1102
+ text-shadow: -1px -1px 0px rgba(0,0,0,0.5);
1103
+ }
1104
+
1105
+ #titleBar .toggle:active
1106
+ {
1107
+ }
1108
+
1109
+ #titleBar .toggle:active:before
1110
+ {
1111
+ background-color: lighten($logo-color, 10%);
1112
+ }
1113
+
1114
+ #sidePanel
1115
+ {
1116
+ background: #364050 url('images/bg01.png');
1117
+ }
1118
+
1119
+
1120
+ /***************************************/
1121
+ /***************************************/
1122
+ /* Original file: desktop.css */
1123
+ /***************************************/
1124
+ /***************************************/
1125
+
1126
+ @media (min-width: 737px) {
1127
+
1128
+ /*********************************************************************************/
1129
+ /* Basic */
1130
+ /*********************************************************************************/
1131
+
1132
+ body
1133
+ {
1134
+ height: 100%;
1135
+ }
1136
+
1137
+ body,input,textarea,select
1138
+ {
1139
+ line-height: 1.75em;
1140
+ }
1141
+
1142
+ h2
1143
+ {
1144
+ font-size: 1.5em;
1145
+ }
1146
+
1147
+ h3
1148
+ {
1149
+ font-size: 1.2em;
1150
+ }
1151
+
1152
+ h4, h5, h6
1153
+ {
1154
+ font-size: 1em;
1155
+ }
1156
+
1157
+ /* Button */
1158
+
1159
+ input[type="button"],
1160
+ input[type="submit"],
1161
+ input[type="reset"],
1162
+ .button
1163
+ {
1164
+ display: inline-block;
1165
+ padding: 0.5em 2em 0.5em 2em;
1166
+ }
1167
+
1168
+ input[type="button"].small,
1169
+ input[type="submit"].small,
1170
+ input[type="reset"].small,
1171
+ .button.small
1172
+ {
1173
+ font-size: 0.85em;
1174
+ padding: 0.35em 1.5em 0.35em 1.5em;
1175
+ }
1176
+
1177
+ input[type="button"].big,
1178
+ input[type="submit"].big,
1179
+ input[type="reset"].big,
1180
+ .button.big
1181
+ {
1182
+ font-size: 1.25em;
1183
+ padding: 0.75em 2em 0.75em 2em;
1184
+ }
1185
+
1186
+ input[type="button"].huge,
1187
+ input[type="submit"].huge,
1188
+ input[type="reset"].huge,
1189
+ .button.huge
1190
+ {
1191
+ font-size: 1.5em;
1192
+ padding: 0.75em 2em 0.75em 2em;
1193
+ }
1194
+
1195
+ /* Pagination */
1196
+
1197
+ .pagination
1198
+ {
1199
+ padding: 3em 0 0 0;
1200
+ }
1201
+
1202
+ .pagination .pages
1203
+ {
1204
+ }
1205
+
1206
+ .pagination .previous
1207
+ {
1208
+ margin-right: 0.6em;
1209
+ }
1210
+
1211
+ .pagination .next
1212
+ {
1213
+ margin-left: 0.2em;
1214
+ }
1215
+
1216
+ .pagination .pages a
1217
+ {
1218
+ width: 2.75em;
1219
+ height: 2.75em;
1220
+ line-height: 2.75em;
1221
+ }
1222
+
1223
+ .pagination .button
1224
+ {
1225
+ height: 2.75em;
1226
+ padding-top: 0;
1227
+ padding-bottom: 0;
1228
+ line-height: 2.75em;
1229
+ }
1230
+
1231
+ /* Box */
1232
+
1233
+ .box
1234
+ {
1235
+ }
1236
+
1237
+ .box.post
1238
+ {
1239
+ }
1240
+
1241
+ .box.post .info
1242
+ {
1243
+ }
1244
+
1245
+ .box.post .info .stats
1246
+ {
1247
+ }
1248
+
1249
+ .box.post .info .stats li a
1250
+ {
1251
+ border-radius: 0.4em;
1252
+ opacity: 0.5;
1253
+ -moz-transition: opacity .25s ease-in-out, background-color .25s ease-in-out;
1254
+ -webkit-transition: opacity .25s ease-in-out, background-color .25s ease-in-out;
1255
+ -o-transition: opacity .25s ease-in-out, background-color .25s ease-in-out;
1256
+ -ms-transition: opacity .25s ease-in-out, background-color .25s ease-in-out;
1257
+ transition: opacity .25s ease-in-out, background-color .25s ease-in-out;
1258
+ }
1259
+
1260
+ .box.post .info .stats li:hover a
1261
+ {
1262
+ background-color: #f4f4f4;
1263
+ opacity: 1.0;
1264
+ }
1265
+
1266
+ /*********************************************************************************/
1267
+ /* Logo */
1268
+ /*********************************************************************************/
1269
+
1270
+ #logo
1271
+ {
1272
+ font-family: 'Open Sans Condensed', sans-serif;
1273
+ font-weight: 700;
1274
+ font-size: 2em;
1275
+ letter-spacing: 0.1em;
1276
+ }
1277
+
1278
+ #logo
1279
+ {
1280
+ display: block;
1281
+ background-color: $logo-color;
1282
+ background-image: url('images/bg01.png');
1283
+ padding: 0.50em 0.25em;
1284
+ border-radius: 0.2em;
1285
+ text-align: center;
1286
+ box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,0.15), 0 0.025em 0.15em 0em rgba(0,0,0,0.25);
1287
+ color: #fff;
1288
+ }
1289
+
1290
+ #logo a
1291
+ {
1292
+ color: #fff;
1293
+ text-decoration: none;
1294
+ }
1295
+
1296
+ #logo span
1297
+ {
1298
+ font-size: 50%;
1299
+ }
1300
+
1301
+ /*********************************************************************************/
1302
+ /* Content */
1303
+ /*********************************************************************************/
1304
+
1305
+ #content
1306
+ {
1307
+ box-shadow: 0 0 0.25em 0em rgba(0,0,0,0.25);
1308
+ }
1309
+
1310
+ #content > .inner
1311
+ {
1312
+ /*
1313
+ This sets an upper limit on your page content to prevent it
1314
+ from looking insane on really wide displays. It's currently set
1315
+ to the width of the sample post images, but you can change it to
1316
+ whatever you like (or remove it entirely).
1317
+ */
1318
+ max-width: 1038px;
1319
+ padding-bottom: 2em;
1320
+ }
1321
+
1322
+ /*********************************************************************************/
1323
+ /* Sidebar */
1324
+ /*********************************************************************************/
1325
+
1326
+ #sidebar
1327
+ {
1328
+ position: absolute;
1329
+ top: 0;
1330
+ padding: 1em 1.35em 1em 1.15em;
1331
+ width: 275px; /* = whatever you want */
1332
+ background: #364050 url('images/bg01.png');
1333
+ box-shadow: inset -0.1em 0em 0.35em 0em rgba(0,0,0,0.15);
1334
+ }
1335
+
1336
+ body.left-sidebar #sidebar
1337
+ {
1338
+ left: 0;
1339
+ }
1340
+
1341
+ body.right-sidebar #sidebar
1342
+ {
1343
+ right: 0;
1344
+ }
1345
+
1346
+ /*********************************************************************************/
1347
+ /* Copyright */
1348
+ /*********************************************************************************/
1349
+
1350
+ #copyright
1351
+ {
1352
+ margin: 1em 0 0 0;
1353
+ text-align: center;
1354
+ }
1355
+
1356
+ #copyright p
1357
+ {
1358
+ font-size: 0.8em;
1359
+ line-height: 2em;
1360
+ }
1361
+
1362
+ #copyright:before
1363
+ {
1364
+ height: 0.5em;
1365
+ margin: 0 0 1em 0;
1366
+ }
1367
+
1368
+ }
1369
+
1370
+ /***************************************/
1371
+ /***************************************/
1372
+ /* Custom modifications */
1373
+ /***************************************/
1374
+ /***************************************/
1375
+
1376
+ pre, code {
1377
+ font-family: monospace;
1378
+ }
1379
+
1380
+ pre {
1381
+ line-height: 1.25em;
1382
+ background: #efefef;
1383
+ color: #000;
1384
+ border: 1px solid #565656;
1385
+ border-top-color: #cbcbcb;
1386
+ border-left-color: #a5a5a5;
1387
+ border-right-color: #a5a5a5;
1388
+ border-radius: 0.4em;
1389
+ padding: 1em;
1390
+ margin: 0px;
1391
+ margin-bottom: 1em;
1392
+ overflow: auto;
1393
+ font-size: 90%;
1394
+ }
1395
+
1396
+ .CodeRay span.insert, .CodeRay span.change, .CodeRay span.delete {
1397
+ width: auto;
1398
+ }
1399
+
1400
+ /* http://www.andrewthorp.com/posts/github-theme-for-coderay */
1401
+ .CodeRay {
1402
+ background-color: #efefef;
1403
+ font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
1404
+ color: #000;
1405
+ }
1406
+
1407
+ div.CodeRay { }
1408
+ span.CodeRay { white-space: pre; border: 0px; padding: 2px }
1409
+
1410
+ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
1411
+ table.CodeRay td {
1412
+ padding: 1em 0.5em;
1413
+ vertical-align: top;
1414
+ }
1415
+
1416
+ .CodeRay .line-numbers, .CodeRay .no {
1417
+ background-color: #ECECEC;
1418
+ color: #AAA;
1419
+ text-align: right;
1420
+ }
1421
+
1422
+ .CodeRay .line-numbers a {
1423
+ color: #AAA;
1424
+ }
1425
+
1426
+ .CodeRay .line-numbers tt { font-weight: bold }
1427
+ .CodeRay .line-numbers .highlighted { color: red }
1428
+ .CodeRay .line { display: block; float: left; width: 100%; }
1429
+ .CodeRay span.line-numbers { padding: 0px 4px }
1430
+ .CodeRay .code { width: 100% }
1431
+
1432
+ ol.CodeRay { font-size: 10pt }
1433
+ ol.CodeRay li { white-space: pre }
1434
+
1435
+ .CodeRay .code pre { overflow: auto }
1436
+ .CodeRay .debug { color:white ! important; background:blue ! important; }
1437
+
1438
+ .CodeRay .annotation { color:#007 }
1439
+ .CodeRay .attribute-name { color:#f08 }
1440
+ .CodeRay .attribute-value { color:#700 }
1441
+ .CodeRay .binary { color:#509; font-weight:bold }
1442
+ .CodeRay .comment { color:#998; font-style: italic;}
1443
+ .CodeRay .char { color:#04D }
1444
+ .CodeRay .char .content { color:#04D }
1445
+ .CodeRay .char .delimiter { color:#039 }
1446
+ .CodeRay .class { color:#458; font-weight:bold }
1447
+ .CodeRay .complex { color:#A08; font-weight:bold }
1448
+ .CodeRay .constant { color:teal; }
1449
+ .CodeRay .color { color:#0A0 }
1450
+ .CodeRay .class-variable { color:#369 }
1451
+ .CodeRay .decorator { color:#B0B; }
1452
+ .CodeRay .definition { color:#099; font-weight:bold }
1453
+ .CodeRay .directive { color:#088; font-weight:bold }
1454
+ .CodeRay .delimiter { color:black }
1455
+ .CodeRay .doc { color:#970 }
1456
+ .CodeRay .doctype { color:#34b }
1457
+ .CodeRay .doc-string { color:#D42; font-weight:bold }
1458
+ .CodeRay .escape { color:#666; font-weight:bold }
1459
+ .CodeRay .entity { color:#800; font-weight:bold }
1460
+ .CodeRay .error { color:#F00; background-color:#FAA }
1461
+ .CodeRay .exception { color:#C00; font-weight:bold }
1462
+ .CodeRay .filename { color:#099; }
1463
+ .CodeRay .function { color:#900; font-weight:bold }
1464
+ .CodeRay .global-variable { color:teal; font-weight:bold }
1465
+ .CodeRay .hex { color:#058; font-weight:bold }
1466
+ .CodeRay .integer { color:#099; }
1467
+ .CodeRay .include { color:#B44; font-weight:bold }
1468
+ .CodeRay .inline { color: black }
1469
+ .CodeRay .inline .inline { background: #ccc }
1470
+ .CodeRay .inline .inline .inline { background: #bbb }
1471
+ .CodeRay .inline .inline-delimiter { color: #D14; }
1472
+ .CodeRay .inline-delimiter { color: #D14; }
1473
+ .CodeRay .important { color:#f00; }
1474
+ .CodeRay .interpreted { color:#B2B; font-weight:bold }
1475
+ .CodeRay .instance-variable { color:teal }
1476
+ .CodeRay .label { color:#970; font-weight:bold }
1477
+ .CodeRay .local-variable { color:#963 }
1478
+ .CodeRay .octal { color:#40E; font-weight:bold }
1479
+ .CodeRay .operator { }
1480
+ .CodeRay .predefined-constant { font-weight:bold }
1481
+ .CodeRay .predefined { color:#369; font-weight:bold }
1482
+ .CodeRay .preprocessor { color:#579; }
1483
+ .CodeRay .pseudo-class { color:#00C; font-weight:bold }
1484
+ .CodeRay .predefined-type { color:#074; font-weight:bold }
1485
+ .CodeRay .reserved, .keyword { color:#000; font-weight:bold }
1486
+
1487
+ .CodeRay .key { color: #808; }
1488
+ .CodeRay .key .delimiter { color: #606; }
1489
+ .CodeRay .key .char { color: #80f; }
1490
+ .CodeRay .value { color: #088; }
1491
+
1492
+ .CodeRay .regexp { background-color:#fff0ff }
1493
+ .CodeRay .regexp .content { color:#808 }
1494
+ .CodeRay .regexp .delimiter { color:#404 }
1495
+ .CodeRay .regexp .modifier { color:#C2C }
1496
+ .CodeRay .regexp .function { color:#404; font-weight: bold }
1497
+
1498
+ .CodeRay .string { color: #D20; }
1499
+ .CodeRay .string .string { }
1500
+ .CodeRay .string .string .string { background-color:#ffd0d0 }
1501
+ .CodeRay .string .content { color: #D14; }
1502
+ .CodeRay .string .char { color: #D14; }
1503
+ .CodeRay .string .delimiter { color: #D14; }
1504
+
1505
+ .CodeRay .shell { color:#D14 }
1506
+ .CodeRay .shell .content { }
1507
+ .CodeRay .shell .delimiter { color:#D14 }
1508
+
1509
+ .CodeRay .symbol { color:#990073 }
1510
+ .CodeRay .symbol .content { color:#A60 }
1511
+ .CodeRay .symbol .delimiter { color:#630 }
1512
+
1513
+ .CodeRay .tag { color:#070 }
1514
+ .CodeRay .tag-special { color:#D70; font-weight:bold }
1515
+ .CodeRay .type { color:#339; font-weight:bold }
1516
+ .CodeRay .variable { color:#036 }
1517
+
1518
+ .CodeRay .insert { background: #afa; }
1519
+ .CodeRay .delete { background: #faa; }
1520
+ .CodeRay .change { color: #aaf; background: #007; }
1521
+ .CodeRay .head { color: #f8f; background: #505 }
1522
+
1523
+ .CodeRay .insert .insert { color: #080; font-weight:bold }
1524
+ .CodeRay .delete .delete { color: #800; font-weight:bold }
1525
+ .CodeRay .change .change { color: #66f; }
1526
+ .CodeRay .head .head { color: #f4f; }
1527
+
1528
+
1529
+ /***************************************/
1530
+ /***************************************/
1531
+ /* Original file: style-narrow.css */
1532
+ /***************************************/
1533
+ /***************************************/
1534
+
1535
+ @media (min-width: 737px) {
1536
+
1537
+ /*********************************************************************************/
1538
+ /* Basic */
1539
+ /*********************************************************************************/
1540
+
1541
+ body
1542
+ {
1543
+ min-width: 1000px;
1544
+ }
1545
+
1546
+ body,input,textarea,select
1547
+ {
1548
+ font-size: 12pt;
1549
+ }
1550
+
1551
+ /* Box */
1552
+
1553
+ .box
1554
+ {
1555
+ }
1556
+
1557
+ .box.post
1558
+ {
1559
+ }
1560
+
1561
+ .box.post h2
1562
+ {
1563
+ font-size: 2.50em;
1564
+ line-height: 1.25em;
1565
+ }
1566
+
1567
+ .box.post h3
1568
+ {
1569
+ font-size: 1.50em;
1570
+ line-height: 1.25em;
1571
+ }
1572
+
1573
+ .box.post header
1574
+ {
1575
+ padding: 1.5em 0 0 0;
1576
+ margin: 0 0 3em 0;
1577
+ }
1578
+
1579
+ .box.post header > p
1580
+ {
1581
+ font-size: 1.75em;
1582
+ line-height: 1.5em;
1583
+ position: relative;
1584
+ top: -0.75em;
1585
+ margin-bottom: -0.75em;
1586
+ }
1587
+
1588
+ .box.post .info
1589
+ {
1590
+ width: 100%;
1591
+ padding: 1em 0 0 0;
1592
+ position: relative;
1593
+ top: -2em;
1594
+ }
1595
+
1596
+ .box.post .info .date
1597
+ {
1598
+ display: inline;
1599
+ }
1600
+
1601
+ .box.post .info .stats
1602
+ {
1603
+ display: inline;
1604
+ border-left: solid 1px #ddd;
1605
+ margin-left: 1em;
1606
+ padding-left: 1em;
1607
+ }
1608
+
1609
+ .box.post .info .stats li
1610
+ {
1611
+ display: inline-block;
1612
+ margin-left: 0.25em;
1613
+ }
1614
+
1615
+ .box.post .info .stats li a
1616
+ {
1617
+ display: inline-block;
1618
+ padding-right: 0.5em;
1619
+ }
1620
+
1621
+ .box.post .info .stats li a:before
1622
+ {
1623
+ position: relative;
1624
+ width: 1.75em;
1625
+ text-align: center;
1626
+ margin-right: 0.35em;
1627
+ opacity: 0.35;
1628
+ }
1629
+
1630
+ /*********************************************************************************/
1631
+ /* Content */
1632
+ /*********************************************************************************/
1633
+
1634
+ #content
1635
+ {
1636
+ padding: 2em 3em 6em 3em;
1637
+ }
1638
+
1639
+ body.left-sidebar #content
1640
+ {
1641
+ margin-left: 275px; /* 14em; /* = sidebar width */
1642
+ }
1643
+
1644
+ body.right-sidebar #content
1645
+ {
1646
+ margin-right: 275px; /* 14em; /* = sidebar width */
1647
+ }
1648
+
1649
+ }
1650
+
1651
+ /***************************************/
1652
+ /***************************************/
1653
+ /* Original file: style-narrower.css */
1654
+ /***************************************/
1655
+ /***************************************/
1656
+
1657
+ @media (min-width: 737px) and (max-width: 1000px) {
1658
+
1659
+ /*********************************************************************************/
1660
+ /* Basic */
1661
+ /*********************************************************************************/
1662
+
1663
+ body
1664
+ {
1665
+ min-width: 641px;
1666
+ }
1667
+
1668
+ body,input,textarea,select
1669
+ {
1670
+ font-size: 14pt;
1671
+ }
1672
+
1673
+ /*********************************************************************************/
1674
+ /* Logo */
1675
+ /*********************************************************************************/
1676
+
1677
+ #logo
1678
+ {
1679
+ display: none;
1680
+ }
1681
+
1682
+ /*********************************************************************************/
1683
+ /* Nav */
1684
+ /*********************************************************************************/
1685
+
1686
+ #nav
1687
+ {
1688
+ margin-top: 0 !important;
1689
+ }
1690
+
1691
+ #nav:before
1692
+ {
1693
+ display: none !important;
1694
+ }
1695
+
1696
+ #nav li:hover a
1697
+ {
1698
+ background: none;
1699
+ }
1700
+
1701
+ /*********************************************************************************/
1702
+ /* Content */
1703
+ /*********************************************************************************/
1704
+
1705
+ #content
1706
+ {
1707
+ margin-top: 44px;
1708
+ }
1709
+
1710
+ body.left-sidebar #content
1711
+ {
1712
+ margin-left: 0;
1713
+ }
1714
+
1715
+ body.right-sidebar #content
1716
+ {
1717
+ margin-right: 0;
1718
+ }
1719
+
1720
+ /*********************************************************************************/
1721
+ /* Sidebar */
1722
+ /*********************************************************************************/
1723
+
1724
+ #sidebar
1725
+ {
1726
+ width: auto;
1727
+ background: none;
1728
+ padding: 30px 20px 30px 20px;
1729
+ }
1730
+
1731
+ }
1732
+
1733
+
1734
+
1735
+ /***************************************/
1736
+ /***************************************/
1737
+ /* Original file: style-mobile.css */
1738
+ /***************************************/
1739
+ /***************************************/
1740
+
1741
+ @media (max-width: 736px) {
1742
+
1743
+
1744
+ /*********************************************************************************/
1745
+ /* Basic */
1746
+ /*********************************************************************************/
1747
+
1748
+ body,input,textarea,select
1749
+ {
1750
+ line-height: 1.75em;
1751
+ font-size: 11pt;
1752
+ letter-spacing: 0;
1753
+ }
1754
+
1755
+ h2, h3, h4, h5, h6
1756
+ {
1757
+ font-size: 1.5em;
1758
+ }
1759
+
1760
+ /* Section/Article */
1761
+
1762
+ section,
1763
+ article
1764
+ {
1765
+ clear: both;
1766
+ }
1767
+
1768
+ /* Button */
1769
+
1770
+ input[type="button"],
1771
+ input[type="submit"],
1772
+ input[type="reset"],
1773
+ .button
1774
+ {
1775
+ display: block;
1776
+ width: 100%;
1777
+ font-size: 1.25em;
1778
+ padding: 0.75em 0 0.75em 0;
1779
+ margin: 0.5em 0 0.5em 0;
1780
+ }
1781
+
1782
+ /* Pagination */
1783
+
1784
+ .pagination
1785
+ {
1786
+ }
1787
+
1788
+ .pagination .pages
1789
+ {
1790
+ display: none;
1791
+ }
1792
+
1793
+ /* Box */
1794
+
1795
+ .box
1796
+ {
1797
+ }
1798
+
1799
+ .box.post
1800
+ {
1801
+ padding-bottom: 5em;
1802
+ margin-bottom: 6em;
1803
+ }
1804
+
1805
+ .box.post header
1806
+ {
1807
+ }
1808
+
1809
+ .box.post header > p
1810
+ {
1811
+ font-size: 1em;
1812
+ font-family: 'Source Sans Pro', sans-serif;
1813
+ line-height: 1.5em;
1814
+ }
1815
+
1816
+ .box.post .info
1817
+ {
1818
+ width: 100%;
1819
+ position: absolute;
1820
+ bottom: 0;
1821
+ left: 0;
1822
+ border-top: solid 1px #ddd;
1823
+ padding-top: 0.5em;
1824
+ }
1825
+
1826
+ .box.post .info .date
1827
+ {
1828
+ display: inline;
1829
+ }
1830
+
1831
+ .box.post .info .date .year
1832
+ {
1833
+ display: none;
1834
+ }
1835
+
1836
+ .box.post .info .date .month span
1837
+ {
1838
+ display: none;
1839
+ }
1840
+
1841
+ .box.post .info .stats
1842
+ {
1843
+ display: inline;
1844
+ border-left: solid 1px #ddd;
1845
+ margin-left: 0.75em;
1846
+ padding-left: 0.75em;
1847
+ }
1848
+
1849
+ .box.post .info .stats li
1850
+ {
1851
+ display: inline-block;
1852
+ margin-right: 0.85em;
1853
+ }
1854
+
1855
+ .box.post .info .stats li a
1856
+ {
1857
+ display: inline-block;
1858
+ opacity: 0.5;
1859
+ }
1860
+
1861
+ .box.post .info .stats li a:before
1862
+ {
1863
+ position: relative;
1864
+ top: 0.1em;
1865
+ margin-right: 0.5em;
1866
+ opacity: 0.35;
1867
+ }
1868
+
1869
+ .box.post .info .stats li a:active
1870
+ {
1871
+ opacity: 1.0;
1872
+ }
1873
+
1874
+ /*********************************************************************************/
1875
+ /* Logo */
1876
+ /*********************************************************************************/
1877
+
1878
+ #logo
1879
+ {
1880
+ display: none;
1881
+ }
1882
+
1883
+ /*********************************************************************************/
1884
+ /* Nav */
1885
+ /*********************************************************************************/
1886
+
1887
+ #nav
1888
+ {
1889
+ margin-top: 0 !important;
1890
+ }
1891
+
1892
+ #nav:before
1893
+ {
1894
+ display: none !important;
1895
+ }
1896
+
1897
+ #nav li:hover a
1898
+ {
1899
+ background: none;
1900
+ }
1901
+
1902
+ /*********************************************************************************/
1903
+ /* Content */
1904
+ /*********************************************************************************/
1905
+
1906
+ #content
1907
+ {
1908
+ margin-top: 44px;
1909
+ padding: 3em 20px 2em 20px;
1910
+ }
1911
+
1912
+ /*********************************************************************************/
1913
+ /* Sidebar */
1914
+ /*********************************************************************************/
1915
+
1916
+ #sidebar
1917
+ {
1918
+ padding: 20px 12px 20px 10px;
1919
+ box-shadow: inset -1px 0 0 0 rgba(255,255,255,0.15), inset -0.1em 0 0.5em 0 rgba(0,0,0,0.25);
1920
+ }
1921
+
1922
+
1923
+ /*********************************************************************************/
1924
+ /* Copyright */
1925
+ /*********************************************************************************/
1926
+
1927
+ #copyright
1928
+ {
1929
+ margin: 1em 0 0 0;
1930
+ text-align: center;
1931
+ }
1932
+
1933
+ #copyright p
1934
+ {
1935
+ font-size: 0.9em;
1936
+ line-height: 2em;
1937
+ }
1938
+
1939
+ #copyright:before
1940
+ {
1941
+ height: 0.5em;
1942
+ margin: 0 0 1em 0;
1943
+ }
1944
+
1945
+ }
1946
+
1947
+ /***************************************/
1948
+ /***************************************/
1949
+ /* Original file: style-hiddensidebar.css */
1950
+ /***************************************/
1951
+ /***************************************/
1952
+
1953
+ @media (max-width: 1000px) {
1954
+
1955
+ #titleBar {
1956
+ display: block;
1957
+ }
1958
+
1959
+ #sidebar {
1960
+ background: #364050 url('images/bg01.png');
1961
+ width: 275px;
1962
+ position: absolute;
1963
+ top: 0px;
1964
+ left: 0px;
1965
+ z-index: 0;
1966
+ display: none;
1967
+ }
1968
+ #titleBar {
1969
+ z-index: 2;
1970
+ }
1971
+ #content {
1972
+ z-index: 1;
1973
+ }
1974
+ #sidebar-hide {
1975
+ display: none;
1976
+ }
1977
+ #titleBar:target ~ #sidebar {
1978
+ display: initial;
1979
+ }
1980
+ #titleBar:target ~ #content {
1981
+ left: 275px;
1982
+ }
1983
+ #titleBar:target > #sidebar-hide {
1984
+ display: initial;
1985
+ }
1986
+
1987
+ }