]> nos-oignons.net Git - website.git/blobdiff - local.css
Gros boulot sur la présentation
[website.git] / local.css
index f9dc59b72182e016cba9e368e7f7a3451807c51b..5cf798322941e598ebf29199c7f2490f208719b7 100644 (file)
--- a/local.css
+++ b/local.css
@@ -1,5 +1,58 @@
 /* vim: set ts=4 sts=4 sw=4 isk+=-,. fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */
 
+@font-face {
+       font-family: "Gentium Basic";
+       src: url("assets/Gentium_Basic/GenBasR-webfont.eot");
+       src: url("assets/Gentium_Basic/GenBasR-webfont.eot?#iefix") format("embedded-opentype"),
+            url("assets/Gentium_Basic/GenBasR-webfont.ttf") format("truetype"),
+            url("assets/Gentium_Basic/GenBasR-webfont.svg#GentiumBasicRegular") format("svg");
+       font-weight: normal;
+       font-style: normal;
+}
+@font-face {
+       font-family: "Gentium Basic";
+       src: url("assets/Gentium_Basic/GenBasI-webfont.eot");
+       src: url("assets/Gentium_Basic/GenBasI-webfont.eot?#iefix") format("embedded-opentype"),
+            url("assets/Gentium_Basic/GenBasI-webfont.ttf") format("truetype"),
+            url("assets/Gentium_Basic/GenBasI-webfont.svg#GentiumBasicItalic") format("svg");
+       font-weight: normal;
+       font-style: italic;
+}
+@font-face {
+       font-family: "Gentium Basic";
+       src: url("assets/Gentium_Basic/GenBasB-webfont.eot");
+       src: url("assets/Gentium_Basic/GenBasB-webfont.eot?#iefix") format("embedded-opentype"),
+            url("assets/Gentium_Basic/GenBasB-webfont.ttf") format("truetype"),
+            url("assets/Gentium_Basic/GenBasB-webfont.svg#GentiumBasicBold") format("svg");
+       font-weight: bold;
+       font-style: normal;
+}
+@font-face {
+       font-family: "Gentium Basic";
+       src: url("assets/Gentium_Basic/GenBasBI-webfont.eot");
+       src: url("assets/Gentium_Basic/GenBasBI-webfont.eot?#iefix") format("embedded-opentype"),
+            url("assets/Gentium_Basic/GenBasBI-webfont.ttf") format("truetype"),
+            url("assets/Gentium_Basic/GenBasBI-webfont.svg#GentiumBasicBoldItalic") format("svg");
+       font-weight: bold;
+       font-style: italic;
+}
+
+@font-face {
+       font-family: "Linux Biolinum O";
+       src: url(assets/LinBiolinum_R.otf);
+       font-style: normal;
+}
+@font-face {
+       font-family: "Linux Biolinum O";
+       src: url(assets/LinBiolinum_RB.otf);
+       font-weight: bold;
+}
+@font-face {
+       font-family: "Linux Biolinum O";
+       src: url(assets/LinBiolinum_RI.otf);
+       font-style: italic;
+}
+
 html {
        overflow: auto;
 }
@@ -8,29 +61,16 @@ body {
        margin: 0;
        padding: 0;
        font-size: 9pt;
-       font-family: sans-serif;
-       color: #012345;
-       background: #eeeeaa;
-}
-
-a {
-       color: #bb2112;
-       text-decoration: none;
-}
-
-a:hover { text-decoration: underline; }
-/*a:visited { color: #aa00bb; }*/
-
-em {
-       font-family: serif;
+       font-family: "Gentium Basic", serif;
+       color: #b3b3b3;
+       background: url(assets/tile.png);
 }
 
 .page {
        overflow: hidden;
        min-width: 50em;
        max-width: 80em;
-       margin: 2em auto 0 auto;
-       border-radius: 16px 16px 0 0;
+       margin: 0 auto 0 auto;
        box-shadow: 0 0 0.6em 0 #333366;
        background: #f5f5f5;
 }
