Permalink
Browse files

Styling update

  • Loading branch information...
1 parent 9b4201d commit a6027858b335abe7de663617a8156c320e1dad26 @bheesink bheesink committed Jun 8, 2011
Showing with 38 additions and 5 deletions.
  1. +38 −5 pages/static/css/base.css
View
@@ -48,10 +48,19 @@ header {
#mainmenu ul li {
float: left;
display: block;
- margin-right: 18px;
+ padding: 0 9px;
+}
+
+#mainmenu ul li:first-child {
+ padding-left: 0;
+}
+
+#mainmenu ul li:last-child {
+ padding-right: 0;
}
#mainmenu ul li a {
+ display: block;
font-size: 12px;
line-height: 120%;
font-weight: bold;
@@ -69,23 +78,23 @@ header {
/* Submenu */
#submenu ul {
- margin: 0;
- padding: 0;
+ width: 120px;
}
#submenu ul li {
- margin-bottom: 0.3em;
+ margin: 0.5em 0;
}
#submenu ul li ul {
- margin: 0.3em 0;
+ margin: 0.5em 0;
}
#submenu ul li ul li {
margin-left: 15px;
}
#submenu ul li a {
+ display: block;
font-size: 14px;
line-height: 120%;
text-decoration: none;
@@ -196,6 +205,25 @@ header {
margin-bottom: 21px;
}
+.content table {
+ margin: 0 0 1.25em 0;
+ border: 1px solid #333;
+ width: 100%;
+}
+
+.content table tr th,
+.content table tr td {
+ border: 1px solid #333;
+ display: table-cell;
+ padding: 5px;
+ vertical-align: top;
+}
+
+.content table tr th {
+ color: #fff;
+ background-color: #555;
+}
+
.content a {
color: #f30;
text-decoration: underline;
@@ -245,6 +273,11 @@ header {
list-style-type: disc;
}
+.content ul li ul,
+.content ul li ul li ul {
+ margin: 0;
+}
+
ol li {
margin-left: 20px;
padding: 0.1em 0 0.1em 0;

0 comments on commit a602785

Please sign in to comment.