aboutsummaryrefslogtreecommitdiff
path: root/theme/static/css
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-04-28 19:54:45 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-01 10:33:08 +0200
commitdc214056449119b29ad7b19b8d47e81b343ff453 (patch)
treee5fbae31ed73509852d45354ab682e8c96e5c42f /theme/static/css
parentbfc347fdea8ebf0246902cbf7c95cfd5b518b4e8 (diff)
Updated theme and templates
Updated to pelican 3.2
Diffstat (limited to 'theme/static/css')
-rwxr-xr-xtheme/static/css/main.css31
-rwxr-xr-xtheme/static/css/styles.css81
2 files changed, 73 insertions, 39 deletions
diff --git a/theme/static/css/main.css b/theme/static/css/main.css
index c8c0a01..e8b773b 100755
--- a/theme/static/css/main.css
+++ b/theme/static/css/main.css
@@ -87,6 +87,10 @@ table.docutils {
border: none;
}
+table.footnote td {
+ border: none;
+}
+
td, th {
margin: 0;
padding: 2px 5px;
@@ -269,28 +273,6 @@ div#page {
font-weight: bolder;
}
-// aside#sidebar {
-// float: right;
-// width: 24%;
-// }
-// #sidebar .widget {
-// margin-bottom: 10px;
-// }
-// #sidebar .widget ul {
-// list-style-type: none;
-// margin: auto auto auto 15px;
-// }
-// #sidebar .widget ul li:before {
-// content: '» ';
-// }
-//
-// #sidebar .widget ul a.more {
-// display: inline-block;
-// padding-top: 5px;
-// text-decoration: none;
-// }
-
-
footer#footer {
clear:both;
border-top: 1px solid grey;
@@ -301,3 +283,8 @@ div#page {
direction:rtl;
unicode-bidi:bidi-override;
}
+
+.floatleft { float: left; margin: 0px 5px 5px 0px; }
+.floatright { float: right; margin: 0px 0px 5px 5px; }
+
+.clear { clear:both; }
diff --git a/theme/static/css/styles.css b/theme/static/css/styles.css
index ec426de..3ebca0b 100755
--- a/theme/static/css/styles.css
+++ b/theme/static/css/styles.css
@@ -1,25 +1,72 @@
#cssmenu ul, #cssmenu hr { margin: 0px; }
#cssmenu hr { margin: auto; }
-#cssmenu{ height:39px; display:block; padding:0; margin: 0; margin-left:10px; margin-right:10px; }
+#cssmenu {
+ height:39px;
+ display:block;
+ padding:0;
+ margin: 0; margin-left:10px; margin-right:10px;
+ border-color:#000;
+}
#cssmenu > ul {list-style:inside none; padding:0; margin:0;}
#cssmenu > ul > li {list-style:inside none; padding:0; margin:0; float:left; display:block; position:relative;}
-#cssmenu > ul > li > a{ outline:none; display:block; position:relative; padding:12px 20px; font: 13px/100% Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.4); }
-#cssmenu > ul > li:first-child > a{border-radius:5px 0 0 5px;}
-#cssmenu > ul > li > a:after{ content:''; position:absolute; border-right:1px solid; top:-1px; bottom:-1px; right:-2px; z-index:99; }
-#cssmenu ul li.has-sub:hover > a:after{top:0; bottom:0;}
-#cssmenu > ul > li.has-sub > a:before{ content:''; position:absolute; top:18px; right:6px; border:5px solid transparent; border-top:5px solid #fff; }
-#cssmenu > ul > li.has-sub:hover > a:before{top:19px;}
-#cssmenu ul li.has-sub:hover > a{ background:#3f3f3f; border-color:#3f3f3f; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; }
+
+#cssmenu > ul > li > span {
+ outline:none;
+ display:block;
+ position:relative;
+ padding:13px 20px;
+ font: 13px/100% Arial, Helvetica, sans-serif; text-align:center;
+ text-shadow:1px 1px 0 rgba(0,0,0, 0.4);
+ height: 13px;
+ border-right:1px solid #000;
+ color:#fff;
+}
+
+#cssmenu a {
+ color: #fff;
+}
+#cssmenu > ul > li > span > a {
+ text-decoration:underline;
+}
+
+#cssmenu > ul > li > span:after {
+ content:'';
+ position:absolute;
+ border-right:1px solid;
+ top:1px; bottom:0px;
+ right:-2px;
+ z-index:99;
+ border-color: #444;
+}
+
+#cssmenu ul li.has-sub:hover > span:after {top:0; bottom:0;}
+#cssmenu > ul > li.has-sub > span:before {
+ content:'';
+ position:absolute;
+ top:19px; right:6px;
+ border:5px solid transparent;
+ border-top:5px solid #fff;
+}
+
+#cssmenu > ul > li.has-sub:hover > span:before {top:19px;}
+#cssmenu ul li.has-sub:hover > span { background:#3f3f3f; padding-bottom:13px; padding-top:13px; top:0px; z-index:999; }
#cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;}
-#cssmenu ul li.has-sub > a:hover{background:#3f3f3f; border-color:#3f3f3f;}
-#cssmenu ul li > ul, #cssmenu ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#3f3f3f; border-radius:0 0 5px 5px; z-index:999; }
+#cssmenu ul li.has-sub > a:hover {background:#3f3f3f; border-color:#3f3f3f;}
+
+#cssmenu ul li > ul, #cssmenu ul li > div {
+ display:none; width:auto; position:absolute;
+ top:39px; padding:10px 0; background:#3f3f3f;
+ border-radius:0 0 5px 5px;
+ z-index:999;
+}
+
#cssmenu ul li > ul{width:200px;}
#cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;}
-#cssmenu ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); }
-
+#cssmenu ul li > ul li a{
+ outline:none; display:block; position:relative; margin:0;
+ padding:8px 20px; font:10pt Arial, Helvetica, sans-serif;
+ text-shadow:1px 1px 0 rgba(0,0,0, 0.5);
+ text-decoration:none;
+}
-#cssmenu, #cssmenu > ul > li > ul > li a:hover{ background-color:#323232; }
-#cssmenu{border-color:#000;}
-#cssmenu > ul > li > a{border-right:1px solid #000; color:#fff;}
-#cssmenu > ul > li > a:after{border-color:#444;}
-#cssmenu > ul > li > a:hover{background:#111;}
+#cssmenu, #cssmenu > ul > li > ul > li a:hover { background-color:#323232; }