@@ -38,38 +78,33 @@ em {
 /* {{{ .pageheader */
 .pageheader {
        position: relative;
-       min-height: 95px;
+       height: 100px;
        padding: 0 1em;
-       color: #eeeeaa;
-       background: #333366;
-       background: -webkit-linear-gradient(#333366, #001030);
-       background:    -moz-linear-gradient(#333366, #001030);
-       background:         linear-gradient(#333366, #001030);
-       box-shadow: 0 0 0.6em 0 #333366;
-       border-radius: 16px 16px 0 0;
+       /*box-shadow: 0 0 0.6em 0 #333366;*/
+       background: white url(assets/filet.png) no-repeat 99% 90px;
 }
 
 .pageheader .header {
-       font-size: 10pt;
-       margin-left: 12em;
+       font-size: 14pt;
+       margin-left: 400px;
 }
 
 .pageheader .header > span {
        display: block;
-       margin: auto;
+       height: 100px;
        min-width: 30em;
-       padding: 1em;
+       padding-top: 22px;
 }
 
 .pageheader .parentlinks {
        display: block;
-       min-height: 1.5em;
-       margin-top: 0.75em;
+       padding-top: 3
+       font-size: 12pt;
 }
 
 .pageheader a,
 .pageheader .parentlinks a {
-       color: #eeeeaa;
+       color: #ffa430; /* was: #eeeeaa */
        text-decoration: none;
 }
 
@@ -78,38 +113,93 @@ em {
 }
 
 .pageheader .title {
+       position: absolute;
+       bottom: 16px;
+       left: 398px;
        line-height: 1.5em;
-       font-size: 16pt;
+       font-size: 26pt;
+       color: black;
+       font-family: "Linux Biolinum O", sans-serif;
+}
+
+.pageheader .actions ul {
+       border-bottom: none;
+}
+
+.parentlinks > a {
+       width: 400px;
+       height: 100px;
+       background: url(assets/logo-nos-oignons-blanc.png) no-repeat top left;
+       position: absolute;
+       left: 0;
+       top: 0;
+}
+
+.parentlinks > a span {
+       display: none;
+}
+
+.parentlinks .parentlinksep + a {
+       width: auto;
+       height: auto;
+       background: transparent;
+       display: inline;
+       position: static;
+}
+
+.parentlinks .parentlinksep + a + .parentlinksep + a {
+       background: url(assets/ariane-sep.png) no-repeat 0% 50%;
+       padding-left: 20px;
+}
+
+.parentlinks .parentlinksep + a span {
+       display: inline;
+}
+
+.parentlinks .parentlinksep {
+       display: none;
 }
 
 /* {{{ .actions */
 .actions {
-       text-align: right;
+       display: block;
+       position: absolute;
+       z-index: 300;
+       top: 50em;
+       left: 0;
+       width: 12em;
 }
 
 .actions ul li {
-       background: #eeeeaa;
-       border-radius: 0.8em 0.8em 0 0;
+       background: transparent;
 }
 
-.actions ul li a {
-       padding: 0 0.8em;
-       color: black;
+.actions ul li a {
+       font-size: 12pt;
+       padding: 0.2;
 }
 /* .actions }}} */
 /* {{{ #otherlanguages */
 #otherlanguages,
 #otherlanguages ul li a {
-       color: #012345;
+       color: #57075f;
        background: white;
 }
 
 #otherlanguages ul li {
        margin-left: 1em;
 }
+#otherlanguages .langstatus {
+       display: none;
+}
 
 .pageheader #otherlanguages {
        border: none;
+       position: absolute;
+       top: 100px;
+       right: 0;
+       z-index: 300;
+       font-size: 12pt;
 }
 /* #otherlanguages }}} */
 /* .pageheader }}} */
@@ -120,15 +210,16 @@ em {
        min-height: 48em;
        margin: 0 0 0 12em;
        padding: 1em 2em;
-       background: white;
        z-index: 110;
-       box-shadow: 0 3px 0.4em 0 #333366;
+       /*box-shadow: 0 3px 0.4em 0 #333366;*/
+       background: white url(assets/background.png) no-repeat bottom center;
+       color: black;
 }
 
 /* {{{ .sidebar */
 .sidebar {
        position: absolute;
-       top: 14em;
+       top: 12em;
        overflow: hidden;
        width: 12em;
        margin: 0;
@@ -138,53 +229,71 @@ em {
        background: #f5f5f5;
 }
 
-.sidebar ul {
+.sidebar ul, .actions ul {
        margin: 0;
        padding: 0;
        list-style: none;
        background: transparent;
 }
 
-.sidebar li {
+.sidebar li, .actions li {
        text-align: left;
 }
 
 .sidebar ul li .selflink {
-       color: #012345;
+       color: #57075f;
        font-weight: bold;
 }
 
 .sidebar ul li > span,
-.sidebar ul li > a {
+.sidebar ul li > a,
+.actions ul li > a {
        display: block;
        padding: 0.5em;
-       font-size: 11pt;
        font-weight: bold;
        text-decoration: none;
        border: 1px solid #f5f5f5;
-       color: #aaaaaa;
+       color: #a756af;
        background: transparent;
+       font-family: "Linux Biolinum O", sans-serif;
+}
+
+.sidebar ul li > span,
+.sidebar ul li > a {
+       font-size: 14pt;
 }
 
 .sidebar ul li .selflink:hover {
-       border-top: 1px dotted #012345;
-       border-bottom: 1px dotted #012345;
-       background: #ffffdd;
+       border-top: 1px dotted #57075f;
+       border-bottom: 1px dotted #57075f;
+       background: #eeeeee;
 }
 
-.sidebar a:hover {
-       border-top: 1px dotted #012345;
-       border-bottom: 1px dotted #012345;
-       color: #012345;
-       background: #ffffdd;
+.sidebar a:hover, .actions a:hover {
+       border-top: 1px dotted #57075f;
+       border-bottom: 1px dotted #57075f;
+       color: #57075f;
+       background: #eeeeee;
+       text-decoration: none;
 }
 /* .sidebar }}} */
 /* {{{ #content */
 #content {
-       line-height: 1.5em;
+       padding-top: 1em;
+       font-size: 14pt;
+       /*line-height: 1.4em;*/
        overflow: auto;
 }
 
+#content a {
+       color: #57075f;
+       text-decoration: underline;
+}
+
+#content a:hover {
+       text-decoration: underline;
+}
+
 #content p {
        text-align: justify;
        margin: 1em 0 1em 0;
@@ -197,22 +306,18 @@ em {
 }
 
 #content h1 {
-       display: inline;
-       font-size: 20pt;
+       font-size: 26pt;
        font-weight: normal;
-       line-height: 2.5em;
-       padding: 0.2em 0.5em;
-       color: #333366;
-       background: #f5f5f5;
-       border: dotted 1px #333366;
-       border-left: solid 3px;
+       color: #adff25;
+       color: #ffa430;
+       text-shadow: 2px 2px 1px #444;
+       font-family: "Linux Biolinum O", sans-serif;
 }
 
 #content h2 {
-       font-size: 16pt;
+       font-size: 20pt;
        font-weight: normal;
-       margin-top: 1.5em;
-       margin-bottom: 0;
+       font-family: "Linux Biolinum O", sans-serif;
 }
 
 #content h2 + p {
@@ -220,9 +325,10 @@ em {
 }
 
 #content h3 {
-       font-size: 12pt;
+       font-size: 16pt;
        margin-bottom: 0;
        padding-bottom: 0;
+       font-family: "Linux Biolinum O", sans-serif;
 }
 
 #content h3 + p {
