1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[ticket/12740] Use class for logo in css

PHPBB3-12740
This commit is contained in:
hanakin 2014-06-20 17:25:06 +02:00
parent ad11925c77
commit cc67f49fce
4 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@
<div class="inner">
<div id="site-description">
<a href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->" id="logo">{SITE_LOGO_IMG}</a>
<a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->">{SITE_LOGO_IMG}</a>
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>

View File

@ -20,7 +20,7 @@
/* Main blocks
---------------------------------------- */
.rtl #logo {
.rtl .logo {
float: right;
padding: 10px 10px 0 13px;
}

View File

@ -196,13 +196,13 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul {
margin-top: 20px;
}
#logo {
.logo {
float: left;
width: auto;
padding: 10px 13px 0 10px;
}
a#logo:hover {
.logo:hover {
text-decoration: none;
}

View File

@ -41,7 +41,7 @@ body {
text-align: center;
}
#logo {
.logo {
/* change display value to inline-block to show logo */
display: none;
float: none;