diff --git a/public/css/default.css b/public/css/default.css new file mode 100644 index 0000000..39c3ba5 --- /dev/null +++ b/public/css/default.css @@ -0,0 +1,69 @@ +html, body { + margin: 0px; + padding: 0px; + border: 0px; + font-family: sans-serif; + font-size: 10pt; +} + +body { + background-color: #F9F9F9; + background-image: url('/img/headbg.jpg'); + background-clip: border-box; + background-attachment: scroll; + background-repeat: no-repeat; +} + +div#main { + position: relative; + width: 100%; + padding: 10px 0px; +} + +div#sidebar { + position: absolute; + top: 0px; + bottom: 0px; + left: 0px; + width: 150px; + max-width: 170px; + padding: 2px; + overflow: hidden; +} + +div#content { + position: relative; + margin-left: 175px; + margin-top: 10px; + padding: 10px 10px; +} + +.ui-block { + background-color: #FFFFFF; + border: 1px solid #AAAAAA; +} + +/* headers */ +h1, h2, h3, h4, h5 { + margin: 0px; + font-weight: normal; + margin-bottom: 0.6em; +} + +h1 { + font-size: 160%; + border-bottom: 1px solid #AAAAAA; +} +h2 { font-size: 130%; } + +ul { + margin: 0px; + padding: 3px 20px; + list-style: square; + color: #999999; +} + +a { + text-decoration: none; + color: #002BB8; +} diff --git a/public/css/zerobin.css b/public/css/zerobin.css index 370ef61..f1bf4a5 100644 --- a/public/css/zerobin.css +++ b/public/css/zerobin.css @@ -2,7 +2,7 @@ span.cblock { border-radius: 4px; background-color: #F3F3F3; padding: 6px 8px; - margin: 0px 5px; + margin: 5px 5px; } span.cblock input[type=submit] { diff --git a/public/img/headbg.jpg b/public/img/headbg.jpg new file mode 100644 index 0000000..5491c6e Binary files /dev/null and b/public/img/headbg.jpg differ diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 8d47685..f1baf41 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -1,14 +1,16 @@ -% my @styles = qw(monobook.screen monobook.print); -% push @styles, split(/\s+/, stash('styles')); -% my @scripts = (); -% push @scripts, split(/\s+/, stash('scripts')); - <%= title %> - Linux во Владивостоке + <%= title %> - Linux во Владивостоке +% my @styles = qw(default); +% push @styles, split(/\s+/, stash('styles')); +% +% my @scripts = (); +% push @scripts, split(/\s+/, stash('scripts')); +% % foreach my $style (@styles) { <%= stylesheet "/css/$style.css" %> % } @@ -16,66 +18,34 @@ <%= javascript "/js/$script.js" %> % } - -
+ +
-
-
- - -
-
- -%= content - -
-
-
-
+ -
- - -
-
- -
-
- - -
- -
- - +
+ +