From: Amitai Schlair Date: Thu, 21 Feb 2013 05:45:10 +0000 (-0500) Subject: Style enclosures like content. X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/984f2ab952cb97990fc0d2460c2e335127a73491 Style enclosures like content. --- diff --git a/doc/style.css b/doc/style.css index 424d43816..81b6a0a28 100644 --- a/doc/style.css +++ b/doc/style.css @@ -58,7 +58,8 @@ nav { border-bottom: 1px solid #000; } -.inlinecontent { +.inlinecontent, +.inlineenclosure { margin-top: .4em; } 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; }