Tweak styling

This commit is contained in:
Ariejan de Vroom 2013-04-06 10:24:51 +02:00
parent a98678f04e
commit 04fa7c76a9
6 changed files with 37 additions and 12 deletions

View File

@ -138,7 +138,10 @@ a,
.post .entry-title a:hover, .post .entry-title a:hover,
.post.format-link .entry-title a, .post.format-link .entry-title a,
.cmsmsLike:hover span, .cmsmsLike:hover span,
.portfolio_inner .entry-title a:hover {color:#ff9108;} .portfolio_inner .entry-title a:hover {
// color:#ff9108;
color: #658590;
}
ul.cmsms_slides_nav li.active a, ul.cmsms_slides_nav li.active a,
ul.cmsms_slides_nav li:hover a, ul.cmsms_slides_nav li:hover a,
@ -150,9 +153,15 @@ span.dropcap2,
.cmsms_comments, .cmsms_comments,
.wp-pagenavi > span.current, .wp-pagenavi > span.current,
.wp-pagenavi a:hover, .wp-pagenavi a:hover,
.portfolio_inner .hover_effect {background-color:#ff9108;} .portfolio_inner .hover_effect {
// background-color:#ff9108;
background-color: #658590;
}
.tabs li a.current {background:#ff9108;} .tabs li a.current {
// background:#ff9108;
background: #658590;
}
input[type="text"]:focus, input[type="text"]:focus,
textarea:focus, textarea:focus,
@ -163,7 +172,8 @@ select:focus,
.tabs > li a.current, .tabs > li a.current,
.wp-pagenavi > span.current, .wp-pagenavi > span.current,
.wp-pagenavi a:hover { .wp-pagenavi a:hover {
border-color:#ff9108; // border-color:#ff9108;
background-color: #658590;
} }
/* ---------------------------------------------- Slider colors */ /* ---------------------------------------------- Slider colors */

View File

@ -65,15 +65,32 @@ ul.tla {
} }
ol.posts { ol.posts {
list-style-type: none; list-style-type: square;
color: #e0e0e0;
list-style-image: none; list-style-image: none;
padding: 0; padding: 0;
margin: 0 0 24px 0; margin: 0 0 24px 0;
li { li {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
span.date { span.date {
width: 50px;
display: inline-block; display: inline-block;
float: left;
width: 60px;
margin-top: -1px;
margin-right: 14px;
text-align: right;
font-size: 11px;
color: #a0a0a0;
} }
} }
} }

View File

@ -10,11 +10,8 @@ title: Home
- articles_by_year_for_two_columns.each do |column_articles| - articles_by_year_for_two_columns.each do |column_articles|
.one_half .one_half
- column_articles.each do |year, articles| - column_articles.each do |year, articles|
%h2= year
%ol.posts %ol.posts
- articles.each do |article| - articles.each do |article|
%li %li
%span.date= get_short_date(article) %span.date= get_short_date(article)
= link_to article[:title], article.path = link_to article[:title], article.path, title: article[:title]

View File

@ -34,6 +34,7 @@ I've setup Jenkins with the RVM plugin and that's all I need to have Jenkins gen
Here's the build script I currently use: Here's the build script I currently use:
:::bash
#!/bin/bash #!/bin/bash
export NANOC_ENV=production export NANOC_ENV=production
bundle install bundle install

View File

@ -40,7 +40,7 @@
%a.logo{:href => "/"} %a.logo{:href => "/"}
%img{:alt => "", :src => "/images/logo.png"}/ %img{:alt => "", :src => "/images/logo.png"}/
.custom_html .custom_html
%h3{:style => "color:#ffffff; margin:0; line-height:24px;"} May the Source be with you %h3{:style => "color:#ffffff; margin:0; line-height:24px;"} May the Source be with you.
= render 'social_list' = render 'social_list'
.nav_wrap .nav_wrap

View File

@ -17,7 +17,7 @@
end end
def get_short_date(post) def get_short_date(post)
attribute_to_time(post[:created_at]).strftime('%d %b') attribute_to_time(post[:created_at]).strftime('%Y-%m-%d')
end end
def get_pretty_date(post) def get_pretty_date(post)