From 984f2ab952cb97990fc0d2460c2e335127a73491 Mon Sep 17 00:00:00 2001 From: Amitai Schlair Date: Thu, 21 Feb 2013 00:45:10 -0500 Subject: Style enclosures like content. --- themes/actiontabs/style.css | 2 +- themes/blueview/style.css | 6 +++--- themes/goldtype/style.css | 8 +++++--- themes/monochrome/style.css | 8 ++++++-- 4 files changed, 15 insertions(+), 9 deletions(-) (limited to 'themes') diff --git a/themes/actiontabs/style.css b/themes/actiontabs/style.css index f6cb5c04e..d4afc0915 100644 --- a/themes/actiontabs/style.css +++ b/themes/actiontabs/style.css @@ -76,7 +76,7 @@ body { padding: 2px; } -#content, #comments, #footer { +#content, #enclosure, #comments, #footer { margin: 1em 2em; } diff --git a/themes/blueview/style.css b/themes/blueview/style.css index 40a940f26..af1434574 100644 --- a/themes/blueview/style.css +++ b/themes/blueview/style.css @@ -143,7 +143,7 @@ p,fieldset,table,pre { * Copyright (C) 2010 Bernd Zeimetz * Licensed under same license as ikiwiki: GPL v2 or later */ -.page, .pageheader, .sidebar, #content, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody { +.page, .pageheader, .sidebar, #content, #enclosure, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody { border: none; } @@ -223,7 +223,7 @@ body { clear: none; } -#content a, #comments a, .sidebar a { +#content a, #enclosure a, #comments a, .sidebar a { color: #315485; text-decoration: none; font-weight: bold; @@ -271,7 +271,7 @@ body { .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a { color #315485; } - #content, #comments, #pagebody { + #content, #enclosure, #comments, #pagebody { margin-right: 0; *margin-right: 0; border-right: none; diff --git a/themes/goldtype/style.css b/themes/goldtype/style.css index 9c217c746..b0e29dfad 100644 --- a/themes/goldtype/style.css +++ b/themes/goldtype/style.css @@ -14,10 +14,12 @@ html, body { background-color: #f2d98d; } -#content a:hover, #comments a:hover, .sidebar a:hover, -#content a:visited:hover, #comments a:visited:hover, .sidebar a:visited:hover { +#content a:hover, #enclosure a:hover, #comments a:hover, .sidebar a:hover, +#content a:visited:hover, #enclosure a:visited:hover, #comments a:visited:hover, +.sidebar a:visited:hover { color: red; } -#content a:visited, #comments a:visited, .sidebar a:visited { +#content a:visited, #enclosure a:visited, #comments a:visited, +.sidebar a:visited { color: #37485e; } diff --git a/themes/monochrome/style.css b/themes/monochrome/style.css index 41a3a4441..bd3fdf593 100644 --- a/themes/monochrome/style.css +++ b/themes/monochrome/style.css @@ -36,12 +36,16 @@ body { * thanks to */ #content a[href^="http:"]:after, -#content a[href^="https:"]:after { +#content a[href^="https:"]:after, +#enclosure a[href^="http:"]:after, +#enclosure a[href^="https:"]:after { content: "↗"; } /* you will want to replicate this for your own domain in local.css */ #content a[href^="http://localhost"]:after, -#content a[href^="http://ikiwiki.info"]:after { +#content a[href^="http://ikiwiki.info"]:after, +#enclosure a[href^="http://localhost"]:after, +#enclosure a[href^="http://ikiwiki.info"]:after { content: none; } -- cgit v1.2.3