X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/c2e85644c4128b2545fd4bbe0382f4e2e502bd83..refs/heads/django-4.2:/media/style/main.css?ds=inline diff --git a/media/style/main.css b/media/style/main.css index 515979f..f97ddf2 100644 --- a/media/style/main.css +++ b/media/style/main.css @@ -12,6 +12,7 @@ body #page { margin-right: auto; font-size: 100%; border: thin solid #000000; + border-radius: 1em; } body #page #headerbar { @@ -19,7 +20,7 @@ body #page #headerbar { width: 100%; margin: 0; padding: 0; - min-height: 160px; + height: 160px; } body #page #headerbar #websitetitle { @@ -41,11 +42,10 @@ body #page #headerbar #menu { margin-right: 0; text-align: right; width: 100%; - border-top: thin solid #bababa; - border-bottom: thin solid #bababa; background: url(../img/menu-back.png); padding-top: 0.3em; padding-bottom: 0.3em; + left: 0; bottom: 0; position: absolute; } @@ -54,16 +54,74 @@ body #page #headerbar #menu ul { display: inline; } -body #page #headerbar #menu ul li { +body #page #headerbar #menu ul li, +body #page #headerbar #menu ul li a, +body #page #headerbar #menu ul li a:visited { display: inline; - padding-left: 1em; - padding-right: 1em; margin: 0; color: #9a9a9a; font-weight: bold; + text-decoration: none; +} + +body #page #content #breadcrumb { + margin-left: -0.8em; + margin-right: -0.8em; + margin-top: 0; + margin-bottom: 0; + padding-top: 0.1em; + padding-bottom: 0.1em; + text-align: left; + background: #dfdfdf; + color: black; } -body #page #headerbar #menu ul li:hover { +body #page #content #breadcrumb p { + font-size: 90%; + font-weight: bold; + padding: 0; + margin: 0 1em; +} + +body #page #content #breadcrumb p a { + color: #8a8a8a; + text-decoration: none; +} + +body #page #content #submenu { + margin-right: -0.8em; + margin-left: -0.8em; + text-align: left; + background: black; + padding-top: 0.2em; + padding-bottom: 0.2em; +} + +body #page #content #submenu ul { + display: inline; + font-size: 90%; + padding: 1em; + margin: 0; +} + +body #page #content #submenu ul li, +body #page #content #submenu ul li a, +body #page #content #submenu ul li a:visited { + display: inline; + margin: 0; + color: #9a9a9a; + font-weight: bold; + text-decoration: none; +} + +body #page #headerbar #menu ul li, +body #page #content #submenu ul li { + padding-left: 1em; + padding-right: 1em; +} + +body #page #headerbar #menu ul li:hover, +body #page #headerbar #menu ul li a:hover { color: #ffffff; } @@ -71,14 +129,21 @@ body #page #content { font-family: arial, helvetica, sans-serif; text-align: left; margin-left: 0.8em; - margin-right: 0.3em; + margin-right: 0.8em; } -body #page #content h1 { - margin-left: -0.3em; +body #page #footer { + text-align: center; + margin: 0; + padding: 0.2em; + background: #9a9a9a; + color: black; + border-top: thin solid #000000; + border-bottom-left-radius: 1em; + border-bottom-right-radius: 1em; } -body #page #footer { +body #page #footer p { width: 100%; font-size: 70%; text-align: center; @@ -86,3 +151,84 @@ body #page #footer { padding: 0.1em; } +div.album { + margin-top: 2em; + border-bottom: 1px solid #afafaf; +} + +div.lastalbum { + border: 0; +} + +div.album img { + float: left; + padding-right: 1em; +} + +div.album a img { + border: 0; +} + +div.photo { + margin-top: 2em; + float: left; + margin-right: 2em; +} + +div.single_photo { + margin-top: 2em; +} + +div.photo a img, +div.single_photo a img { + border: 0; +} + +dl dt { + font-weight: bold; + font-size: 1.3em; + margin-top: 1em; +} + +#content ul li p.first { + margin: 0; +} + +div.comments { + border-top: 1px solid #afafaf; +} + +div.comments h3 { + margin-top: 0.2em; + padding-top: 0; +} + +div.comments div.comment { + border-bottom: 1px solid #afafaf; +} + +div.comment_new p label { + width: 25%; + padding-right: 0.7em; + text-align: right; + display: block; + float: left; + vertical-align: top; +} + +div.comment_new p label:after { + content: ":"; +} + +div.comment_new p input[type="text"] { + width: 30em; +} + +div.comment_new p textarea { + width: 25em; +} + +div.comments a[name="comments"] { + text-decoration: none; + display: none; +}