tweak bzed's theme

* move dotted border from bottom inlinecontent to top inlinefooter,
  and allow inlinefooter to clear floating content. This way, floating
  images do not hang down through the dotted border
* don't reset inputs and textareas, it makes buttons in forms
  all squash up together
* don't eliminate fieldsets, it makes the web setup page a
  mess
* only force the size of the search box. ikiwiki generally picks
  form field sizes with a reasonable good reason
* remove some custom css classes not used
* remove some trailing whitespace
master
Joey Hess 2010-06-16 14:55:44 -04:00
parent 73e61221bd
commit c5a47e2f99
1 changed files with 16 additions and 34 deletions

View File

@ -17,9 +17,9 @@ Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt http://developer.yahoo.net/yui/license.txt
version: 2.5.1 version: 2.5.1
*/ */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;} body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,legend,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;} table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;} img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;} address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;} li{list-style:none;}
caption,th{text-align:left;} caption,th{text-align:left;}
@ -131,9 +131,8 @@ p,fieldset,table,pre {
/*so things don't run into each other*/ /*so things don't run into each other*/
margin-bottom:1em; margin-bottom:1em;
} }
/* setting a consistent width, 160px;
control of type=file still not possible */ #searchbox {
input[type=text],input[type=password],textarea {
width:21.5em;*width:21em; width:21.5em;*width:21em;
} }
@ -150,7 +149,7 @@ input[type=text],input[type=password],textarea {
html, body { html, body {
color:#000; color:#000;
/* background-image: url('_images/body_background.png'); /* background-image: url('body_background.png');
background-repeat: repeat; */ background-repeat: repeat; */
background-color: #8da1b8; background-color: #8da1b8;
} }
@ -171,7 +170,7 @@ body {
} }
.pageheader { .pageheader {
background-image: url('_images/header_background.png'); background-image: url('header_background.png');
background-repeat: repeat-x; background-repeat: repeat-x;
height: 100px; height: 100px;
padding-left: 1em; padding-left: 1em;
@ -200,7 +199,7 @@ body {
.pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span { .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span {
padding: 0.25em 0.25em 0.25em 0.25em; padding: 0.25em 0.25em 0.25em 0.25em;
background-image: url('_images/background_darkness.png'); background-image: url('background_darkness.png');
background-repeat: repeat; background-repeat: repeat;
color: white; color: white;
} }
@ -230,7 +229,6 @@ body {
} }
.sidebar h2 { .sidebar h2 {
/* border-bottom: border-bottom-width, border-bottom-style, and border-bottom-color. */
border-bottom: ridge #eee; border-bottom: ridge #eee;
padding-right: 0; padding-right: 0;
} }
@ -245,12 +243,8 @@ body {
margin-bottom: 2em; margin-bottom: 2em;
} }
.inlinecontent {
border-bottom: 1px dotted #315485;
}
.inlinefooter { .inlinefooter {
clear: none; border-top: 1px dotted #315485;
} }
.inlinefooter .pagedate, .inlinefooter .tags { .inlinefooter .pagedate, .inlinefooter .tags {
@ -263,20 +257,8 @@ body {
padding: 0.22em; padding: 0.22em;
} }
.curriculumvitae .noprint {
margin-bottom: 2em;
}
.curriculumvitae .floatright {
float: right;
clear: none;
}
pre {
overflow: auto;
}
@media print { @media print {
.curriculumvitae .noprint, .sidebar, .page .pageheader .header .parentlinks { .sidebar, .page .pageheader .header .parentlinks {
content:"."; content:".";
display:block; display:block;
height:0; height:0;