From: Lunar Date: Wed, 20 Mar 2013 10:03:25 +0000 (+0100) Subject: Mise à jour vers la dernière feuille de style proposée par quidame X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/6a96335f1bf0f9b5948e1c10fa9b223b21438eae Mise à jour vers la dernière feuille de style proposée par quidame --- diff --git a/local.css b/local.css index 5d9f932..f9dc59b 100644 --- a/local.css +++ b/local.css @@ -1,7 +1,7 @@ -/* 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 : */ html { - overflow-y: scroll; + overflow: auto; } body { @@ -17,17 +17,22 @@ a { color: #bb2112; text-decoration: none; } + a:hover { text-decoration: underline; } +/*a:visited { color: #aa00bb; }*/ + +em { + font-family: serif; +} .page { overflow: hidden; min-width: 50em; - max-width: 90em; - margin: 0 auto; + max-width: 80em; + margin: 2em auto 0 auto; + border-radius: 16px 16px 0 0; + 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 */ @@ -36,26 +41,28 @@ a:hover { text-decoration: underline; } 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); + 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; } .pageheader .header { - font-size: 9pt; + font-size: 10pt; + margin-left: 12em; } .pageheader .header > span { display: block; margin: auto; min-width: 30em; - padding: 1em 2em; + padding: 1em; } .pageheader .parentlinks { display: block; - font-size: 8pt; min-height: 1.5em; margin-top: 0.75em; } @@ -102,55 +109,49 @@ a:hover { text-decoration: underline; } } .pageheader #otherlanguages { - /*border: none;*/ - border-bottom: 1px dotted #012345; + border: none; } /* #otherlanguages }}} */ /* .pageheader }}} */ -.feedlink { - display: none; -} - #pagebody { position: relative; - min-width: 30em; - min-height: 50em; - margin: 0 16em 0 0; + min-width: 32em; + min-height: 48em; + margin: 0 0 0 12em; padding: 1em 2em; background: white; 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; + box-shadow: 0 3px 0.4em 0 #333366; } /* {{{ .sidebar */ .sidebar { + position: absolute; + top: 14em; overflow: hidden; - width: 16em; - margin: 5em 0 0 0; + width: 12em; + margin: 0; padding: 0; border: none; z-index: 100; + background: #f5f5f5; } .sidebar ul { margin: 0; padding: 0; list-style: none; - background: #f5f5f5; + background: transparent; } .sidebar li { + text-align: left; } .sidebar ul li .selflink { - color: black; - background: white; + color: #012345; font-weight: bold; - border: 1px dotted #012345; - border-left: none; } .sidebar ul li > span, @@ -161,19 +162,21 @@ a:hover { text-decoration: underline; } font-weight: bold; text-decoration: none; border: 1px solid #f5f5f5; - border-left: none; color: #aaaaaa; background: transparent; } +.sidebar ul li .selflink:hover { + border-top: 1px dotted #012345; + border-bottom: 1px dotted #012345; + background: #ffffdd; +} + .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 #012345; + border-bottom: 1px dotted #012345; + color: #012345; + background: #ffffdd; } /* .sidebar }}} */ /* {{{ #content */ @@ -189,120 +192,78 @@ 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; + display: inline; + font-size: 20pt; + font-weight: normal; + line-height: 2.5em; + padding: 0.2em 0.5em; + color: #333366; + background: #f5f5f5; + border: dotted 1px #333366; + border-left: solid 3px; } #content h2 { - font-size:12pt; - color:#555; - margin-top:1.5em; - margin-bottom:0; + font-size: 16pt; + font-weight: normal; + margin-top: 1.5em; + margin-bottom: 0; } #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: 12pt; + 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; -} - -#content .img_center { - display: block; - margin-left: auto; - margin-right: auto; -} - -#content .img_topleft { - float:left; - margin-right:1em; - margin-bottom:1em; + padding: 0.1em 0.5em; + border-top: solid 1px #ccc; } -#content .img_topright { - float:right; - margin-left:1em; - margin-bottom:1em; -} - -#content #presentation { - float:left; - width:50%; -} - -#content #actus { - float:left; - width:50%; +#content .feedlink a { + text-decoration: none; } /* #content }}} */ -#pagebody .archivepagelist { - margin:0.1em 0; - padding:0; - text-align:left; -} - -#pagebody .archivepagelist .date { - font-size:90%; - font-family:monospace; - vertical-align:middle; -} - -#pagebody .feedbutton { - margin-top:0; - float:right; -} - /* {{{ #footer */ #footer { position: relative; - z-index: 105; margin: 0; - padding: 0; - color: white; - background: #012345; + padding: 1em 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: #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; } #footer #pageinfo { @@ -322,140 +283,46 @@ a:hover { text-decoration: underline; } } #backlinks { - font-size:8pt; - margin-top:0; + font-size: 8pt; + margin-top: 0; } #footer #pageinfo div { - font-size:8pt; - margin-top:0.5em; - margin-bottom:0.5em; + font-size: 8pt; + margin-top: 0.5em; + 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%; -} - -/* - * Plugin calendar - */ - -.calendar { - color:#aaa; - font-size:8pt; - margin-top:1em; - margin-bottom:1em; -} - -.calendar table td { -} - -.calendar .selflink { - color:#444444; -} - -.year-calendar-subhead { - visibility: hidden; -} - -.pageheader form { - position:absolute; - right:2em; - bottom:2em; -} - - -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; + #footer { + padding: 0.5em; + } } +/* @media print }}} */ -.footnotes { - font-size: smaller; -}