X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/5b7c8c00f7d34c0760e02aa0265d4197a61cc5db..b531de212fe3712efead5379c1a958ad91d3138f:/local.css diff --git a/local.css b/local.css index 5d9f932..a7490dd 100644 --- a/local.css +++ b/local.css @@ -1,68 +1,99 @@ -/* vim: set ts=4 sts=4 sw=4 isk+=- fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */ +/* vim: set ts=4 sts=4 sw=4 isk+=-,. fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */ + +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sans'), local('OpenSans'), url(assets/OpenSans/OpenSans.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 700; + src: local('Open Sans Bold'), local('OpenSans-Bold'), url(assets/OpenSans/OpenSans-Bold.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + src: local('Open Sans Italic'), local('OpenSans-Italic'), url(assets/OpenSans/OpenSans-Italic.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 700; + src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(assets/OpenSans/OpenSans-BoldItalic.ttf) format('truetype'); +} +@font-face { + font-family: 'Inconsolata'; + font-style: normal; + font-weight: 400; + src: local('Inconsolata'), local('Inconsolata-Regular'), url(assets/Inconsolata/Inconsolata.otf) format('opentype'); +} html { - overflow-y: scroll; + overflow: auto; } body { margin: 0; padding: 0; - font-size: 9pt; - font-family: sans-serif; - color: #012345; - background: #eeeeaa; + font-family: "Open Sans", sans-serif; + color: #b3b3b3; + background: url(assets/tile.png) fixed; } -a { - color: #bb2112; - text-decoration: none; +code, +pre { + font-family: "Inconsolata", monospace; + font-size-adjust: 0.535; +} + +dt { + font-weight: bold; +} + +thead td { + text-decoration: underline; } -a:hover { text-decoration: underline; } .page { overflow: hidden; - min-width: 50em; - max-width: 90em; - margin: 0 auto; + max-width: 54em; + margin: 0 auto 0 auto; + box-shadow: 0 0 0.6em 0 #333366; background: #f5f5f5; - -webkit-box-shadow: 0 0 0.5em 0 #888888; - -moz-box-shadow: 0 0 0.5em 0 #888888; - box-shadow: 0 0 0.5em 0 #888888; } /* {{{ .pageheader */ .pageheader { - position: relative; - min-height: 95px; - padding: 0 1em; - color: #eeeeaa; - background: #012345; - -webkit-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); - -moz-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); - box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); + position: fixed; + width: 54em; /* same as .page:max-width */ + height: 100px; + padding: 0; + background: white url(assets/filet.png) no-repeat 99% 90px; + box-shadow: 0 10px 15px 0px white; + z-index: 120; } .pageheader .header { - font-size: 9pt; + font-size: 120%; + margin-left: 394px; } .pageheader .header > span { display: block; - margin: auto; - min-width: 30em; - padding: 1em 2em; + height: 100px; + padding-top: 22px; } .pageheader .parentlinks { display: block; - font-size: 8pt; - min-height: 1.5em; - margin-top: 0.75em; } .pageheader a, .pageheader .parentlinks a { - color: #eeeeaa; + color: #ffa430; /* was: #eeeeaa */ text-decoration: none; } @@ -71,117 +102,169 @@ a:hover { text-decoration: underline; } } .pageheader .title { - line-height: 1.5em; - font-size: 16pt; + position: absolute; + bottom: 27px; + left: 392px; + font-size: 160%; + color: black; } -/* {{{ .actions */ -.actions { - text-align: right; +.pageheader .title .translationstatus { + display: none; } -.actions ul li { - background: #eeeeaa; - border-radius: 0.8em 0.8em 0 0; +.parentlinks > a { + width: 394px; /* same as .pageheader .header:margin-left */ + height: 100px; + background: url(assets/logo-nos-oignons-blanc.png) no-repeat top left; + position: absolute; + left: 0; + top: 0; } -.actions ul li a { - padding: 0 0.8em; - color: black; +.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 { + font-size: 80%; + text-align: right; } + /* .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;*/ - border-bottom: 1px dotted #012345; + border: none; + position: absolute; + bottom: 1.2em; + right: 0; + z-index: 300; + font-size: 80%; } /* #otherlanguages }}} */ /* .pageheader }}} */ -.feedlink { - display: none; -} - #pagebody { position: relative; - min-width: 30em; - min-height: 50em; - margin: 0 16em 0 0; - padding: 1em 2em; - background: white; + min-height: 756px; + margin: 0 0 0 11.44em; /* same as .sidebar:width */ + padding: 100px 2em 1em 2em; z-index: 110; - -webkit-box-shadow:0 0 0.5em 0 #bbbbbb, inset 0 0 10em #fafafa; - -moz-box-shadow:0 0 0.5em 0 #bbbbbb, inset 0 0 10em #fafafa; - box-shadow:0 0 0.5em 0 #bbbbbb, inset 0 0 10em #fafafa; + background: white url(assets/background.png) no-repeat bottom center; + color: black; + border-left: solid 1px #ccc; } /* {{{ .sidebar */ .sidebar { + position: fixed; overflow: hidden; - width: 16em; - margin: 5em 0 0 0; + top: 100px; /* same as .header:height */ + width: 11.44em; + margin: 0; padding: 0; border: none; - z-index: 100; + z-index: 200; + background: #f5f5f5; + border-top: solid 1px #ccc; + padding-top: 30px; } .sidebar ul { margin: 0; +} + +.sidebar ul { padding: 0; list-style: none; - background: #f5f5f5; + background: transparent; } .sidebar li { + text-align: left; } .sidebar ul li .selflink { - color: black; - background: white; + color: #57075f; font-weight: bold; - border: 1px dotted #012345; - border-left: none; } .sidebar ul li > span, .sidebar ul li > a { display: block; - padding: 0.5em; - font-size: 11pt; - font-weight: bold; + padding: 0.3em 0.5em; text-decoration: none; border: 1px solid #f5f5f5; - border-left: none; - color: #aaaaaa; + color: #a756af; background: transparent; + font-weight: normal; + font-size: 100%; +} + +.sidebar ul li .selflink:hover { + border-top: 1px dotted #57075f; + border-bottom: 1px dotted #57075f; + background: #eeeeee; } .sidebar a:hover { - color: #ffffff; - background: #012345; - border: 1px solid #012345; - border-left: none; - -webkit-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 1em 0 rgba(240, 240, 170, 0.3); - -moz-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 1em 0 rgba(240, 240, 170, 0.3); - box-shadow: 0 0 0.5em 0 #888888, inset 0 0 1em 0 rgba(240, 240, 170, 0.3); + 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; 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; @@ -189,125 +272,203 @@ a:hover { text-decoration: underline; } #content hr { border: none; - border-bottom: dotted 0.4em #bbb; + border-bottom: dotted 2px #bbbbbb; + margin: 2em auto; } #content h1 { - color:#003300; - font-size:16pt; - font-weight:normal; - line-height:1.5em; - margin-top:2em; - border-bottom:1px solid #bbb; -} - -#content h1:first-child { - margin-top:0.5em; + font-size: 180%; + font-weight: bold; + color: #ffa430; + text-shadow: 2px 2px 1px #444; } -#content h2 { - font-size:12pt; - color:#555; - margin-top:1.5em; - margin-bottom:0; +#content h2, +#content .header { + font-size: 140%; + font-weight: bold; } #content h2 + p { - margin-top:0.75em; + margin-top: 0.75em; } #content h3 { - font-size:10pt; - color:#888; - margin-bottom:0; - padding-bottom:0; + font-size: 120%; + font-weight: bold; + margin-bottom: 0; + padding-bottom: 0; } #content h3 + p { - margin-top:0.5em; + margin-top: 0.5em; } #content table { - border-top:1px solid #aaa; - border-bottom:1px solid #aaa; - border-collapse:collapse; + border-top: solid 1px #aaa; + border-bottom: solid 1px #aaa; + border-collapse: collapse; } #content table th { - background:#fafafa; - padding:.1em .5em; - border-bottom:1px solid #aaa; - color:#555; + background: #fafafa; + padding: 0.1em 0.5em; + border-bottom: solid 1px #aaaaaa; + color: #555555; } #content table td { - padding:.1em .5em; - border-top:1px solid #ccc; + padding: 0.1em 0.5em; + border-top: solid 1px #ccc; } -#content .img_center { - display: block; - margin-left: auto; - margin-right: auto; +#content .header a { + text-decoration: none; } -#content .img_topleft { - float:left; - margin-right:1em; - margin-bottom:1em; +#content .feedlink a { + text-decoration: none; } -#content .img_topright { - float:right; - margin-left:1em; - margin-bottom:1em; +#content .feedlink { + text-align: right; + margin-top: -2.8em; + min-height: 2.8em; +} +#content .feedlink .feedbutton { + font-size: 80%; + color: #57075f !important; + background: transparent; + border: none; +} +#content .feedlink .feedbutton:hover { + color: #57075f !important; + background: transparent; + text-decoration: underline; } -#content #presentation { - float:left; - width:50%; +#content .footnotes { + font-size: 80%; } -#content #actus { - float:left; - width:50%; +.half-section { + display: inline-block; + vertical-align: top; + width: 49.5%; } + /* #content }}} */ -#pagebody .archivepagelist { - margin:0.1em 0; - padding:0; - text-align:left; +/* Paypal donation forms */ +.paypal-donation { + display: inline-block; + vertical-align: top; + width:45%; + padding-right: 4%; +} +.paypal-donation h4 { + margin: 0 0 0.5em 0; +} +.paypal-donation select { + display: inline-block; + vertical-align: top; + margin-right: 1em; + min-height:26px; +} +.paypal-donation .cancel { + font-size: small; +} + + +/* Progress bar */ +.progress-bar-wrapper { + margin-top: 1em; + height: 85px; + width: 300px; + background: lightGrey url(assets/progress_bar.png) top left repeat-x; + border: 1px solid #ccc; + border-bottom: 0; + position: relative; +} + .progress-bar-wrapper .progress-bar { + height: 85px; + background: grey url(assets/progress_bar.png) bottom left repeat-x; + } + .progress-bar-wrapper:after { + content: " "; + display: block; + position: absolute; + bottom: -5px; + left: -1px; + height: 5px; + width: 100%; + border: 1px solid #ccc; + border-top: 0; + background: -moz-linear-gradient(left, #ff0000 0%, #66ff00 100%); /* FF3.6+ */ + background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ff0000), color-stop(100%,#66ff00)); /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Chrome10+,Safari5.1+ */ + background: -o-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Opera 11.10+ */ + background: -ms-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* IE10+ */ + background: linear-gradient(to right, #ff0000 0%,#66ff00 100%); /* W3C */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#66ff00',GradientType=1 ); /* IE6-9 */ + } + + +.section-progress-text { + width: 47.5%; + padding-left: 2%; +} + +/* FDN Form */ +.fdn-form {} + .fdn-form select, + .fdn-form input { + display: inline-block; + vertical-align: top; + margin-right: 1em; + height: 26px; + } + .fdn-form #custom-amount { + display:none; + height: 22px; + } + + + +/* {{{ .inlinepage */ + +.inlinepage { + padding: 0; + border: none; + margin-bottom: 1em; } -#pagebody .archivepagelist .date { - font-size:90%; - font-family:monospace; - vertical-align:middle; +.inlinepage .header { + border-bottom: solid #ccc 1px; } -#pagebody .feedbutton { - margin-top:0; - float:right; +.inlinepage .inlineheader .pagedate { + margin-top: 0; + font-size: 80%; + font-style: normal; + color: #666; } +/* .inlinepage }}} */ + /* {{{ #footer */ #footer { position: relative; - z-index: 105; margin: 0; - padding: 0; - color: white; - background: #012345; + padding: 0.5em 0; text-align: center; - -webkit-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); - -moz-box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); - box-shadow: 0 0 0.5em 0 #888888, inset 0 0 4em 0 rgba(240, 240, 170, 0.3); + color: white; + background: #57075f; + z-index: 400; } #footer #pageinfo { position: relative; - min-width: 30em; margin: auto; padding: 0.1em 2em; border-top: none; @@ -322,140 +483,98 @@ a:hover { text-decoration: underline; } } #backlinks { - font-size:8pt; - margin-top:0; + font-size: 80%; + margin-top: 0; } #footer #pageinfo div { - font-size:8pt; - margin-top:0.5em; - margin-bottom:0.5em; + font-size: 80%; + margin-top: 0; + margin-bottom: 0; } /* #footer }}} */ -/* - * Pour l'impression - */ +/* {{{ @media print */ @media print { - #gresille_links, - .sidebar { display:none; } + .sidebar, + .actions, + .feedlink, + #backlinks, + #otherlanguages { + display: none; + } - #header, #footer, #footer #pageinfo, - .pageheader, - #footer .pagefooter, .page, + .pageheader, #pagebody { - margin:0; - padding:0; - border:none; - box-shadow:none; - -moz-box-shadow:none; - -webkit-box-shadow:none; + margin: 0; + padding: 0; + border: none; + box-shadow: none; } - - #footer { margin-top:2em; padding-top:0em; border-top:1px solid black; } - .pageheader { padding-left:240px; } - .pageheader { margin-bottom:4em; } - - .pageheader .title , - .pageheader .parentlinks a , - .pageheader a { - text-shadow:none; - -moz-text-shadow:none; - -webkit-text-shadow:none; + .page, + .pageheader { + border-radius: 0; } -} - -#content p.news { - margin-top:0.75em; - margin-bottom:0.75em; - line-height:1.3em; - text-align:left; -} -#content p.news a tt { - display:block; - float:left; - font-size:8pt; - color:#aaa; - margin-right:0.75em; - margin-bottom:0.75em; -} -#content p.news a { - display:block; -} - - -/* - * Index - */ - -[id="index.actus"] { - float:left; -} - -[id="index.evts"] { - float:right; -} -[id="index.evts"], -[id="index.actus"] { - width:49%; -} - -[id="publications.pratiques"] { - float:left; -} - -[id="publications.reflexions"] { - float:right; -} -[id="publications.reflexions"], -[id="publications.pratiques"] { - width:49%; -} + .pageheader { + position: static; + height: auto; + } -/* - * Plugin calendar - */ + .pageheader .header { + margin-left: 0; + padding-top: 2em; + padding-bottom: 1em; + } -.calendar { - color:#aaa; - font-size:8pt; - margin-top:1em; - margin-bottom:1em; -} + .pageheader .header > span, + .parentlinks .parentlinksep { + display: inline; + height: auto; + } -.calendar table td { -} + .pageheader a, + .pageheader .parentlinks a { + color: black; + } -.calendar .selflink { - color:#444444; -} + .pageheader, + .parentlinks a, + .parentlinks .parentlinksep + a + .parentlinksep + a { + background: none; + } -.year-calendar-subhead { - visibility: hidden; -} + .pageheader .parentlinks { + display: inline; + } + .pageheader .title, + .parentlinks > a { + position: static; + } -.pageheader form { - position:absolute; - right:2em; - bottom:2em; -} + .parentlinks > a span { + display: inline; + } + #content h1 { + color: black; + text-shadow: none; + border-bottom: solid #ccc 1px; + } -input#searchbox { - border:1px solid #465; - border-radius:0.25em; - -moz-border-radius:0.25em; - -webkit-border-radius:0.25em; - background:url("images/search-bg.png") no-repeat 100% 50% #8A9; - padding-left:0.4em; -} + #content a:link:after, + #content a:visited:after { + content:" [" attr(href) "] "; + } -.footnotes { - font-size: smaller; + #footer { + margin-top: 2em; + text-align: left; + } } +/* @media print }}} */