diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-11-10 23:05:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-11-10 23:06:43 +0100 |
commit | 4c322d36bc02e5e35464afa753fbf1b1da9de8f6 (patch) | |
tree | 96c3896d44a510b1fe2b14f65b51db9ebb9418b6 /website/static/base/css | |
parent | aa81cae2467e081e65d95e3d0950cc234c3e599d (diff) | |
download | guix-artwork-4c322d36bc02e5e35464afa753fbf1b1da9de8f6.tar guix-artwork-4c322d36bc02e5e35464afa753fbf1b1da9de8f6.tar.gz |
website: news: Correctly display inline images in posts.
* website/static/base/css/news.css (img): New category.
Diffstat (limited to 'website/static/base/css')
-rw-r--r-- | website/static/base/css/news.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/website/static/base/css/news.css b/website/static/base/css/news.css index 7e50998..370a5e1 100644 --- a/website/static/base/css/news.css +++ b/website/static/base/css/news.css @@ -29,3 +29,17 @@ p { hyphens: auto; } + +img { + display: block; + margin: auto; + padding: 20px; +} + +@media screen and (min-width: 1024px) { + img { + float: right; + margin-left: 20px; + padding: 0px; + } +} |