Opengraph to mobile view

This commit is contained in:
Fábián Tamás László 2013-08-04 11:44:05 +02:00 committed by Jonne Haß
parent 0a4b58ac12
commit 54b166bde9
2 changed files with 26 additions and 0 deletions

View file

@ -1243,3 +1243,25 @@ input#q.search {
#content {
font-size: 13px !important;
}
.opengraph {
width: 100%;
a {
display: block;
text-decoration: none;
color: #000;
margin: 5px 0px 5px 0px;
border-top: solid 1px #DDD;
border-bottom: solid 1px #DDD;
padding: 5px 0px 2px 0px;
overflow: hidden;
img {
margin: 0px 3px 3px 0px;
float: left;
max-width: 80px;
}
.og-title {
margin-bottom: 3px;
}
}
}

View file

@ -16,3 +16,7 @@
%div{:class => direction_for(post.text)}
!= markdownify(post)
-if post.open_graph_cache
.opengraph
!= og_html post.open_graph_cache