cropped header images to 970x80 instead of scaling, is sharper
This commit is contained in:
parent
b2e3e66604
commit
eb6ac249f4
@ -161,12 +161,12 @@
|
||||
<?php echo isset($develwarning) ? $develwarning : '' ?>
|
||||
|
||||
<!-- Header banner -->
|
||||
<div style="height:81px;">
|
||||
<div class="header" style="height:80px; position:absolute; z-order:1;">
|
||||
<div style="width: 970px; "><img src="resource2/{style}/images/head/rotator.php?path=<?php echo $opt['page']['headimagepath']; ?>" style="border: 0px none ;" /></div>
|
||||
<div class="header">
|
||||
<div class="headerimage">
|
||||
<img src="resource2/{style}/images/head/rotator.php?path=<?php echo $opt['page']['headimagepath']; ?>" class="headerimagecontent" />
|
||||
</div>
|
||||
<div style="position:absolute; z-order:2;">
|
||||
<img src="resource2/{style}/images/head/overlay/oc_head_alpha3.png" style="border: 0px none ;" />
|
||||
<div class="headerlogo">
|
||||
<img src="resource2/{style}/images/head/overlay/oc_head_alpha3.png" class="headerimagecontent" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -102,9 +102,29 @@ div#bg2 {display: none;}
|
||||
/* 2.1 - Sitename, slogan and banner */
|
||||
/*-----------------------------------*/
|
||||
.header {
|
||||
height:81px;
|
||||
height: 81px;
|
||||
}
|
||||
|
||||
.headerimage {
|
||||
height: 80px;
|
||||
width: 970px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.headerlogo {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.headerimagecontent {
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
|
||||
.site-name {
|
||||
width: 300px;
|
||||
height: 60px;
|
||||
@ -830,7 +850,7 @@ a.info:hover span{ /*the span will display just on :hover state*/
|
||||
#breadcrumb
|
||||
{
|
||||
position: absolute;
|
||||
top:111px;
|
||||
top:110px;
|
||||
right: 250px;
|
||||
left: 180px;
|
||||
color:#505050;
|
||||
@ -846,7 +866,7 @@ a.info:hover span{ /*the span will display just on :hover state*/
|
||||
#breadcrumb_fullsize
|
||||
{
|
||||
position: absolute;
|
||||
top:111px;
|
||||
top:110px;
|
||||
right: 20px;
|
||||
left: 180px;
|
||||
|
||||
@ -875,7 +895,7 @@ ul.nodot li {
|
||||
|
||||
#suchbox {
|
||||
position: absolute;
|
||||
top:113px;
|
||||
top:112px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
@ -1174,7 +1194,7 @@ div.isarchived {
|
||||
div#havefound {
|
||||
position: absolute;
|
||||
z-index: 25;
|
||||
top: 181px;
|
||||
top: 180px;
|
||||
right: 20px;
|
||||
width: 35px;
|
||||
padding: 5px 5px 5px 0px;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 36 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 38 KiB |
@ -141,12 +141,12 @@
|
||||
|
||||
|
||||
{* <!-- Header banner --> *}
|
||||
<div class="header" style="height:81px;">
|
||||
<div style="width: 970px; position:absolute; z-order:1;">
|
||||
<img src="resource2/{$opt.template.style}/images/head/rotator.php?path={$opt.page.headimagepath}" style="border: 0px none ;" />
|
||||
<div class="header">
|
||||
<div class="headerimage">
|
||||
<img src="resource2/{$opt.template.style}/images/head/rotator.php?path={$opt.page.headimagepath}" class="headerimagecontent" />
|
||||
</div>
|
||||
<div style="position:absolute; z-order:2;">
|
||||
<img src="resource2/{$opt.template.style}/images/head/overlay/oc_head_alpha3.png" style="border: 0px none ;" />
|
||||
<div class="headerlogo">
|
||||
<img src="resource2/{$opt.template.style}/images/head/overlay/oc_head_alpha3.png" class="headerimagecontent" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user