X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/af137a2fbffbede7c7b041a32d4f0a056a2007cc..bbb418dd11f02bbddffff5cce26411f3b9d795a3:/local.css diff --git a/local.css b/local.css index a7adde2..bf876b1 100644 --- a/local.css +++ b/local.css @@ -25,10 +25,10 @@ src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(assets/OpenSans/OpenSans-BoldItalic.ttf) format('truetype'); } @font-face { - font-family: 'Incosolata'; + font-family: 'Inconsolata'; font-style: normal; font-weight: 400; - src: local('Incosolata'), local('Inconsolata-Regular'), url(assets/Inconsolata/Inconsolata.otf) format('opentype'); + src: local('Inconsolata'), local('Inconsolata-Regular'), url(assets/Inconsolata/Inconsolata.otf) format('opentype'); } html { @@ -45,7 +45,16 @@ body { code, pre { - font-family: "Incosolata", monospace; + font-family: "Inconsolata", monospace; + font-size-adjust: 0.535; +} + +dt { + font-weight: bold; +} + +thead td { + text-decoration: underline; } .page { @@ -224,10 +233,6 @@ pre { color: #a756af; background: transparent; font-weight: normal; -} - -.sidebar ul li > span, -.sidebar ul li > a { font-size: 100%; } @@ -345,8 +350,124 @@ pre { #content .footnotes { font-size: 80%; } + +.half-section { + display: inline-block; + vertical-align: top; + width: 49.5%; +} + /* #content }}} */ +/* 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: 2em auto; + height: 85px; + width: 600px; + 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 { + position: absolute; + height: 85px; + background: grey url(assets/progress_bar.png) bottom left repeat-x; + /* animate progress bar */ + -webkit-animation: progress-bar 1.5s; + -moz-animation: progress-bar 1.5s; + animation: progress-bar 1.5s; + } + + /* progress bar animation*/ + @-webkit-keyframes progress-bar { 0% { width: 0; } } + @-moz-keyframes progress-bar { 0% { width: 0; } } + keyframes progress-bar { 0% { width: 0; } } + + /* Current amount */ + .progress-bar-wrapper .progress-bar:after { + content: attr(data-current); + display: block; + position: absolute; + top: -22px; + right: 0; + background: #fff; + color: #ccc; + font-size: 0.9em; + } + + /* Temperature bar */ + .progress-bar-wrapper:before { + content: " "; + display: block; + position: absolute; + z-index: 1; + 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 */ + } + + /* Annual budget */ + .progress-bar-wrapper:after { + content: attr(data-total); + display: block; + position: absolute; + top: -22px; + right: 0; + background: #fff; + color: #ccc; + font-size: 0.9em; + } + + + +/* 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 { @@ -381,7 +502,6 @@ pre { #footer #pageinfo { position: relative; - max-width: 30em; margin: auto; padding: 0.1em 2em; border-top: none; @@ -491,4 +611,3 @@ pre { } } /* @media print }}} */ -