X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/e78364e0ca0cf673f81aac88212200a802cf8101..84bde05fcc1c403e3d8b5150ce17da856803c9bc:/local.css?ds=sidebyside diff --git a/local.css b/local.css index b33de8f..da1f3e2 100644 --- a/local.css +++ b/local.css @@ -115,6 +115,13 @@ thead td { background: url(assets/logo-nos-oignons-blanc.png) no-repeat top left; background-size: 100%; } +@media screen and (max-width: 390px) { + #logo { + background-image: url(assets/logo-nos-oignons-blanc-small.png); + background-position: left center; + height: 100px; + } +} #logo span { display: none; @@ -273,6 +280,9 @@ main a:hover { main p { margin: 1em 0 1em 0; } +main li p { + margin-top: 0; +} main hr { border: none; @@ -357,22 +367,28 @@ main .header a { } main .feedlink a { - text-decoration: none; + text-decoration: none; + /*color: #ffa430;*/ } main .feedlink { - text-align: right; - margin-top: -2.8em; - min-height: 2.8em; + float: right; + text-align: left; + margin-top: -3.5em; +} +@media screen and (max-width: 400px) { + main .feedlink { + float: none; + margin-top: -2em; + margin-bottom: 2em; + } } main .feedlink .feedbutton { font-size: 0.8em; - color: #57075f !important; background: transparent; border: none; } main .feedlink .feedbutton:hover { - color: #57075f !important; background: transparent; text-decoration: underline; } @@ -399,8 +415,8 @@ main .footnotes { text-align: center; } -#bandwidth {text-align: center;} -#bandwidth svg {text-align: left;} +#bandwidth, #weights {text-align: center;} +#bandwidth svg, #weights svg {text-align: left;} /* Tor nodes table */ .tor-nodes {} @@ -409,34 +425,54 @@ main .footnotes { } -/* Paypal donation forms */ -.paypal-donation { - display: inline-block; - vertical-align: top; - width:45%; - padding-right: 4%; - min-width: 20em; + +.donation-cb { + display: inline-block; + vertical-align: top; + width:45%; + padding-right: 4%; + min-width: 20em; } -.paypal-donation h4 { + +/* Paypal donation forms */ +// .paypal-donation { +// display: inline-block; +// vertical-align: top; +// width:45%; +// padding-right: 4%; +// min-width: 20em; +// } +.paypal-donation h5 { margin: 0 0 0.5em 0; } .paypal-donation select { display: inline-block; vertical-align: top; margin-right: 1em; - min-height:26px; + min-height:26px; + height:26px; + background-color: #fff; + border: 1px solid #57075F; } .paypal-donation .cancel { font-size: small; } +.donation-other { + display: inline-block; + vertical-align: top; + width:45%; + padding-right: 4%; + min-width: 20em; +} + /* Progress bar */ .progress-bar-wrapper { margin: 2em auto; height: 85px; width: 600px; - background: lightGrey url(assets/progress_bar.png) top left repeat-x; + background: url(assets/progress_bar.png) top left repeat-x; border: 1px solid #ccc; border-bottom: 0; position: relative; @@ -444,7 +480,7 @@ main .footnotes { .progress-bar-wrapper .progress-bar { position: absolute; height: 85px; - background: grey url(assets/progress_bar.png) left -85px repeat-x; + background: url(assets/progress_bar.png) left -85px repeat-x; z-index: 2; /* animate progress bar */ -webkit-animation: progress-bar 1.5s; @@ -452,7 +488,7 @@ main .footnotes { animation: progress-bar 1.5s; } .progress-bar-wrapper .progress-bar-promises { - background: grey url(assets/progress_bar.png) left bottom repeat-x; + background-position: left bottom; z-index: 1; }