Permalink
Browse files

Improved CSS for Modern Perl.

  • Loading branch information...
1 parent 9322fc4 commit 56ab9303abb573e4deb6674dacd8d5c43cff0a1c @chromatic committed Mar 26, 2012
Showing with 46 additions and 6 deletions.
  1. +46 −6 build/html/style.css
View
@@ -33,7 +33,7 @@ code {color: #000033;}
.url { color: #000099; }
.footnote { color: #333333; }
-div.author
+.author
{
background: #ffaaaa;
border-style: solid;
@@ -42,7 +42,7 @@ div.author
width: 25%;
}
-div.editor
+.editor
{
background: #aaaaff;
border-style: solid;
@@ -85,18 +85,33 @@ div.production
text-decoration: underline;
}
-div.epigraph p
+.epigraph
{
margin: 0;
font-size: 0.8em;
}
-div.literal
+.literal
{
white-space: pre-wrap;
line-height: 1.5em;
}
+.programlisting
+{
+ background-color: #CCCCCC ;
+ border: 1px solid #006600 ;
+ margin-left: 2%;
+ margin-right: 2%;
+}
+
+.screen
+{
+ border: 1px solid #006600 ;
+ margin-left: 2%;
+ margin-right: 2%;
+}
+
li
{
margin-top: 0.75em;
@@ -121,14 +136,39 @@ img
max-width: 100%;
}
-div.sidebar
+.sidebar
{
padding: 1em;
border: 1px solid;
- width: 90%;
+ margin-left: 5%;
+ margin-right: 5%;
margin: 0;
}
+.tip
+{
+ padding: 0.5em;
+ border: 1px solid;
+ margin-left: 10%;
+ margin-right: 10%;
+ border-radius: 10px;
+ align: center;
+}
+
+.tip .title
+{
+ background-color: black;
+ color: white;
+ width: 100%;
+ font-variant: small-caps;
+ text-align: center;
+}
+
+.tip .title code
+{
+ color: white;
+}
+
hr
{
width: 65%;

0 comments on commit 56ab930

Please sign in to comment.