fixed stylign for flash previews
This commit is contained in:
@@ -33,7 +33,7 @@ fi
|
||||
# Install packages
|
||||
echo "Installing packages..."
|
||||
apt-get update
|
||||
apt-get -y install build-essential automake openssl libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf ncurses-dev sudo gcc g++ libreadline-dev zlib1g-dev flex bison bzip2 ragel memcached libmemcache-dev git-core curl libcurl4-openssl-dev emacs imagemagick libmagickcore-dev libmagickwand-dev sendmail psmisc
|
||||
apt-get -y install build-essential automake openssl libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf ncurses-dev sudo gcc g++ libreadline-dev zlib1g-dev flex bison bzip2 ragel memcached libmemcache-dev git-core curl libcurl4-openssl-dev emacs imagemagick libmagickcore-dev libmagickwand-dev sendmail psmisc ffmpegthumbnailer
|
||||
|
||||
# Install PostgreSQL 9.1
|
||||
apt-get -y install python-software-properties
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
header#top {
|
||||
h1 {
|
||||
font-size: 2.5em;
|
||||
margin: 5px 30px 0 30px;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,13 +14,15 @@ article.post-preview {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
span.text-post-preview {
|
||||
border: 1px solid #666;
|
||||
div.text-post-preview {
|
||||
font-size: $h2_size;
|
||||
font-weight: bold;
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 150px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,9 +15,9 @@ class PostPresenter < Presenter
|
||||
if post.is_image?
|
||||
html << %{<img src="#{post.preview_file_url}">}
|
||||
elsif post.is_flash?
|
||||
html << '<span class="text-post-preview">Flash</span>'
|
||||
html << '<div class="text-post-preview">Flash</div>'
|
||||
else
|
||||
html << '<span class="text-post-preview">Download</span>'
|
||||
html << '<div class="text-post-preview">Download</div>'
|
||||
end
|
||||
|
||||
html << %{</a>}
|
||||
|
||||
Reference in New Issue
Block a user