aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2015-10-03 10:10:31 +0200
committerSébastien Dailly <sebastien@chimrod.com>2015-10-03 10:10:31 +0200
commit0c60e44c7645ec760e58d8d9c72136b10caddfbe (patch)
treeccde3e5e3fbba5f3441e7b08001925d1fd5600cd
parent437f042fdbc9d4ec9fe81f620d774c38b1a5886f (diff)
Update theme
-rwxr-xr-xtheme/static/css/main.css18
-rwxr-xr-xtheme/templates/header.html2
2 files changed, 11 insertions, 9 deletions
diff --git a/theme/static/css/main.css b/theme/static/css/main.css
index d10ef1f..c0d6f00 100755
--- a/theme/static/css/main.css
+++ b/theme/static/css/main.css
@@ -11,16 +11,15 @@ header, footer, section, nav {
}
body {
- width: 700px;
+ max-width: 700px;
margin: 0;
padding: 0;
- font-size: .8em;
-// line-height: 1.3;
color: black;
background : #323232;
margin-left: auto;
margin-right: auto;
- font-family: "Lucida sans unicode",Lucida,Tahoma,Arial,sans-serif;
+ font-family: Linux Libertine O, Times new Roman, serif;
+ line-height: 1.6em;
}
h1, h2, h3, h4, h5, h6 {
@@ -29,6 +28,7 @@ h1, h2, h3, h4, h5, h6 {
font-style: normal;
font-weight: normal;
color: #AE4E00;
+ font-family: "Lucida sans unicode",Lucida,Tahoma,Arial,sans-serif;
}
h1 {
font-size: 1.5em;
@@ -195,14 +195,12 @@ div.admonition-attention {
div#page {
background : white;
- //margin: 5% auto 5% auto;
}
header#header {
//background-image: url("../images/header.jpg") no-repeat;
- //height: 333px;
- padding: 5px 5px 0px;
+ padding: 5px 5px;
}
#header>h1 {
@@ -225,6 +223,11 @@ div#page {
color: inherit;
}
+ #header>img {
+ display: block;
+
+ }
+
nav#cssmenu {
width: 100%;
padding-top: 2px;
@@ -249,7 +252,6 @@ div#page {
section#content {
float: left;
- width: 690px;
line-height: 170%;
text-align: justify;
margin: 10px;
diff --git a/theme/templates/header.html b/theme/templates/header.html
index 6c51cdf..eaf9531 100755
--- a/theme/templates/header.html
+++ b/theme/templates/header.html
@@ -1,4 +1,4 @@
<header id="header">
<h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></h1>
- <img src="/theme/images/header.jpg" width="690px"/>
+ <img src="/theme/images/header.jpg" width="100%"/>
</header>