Style enclosures like content.

master
Amitai Schlair 2013-02-21 00:45:10 -05:00
parent 9f025a7ac0
commit 984f2ab952
5 changed files with 17 additions and 10 deletions

View File

@ -58,7 +58,8 @@ nav {
border-bottom: 1px solid #000;
}
.inlinecontent {
.inlinecontent,
.inlineenclosure {
margin-top: .4em;
}

View File

@ -76,7 +76,7 @@ body {
padding: 2px;
}
#content, #comments, #footer {
#content, #enclosure, #comments, #footer {
margin: 1em 2em;
}

View File

@ -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;

View File

@ -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;
}

View File

@ -36,12 +36,16 @@ body {
* thanks to <http://www.kryogenix.org/days/2002/08/30/external>
*/
#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;
}