summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-12-23 23:33:09 +0100
committerAlex Legler <alex@a3li.li>2014-12-23 23:33:09 +0100
commita9035e5f564950089ff806f28817d4ad502e6159 (patch)
tree094ebd5b9512dc482a6e96ee544575ea648bba23
parentInitial commit (diff)
downloadskin-tyrian-a9035e5f564950089ff806f28817d4ad502e6159.tar.gz
skin-tyrian-a9035e5f564950089ff806f28817d4ad502e6159.tar.bz2
skin-tyrian-a9035e5f564950089ff806f28817d4ad502e6159.zip
Add captions to <pre> tags
-rw-r--r--main.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/main.css b/main.css
index 36e5517..4646024 100644
--- a/main.css
+++ b/main.css
@@ -65,4 +65,26 @@ body.skin-tyrian .catlinks {
padding: 0;
border: none;
background: none;
+ clear: both;
+}
+
+div.box-caption {
+ padding-top: 4.25px;
+ padding-right: 8.5px;
+ padding-bottom: 4.25px;
+ padding-left: 8.5px;
+ background-color: #eeeeee;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ border-bottom: none;
+ -webkit-border-radius: 4px 4px 0 0;
+ -moz-border-radius: 4px 4px 0 0;
+ border-radius: 4px 4px 0 0;
+}
+
+pre.captioned {
+ border-top: none;
+ -webkit-border-radius: 0 0 4px 4px;
+ -moz-border-radius: 0 0 4px 4px;
+ border-radius: 0 0 4px 4px;
} \ No newline at end of file