调整CSS

This commit is contained in:
wlx 2010-06-27 23:59:12 +00:00
parent 5444187689
commit 80666da925
3 changed files with 110 additions and 11 deletions

View File

@ -1,23 +1,26 @@
body{margin:0;height:100%;}
html{height:100%;}
/* water */
#sidebar{margin:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;}
#right{margin:0;border-left:2px solid #ddd;margin-left:220px;}
#leftnavi{margin:0;}
#intro {}
#sidebar{margin:0;padding:0;width:220px;_margin-right:-3px;float:left;border-right:2px solid #ddd;background:#ddd;}
#right{margin:0;padding:0;border-left:2px solid #ddd;margin-left:220px;}
#leftnavi{margin:0;padding:0;}
#intro {margin:0;padding:0;padding-left:5px;float:left;}
#intro p{text-indent:2em;}
#intro img{}
#intro img{float:left;clear:left;padding:5px;}
/* used in water */
.PageNavigation{padding-left:30px;}
hr{border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
hr{float:left;border: none 0;border-bottom:1px dashed #ccc;height: 1px;}
#mdlist{}
.t1highlight{background-color: #ccccff;}
.t3highlight{background-color: #ccccff;}
.t2highlight{background-color: #FFCCCC;}
#keyword{display:none;}
#keyword{display:none;float:left;}
#keyword fieldset {border:dotted 1px;border-bottom:0;border-left:0;border-right:0;display:block;}
#links{}
#search{float:left;}
#links{float:left;}
#search{}
.float{float:left;}
.tools li{float:left;}
.more {float:right;padding-right:20px;}
#metacontent{clear:left;margin-left:10px;}
@ -45,11 +48,10 @@ ul{list-style-type: none;}
img{border:0px;}
.thumb {clear:left;float:left;}
.summary{text-indent:2em;}
.form{float:left;clear:left;}
.more{font-size: 11px;}
dd,dt{float:left;margin:0;}
form{margin:0px;display:inline;}
form{margin:0px;display:inline;float:left;padding:0;}
#links dd {padding-bottom:5px;margin-left:5px;margin-top:-5px;}
.note{font-size:10px;color:gray;}

View File

@ -0,0 +1,97 @@
#left{margin-right:310px;}
#right{float:right;width:300px;border-left:2px solid #ddd;background:#ddd;}
h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
hr{clear:left;border:#ccc 1px dotted;overflow:hidden;}
li {white-space:nowrap;}
#ImageViewer{ width:250px; float:right; text-align:center;margin:0;padding:0;border:0;}
#ItemSummary{margin-left:0px auto;top:10px;width:300px;text-align:center;}
#ItemSummary ul{margin:0;padding:0;text-align:left;float:left;width:300px;}
#ItemSummary li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;margin-top:2px;height:24px;line-height:24px;border-bottom:1px dashed #ccc;float:left;list-style-type:none;}
#ItemSummary li span{display:block; width:70px; float:left; text-align:right; color:#555;}
#OtherInfo{}
#OtherInfo li{ float:left; width:300px;}
#OtherInfo #filesize,#OtherInfo #fileformat,#OtherInfo #downtimes,#OtherInfo #viewtimes{ width:140px;}
#OtherInfo #datatype,#OtherInfo #projection,#OtherInfo #datatimes #datadoc{ width:290px;}
#linkurl {text-align:center;display:block;width:300px;}
#temporal ul{padding-left:36px;background:url(/images/time.gif) no-repeat left center;}
#place ul{padding-left:36px;background:url(/images/place.gif) no-repeat left center;}
#theme ul{padding-left:36px;background:url(/images/theme.gif) no-repeat left center;}
#stratum ul{padding-left:36px;background:url(/images/stratum.gif) no-repeat left center;}
#discipline ul{padding-left:36px;background:url(/images/discipline.gif) no-repeat left center;}
#series ul{padding-left:36px;background:url(/images/series.gif) no-repeat left center;}
#category ul{clear:both;padding-left:36px;background:url(/images/category.gif) no-repeat left center;}
#filesize,#downtimes,#fileformat,#viewtimes {text-align:left;width:140px;}
#datatype,#projection,#datatimes {text-align:left;width:290px;}
#cite{float:left;text-indent:2em;}
#cite p{width:98%;}
#cite ul{text-indent:0em;}
#cite ol{text-indent:0em;clear:both;}
#cite ul li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;float:left;list-style-type:none;margin-left:15px;}
#cite ol li{text-indent:0em;clear:both;white-space:normal;}
h2 {clear:both;}
#authors {border:1px solid #CCCCCC;margin:0px;float:right;text-align:left;width:300px;}
#authors ul {margin:0;padding:0;}
#authors ul li {clear:both;display:block;padding-left:15px;white-space:normal;}
#authors h2{float:left;font-size:16px;clear:left;margin:2px;border-bottom:1px dashed #ccc;width:95%;}
#comments h2{float:left;font-size:16px;clear:left;margin:2px;padding-left:30px;}
#abstract{text-indent:2em;}
#abstract table,#abstract th,#abstract td{border:1px solid #ccc;border-style:inset;}
#related,#literature{float:left;text-indent:2em; width:50%;white-space:normal;word-break:break-word;overflow:hidden;}
#related ul,#literature ul{list-style-type:decimal;list-style-position:inside;}
#related li,#literature li{margin-left:-30px;}
label{float:left;text-align:right;width:100px;padding-right:20px;}
label.required { background:url(/images/req-asterisk.gif) right; background-repeat: no-repeat;}
#allcomments li{display:block;border:1px solid #aaa;white-space:wrap;width:100%;}
#allcomments span {background:#dfdfdf;display:block;padding-left:10px;}
.comment-content{display:block;border:1px solid #aaa;text-indent:2em;}
.thumb {float:left;width:250px;height:200px;}
#tools ul li {float:left; padding-left:10px;}
ul{list-style-type: none;}
img{border:0px;}
.commentform{border:0;margin:0;padding:0;clear:left;}
.submit-group{padding-left:300px;}
.element-group {padding-left:100px;border:0;margin:0;}
.zend_form dt{float:left;margin:0;text-align:center;}
#links dd {padding-bottom:5px;margin-left:5px;margin-top:-5px;}
.note{font-size:10px;color:gray;}
#keyword fieldset {border:dotted 1px;border-bottom:0;}
#series fieldset {border-bottom:0;}
#category fieldset {border-bottom:0;}
.clear-div{height:0px;overflow:hidden;}
#map{height:300px;width:300px;border:1px;float:right;}
#window-outter {
background:#3d3d3d none repeat scroll 0 0;
border:1px solid #DDDDDD;
display:block;
position:absolute;
width:960px;
top:0;
}
#window-inner {
top:-3px;
left:-3px;
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #555555;
font-weight:normal;
padding:2px;
position:relative;
}
#window-closer-container {
top:2px;
right:2px;
position:relative;
float:right;
}
#window-content-container{
margin:10px;
padding:0;
}
#window-loading {
text-align:center
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB