phone tweaks
This commit is contained in:
@ -114,11 +114,21 @@ a:hover{
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.side-links ul.social{
|
||||||
|
float: left;
|
||||||
|
margin: 0 0 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-links ul.social li {
|
||||||
|
padding: 0 0 10px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.poster {
|
.poster {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
padding: 0 auto;
|
padding: 0 auto;
|
||||||
background-position: center 0;
|
background-position: center 0;
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 768px) {
|
@media all and (min-width: 768px) {
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
pageable: true
|
pageable: true
|
||||||
per_page: 10
|
per_page: 10
|
||||||
poster: /assets/img/stock/ships_VolkanOlmez_003.png
|
poster: /assets/img/stock/ships_VolkanOlmez_003.png
|
||||||
|
title: ''
|
||||||
---
|
---
|
||||||
|
|
||||||
.row
|
.row
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
.spacer-50
|
.spacer-50
|
||||||
|
|
||||||
.side-links
|
.side-links
|
||||||
|
%ul.social.visible-xs
|
||||||
|
= partial 'shared/social_links'
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
%li.bolder Recent Posts
|
%li.bolder Recent Posts
|
||||||
- blog.articles[0...10].each do |article|
|
- blog.articles[0...10].each do |article|
|
||||||
@ -10,3 +14,4 @@
|
|||||||
%li Tags
|
%li Tags
|
||||||
- blog.tags.each do |tag, articles|
|
- blog.tags.each do |tag, articles|
|
||||||
%li= link_to "#{tag.titleize}", tag_path(tag)
|
%li= link_to "#{tag.titleize}", tag_path(tag)
|
||||||
|
|
||||||
|
@ -12,15 +12,6 @@
|
|||||||
%li
|
%li
|
||||||
%a{href: "/contact"} contact
|
%a{href: "/contact"} contact
|
||||||
|
|
||||||
%ul.social
|
%ul.social.hidden-xs
|
||||||
:ruby
|
= partial 'shared/social_links'
|
||||||
social_links = {
|
|
||||||
'fa-linkedin-square' => 'http://linkedin.com/in/markamoser/',
|
|
||||||
'fa-twitter' => 'https://twitter.com/obley',
|
|
||||||
'fa-github' => 'https://github.com/markmoser',
|
|
||||||
'fa-bitbucket' => 'https://bitbucket.org/markamoser',
|
|
||||||
}
|
|
||||||
- social_links.each do |k,v|
|
|
||||||
%li
|
|
||||||
= link_to "#{v}" do
|
|
||||||
%i.fa.fa-lg{class: "#{k}"}
|
|
||||||
|
11
source/shared/_social_links.html.haml
Normal file
11
source/shared/_social_links.html.haml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
:ruby
|
||||||
|
social_links = {
|
||||||
|
'fa-linkedin-square' => 'http://linkedin.com/in/markamoser/',
|
||||||
|
'fa-twitter' => 'https://twitter.com/obley',
|
||||||
|
'fa-github' => 'https://github.com/markmoser',
|
||||||
|
'fa-bitbucket' => 'https://bitbucket.org/markamoser',
|
||||||
|
}
|
||||||
|
- social_links.each do |k,v|
|
||||||
|
%li
|
||||||
|
= link_to "#{v}" do
|
||||||
|
%i.fa.fa-lg{class: "#{k}"}
|
Reference in New Issue
Block a user