From: Michael Stapelberg Date: Fri, 22 Jul 2011 19:09:57 +0000 (+0200) Subject: use img { border: 0; } instead of border="0", add alt tag to screenshots (Thanks... X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e916863017a0ff6ef84a690d5113917134fc925;p=i3%2Fi3.github.io use img { border: 0; } instead of border="0", add alt tag to screenshots (Thanks xeen) --- diff --git a/css/style.css b/css/style.css index fcba2c6..b15e77e 100644 --- a/css/style.css +++ b/css/style.css @@ -82,6 +82,10 @@ h1#title { float: right; } +img { + border: 0; +} + #info img, .screenshots img, .video img { -webkit-box-shadow: 0px 0px 0.20em #000; -moz-box-shadow: 0px 0px 0.20em #000; diff --git a/screenshots/index.html.mako b/screenshots/index.html.mako index 0a87c16..35540c2 100644 --- a/screenshots/index.html.mako +++ b/screenshots/index.html.mako @@ -56,54 +56,70 @@ To get a quick impression of i3, have a look at these screenshots.

-
-
- Vimperator, VIM, MPlayer, dzen2 -
- -
-
- Vimperator, VIM, xpdf, bc -
- -
-
- PCManFM, ROXTerm, evince -
- -
- -
-
- i3 logo out of terminals -
- -
-
- VIM, zsh, i3status (FreeBSD) -
- -
-
- GIMP, urxvt (both floating) -
- -
- -
-
- mc, xosview, MPlayer, irssi, gajim -
+<% + screens = [ + [ + "/screenshots/i3-1.png", + "/screenshots/i3-1.thumb.png", + "Vimperator, VIM, MPlayer, dzen2" + ], + [ + "/screenshots/i3-2.png", + "/screenshots/i3-2.thumb.png", + "Vimperator, VIM, xpdf, bc" + ], + [ + "/screenshots/i3-3.png", + "/screenshots/i3-3.thumb.png", + "PCManFM, ROXTerm, evince" + ], + [ + "/screenshots/i3-4.png", + "/screenshots/i3-4.thumb.png", + "i3 logo out of terminals" + ], + [ + "/screenshots/i3-6.png", + "/screenshots/i3-6.thumb.png", + "VIM, zsh, i3status (FreeBSD)" + ], + [ + "/screenshots/i3-7.png", + "/screenshots/i3-7.thumb.png", + "GIMP, urxvt (both floating)" + ], + [ + "/screenshots/i3-5.png", + "/screenshots/i3-5.thumb.png", + "mc, xosview, MPlayer, irssi, gajim" + ], + [ + "/screenshots/i3-8.jpg", + "/screenshots/i3-8.thumb.jpg", + "git, synergy, htop, urxvt" + ], + [ + "/screenshots/i3-9.png", + "/screenshots/i3-9.thumb.png", + "VIM, git, MPlayer, i3bar" + ] + + ] + + c = 0 +%> +% for link, thumb, description in screens:
-
- git, synergy, htop, urxvt + (Screenshot) ${description}
+ ${description}
-
-
- VIM, git, MPlayer, i3bar -
+<% c += 1 %> +% if (c % 3) == 0: +
+% endif +% endfor