rails_apps_pages 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +26 -0
- data/README.textile +4 -2
- data/lib/generators/theme/bare/bare_generator.rb +1 -1
- data/lib/generators/theme/bare/templates/{index.html.erb → index.html} +0 -0
- data/lib/generators/theme/blog_home/blog_home_generator.rb +18 -0
- data/lib/generators/theme/blog_home/templates/blog-home.css +9 -0
- data/lib/generators/theme/blog_home/templates/blogpost.html +170 -0
- data/lib/generators/theme/blog_home/templates/index.html +150 -0
- data/lib/generators/theme/business_casual/business_casual_generator.rb +24 -0
- data/lib/generators/theme/business_casual/templates/_navigation.html.erb +24 -0
- data/lib/generators/theme/business_casual/templates/_navigation_links.html.erb +13 -0
- data/lib/generators/theme/business_casual/templates/about.html +61 -0
- data/lib/generators/theme/business_casual/templates/application.html.erb +19 -0
- data/lib/generators/theme/business_casual/templates/blog.html +59 -0
- data/lib/generators/theme/business_casual/templates/business-casual.css +192 -0
- data/lib/generators/theme/business_casual/templates/contact.html +76 -0
- data/lib/generators/theme/business_casual/templates/footer.html +10 -0
- data/lib/generators/theme/business_casual/templates/index.html +95 -0
- data/lib/generators/theme/business_frontpage/business_frontpage_generator.rb +17 -0
- data/lib/generators/theme/business_frontpage/templates/business-frontpage.css +31 -0
- data/lib/generators/theme/business_frontpage/templates/index.html +78 -0
- data/lib/generators/theme/clean_blog/clean_blog_generator.rb +24 -0
- data/lib/generators/theme/clean_blog/templates/_navigation.html.erb +24 -0
- data/lib/generators/theme/clean_blog/templates/_navigation_links.html.erb +13 -0
- data/lib/generators/theme/clean_blog/templates/about.html +27 -0
- data/lib/generators/theme/clean_blog/templates/application.html.erb +23 -0
- data/lib/generators/theme/clean_blog/templates/clean-blog.css +395 -0
- data/lib/generators/theme/clean_blog/templates/contact.html +64 -0
- data/lib/generators/theme/clean_blog/templates/footer.html +38 -0
- data/lib/generators/theme/clean_blog/templates/index.html +74 -0
- data/lib/generators/theme/clean_blog/templates/post.html +59 -0
- data/lib/generators/theme/four_col_portfolio/four_col_portfolio_generator.rb +17 -0
- data/lib/generators/theme/four_col_portfolio/templates/4-col-portfolio.css +13 -0
- data/lib/generators/theme/four_col_portfolio/templates/index.html +134 -0
- data/lib/generators/theme/full_width_pics/full_width_pics_generator.rb +18 -0
- data/lib/generators/theme/full_width_pics/templates/application.html.erb +18 -0
- data/lib/generators/theme/full_width_pics/templates/full-width-pics.css +60 -0
- data/lib/generators/theme/full_width_pics/templates/index.html +50 -0
- data/lib/generators/theme/heroic_features/heroic_features_generator.rb +17 -0
- data/lib/generators/theme/heroic_features/templates/heroic-features.css +17 -0
- data/lib/generators/theme/heroic_features/templates/index.html +92 -0
- data/lib/generators/theme/landing_page/landing_page_generator.rb +18 -0
- data/lib/generators/theme/landing_page/templates/application.html.erb +21 -0
- data/lib/generators/theme/landing_page/templates/index.html +189 -0
- data/lib/generators/theme/landing_page/templates/landing-page.css +170 -0
- data/lib/generators/theme/modern_business/modern_business_generator.rb +103 -0
- data/lib/generators/theme/modern_business/templates/404.html +98 -0
- data/lib/generators/theme/modern_business/templates/about.html +182 -0
- data/lib/generators/theme/modern_business/templates/application.html.erb +21 -0
- data/lib/generators/theme/modern_business/templates/blog-home-1.html +156 -0
- data/lib/generators/theme/modern_business/templates/blog-home-2.html +111 -0
- data/lib/generators/theme/modern_business/templates/blog-post.html +166 -0
- data/lib/generators/theme/modern_business/templates/contact.html +97 -0
- data/lib/generators/theme/modern_business/templates/faq.html +148 -0
- data/lib/generators/theme/modern_business/templates/footer.html +12 -0
- data/lib/generators/theme/modern_business/templates/full-width.html +28 -0
- data/lib/generators/theme/modern_business/templates/index.html +173 -0
- data/lib/generators/theme/modern_business/templates/modern-business.css +93 -0
- data/lib/generators/theme/modern_business/templates/portfolio-1-col.html +141 -0
- data/lib/generators/theme/modern_business/templates/portfolio-2-col.html +121 -0
- data/lib/generators/theme/modern_business/templates/portfolio-3-col.html +147 -0
- data/lib/generators/theme/modern_business/templates/portfolio-4-col.html +127 -0
- data/lib/generators/theme/modern_business/templates/portfolio-item.html +104 -0
- data/lib/generators/theme/modern_business/templates/pricing.html +85 -0
- data/lib/generators/theme/modern_business/templates/services.html +263 -0
- data/lib/generators/theme/modern_business/templates/sidebar.html +52 -0
- data/lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb +17 -0
- data/lib/generators/theme/one_col_portfolio/templates/1-col-portfolio.css +9 -0
- data/lib/generators/theme/one_col_portfolio/templates/index.html +149 -0
- data/lib/generators/theme/one_page_wonder/one_page_wonder_generator.rb +18 -0
- data/lib/generators/theme/one_page_wonder/templates/application.html.erb +18 -0
- data/lib/generators/theme/one_page_wonder/templates/index.html +91 -0
- data/lib/generators/theme/one_page_wonder/templates/one-page-wonder.css +174 -0
- data/lib/generators/theme/portfolio_item/portfolio_item_generator.rb +17 -0
- data/lib/generators/theme/portfolio_item/templates/index.html +83 -0
- data/lib/generators/theme/portfolio_item/templates/portfolio-item.css +13 -0
- data/lib/generators/theme/round_about/round_about_generator.rb +17 -0
- data/lib/generators/theme/round_about/templates/index.html +77 -0
- data/lib/generators/theme/round_about/templates/round-about.css +13 -0
- data/lib/generators/theme/shop_homepage/shop_homepage_generator.rb +17 -0
- data/lib/generators/theme/shop_homepage/templates/index.html +191 -0
- data/lib/generators/theme/shop_homepage/templates/shop-homepage.css +50 -0
- data/lib/generators/theme/shop_item/shop_item_generator.rb +17 -0
- data/lib/generators/theme/shop_item/templates/index.html +117 -0
- data/lib/generators/theme/shop_item/templates/shop-item.css +28 -0
- data/lib/generators/theme/simple_sidebar/simple_sidebar_generator.rb +17 -0
- data/lib/generators/theme/simple_sidebar/templates/index.html +60 -0
- data/lib/generators/theme/simple_sidebar/templates/simple-sidebar.css +125 -0
- data/lib/generators/theme/small_business/small_business_generator.rb +17 -0
- data/lib/generators/theme/small_business/templates/index.html +66 -0
- data/lib/generators/theme/small_business/templates/small-business.css +9 -0
- data/lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb +18 -0
- data/lib/generators/theme/stylish_portfolio/templates/application.html.erb +21 -0
- data/lib/generators/theme/stylish_portfolio/templates/index.html +261 -0
- data/lib/generators/theme/stylish_portfolio/templates/stylish-portfolio.css +239 -0
- data/lib/generators/theme/the_big_picture/templates/index.html +11 -0
- data/lib/generators/theme/the_big_picture/templates/the-big-picture.css +19 -0
- data/lib/generators/theme/the_big_picture/the_big_picture_generator.rb +19 -0
- data/lib/generators/theme/three_col_portfolio/templates/3-col-portfolio.css +13 -0
- data/lib/generators/theme/three_col_portfolio/templates/index.html +155 -0
- data/lib/generators/theme/three_col_portfolio/three_col_portfolio_generator.rb +17 -0
- data/lib/generators/theme/thumbnail_gallery/templates/index.html +84 -0
- data/lib/generators/theme/thumbnail_gallery/templates/thumbnail-gallery.css +13 -0
- data/lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb +17 -0
- data/lib/generators/theme/two_col_portfolio/templates/2-col-portfolio.css +13 -0
- data/lib/generators/theme/two_col_portfolio/templates/index.html +129 -0
- data/lib/generators/theme/two_col_portfolio/two_col_portfolio_generator.rb +17 -0
- data/lib/rails_apps_pages/version.rb +1 -1
- metadata +107 -4
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Theme
|
4
|
+
module Generators
|
5
|
+
class StylishPortfolioGenerator < ::Rails::Generators::Base
|
6
|
+
source_root File.expand_path("../templates", __FILE__)
|
7
|
+
|
8
|
+
desc "A Bootstrap HTML starter template (from startbootstrap.com)"
|
9
|
+
|
10
|
+
def create_page
|
11
|
+
copy_file 'application.html.erb', 'app/views/layouts/application.html.erb'
|
12
|
+
copy_file 'index.html', 'app/views/visitors/index.html.erb'
|
13
|
+
copy_file 'stylish-portfolio.css', 'app/assets/stylesheets/stylish-portfolio.css'
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
+
<title><%= content_for?(:title) ? yield(:title) : "My Application" %></title>
|
6
|
+
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "My Application" %>">
|
7
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
8
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
9
|
+
<%= csrf_meta_tags %>
|
10
|
+
<!-- Custom Fonts -->
|
11
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
12
|
+
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body>
|
15
|
+
<header>
|
16
|
+
<%= render 'layouts/navigation' unless current_page?(root_path) %>
|
17
|
+
</header>
|
18
|
+
<%= render 'layouts/messages' %>
|
19
|
+
<%= yield %>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1,261 @@
|
|
1
|
+
<!-- Navigation -->
|
2
|
+
<a id="menu-toggle" href="#" class="btn btn-dark btn-lg toggle"><i class="fa fa-bars"></i></a>
|
3
|
+
<nav id="sidebar-wrapper">
|
4
|
+
<ul class="sidebar-nav">
|
5
|
+
<a id="menu-close" href="#" class="btn btn-light btn-lg pull-right toggle"><i class="fa fa-times"></i></a>
|
6
|
+
<li class="sidebar-brand">
|
7
|
+
<a href="#top" onclick = $("#menu-close").click(); >Start Bootstrap</a>
|
8
|
+
</li>
|
9
|
+
<li>
|
10
|
+
<a href="#top" onclick = $("#menu-close").click(); >Home</a>
|
11
|
+
</li>
|
12
|
+
<li>
|
13
|
+
<a href="#about" onclick = $("#menu-close").click(); >About</a>
|
14
|
+
</li>
|
15
|
+
<li>
|
16
|
+
<a href="#services" onclick = $("#menu-close").click(); >Services</a>
|
17
|
+
</li>
|
18
|
+
<li>
|
19
|
+
<a href="#portfolio" onclick = $("#menu-close").click(); >Portfolio</a>
|
20
|
+
</li>
|
21
|
+
<li>
|
22
|
+
<a href="#contact" onclick = $("#menu-close").click(); >Contact</a>
|
23
|
+
</li>
|
24
|
+
</ul>
|
25
|
+
</nav>
|
26
|
+
|
27
|
+
<!-- Header -->
|
28
|
+
<header id="top" class="header">
|
29
|
+
<div class="text-vertical-center">
|
30
|
+
<h1>Start Bootstrap</h1>
|
31
|
+
<h3>Free Bootstrap Themes & Templates</h3>
|
32
|
+
<br>
|
33
|
+
<a href="#about" class="btn btn-dark btn-lg">Find Out More</a>
|
34
|
+
</div>
|
35
|
+
</header>
|
36
|
+
|
37
|
+
<!-- About -->
|
38
|
+
<section id="about" class="about">
|
39
|
+
<div class="container">
|
40
|
+
<div class="row">
|
41
|
+
<div class="col-lg-12 text-center">
|
42
|
+
<h2>Stylish Portfolio is the perfect theme for your next project!</h2>
|
43
|
+
<p class="lead">This theme features some wonderful photography courtesy of <a target="_blank" href="http://join.deathtothestockphoto.com/">Death to the Stock Photo</a>.</p>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<!-- /.row -->
|
47
|
+
</div>
|
48
|
+
<!-- /.container -->
|
49
|
+
</section>
|
50
|
+
|
51
|
+
<!-- Services -->
|
52
|
+
<!-- The circle icons use Font Awesome's stacked icon classes. For more information, visit http://fontawesome.io/examples/ -->
|
53
|
+
<section id="services" class="services bg-primary">
|
54
|
+
<div class="container">
|
55
|
+
<div class="row text-center">
|
56
|
+
<div class="col-lg-10 col-lg-offset-1">
|
57
|
+
<h2>Our Services</h2>
|
58
|
+
<hr class="small">
|
59
|
+
<div class="row">
|
60
|
+
<div class="col-md-3 col-sm-6">
|
61
|
+
<div class="service-item">
|
62
|
+
<span class="fa-stack fa-4x">
|
63
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
64
|
+
<i class="fa fa-cloud fa-stack-1x text-primary"></i>
|
65
|
+
</span>
|
66
|
+
<h4>
|
67
|
+
<strong>Service Name</strong>
|
68
|
+
</h4>
|
69
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
70
|
+
<a href="#" class="btn btn-light">Learn More</a>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
<div class="col-md-3 col-sm-6">
|
74
|
+
<div class="service-item">
|
75
|
+
<span class="fa-stack fa-4x">
|
76
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
77
|
+
<i class="fa fa-compass fa-stack-1x text-primary"></i>
|
78
|
+
</span>
|
79
|
+
<h4>
|
80
|
+
<strong>Service Name</strong>
|
81
|
+
</h4>
|
82
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
83
|
+
<a href="#" class="btn btn-light">Learn More</a>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
<div class="col-md-3 col-sm-6">
|
87
|
+
<div class="service-item">
|
88
|
+
<span class="fa-stack fa-4x">
|
89
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
90
|
+
<i class="fa fa-flask fa-stack-1x text-primary"></i>
|
91
|
+
</span>
|
92
|
+
<h4>
|
93
|
+
<strong>Service Name</strong>
|
94
|
+
</h4>
|
95
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
96
|
+
<a href="#" class="btn btn-light">Learn More</a>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
<div class="col-md-3 col-sm-6">
|
100
|
+
<div class="service-item">
|
101
|
+
<span class="fa-stack fa-4x">
|
102
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
103
|
+
<i class="fa fa-shield fa-stack-1x text-primary"></i>
|
104
|
+
</span>
|
105
|
+
<h4>
|
106
|
+
<strong>Service Name</strong>
|
107
|
+
</h4>
|
108
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
109
|
+
<a href="#" class="btn btn-light">Learn More</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
<!-- /.row (nested) -->
|
114
|
+
</div>
|
115
|
+
<!-- /.col-lg-10 -->
|
116
|
+
</div>
|
117
|
+
<!-- /.row -->
|
118
|
+
</div>
|
119
|
+
<!-- /.container -->
|
120
|
+
</section>
|
121
|
+
|
122
|
+
<!-- Callout -->
|
123
|
+
<aside class="callout">
|
124
|
+
<div class="text-vertical-center">
|
125
|
+
<h1>Vertically Centered Text</h1>
|
126
|
+
</div>
|
127
|
+
</aside>
|
128
|
+
|
129
|
+
<!-- Portfolio -->
|
130
|
+
<section id="portfolio" class="portfolio">
|
131
|
+
<div class="container">
|
132
|
+
<div class="row">
|
133
|
+
<div class="col-lg-10 col-lg-offset-1 text-center">
|
134
|
+
<h2>Our Work</h2>
|
135
|
+
<hr class="small">
|
136
|
+
<div class="row">
|
137
|
+
<div class="col-md-6">
|
138
|
+
<div class="portfolio-item">
|
139
|
+
<a href="#">
|
140
|
+
<img class="img-portfolio img-responsive" src="http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/portfolio-1.jpg">
|
141
|
+
</a>
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
<div class="col-md-6">
|
145
|
+
<div class="portfolio-item">
|
146
|
+
<a href="#">
|
147
|
+
<img class="img-portfolio img-responsive" src="http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/portfolio-2.jpg">
|
148
|
+
</a>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
<div class="col-md-6">
|
152
|
+
<div class="portfolio-item">
|
153
|
+
<a href="#">
|
154
|
+
<img class="img-portfolio img-responsive" src="http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/portfolio-3.jpg">
|
155
|
+
</a>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
<div class="col-md-6">
|
159
|
+
<div class="portfolio-item">
|
160
|
+
<a href="#">
|
161
|
+
<img class="img-portfolio img-responsive" src="http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/portfolio-4.jpg">
|
162
|
+
</a>
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
<!-- /.row (nested) -->
|
167
|
+
<a href="#" class="btn btn-dark">View More Items</a>
|
168
|
+
</div>
|
169
|
+
<!-- /.col-lg-10 -->
|
170
|
+
</div>
|
171
|
+
<!-- /.row -->
|
172
|
+
</div>
|
173
|
+
<!-- /.container -->
|
174
|
+
</section>
|
175
|
+
|
176
|
+
<!-- Call to Action -->
|
177
|
+
<aside class="call-to-action bg-primary">
|
178
|
+
<div class="container">
|
179
|
+
<div class="row">
|
180
|
+
<div class="col-lg-12 text-center">
|
181
|
+
<h3>The buttons below are impossible to resist.</h3>
|
182
|
+
<a href="#" class="btn btn-lg btn-light">Click Me!</a>
|
183
|
+
<a href="#" class="btn btn-lg btn-dark">Look at Me!</a>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
</aside>
|
188
|
+
|
189
|
+
<!-- Map -->
|
190
|
+
<section id="contact" class="map">
|
191
|
+
<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Twitter,+Inc.,+Market+Street,+San+Francisco,+CA&aq=0&oq=twitter&sll=28.659344,-81.187888&sspn=0.128789,0.264187&ie=UTF8&hq=Twitter,+Inc.,+Market+Street,+San+Francisco,+CA&t=m&z=15&iwloc=A&output=embed"></iframe>
|
192
|
+
<br />
|
193
|
+
<small>
|
194
|
+
<a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Twitter,+Inc.,+Market+Street,+San+Francisco,+CA&aq=0&oq=twitter&sll=28.659344,-81.187888&sspn=0.128789,0.264187&ie=UTF8&hq=Twitter,+Inc.,+Market+Street,+San+Francisco,+CA&t=m&z=15&iwloc=A"></a>
|
195
|
+
</small>
|
196
|
+
</iframe>
|
197
|
+
</section>
|
198
|
+
|
199
|
+
<!-- Footer -->
|
200
|
+
<footer>
|
201
|
+
<div class="container">
|
202
|
+
<div class="row">
|
203
|
+
<div class="col-lg-10 col-lg-offset-1 text-center">
|
204
|
+
<h4><strong>Start Bootstrap</strong>
|
205
|
+
</h4>
|
206
|
+
<p>3481 Melrose Place<br>Beverly Hills, CA 90210</p>
|
207
|
+
<ul class="list-unstyled">
|
208
|
+
<li><i class="fa fa-phone fa-fw"></i> (123) 456-7890</li>
|
209
|
+
<li><i class="fa fa-envelope-o fa-fw"></i> <a href="mailto:name@example.com">name@example.com</a>
|
210
|
+
</li>
|
211
|
+
</ul>
|
212
|
+
<br>
|
213
|
+
<ul class="list-inline">
|
214
|
+
<li>
|
215
|
+
<a href="#"><i class="fa fa-facebook fa-fw fa-3x"></i></a>
|
216
|
+
</li>
|
217
|
+
<li>
|
218
|
+
<a href="#"><i class="fa fa-twitter fa-fw fa-3x"></i></a>
|
219
|
+
</li>
|
220
|
+
<li>
|
221
|
+
<a href="#"><i class="fa fa-dribbble fa-fw fa-3x"></i></a>
|
222
|
+
</li>
|
223
|
+
</ul>
|
224
|
+
<hr class="small">
|
225
|
+
<p class="text-muted">Copyright © Your Website 2014</p>
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
</footer>
|
230
|
+
|
231
|
+
<!-- Custom Theme JavaScript -->
|
232
|
+
<script>
|
233
|
+
// Closes the sidebar menu
|
234
|
+
$("#menu-close").click(function(e) {
|
235
|
+
e.preventDefault();
|
236
|
+
$("#sidebar-wrapper").toggleClass("active");
|
237
|
+
});
|
238
|
+
|
239
|
+
// Opens the sidebar menu
|
240
|
+
$("#menu-toggle").click(function(e) {
|
241
|
+
e.preventDefault();
|
242
|
+
$("#sidebar-wrapper").toggleClass("active");
|
243
|
+
});
|
244
|
+
|
245
|
+
// Scrolls to the selected menu item on the page
|
246
|
+
$(function() {
|
247
|
+
$('a[href*=#]:not([href=#])').click(function() {
|
248
|
+
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') || location.hostname == this.hostname) {
|
249
|
+
|
250
|
+
var target = $(this.hash);
|
251
|
+
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
|
252
|
+
if (target.length) {
|
253
|
+
$('html,body').animate({
|
254
|
+
scrollTop: target.offset().top
|
255
|
+
}, 1000);
|
256
|
+
return false;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
});
|
260
|
+
});
|
261
|
+
</script>
|
@@ -0,0 +1,239 @@
|
|
1
|
+
/*!
|
2
|
+
* Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
|
3
|
+
* Code licensed under the Apache License v2.0.
|
4
|
+
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
|
5
|
+
*/
|
6
|
+
|
7
|
+
/* Global Styles */
|
8
|
+
|
9
|
+
html,
|
10
|
+
body {
|
11
|
+
width: 100%;
|
12
|
+
height: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
body {
|
16
|
+
font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
|
17
|
+
}
|
18
|
+
|
19
|
+
.text-vertical-center {
|
20
|
+
display: table-cell;
|
21
|
+
text-align: center;
|
22
|
+
vertical-align: middle;
|
23
|
+
}
|
24
|
+
|
25
|
+
.text-vertical-center h1 {
|
26
|
+
margin: 0;
|
27
|
+
padding: 0;
|
28
|
+
font-size: 4.5em;
|
29
|
+
font-weight: 700;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Custom Button Styles */
|
33
|
+
|
34
|
+
.btn-dark {
|
35
|
+
border-radius: 0;
|
36
|
+
color: #fff;
|
37
|
+
background-color: rgba(0,0,0,0.4);
|
38
|
+
}
|
39
|
+
|
40
|
+
.btn-dark:hover,
|
41
|
+
.btn-dark:focus,
|
42
|
+
.btn-dark:active {
|
43
|
+
color: #fff;
|
44
|
+
background-color: rgba(0,0,0,0.7);
|
45
|
+
}
|
46
|
+
|
47
|
+
.btn-light {
|
48
|
+
border-radius: 0;
|
49
|
+
color: #333;
|
50
|
+
background-color: rgb(255,255,255);
|
51
|
+
}
|
52
|
+
|
53
|
+
.btn-light:hover,
|
54
|
+
.btn-light:focus,
|
55
|
+
.btn-light:active {
|
56
|
+
color: #333;
|
57
|
+
background-color: rgba(255,255,255,0.8);
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Custom Horizontal Rule */
|
61
|
+
|
62
|
+
hr.small {
|
63
|
+
max-width: 100px;
|
64
|
+
}
|
65
|
+
|
66
|
+
/* Side Menu */
|
67
|
+
|
68
|
+
#sidebar-wrapper {
|
69
|
+
z-index: 1000;
|
70
|
+
position: fixed;
|
71
|
+
right: 0;
|
72
|
+
width: 250px;
|
73
|
+
height: 100%;
|
74
|
+
margin-right: -250px;
|
75
|
+
overflow-y: auto;
|
76
|
+
background: #222;
|
77
|
+
-webkit-transition: all 0.4s ease 0s;
|
78
|
+
-moz-transition: all 0.4s ease 0s;
|
79
|
+
-ms-transition: all 0.4s ease 0s;
|
80
|
+
-o-transition: all 0.4s ease 0s;
|
81
|
+
transition: all 0.4s ease 0s;
|
82
|
+
}
|
83
|
+
|
84
|
+
.sidebar-nav {
|
85
|
+
position: absolute;
|
86
|
+
top: 0;
|
87
|
+
width: 250px;
|
88
|
+
margin: 0;
|
89
|
+
padding: 0;
|
90
|
+
list-style: none;
|
91
|
+
}
|
92
|
+
|
93
|
+
.sidebar-nav li {
|
94
|
+
text-indent: 20px;
|
95
|
+
line-height: 40px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.sidebar-nav li a {
|
99
|
+
display: block;
|
100
|
+
text-decoration: none;
|
101
|
+
color: #999;
|
102
|
+
}
|
103
|
+
|
104
|
+
.sidebar-nav li a:hover {
|
105
|
+
text-decoration: none;
|
106
|
+
color: #fff;
|
107
|
+
background: rgba(255,255,255,0.2);
|
108
|
+
}
|
109
|
+
|
110
|
+
.sidebar-nav li a:active,
|
111
|
+
.sidebar-nav li a:focus {
|
112
|
+
text-decoration: none;
|
113
|
+
}
|
114
|
+
|
115
|
+
.sidebar-nav > .sidebar-brand {
|
116
|
+
height: 55px;
|
117
|
+
font-size: 18px;
|
118
|
+
line-height: 55px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.sidebar-nav > .sidebar-brand a {
|
122
|
+
color: #999;
|
123
|
+
}
|
124
|
+
|
125
|
+
.sidebar-nav > .sidebar-brand a:hover {
|
126
|
+
color: #fff;
|
127
|
+
background: none;
|
128
|
+
}
|
129
|
+
|
130
|
+
#menu-toggle {
|
131
|
+
z-index: 1;
|
132
|
+
position: fixed;
|
133
|
+
top: 0;
|
134
|
+
right: 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
#sidebar-wrapper.active {
|
138
|
+
right: 250px;
|
139
|
+
width: 250px;
|
140
|
+
-webkit-transition: all 0.4s ease 0s;
|
141
|
+
-moz-transition: all 0.4s ease 0s;
|
142
|
+
-ms-transition: all 0.4s ease 0s;
|
143
|
+
-o-transition: all 0.4s ease 0s;
|
144
|
+
transition: all 0.4s ease 0s;
|
145
|
+
}
|
146
|
+
|
147
|
+
.toggle {
|
148
|
+
margin: 5px 5px 0 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
/* Header */
|
152
|
+
|
153
|
+
.header {
|
154
|
+
display: table;
|
155
|
+
position: relative;
|
156
|
+
width: 100%;
|
157
|
+
height: 100%;
|
158
|
+
background: url(http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/bg.jpg) no-repeat center center scroll;
|
159
|
+
-webkit-background-size: cover;
|
160
|
+
-moz-background-size: cover;
|
161
|
+
background-size: cover;
|
162
|
+
-o-background-size: cover;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* About */
|
166
|
+
|
167
|
+
.about {
|
168
|
+
padding: 50px 0;
|
169
|
+
}
|
170
|
+
|
171
|
+
/* Services */
|
172
|
+
|
173
|
+
.services {
|
174
|
+
padding: 50px 0;
|
175
|
+
}
|
176
|
+
|
177
|
+
.service-item {
|
178
|
+
margin-bottom: 30px;
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Callout */
|
182
|
+
|
183
|
+
.callout {
|
184
|
+
display: table;
|
185
|
+
width: 100%;
|
186
|
+
height: 400px;
|
187
|
+
color: #fff;
|
188
|
+
background: url(http://ironsummitmedia.github.io/startbootstrap-stylish-portfolio/img/callout.jpg) no-repeat center center scroll;
|
189
|
+
-webkit-background-size: cover;
|
190
|
+
-moz-background-size: cover;
|
191
|
+
background-size: cover;
|
192
|
+
-o-background-size: cover;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* Portfolio */
|
196
|
+
|
197
|
+
.portfolio {
|
198
|
+
padding: 50px 0;
|
199
|
+
}
|
200
|
+
|
201
|
+
.portfolio-item {
|
202
|
+
margin-bottom: 30px;
|
203
|
+
}
|
204
|
+
|
205
|
+
.img-portfolio {
|
206
|
+
margin: 0 auto;
|
207
|
+
}
|
208
|
+
|
209
|
+
.img-portfolio:hover {
|
210
|
+
opacity: 0.8;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* Call to Action */
|
214
|
+
|
215
|
+
.call-to-action {
|
216
|
+
padding: 50px 0;
|
217
|
+
}
|
218
|
+
|
219
|
+
.call-to-action .btn {
|
220
|
+
margin: 10px;
|
221
|
+
}
|
222
|
+
|
223
|
+
/* Map */
|
224
|
+
|
225
|
+
.map {
|
226
|
+
height: 500px;
|
227
|
+
}
|
228
|
+
|
229
|
+
@media(max-width:768px) {
|
230
|
+
.map {
|
231
|
+
height: 75%;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
/* Footer */
|
236
|
+
|
237
|
+
footer {
|
238
|
+
padding: 100px 0;
|
239
|
+
}
|