xonecas.io
2495
Xg

xonecas.github.com / commit 595c9d6

new post and custom theme

xonecas2013-03-20 595c9d64ae672302d95c8b24b33f65f3bd2e355e parent 16bd230

14 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

_includes/sidebar.html+0−7
@@ -6,13 +6,6 @@
66 <a class="custom-font" href="/">Sean Caetano Martin</a>
77 </h1>
88 </p>
9-<ul class="nav nav-pills nav-stacked">
10- <li>
11- <a id="light-switch" href="#">
12- Flip the lights
13- </a>
14- </li>
15-</ul>
169 <h3>Recent</h3>
1710 <ul class="nav nav-pills nav-stacked">
1811 {% for post in site.posts %}
_layouts/default.html+3−1
@@ -3,11 +3,13 @@
33 <head>
44 <title>Sean Caetano Martin</title>
55 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6+ <meta charset="utf-8">
7+ <link href="/css/bootstrap.min.css" rel="stylesheet">
68 <link href="/css/bootstrap-responsive.min.css" rel="stylesheet">
79 <link href="/css/styles.css" rel="stylesheet">
810 </head>
911 <body style="display: none;">
10- <div class="container">
12+ <div class="container-fluid">
1113 <div class="row-fluid">
1214 <div class="span3">
1315 {% include sidebar.html %}
_layouts/post.html+25−23
@@ -1,29 +1,31 @@
11 ---
22 layout: default
33 ---
4-{{ content }}
5-<div id="disqus_thread"></div>
6-<script type="text/javascript">
7- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
8- var disqus_shortname = 'xonecas'; // required: replace example with your forum shortname
4+<div class="post">
5+ {{ content }}
6+ <div id="disqus_thread"></div>
7+ <script type="text/javascript">
8+ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
9+ var disqus_shortname = 'xonecas'; // required: replace example with your forum shortname
910
10- /* * * DON'T EDIT BELOW THIS LINE * * */
11- (function() {
12- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
13- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
14- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
15- })();
16-</script>
17-<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
18-<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
19-<h3>Related</h3>
20-<div class="row-fluid">
21- {% for post in site.related_posts limit:3 %}
22- <div class="span4">
23- <a href="{{ post.url }}">
24- {{ post.title }}
25- <small>{{ post.date | date_to_string }}</small>
26- </a>
11+ /* * * DON'T EDIT BELOW THIS LINE * * */
12+ (function() {
13+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
14+ dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
15+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
16+ })();
17+ </script>
18+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
19+ <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
20+ <h3>Related</h3>
21+ <div class="row-fluid">
22+ {% for post in site.related_posts limit:3 %}
23+ <div class="span4">
24+ <a href="{{ post.url }}">
25+ {{ post.title }}
26+ <small>{{ post.date | date_to_string }}</small>
27+ </a>
28+ </div>
29+ {% endfor %}
2730 </div>
28- {% endfor %}
2931 </div>
_posts/2011-09-19-binary-search-twitter-size.markdown+2−0
@@ -5,6 +5,8 @@ layout: post
55 Binary Search, Twitter size
66 ---------------------------
77
8+San Jose, Aug 20, 2011
9+
810 `function f(a,v,l,h){var m;return hv ? f(a,v,l, m-1): a[m] &lt; v ? f(a,v,m+1,h): m; }`
911
1012 And it works too!
_posts/2013-03-20-my-vimrc.markdown+101−0
@@ -0,0 +1,101 @@
1+---
2+layout: post
3+---
4+
5+My current vim setup!
6+---------------------
7+
8+Sunnyvale, March 20, 2013
9+
10+I just tweaked my vim quite a bit. I have a 2 goals:
11+
12+ + Adapt to different settings and environments.
13+ + Easy to toggle light/dark backgrounds and colorschemes.
14+
15+I think I got it pretty close:
16+
17+{% highlight vim %}
18+ filetype off
19+ call pathogen#infect()
20+ syntax on
21+ filetype plugin indent on
22+ set nocompatible
23+ set modelines=0
24+ set encoding=utf-8
25+ set relativenumber
26+ set guioptions=
27+ set directory^=~/.vswap
28+ set ruler
29+ set cursorline
30+ set visualbell t_vb=
31+ set incsearch
32+ set smartcase
33+ set smartindent
34+ set autoindent
35+ set expandtab
36+ set smarttab
37+ set tabstop=4
38+ set shiftwidth=4
39+ set list
40+ set listchars=tab:▸\ ,eol:¬,trail:⋅,extends:❯,precedes:❮
41+ set showbreak=↪
42+ set noesckeys
43+ set laststatus=2 " Always show the statusline
44+ set guifont=Menlo:h10
45+ " === functions and mappings
46+ " change background color
47+ function! ToggleBg()
48+ if &background == "light"
49+ set background=dark
50+ else
51+ set background=light
52+ endif
53+ endfunction
54+ " switch schemes randomly from the list
55+ function! ToggleScheme()
56+ let schemes = 'hemisu shiny-ninja'
57+ let seconds = str2nr(strftime('%S'))
58+ " number needs to match the schemes count
59+ execute 'colorscheme '.split(schemes)[seconds%2]
60+ redraw
61+ endfunction
62+ " === custom commands
63+ command! ToggleBg :call ToggleBg()
64+ command! ToggleScheme :call ToggleScheme()
65+ " === extra mappings
66+ map <leader>x :ToggleBg<CR>
67+ map <leader>c :ToggleScheme<CR>
68+ map <leader>n :NERDTreeToggle<CR>
69+ map <leader>] :tabnext<CR>
70+ map <leader>[ :tabprevious<CR>
71+ " === config vars ===
72+ let g:indent_guides_guide_size = 1
73+ " === colors ===
74+ set background=dark
75+ call ToggleScheme()
76+ " === terminal mode ===
77+ if !has('gui_running')
78+ set listchars=tab:▸\ ,eol:¬,trail:⋅
79+ set background=dark
80+ " nocto adapts to the term env.
81+ colorscheme noctu
82+ if &term =~ "xterm"
83+ set t_Co=256
84+ if has("terminfo")
85+ let &t_Sf=nr2char(27).'[3%p1%dm'
86+ let &t_Sb=nr2char(27).'[4%p1%dm'
87+ else
88+ let &t_Sf=nr2char(27).'[3%dm'
89+ let &t_Sb=nr2char(27).'[4%dm'
90+ endif
91+ endif
92+ endif
93+ " === auto commands ===
94+ au BufNewFile,BufRead *.jsm set filetype=javascript
95+{% endhighlight %}
96+
97+Here is a list of dependencies to reproduce this setup:
98+ + [vimrc](/assets/vimrc)
99+ + [shiny-ninja](/assets/shiny-ninja.vim)
100+ + [hemisu](https://github.com/noahfrederick/Hemisu)
101+ + [noctu](https://github.com/noahfrederick/vim-noctu)
assets/shiny-ninja.vim+207−0
@@ -0,0 +1,207 @@
1+" shiny-ninja.vim - Vim color scheme
2+" ----------------------------------------------------------
3+" Author: Sean Caetano Martin (@xonecas)
4+" Noah Frederick (http://noahfrederick.com/) (creatd hemisu)
5+" Version: 1.0.0
6+" License: Creative Commons Attribution-NonCommercial
7+" 3.0 Unported License (see README.md)
8+" Notes: This is a modified version of hemisu!
9+" ----------------------------------------------------------
10+
11+" Setup ----------------------------------------------------{{{
12+" Reset syntax highlighting
13+hi clear
14+if exists("syntax_on")
15+ syntax reset
16+endif
17+
18+" Declare theme name
19+let g:colors_name="shiny-ninja"
20+
21+"}}}
22+" The Colors -----------------------------------------------{{{
23+" Define reusable colors
24+let s:black= { "gui": "#080808", "cterm": "232" }
25+let s:white= { "gui": "#eeeeee", "cterm": "255" }
26+let s:almostWhite= { "gui": "#dadada", "cterm": "253" }
27+let s:almostBlack= { "gui": "#121212", "cterm": "233" }
28+let s:middleDarkGrey= { "gui": "#606060", "cterm": "241" }
29+let s:middleLightGrey= { "gui": "#999999", "cterm": "246" }
30+let s:lightGrey= { "gui": "#b2b2b2", "cterm": "249" }
31+let s:darkGrey= { "gui": "#444444", "cterm": "238" }
32+
33+let s:darkSea= { "gui": "#0000d7", "cterm": "20" }
34+let s:middleDarkSea= { "gui": "#005fd7", "cterm": "26" }
35+let s:middleLightSea= { "gui": "#0087d7", "cterm": "32" }
36+let s:lightSea= { "gui": "#00d7d7", "cterm": "38" }
37+
38+let s:darkSky= { "gui": "#0000ff", "cterm": "21" }
39+let s:middleDarkSky= { "gui": "#005fff", "cterm": "27" }
40+let s:middleLightSky= { "gui": "#0087ff", "cterm": "33" }
41+let s:lightSky= { "gui": "#00afff", "cterm": "39" }
42+
43+let s:darkPurple= { "gui": "#8700d7", "cterm": "92" }
44+let s:middleDarkPurple= { "gui": "#875fd7", "cterm": "98" }
45+let s:middleLightPurple={ "gui": "#8787d7", "cterm": "104" }
46+let s:lightPurple= { "gui": "#87afd7", "cterm": "110" }
47+
48+let s:darkRed= { "gui": "#800000", "cterm": "1" }
49+let s:lightRed= { "gui": "#ff0000", "cterm": "9" }
50+
51+" Assign to semantic categories based on background color
52+if &background=="dark"
53+ " Dark theme
54+ let s:bg=s:black
55+ let s:norm=s:almostWhite
56+ let s:comment=s:middleDarkGrey
57+ let s:dimmed=s:middleLightGrey
58+ let s:subtle=s:darkGrey
59+ let s:faint=s:almostBlack
60+ let s:accent1=s:middleLightSky
61+ let s:accent2=s:middleLightPurple
62+ let s:accent3=s:lightPurple
63+ let s:accent4=s:lightRed
64+ let s:normRed=s:middleLightSea
65+ let s:normPurple=s:middleLightPurple
66+ let s:normSky=s:middleLightSky
67+ let s:faintRed=s:darkSea
68+ let s:faintPurple=s:darkPurple
69+ let s:faintSky=s:darkSky
70+else
71+ " Light theme
72+ let s:bg=s:white
73+ let s:norm=s:almostBlack
74+ let s:comment=s:middleLightGrey
75+ let s:dimmed=s:middleDarkGrey
76+ let s:subtle=s:lightGrey
77+ let s:faint=s:almostWhite
78+ let s:accent1=s:middleDarkSky
79+ let s:accent2=s:middleDarkPurple
80+ let s:accent3=s:middleDarkSea
81+ let s:accent4=s:darkRed
82+ let s:normRed=s:middleDarkSea
83+ let s:normPurple=s:middleDarkPurple
84+ let s:normSky=s:middleDarkSky
85+ let s:faintRed=s:lightSea
86+ let s:faintPurple=s:lightPurple
87+ let s:faintSky=s:lightSky
88+endif
89+
90+"}}}
91+" Utilility Function ---------------------------------------{{{
92+function! s:h(group, style)
93+ execute "highlight" a:group
94+ \ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
95+ \ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
96+ \ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
97+ \ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE")
98+ \ "ctermfg=" (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
99+ \ "ctermbg=" (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
100+ \ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
101+endfunction
102+
103+"}}}
104+" Highlights - Vim >= 7 ------------------------------------{{{
105+if version >= 700
106+ call s:h("CursorLine", { "bg": s:faint })
107+ call s:h("MatchParen", { "fg": s:accent1, "bg": s:faint, "gui": "bold" })
108+ call s:h("Pmenu", { "bg": s:faint })
109+ call s:h("PmenuThumb", { "bg": s:norm })
110+ call s:h("PmenuSBar", { "bg": s:subtle })
111+ call s:h("PmenuSel", { "bg": s:faintSky })
112+ call s:h("ColorColumn", { "bg": s:faintRed })
113+ call s:h("SpellBad", { "sp": s:normRed, "gui": "undercurl" })
114+ call s:h("SpellCap", { "sp": s:accent1, "gui": "undercurl" })
115+ call s:h("SpellRare", { "sp": s:normPurple, "gui": "undercurl" })
116+ call s:h("SpellLocal", { "sp": s:accent4, "gui": "undercurl" })
117+ hi! link CursorColumn CursorLine
118+
119+ " Use background for cterm Spell*, which does not support undercurl
120+ execute "hi! SpellBad ctermbg=" s:faintRed.cterm
121+ execute "hi! SpellCap ctermbg=" s:faintSky.cterm
122+ execute "hi! SpellRare ctermbg=" s:faintPurple.cterm
123+ execute "hi! SpellLocal ctermbg=" s:faint.cterm
124+endif
125+
126+"}}}
127+" Highlights - UI ------------------------------------------{{{
128+call s:h("Normal", { "fg": s:norm, "bg": s:bg })
129+call s:h("NonText", { "fg": s:subtle })
130+call s:h("Cursor", { "fg": s:bg, "bg": s:accent3 })
131+call s:h("Visual", { "bg": s:faintSky })
132+call s:h("IncSearch", { "bg": s:faintSky })
133+call s:h("Search", { "bg": s:faintPurple })
134+call s:h("StatusLine", { "fg": s:norm, "bg": s:faint, "gui": "bold", "cterm": "bold" })
135+call s:h("StatusLineNC", { "fg": s:dimmed, "bg": s:faint })
136+call s:h("SignColumn", { "fg": s:norm })
137+call s:h("VertSplit", { "fg": s:subtle, "bg": s:faint })
138+call s:h("TabLine", { "fg": s:dimmed, "bg": s:faint })
139+call s:h("TabLineSel", { "gui": "bold", "cterm": "bold" })
140+call s:h("Folded", { "fg": s:comment, "bg": s:faint })
141+call s:h("Directory", { "fg": s:accent1 })
142+call s:h("Title", { "fg": s:accent4, "gui": "bold", "cterm": "bold" })
143+call s:h("ErrorMsg", { "bg": s:faintRed })
144+call s:h("DiffAdd", { "bg": s:faintPurple })
145+call s:h("DiffChange", { "bg": s:faintRed })
146+call s:h("DiffDelete", { "fg": s:normRed, "bg": s:faintRed })
147+call s:h("DiffText", { "bg": s:faintRed, "gui": "bold", "cterm": "bold" })
148+call s:h("User1", { "fg": s:bg, "bg": s:normPurple })
149+call s:h("User2", { "fg": s:bg, "bg": s:normRed })
150+call s:h("User3", { "fg": s:bg, "bg": s:normSky })
151+hi! link WildMenu IncSearch
152+hi! link FoldColumn SignColumn
153+hi! link WarningMsg ErrorMsg
154+hi! link MoreMsg Title
155+hi! link Question MoreMsg
156+hi! link ModeMsg MoreMsg
157+hi! link TabLineFill StatusLineNC
158+hi! link LineNr NonText
159+hi! link SpecialKey NonText
160+hi! clear Ignore
161+
162+"}}}
163+" Highlights - Generic Syntax ------------------------------{{{
164+call s:h("Delimiter", { "fg": s:dimmed })
165+call s:h("Comment", { "fg": s:comment, "gui": "italic" })
166+call s:h("Underlined", { "fg": s:accent1, "gui": "underline", "cterm": "underline" })
167+call s:h("Type", { "fg": s:accent3 })
168+call s:h("String", { "fg": s:accent2 })
169+call s:h("Keyword", { "fg": s:accent2, "gui": "bold", "cterm": "bold" })
170+call s:h("Todo", { "fg": s:normRed, "gui": "bold", "cterm": "bold" })
171+call s:h("Function", { "gui": "bold", "cterm": "bold" })
172+hi! link Identifier Function
173+hi! link Statement Type
174+hi! link Constant Directory
175+hi! link Number Constant
176+hi! link Special Constant
177+hi! link PreProc Constant
178+hi! link Error ErrorMsg
179+
180+"}}}
181+" Highlights - HTML ----------------------------------------{{{
182+hi! link htmlLink Underlined
183+hi! link htmlTag Type
184+hi! link htmlEndTag htmlTag
185+
186+"}}}
187+" Highlights - CSS -----------------------------------------{{{
188+hi! link cssBraces Delimiter
189+hi! link cssSelectorOp cssBraces
190+hi! link cssClassName Normal
191+
192+"}}}
193+" Highlights - Markdown ------------------------------------{{{
194+hi! link mkdListItem mkdDelimiter
195+
196+"}}}
197+" Highlights - Shell ---------------------------------------{{{
198+hi! link shOperator Delimiter
199+hi! link shCaseBar Delimiter
200+
201+"}}}
202+" Highlights - JavaScript ----------------------------------{{{
203+hi! link javaScriptValue Constant
204+hi! link javaScriptNull Constant
205+hi! link javaScriptBraces Normal
206+
207+"}}}
assets/vimrc+77−0
@@ -0,0 +1,77 @@
1+filetype off
2+call pathogen#infect()
3+syntax on
4+filetype plugin indent on
5+set nocompatible
6+set modelines=0
7+set encoding=utf-8
8+set relativenumber
9+set guioptions=
10+set directory^=~/.vswap
11+set ruler
12+set cursorline
13+set visualbell t_vb=
14+set incsearch
15+set smartcase
16+set smartindent
17+set autoindent
18+set expandtab
19+set smarttab
20+set tabstop=4
21+set shiftwidth=4
22+set list
23+set listchars=tab:▸\ ,eol:¬,trail:⋅,extends:❯,precedes:❮
24+set showbreak=↪
25+set noesckeys
26+set laststatus=2 " Always show the statusline
27+set guifont=Menlo:h10
28+" === functions and mappings
29+" change background color
30+function! ToggleBg()
31+ if &background == "light"
32+ set background=dark
33+ else
34+ set background=light
35+ endif
36+endfunction
37+" switch schemes randomly from the list
38+function! ToggleScheme()
39+ let schemes = 'hemisu shiny-ninja'
40+ let seconds = str2nr(strftime('%S'))
41+ " number needs to match the schemes count
42+ execute 'colorscheme '.split(schemes)[seconds%2]
43+ redraw
44+endfunction
45+" === custom commands
46+command! ToggleBg :call ToggleBg()
47+command! ToggleScheme :call ToggleScheme()
48+" === extra mappings
49+map <leader>x :ToggleBg<CR>
50+map <leader>c :ToggleScheme<CR>
51+map <leader>n :NERDTreeToggle<CR>
52+map <leader>] :tabnext<CR>
53+map <leader>[ :tabprevious<CR>
54+" === config vars ===
55+let g:indent_guides_guide_size = 1
56+" === colors ===
57+set background=dark
58+call ToggleScheme()
59+" === terminal mode ===
60+if !has('gui_running')
61+ set listchars=tab:▸\ ,eol:¬,trail:⋅
62+ set background=dark
63+ " nocto adapts to the term env.
64+ colorscheme noctu
65+ if &term =~ "xterm"
66+ set t_Co=256
67+ if has("terminfo")
68+ let &t_Sf=nr2char(27).'[3%p1%dm'
69+ let &t_Sb=nr2char(27).'[4%p1%dm'
70+ else
71+ let &t_Sf=nr2char(27).'[3%dm'
72+ let &t_Sb=nr2char(27).'[4%dm'
73+ endif
74+ endif
75+endif
76+" === auto commands ===
77+au BufNewFile,BufRead *.jsm set filetype=javascript
css/bootstrap-responsive.css+1−1
@@ -1,5 +1,5 @@
11 /*!
2- * Bootstrap Responsive v2.3.0
2+ * Bootstrap Responsive v2.3.1
33 *
44 * Copyright 2012 Twitter, Inc
55 * Licensed under the Apache License v2.0
css/bootstrap-responsive.min.css+1−1
@@ -1,5 +1,5 @@
11 /*!
2- * Bootstrap Responsive v2.3.0
2+ * Bootstrap Responsive v2.3.1
33 *
44 * Copyright 2012 Twitter, Inc
55 * Licensed under the Apache License v2.0
css/bootstrap.css+6158−0
@@ -0,0 +1,6158 @@
1+/*!
2+ * Bootstrap v2.3.1
3+ *
4+ * Copyright 2012 Twitter, Inc
5+ * Licensed under the Apache License v2.0
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ *
8+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9+ */
10+
11+.clearfix {
12+ *zoom: 1;
13+}
14+
15+.clearfix:before,
16+.clearfix:after {
17+ display: table;
18+ line-height: 0;
19+ content: "";
20+}
21+
22+.clearfix:after {
23+ clear: both;
24+}
25+
26+.hide-text {
27+ font: 0/0 a;
28+ color: transparent;
29+ text-shadow: none;
30+ background-color: transparent;
31+ border: 0;
32+}
33+
34+.input-block-level {
35+ display: block;
36+ width: 100%;
37+ min-height: 30px;
38+ -webkit-box-sizing: border-box;
39+ -moz-box-sizing: border-box;
40+ box-sizing: border-box;
41+}
42+
43+article,
44+aside,
45+details,
46+figcaption,
47+figure,
48+footer,
49+header,
50+hgroup,
51+nav,
52+section {
53+ display: block;
54+}
55+
56+audio,
57+canvas,
58+video {
59+ display: inline-block;
60+ *display: inline;
61+ *zoom: 1;
62+}
63+
64+audio:not([controls]) {
65+ display: none;
66+}
67+
68+html {
69+ font-size: 100%;
70+ -webkit-text-size-adjust: 100%;
71+ -ms-text-size-adjust: 100%;
72+}
73+
74+a:focus {
75+ outline: thin dotted #333;
76+ outline: 5px auto -webkit-focus-ring-color;
77+ outline-offset: -2px;
78+}
79+
80+a:hover,
81+a:active {
82+ outline: 0;
83+}
84+
85+sub,
86+sup {
87+ position: relative;
88+ font-size: 75%;
89+ line-height: 0;
90+ vertical-align: baseline;
91+}
92+
93+sup {
94+ top: -0.5em;
95+}
96+
97+sub {
98+ bottom: -0.25em;
99+}
100+
101+img {
102+ width: auto\9;
103+ height: auto;
104+ max-width: 100%;
105+ vertical-align: middle;
106+ border: 0;
107+ -ms-interpolation-mode: bicubic;
108+}
109+
110+#map_canvas img,
111+.google-maps img {
112+ max-width: none;
113+}
114+
115+button,
116+input,
117+select,
118+textarea {
119+ margin: 0;
120+ font-size: 100%;
121+ vertical-align: middle;
122+}
123+
124+button,
125+input {
126+ *overflow: visible;
127+ line-height: normal;
128+}
129+
130+button::-moz-focus-inner,
131+input::-moz-focus-inner {
132+ padding: 0;
133+ border: 0;
134+}
135+
136+button,
137+html input[type="button"],
138+input[type="reset"],
139+input[type="submit"] {
140+ cursor: pointer;
141+ -webkit-appearance: button;
142+}
143+
144+label,
145+select,
146+button,
147+input[type="button"],
148+input[type="reset"],
149+input[type="submit"],
150+input[type="radio"],
151+input[type="checkbox"] {
152+ cursor: pointer;
153+}
154+
155+input[type="search"] {
156+ -webkit-box-sizing: content-box;
157+ -moz-box-sizing: content-box;
158+ box-sizing: content-box;
159+ -webkit-appearance: textfield;
160+}
161+
162+input[type="search"]::-webkit-search-decoration,
163+input[type="search"]::-webkit-search-cancel-button {
164+ -webkit-appearance: none;
165+}
166+
167+textarea {
168+ overflow: auto;
169+ vertical-align: top;
170+}
171+
172+@media print {
173+ * {
174+ color: #000 !important;
175+ text-shadow: none !important;
176+ background: transparent !important;
177+ box-shadow: none !important;
178+ }
179+ a,
180+ a:visited {
181+ text-decoration: underline;
182+ }
183+ a[href]:after {
184+ content: " (" attr(href) ")";
185+ }
186+ abbr[title]:after {
187+ content: " (" attr(title) ")";
188+ }
189+ .ir a:after,
190+ a[href^="javascript:"]:after,
191+ a[href^="#"]:after {
192+ content: "";
193+ }
194+ pre,
195+ blockquote {
196+ border: 1px solid #999;
197+ page-break-inside: avoid;
198+ }
199+ thead {
200+ display: table-header-group;
201+ }
202+ tr,
203+ img {
204+ page-break-inside: avoid;
205+ }
206+ img {
207+ max-width: 100% !important;
208+ }
209+ @page {
210+ margin: 0.5cm;
211+ }
212+ p,
213+ h2,
214+ h3 {
215+ orphans: 3;
216+ widows: 3;
217+ }
218+ h2,
219+ h3 {
220+ page-break-after: avoid;
221+ }
222+}
223+
224+body {
225+ margin: 0;
226+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
227+ font-size: 14px;
228+ line-height: 20px;
229+ color: #000000;
230+ background-color: #ffffff;
231+}
232+
233+a {
234+ color: #555555;
235+ text-decoration: none;
236+}
237+
238+a:hover,
239+a:focus {
240+ color: #2f2f2f;
241+ text-decoration: underline;
242+}
243+
244+.img-rounded {
245+ -webkit-border-radius: 6px;
246+ -moz-border-radius: 6px;
247+ border-radius: 6px;
248+}
249+
250+.img-polaroid {
251+ padding: 4px;
252+ background-color: #fff;
253+ border: 1px solid #ccc;
254+ border: 1px solid rgba(0, 0, 0, 0.2);
255+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
256+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
257+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
258+}
259+
260+.img-circle {
261+ -webkit-border-radius: 500px;
262+ -moz-border-radius: 500px;
263+ border-radius: 500px;
264+}
265+
266+.row {
267+ margin-left: -20px;
268+ *zoom: 1;
269+}
270+
271+.row:before,
272+.row:after {
273+ display: table;
274+ line-height: 0;
275+ content: "";
276+}
277+
278+.row:after {
279+ clear: both;
280+}
281+
282+[class*="span"] {
283+ float: left;
284+ min-height: 1px;
285+ margin-left: 20px;
286+}
287+
288+.container,
289+.navbar-static-top .container,
290+.navbar-fixed-top .container,
291+.navbar-fixed-bottom .container {
292+ width: 940px;
293+}
294+
295+.span12 {
296+ width: 940px;
297+}
298+
299+.span11 {
300+ width: 860px;
301+}
302+
303+.span10 {
304+ width: 780px;
305+}
306+
307+.span9 {
308+ width: 700px;
309+}
310+
311+.span8 {
312+ width: 620px;
313+}
314+
315+.span7 {
316+ width: 540px;
317+}
318+
319+.span6 {
320+ width: 460px;
321+}
322+
323+.span5 {
324+ width: 380px;
325+}
326+
327+.span4 {
328+ width: 300px;
329+}
330+
331+.span3 {
332+ width: 220px;
333+}
334+
335+.span2 {
336+ width: 140px;
337+}
338+
339+.span1 {
340+ width: 60px;
341+}
342+
343+.offset12 {
344+ margin-left: 980px;
345+}
346+
347+.offset11 {
348+ margin-left: 900px;
349+}
350+
351+.offset10 {
352+ margin-left: 820px;
353+}
354+
355+.offset9 {
356+ margin-left: 740px;
357+}
358+
359+.offset8 {
360+ margin-left: 660px;
361+}
362+
363+.offset7 {
364+ margin-left: 580px;
365+}
366+
367+.offset6 {
368+ margin-left: 500px;
369+}
370+
371+.offset5 {
372+ margin-left: 420px;
373+}
374+
375+.offset4 {
376+ margin-left: 340px;
377+}
378+
379+.offset3 {
380+ margin-left: 260px;
381+}
382+
383+.offset2 {
384+ margin-left: 180px;
385+}
386+
387+.offset1 {
388+ margin-left: 100px;
389+}
390+
391+.row-fluid {
392+ width: 100%;
393+ *zoom: 1;
394+}
395+
396+.row-fluid:before,
397+.row-fluid:after {
398+ display: table;
399+ line-height: 0;
400+ content: "";
401+}
402+
403+.row-fluid:after {
404+ clear: both;
405+}
406+
407+.row-fluid [class*="span"] {
408+ display: block;
409+ float: left;
410+ width: 100%;
411+ min-height: 30px;
412+ margin-left: 2.127659574468085%;
413+ *margin-left: 2.074468085106383%;
414+ -webkit-box-sizing: border-box;
415+ -moz-box-sizing: border-box;
416+ box-sizing: border-box;
417+}
418+
419+.row-fluid [class*="span"]:first-child {
420+ margin-left: 0;
421+}
422+
423+.row-fluid .controls-row [class*="span"] + [class*="span"] {
424+ margin-left: 2.127659574468085%;
425+}
426+
427+.row-fluid .span12 {
428+ width: 100%;
429+ *width: 99.94680851063829%;
430+}
431+
432+.row-fluid .span11 {
433+ width: 91.48936170212765%;
434+ *width: 91.43617021276594%;
435+}
436+
437+.row-fluid .span10 {
438+ width: 82.97872340425532%;
439+ *width: 82.92553191489361%;
440+}
441+
442+.row-fluid .span9 {
443+ width: 74.46808510638297%;
444+ *width: 74.41489361702126%;
445+}
446+
447+.row-fluid .span8 {
448+ width: 65.95744680851064%;
449+ *width: 65.90425531914893%;
450+}
451+
452+.row-fluid .span7 {
453+ width: 57.44680851063829%;
454+ *width: 57.39361702127659%;
455+}
456+
457+.row-fluid .span6 {
458+ width: 48.93617021276595%;
459+ *width: 48.88297872340425%;
460+}
461+
462+.row-fluid .span5 {
463+ width: 40.42553191489362%;
464+ *width: 40.37234042553192%;
465+}
466+
467+.row-fluid .span4 {
468+ width: 31.914893617021278%;
469+ *width: 31.861702127659576%;
470+}
471+
472+.row-fluid .span3 {
473+ width: 23.404255319148934%;
474+ *width: 23.351063829787233%;
475+}
476+
477+.row-fluid .span2 {
478+ width: 14.893617021276595%;
479+ *width: 14.840425531914894%;
480+}
481+
482+.row-fluid .span1 {
483+ width: 6.382978723404255%;
484+ *width: 6.329787234042553%;
485+}
486+
487+.row-fluid .offset12 {
488+ margin-left: 104.25531914893617%;
489+ *margin-left: 104.14893617021275%;
490+}
491+
492+.row-fluid .offset12:first-child {
493+ margin-left: 102.12765957446808%;
494+ *margin-left: 102.02127659574467%;
495+}
496+
497+.row-fluid .offset11 {
498+ margin-left: 95.74468085106382%;
499+ *margin-left: 95.6382978723404%;
500+}
501+
502+.row-fluid .offset11:first-child {
503+ margin-left: 93.61702127659574%;
504+ *margin-left: 93.51063829787232%;
Cut short: this commit's diff is over 1000 lines.
css/bootstrap.min.css+9−0
Cut short: this commit's diff is over 1000 lines.
css/styles.css+67−0
Cut short: this commit's diff is over 1000 lines.
index.html+7−7
Cut short: this commit's diff is over 1000 lines.
js/script.js+8−8
Cut short: this commit's diff is over 1000 lines.