@@ -250,6 +356,11 @@ em {
 #content .feedlink a {
        text-decoration: none;
 }
+
+#content .feedlink {
+       text-align: right;
+       margin-top: -2em;
+}
 /* #content }}} */
 
 /* {{{ #footer */
@@ -259,11 +370,11 @@ em {
        padding: 1em 0;
        text-align: center;
        color: white;
-       background: #333366;
-       background: -webkit-linear-gradient(#001030, #333366);
-       background:    -moz-linear-gradient(#001030, #333366);
-       background:         linear-gradient(#001030, #333366);
-       box-shadow: 0 0 0.6em 0 #333366;
+       background: #57075f;
+       background: -webkit-linear-gradient(#001030, #57075f);
+       background:    -moz-linear-gradient(#001030, #57075f);
+       background:         linear-gradient(#001030, #57075f);
+       font-family: "Linux Biolinum O", sans-serif;
 }
 
 #footer #pageinfo {
@@ -283,12 +394,12 @@ em {
 }
 
 #backlinks {
-       font-size: 8pt;
+       font-size: 10pt;
        margin-top: 0;
 }
 
 #footer #pageinfo div {
-       font-size: 8pt;
+       font-size: 10pt;
        margin-top: 0.5em;
        margin-bottom: 0;
 }