Banner aleatório conforme a secção
5 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1 • Compartilhe
Banner aleatório conforme a secção
Qual é minha questão:
Olá a todos!
Bem, o meu problema é o seguinte, eu quero um banner diferente para cada secção do meu fórum.
Mais precisamente, imaginem, quando estou no índice um banner com o nome do forum, e quando entro na secção (categoria) da Administração por exemplo, o banner vai-se mudar para um banner que eu fiz a dizer por exemplo administração!
Espero que me ajudem!
Cumprimentos, Corrente Gráfica!
Endereço do meu fórum:
http://corrente-grafica.forumeiro.com
Versão do fórum:
PUNBB
Olá a todos!
Bem, o meu problema é o seguinte, eu quero um banner diferente para cada secção do meu fórum.
Mais precisamente, imaginem, quando estou no índice um banner com o nome do forum, e quando entro na secção (categoria) da Administração por exemplo, o banner vai-se mudar para um banner que eu fiz a dizer por exemplo administração!
Espero que me ajudem!
Cumprimentos, Corrente Gráfica!
Endereço do meu fórum:
http://corrente-grafica.forumeiro.com
Versão do fórum:
PUNBB
Última edição por CorrenteGráfica em 20.09.13 17:58, editado 1 vez(es)
Re: Banner aleatório conforme a secção
Olá,
Leia este tópico:
[TUTORIAL] Logo diferente em cada fórum
Confira também:
[TUTORIAL] Logo rotativo
[TUTORIAL] Logo aleatório
Até mais.
|
Leia este tópico:
[TUTORIAL] Logo diferente em cada fórum
Confira também:
[TUTORIAL] Logo rotativo
[TUTORIAL] Logo aleatório
Até mais.
Re: Banner aleatório conforme a secção
Olá Bruno.
Uma pergunta, onde está "phpBB3" no tutorial, tenho de mudar para "PUNBB" certo?
edit: Bruno, fiz tudo certinho e não funciona!
Será por o meu template ser assim?
Uma pergunta, onde está "phpBB3" no tutorial, tenho de mudar para "PUNBB" certo?
edit: Bruno, fiz tudo certinho e não funciona!
Será por o meu template ser assim?
Re: Banner aleatório conforme a secção
Olá amigo,
Faça assim, por partes:
<li> 1° Parte:
Painel de Controle Módulos HTML & JAVASCRIPT Gestão das Páginas HTML
<li> Clique em "Criar uma nova página HTML".
<li> Em "Título" coloque "Logo"
<li> Em "Você deseja utilizar o início e o final da página do seu fórum?" selecione "Não"
<li> Em "Usar esta página como página inicial?" Selecione "Não"
<li> Em "Código HTML" coloque o seguinte:
<li> 2° Parte:
Painel de Controle Geral Fórum Configuração
<li> Em "Descrição do Site" Coloque o seguinte código:
E pronto!
Boa sorte com isso!
Faça assim, por partes:
<li> 1° Parte:
Painel de Controle Módulos HTML & JAVASCRIPT Gestão das Páginas HTML
<li> Clique em "Criar uma nova página HTML".
<li> Em "Título" coloque "Logo"
<li> Em "Você deseja utilizar o início e o final da página do seu fórum?" selecione "Não"
<li> Em "Usar esta página como página inicial?" Selecione "Não"
<li> Em "Código HTML" coloque o seguinte:
- Código:
[table bgcolor="#ffcc00" width="100%"][tr][td]
[table bgcolor="#ffffff" width="100%"][tr][td][b]Código:[/b][/td]
[td][right][color=#cccccc][size=11]de [i]Byte[/i][/size][/color][/right]
[/td]
[/tr]
[tr][td bgcolor="#cccccc" colspan="2" height="1"][/td]
[/tr]
[tr][td colspan="2"]<html><head><title></title>
<style type="text/css">
body {margin:0;border:0;}
</style>
</head>
<body>
[i]<script language="JavaScript">
hoje = new Date()
numero_de_imagens = 5
segundos = hoje.getSeconds()
numero = segundos % numero_de_imagens
if (numero == 0){
banner = "http://farm3.static.flickr.com/2547/4125426711_6be29c3cfb_o.jpg"
}
if (numero == 1){
banner = "http://farm3.static.flickr.com/2748/4126195680_16c0459d1b_o.jpg"
}
if (numero == 2){
banner = "http://farm3.static.flickr.com/2615/4126196116_8e32873f5a_o.jpg"
}
if (numero == 3){
banner = "http://farm3.static.flickr.com/2634/4126196522_8772770d1a_o.jpg"
}
if (numero == 4){
banner = "http://farm3.static.flickr.com/2803/4125443181_c2058b81e0_o.jpg"
}
document.write('<img src="' + banner + '" border=0>')
</script>[/i]
</body></html>[/td]
[/tr]
[/table]
[/td]
[/tr]
[/table]
<li> 2° Parte:
Painel de Controle Geral Fórum Configuração
<li> Em "Descrição do Site" Coloque o seguinte código:
- Código:
[table bgcolor="#ffcc00" width="100%"][tr][td]
[table bgcolor="#ffffff" width="100%"][tr][td][b]Código:[/b][/td]
[td][right][color=#cccccc][size=11]de [i]Byte[/i][/size][/color][/right]
[/td]
[/tr]
[tr][td bgcolor="#cccccc" colspan="2" height="1"][/td]
[/tr]
[tr][td colspan="2"]<iframe src=[b]URL_DA_PÁGINA_CRIADA_NA_PARTE_1[/b] width=850 height=500 scrolling=no frameborder=0></iframe>[/td]
[/tr]
[/table]
[/td]
[/tr]
[/table]
E pronto!
Boa sorte com isso!
Re: Banner aleatório conforme a secção
Sennior, se o 2º código entrasse inteiro na casota, acho que era melhor nao?
Re: Banner aleatório conforme a secção
Olá,
Não entendi bem, mas troque o 2° passo pelo código abaixo:
Não entendi bem, mas troque o 2° passo pelo código abaixo:
- Código:
<script src="ENDERECO-DA-PAGINA-HTML" /></script>
Re: Banner aleatório conforme a secção
Já tentei e nada...
Mas eu não quero aleatório para cada vez que dou F5 ao forum!
Quero conforme o forum no qual eu estou!
Mas eu não quero aleatório para cada vez que dou F5 ao forum!
Quero conforme o forum no qual eu estou!
Re: Banner aleatório conforme a secção
Olá!
Então faça este tutorial e veja se resulta:
<li> https://ajuda.forumeiros.com/t22290-tutorial-logo-aleatorio
O mesmo foi passado pelo Bruno, o senhor testou?
Até mais.
Então faça este tutorial e veja se resulta:
<li> https://ajuda.forumeiros.com/t22290-tutorial-logo-aleatorio
O mesmo foi passado pelo Bruno, o senhor testou?
Até mais.
Re: Banner aleatório conforme a secção
Sim já testei, e não funcionou, talvez seja porque eu para alterar o meu banner tenho de alterar o overal_header
Re: Banner aleatório conforme a secção
Olá,
Senhor, poderia me fornecer o seu template 'Overall_Header'?
Até mais.
Senhor, poderia me fornecer o seu template 'Overall_Header'?
Até mais.
Re: Banner aleatório conforme a secção
- Overall_Header:
- Código:
<!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" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
</head>
<body>
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" class="module main">
<div id="login_popup_title" class="main-head">
<div class="h3">{SITENAME}</div>
</div>
<div class="main-content">
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button2" value="{L_LOGIN}" />
<input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
</div>
<!-- END switch_login_popup -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div id="ipbwrapper" class="wrapper">
<div id="user_bar" class="clearfix">
<div id="user_navigation" class="logged_in">
<ul class="ipsList_inline">
<!-- BEGIN switch_user_logged_in -->
<li><a id="user_link" href="http://www.4reyes.net/profile?mode=editprofile" title="Seu Perfil" class="">Bem Vindo(a), <span class="USERNAME"></span></a></li>
<li><a data-clicklaunch="getInboxList" id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><img src="http://i.imgur.com/TeAddws.gif" alt="" style="margin-top: 10px;"> </a></li>
<li><a data-clicklaunch="getNotificationsList" id="notify_link" href="/profile?mode=editprofile&page_profil=notifications" title="Notificações"><img src="http://i.imgur.com/TeAddws.gif" alt="" style="margin-top: 10px;"> </a></li>
<li><a href="/login?logout=1">Desconecte-se</a></li>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<li><a href="/login">Sign In</a></li>
<li><a href="/register">Create account</a></li>
<!-- END switch_user_logged_out -->
</ul>
</div>
<div id="search" class="right">
<form action="/search?mode=results" method="post" id="search-box" accept-charset="ISO-8859-1">
<fieldset>
<label for="main_search" class="hide">Procurar</label>
<a href="/search" title="Procura Avançada" accesskey="4" rel="search" id="adv_search" class="right">Advanced</a>
<span id="search_wrap" class="right">
<input type="text" id="main_search" name="search_term" class="" size="17" tabindex="100" placeholder="Procurar...">
<span class="choice ipbmenu clickable" id="search_options" style="">Fórum</span>
<input type="submit" class="submit_input clickable" value="">
</span>
</fieldset>
</form>
</div>
</div>
<div id="mainContent">
<div id="branding" class="clearfix">
<div id="primary_nav" class="clearfix repeat topCenter scroll undefined">
<ul class="ipsList_inline" id="community_app_menu">
<li id="nav_app_home" class="left active"><a href="/portal" title="Página Incial" rel="home"></a></li>
<li id="nav_app_software" class="left"><a href="/forum" title="Ir até aos Softwares" class="repeat topCenter scroll undefined"></a></li>
<li id="nav_app_suporte" class="left "><a href="/calendar" title="Contacte-nos"></a></li>
<li id="nav_app_blogger" class="left active"><a href="/portal" title="Acessar ao Blog" rel="home"></a></li>
</ul>
</div>
<div id="logo" class="no-repeat topCenter scroll undefined">
<a href="/" class="textLogo" title="Corrente Gráfica - A Corrente que nos Liga" rel="home" accesskey="1"></a>
</div>
</div>
<div id="content" class="clearfix">
<ul id="socialLinks">
<li><a href="https://www.facebook.com/Corrente.G" title="Visite-nos no Facebook"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Facebook.png" alt=""></a></li>
<li><a href="https://twitter.com/CG_designpt" title="Segue-nos no Twitter"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Twitter.png" alt=""></a></li>
<li><a href="http://www.youtube.com/channel/UCMwVNMdtFViXRlC9yhmck9A" title="Ve-nos no Youtube"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/YouTube.png" alt=""></a></li>
<li><a href="https://plus.google.com/u/0/100672329503233354052" title="Adiciona-nos no Google+"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Google.png" alt=""></a></li>
<li><a href="http://corrente-grafica.blogspot.com/" title="Vê nosso Blog"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Blogger.png" alt=""></a></li>
</ul>
<div id="secondary_navigation" class="clearfix">
<ul id="secondary_links" class="ipsList_inline right">
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Frequently Asked Questions"><img src="http://upit.cc/i/9874c27a.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Membros"><img src="http://upit.cc/i/4ce86650.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Regras"><img src="http://upit.cc/i/eec96305.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Novo Conteudo"><img src="http://upit.cc/i/db367b14.png" alt=""></a></li>
</ul>
</div>
<div class="pun">
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->
Re: Banner aleatório conforme a secção
Olá,
Senhor, você agora deve seguir o tutorial, que deseja, mais antes troque o seu overall_header por este:
Até mais.
Senhor, você agora deve seguir o tutorial, que deseja, mais antes troque o seu overall_header por este:
- Código:
<!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" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
</head>
<body>
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" class="module main">
<div id="login_popup_title" class="main-head">
<div class="h3">{SITENAME}</div>
</div>
<div class="main-content">
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button2" value="{L_LOGIN}" />
<input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
</div>
<!-- END switch_login_popup -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div id="ipbwrapper" class="wrapper">
<div id="user_bar" class="clearfix">
<div id="user_navigation" class="logged_in">
<ul class="ipsList_inline">
<!-- BEGIN switch_user_logged_in -->
<li><a id="user_link" href="http://www.4reyes.net/profile?mode=editprofile" title="Seu Perfil" class="">Bem Vindo(a), <span class="USERNAME"></span></a></li>
<li><a data-clicklaunch="getInboxList" id="inbox_link" href="/privmsg?folder=inbox" title="Mensagens"><img src="http://i.imgur.com/TeAddws.gif" alt="" style="margin-top: 10px;"> </a></li>
<li><a data-clicklaunch="getNotificationsList" id="notify_link" href="/profile?mode=editprofile&page_profil=notifications" title="Notificações"><img src="http://i.imgur.com/TeAddws.gif" alt="" style="margin-top: 10px;"> </a></li>
<li><a href="/login?logout=1">Desconecte-se</a></li>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<li><a href="/login">Sign In</a></li>
<li><a href="/register">Create account</a></li>
<!-- END switch_user_logged_out -->
</ul>
</div>
<div id="search" class="right">
<form action="/search?mode=results" method="post" id="search-box" accept-charset="ISO-8859-1">
<fieldset>
<label for="main_search" class="hide">Procurar</label>
<a href="/search" title="Procura Avançada" accesskey="4" rel="search" id="adv_search" class="right">Advanced</a>
<span id="search_wrap" class="right">
<input type="text" id="main_search" name="search_term" class="" size="17" tabindex="100" placeholder="Procurar...">
<span class="choice ipbmenu clickable" id="search_options" style="">Fórum</span>
<input type="submit" class="submit_input clickable" value="">
</span>
</fieldset>
</form>
</div>
</div>
<div id="mainContent">
<div id="branding" class="clearfix">
<div id="primary_nav" class="clearfix repeat topCenter scroll undefined">
<ul class="ipsList_inline" id="community_app_menu">
<li id="nav_app_home" class="left active"><a href="/portal" title="Página Incial" rel="home"></a></li>
<li id="nav_app_software" class="left"><a href="/forum" title="Ir até aos Softwares" class="repeat topCenter scroll undefined"></a></li>
<li id="nav_app_suporte" class="left "><a href="/calendar" title="Contacte-nos"></a></li>
<li id="nav_app_blogger" class="left active"><a href="/portal" title="Acessar ao Blog" rel="home"></a></li>
</ul>
</div>
<div id="logo" class="no-repeat topCenter scroll undefined">
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
</div>
</div>
<div id="content" class="clearfix">
<ul id="socialLinks">
<li><a href="https://www.facebook.com/Corrente.G" title="Visite-nos no Facebook"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Facebook.png" alt=""></a></li>
<li><a href="https://twitter.com/CG_designpt" title="Segue-nos no Twitter"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Twitter.png" alt=""></a></li>
<li><a href="http://www.youtube.com/channel/UCMwVNMdtFViXRlC9yhmck9A" title="Ve-nos no Youtube"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/YouTube.png" alt=""></a></li>
<li><a href="https://plus.google.com/u/0/100672329503233354052" title="Adiciona-nos no Google+"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Google.png" alt=""></a></li>
<li><a href="http://corrente-grafica.blogspot.com/" title="Vê nosso Blog"><img src="https://cdn1.iconfinder.com/data/icons/minimalist-social-media-icons-by-design-bolts/48/Blogger.png" alt=""></a></li>
</ul>
<div id="secondary_navigation" class="clearfix">
<ul id="secondary_links" class="ipsList_inline right">
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Frequently Asked Questions"><img src="http://upit.cc/i/9874c27a.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Membros"><img src="http://upit.cc/i/4ce86650.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Regras"><img src="http://upit.cc/i/eec96305.png" alt=""></a></li>
<li><a href="http://www.ipbforumskins.com/skindemo/index.php?app=core&module=global§ion=navigation&inapp=forums" rel="quickNavigation" accesskey="9" id="quickNavLaunch" title="Novo Conteudo"><img src="http://upit.cc/i/db367b14.png" alt=""></a></li>
</ul>
</div>
<div class="pun">
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->
Até mais.
Re: Banner aleatório conforme a secção
First, uma pergunta, será que irá funcionar?
Tipo em cada forum que eu entrar o banner irá alterar-se para aquele que eu defini?
Tipo em cada forum que eu entrar o banner irá alterar-se para aquele que eu defini?
Re: Banner aleatório conforme a secção
Senhor, testei aqui e funcionou. Que tal você testar e me falar?CorrenteGráfica escreveu:First, uma pergunta, será que irá funcionar?
Tipo em cada forum que eu entrar o banner irá alterar-se para aquele que eu defini?
Até mais.
Re: Banner aleatório conforme a secção
Uma pergunta amigo Firts, como faço para adicionar vários foruns?
La só tem um para costumisar, eu queria vários, obrigado.
La só tem um para costumisar, eu queria vários, obrigado.
Re: Banner aleatório conforme a secção
Olá,
Senhor, peço que deixe somente o template overall_header que eu te passei acima ativo em vosso fórum, e crie um novo javascript com o investimento em todas as páginas, com o seguinte código:
URL_DA_IMAGEM: Troque pela logo que o senhor desejar.
Caso deseja aplicar mais de um logo, peço que adicione esté código de baixo da if
Até mais.
Senhor, peço que deixe somente o template overall_header que eu te passei acima ativo em vosso fórum, e crie um novo javascript com o investimento em todas as páginas, com o seguinte código:
- Código:
jQuery(document).ready(function(){
if(window.location.href.match(/forum/)){$('#pun-logo img').attr('src','URL_DA_IMAGEM')}
});
URL_DA_IMAGEM: Troque pela logo que o senhor desejar.
Caso deseja aplicar mais de um logo, peço que adicione esté código de baixo da if
- Código:
if(window.location.href.match(/faq/)){$('#pun-logo img').attr('src','URL_DA_IMAGEM')}
- Código:
jQuery(document).ready(function(){
if(window.location.href.match(/forum/)){$('#pun-logo img').attr('src','URL_DA_IMAGEM')}
if(window.location.href.match(/faq/)){$('#pun-logo img').attr('src','URL_DA_IMAGEM')}
});
Até mais.
Re: Banner aleatório conforme a secção
FUNCIONOU!
Mas pensava que o efeito ao passar o mouse iria ficar também...
Gostaria que a opacidade diminuisse para 50% lentamente e a imagem aumentasse cerca de 5px lentamente também.
Se for necessário criar novo tópico só falar.
Cumprimentos, Corrente Gráfica.
Re: Banner aleatório conforme a secção
Olá amigo,
No caso seria isto?
No caso seria isto?
- Código:
#logo:hover {
opacity: 10;
background-size: 35pc;
}
Re: Banner aleatório conforme a secção
Sennior, o problema e que esse codigo já está no CSS, mas nao funciona agora.
Re: Banner aleatório conforme a secção
Olá,
Senhor, poderia me fornecer a sua folha de estilo CSS?
Até mais.
Senhor, poderia me fornecer a sua folha de estilo CSS?
Até mais.
Re: Banner aleatório conforme a secção
Saudações!
Tenho duas propostas de códigos, peço que teste um por um.
Substitua o código fornecido pelo o nosso amigo Sennior, por este:
Tenho duas propostas de códigos, peço que teste um por um.
Substitua o código fornecido pelo o nosso amigo Sennior, por este:
- Código:
#logo:hover {
opacity: 10;
background-size: 35px;
cursor: allowed;
}
- Código:
#logo:hover {
opacity: 10;
background-size: 35px;
cursor: pointer;
}
Re: Banner aleatório conforme a secção
não funciona!
Re: Banner aleatório conforme a secção
Senhor tem como?First escreveu:Olá,
Senhor, poderia me fornecer a sua folha de estilo CSS?
Até mais.
Re: Banner aleatório conforme a secção
First, aqui está:
- Spoiler:
- Código:
.bottom:hover {
background-color: #e04547;
color: #fff;
}
.pun .paged-foot, .pun .paged-head {
background-color: transparent;
border: transparent;
padding: .6em 1.3em 2em;
}.bottom {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
background: #55728b
border: 0;
border-radius: 2px;
color: #fff;
cursor: pointer;
display: inline-block;
float: right;
font-size: 11px;
height: 26px;
line-height: 26px;
margin: 0 5px;
padding: 0 10px;
text-shadow: rgba(0,0,0,0.8) 0 -1px 0;
white-space: nowrap;
}
.main .main-foot, .main .main-head {
-moz-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
-webkit-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
background-color: #2B6281;
box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
color: #fff;
font-size: 16px;
text-decoration: none;
font-weight: 300;
padding: 16px;
}
.pun .post {
border-color: transparent;
border-style: solid none;
border-width: 2px 0 1px;
}
.postfoot {
background: #fafafa;
border-top: 1px solid #f0f0f0;
clear: both;
margin-left: 0em;
margin-top: 9px;
padding: 9px;
text-align: right;
}
.pun .postmain {
background-color: transparent;
border-left: transparent;
margin-left: 18em;
}
.pun .post .user {
line-height: 130%;
text-align: center;
}
.user-basic-info a img:hover {
opacity: .8;
}
.user-basic-info a img {
-webkit-border-radius: 100px;
border-radius: 100px;
max-width: 94px;
max-height: 94px;
}
.pun .posthead h2 strong {
float: left;
}
.pun .posthead {
-moz-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
-webkit-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
background-color: #e04547;
box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
color: #fff;
border-bottom: transparent;
font-size: 12px;
font-weight: 300;
padding: 16px;
}
.post_username {
float: left;
font-weight: 700;
min-width: 177px;
}
.post_date {
color: #ccc;
font-size: 11px;
font-weight: 400;
}
.pun .paged-foot, .pun .paged-head {
background-color: transparent;
border: transparent;
padding: .6em 1.3em .3em;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
text-decoration: none;
}
.statistics_head {
font-size: 13px;
font-weight: bold;
color: #666;
border-bottom: 1px solid #ddd;
background: #f9f9f9;
padding: 13px;
}
.main-box {
display: none;
}
#pun-about {
background-color: transparent;
border-color: transparent;
}
#pun-about #qjump {
display: none;
}
.staticsipb {
padding: 8px 0px 0px 8px;
}
.statistics {
margin: 20px 0 0 0;
line-height: 1.3;
overflow: hidden;
}
#board_statistics ul {
text-align: center;
}
.ipsType_small {
font-size: 12px;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
#board_statistics {
display: inline-block;
background: rgba(0,0,0,0.2);
border-radius: 2px;
color: #222;
padding: 3px 7px;
font-weight: bold;
margin-left: 20px;
margin-right: 0px;
}
#board_statistics li {
margin-right: 20px;
}
#footer_utilities, #footer_utilities a {
color: #fff;
}
#backtotop:hover {
background: rgba(0,0,0,0.6);
color: #fff;
}
#footer_utilities .ipsList_inline>li>a {
margin-right: 0px;
padding: 4px 10px;
display: inline-block;
}
#footer_utilities {
padding: 30px 8px;
position: relative;
margin: 0 auto 10px;
min-height: 43px;
width: 96%;
}
#backtotop, #bottomScroll {
line-height: 20px;
text-align: center;
}
#backtotop, #bottomScroll {
width: 24px;
height: 24px;
line-height: 20px;
left: 50%;
top: 50%;
margin-left: -12px;
margin-top: -12px;
position: absolute;
display: inline-block;
background: rgba(0,0,0,0.3);
-webkit-box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
text-align: center;
-moz-border-radius: 16px;
-webkit-border-radius: 16px;
border-radius: 16px;
outline: 0;
}
.skin_link, .skin_link a {
color: #fff !important;
}
#copyright {
text-align: right;
line-height: 22px;
float: right;
}
#footer_utilities .ipsList_inline {
margin-top: 3px;
clear: left;
float: left;
}
.mini_ava {
float: left;
}
.main .main-head.collapsed {
opacity: 0.2;
}
.main-head.collapsed:hover {
opacity: 0.4;
}
.main-head .toggle {
background: url(http://i50.tinypic.com/wkjrjl.png) no-repeat scroll 0 0 transparent;
display: block;
height: 22px;
margin-top: -4px;
outline: 0 none;
text-indent: -3000em;
visibility: hidden;
width: 32px;
}
.main-head:hover .toggle {
visibility: visible;
}
.main-head.collapsed .toggle {
background-image: url("http://i47.tinypic.com/se6jjr.png");
}
.mini_ava img {
-webkit-border-radius: 100px;
border-radius: 100px;
width: 34px;
margin: 0 5px;
height: 34px;
}
.mini_ava img:hover {
opacity: 0.8;
}
#community_app_menu>li.active>a {
background: url(http://upit.cc/i/7fb9a23f.png)
}
.main .main-head {
background-color: #e04547;
color: #fff;
padding: 16px;
font-size: 18px;
font-weight: 300;
}
.module .main-head {
background: #f9f9f9;
border-bottom: 1px solid #ddd;
box-shadow: none;
-webkit-box-shadow: none;
color: #666;
font-size: 13px;
font-weight: 700;
padding: 13px;
}
.pun .table .tc2, .pun .table .tc3 {
text-align: center;
width: 5%;
}
.pun table .tcr {
overflow: hidden;
padding: 0 0 0 .5em !important;
text-align: left;
width: 20%;
}
.pun tbody.statused span.status {
position: relative!important;
margin-left: 7px;
}
.pun tbody.statused td.tcl {
padding: 15px;
font-size: 12px;
}
.stats_number {
font-size: 16px;
font-weight: bold;
display: block;
text-align: center;
color: #999;
position: relative;
overflow: hidden;
margin-right: 6px;
}
.stats_text {
font-size: 10px;
text-transform: uppercase;
display: block;
text-align: center;
margin-right: 11px;
color: #c0c0c0;
padding-top: 4px;
}
.pun table.table td {
border-bottom: 2px solid #f3f3f3;
border-left: transparent;
border-right: transparent;
border-top: transparent;
}
.pun .main table td.tc2, .pun .main table td.tc3 {
background-color: #fff;
}
.pun .main-content {
background-color: #fff;
border: 1px solid transparent;
}
.hierarchy {
font-size: 11px;
}
.pun h3 {
font-family: "Open Sans",tahoma,helvetica,arial,sans-serif;
font-style: normal;
font-variant: normal;
font-weight: 300;
}
.pun h2 {
font-family: "Open Sans",tahoma,helvetica,arial,sans-serif;
font-style: normal;
font-variant: normal;
font-weight: 300;
}
#chatbox_members {
position: relative;
top: 0px;
height: 240px;
}
#chatbox {
height: 240px;
}
#chatbox_footer {
position: relative;
}
.main .main-head .page-title {
font-size: 18px;
font-weight: 300;
}
#community_app_menu>li.active>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png);
}
#community_app_menu>li>a:hover, #community_app_menu>li>a.menu_active {
color: #fff;
background: url(http://upit.cc/i/7fb9a23f.png);
}
body.cpe, #themeEditor #editPattern span, .cpe #socialLinks li, .cpe #secondary_navigation, .cpe ul.post_controls a:hover, .cpe .answerBadgeInPost, .cpe .ipsLikeButton.ipsLikeButton_enabled, .input_submit, .cpe .ipsTag {
background-color: #DADADA;
}
.table .tc_icon {
padding: 10px 5px!important;
vertical-align: middle;
width: 30px;
}
.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*="f_"], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#content {
padding: 5px 0px 10px 0px;
line-height: 120%;
}
.topCenter {
background-position: 50% 0% !important;
}
.scroll {
background-attachment: scroll !important;
}
.repeat {
background-repeat: repeat !important;
}
body {
background: #807365;
color: #5a5a5a;
font: normal 11px "Open Sans",tahoma,helvetica,arial,sans-serif;
position: relative;
}
.wrapper {
margin: 0 auto;
min-width: 980px;
max-width: 1600px;
width: 96%;
}
::selection {
color: #fff;
background: #82b8e6;
}
body {
color: #5a5a5a;
font: normal 11px "Open Sans",tahoma,helvetica,arial,sans-serif;
}
#user_bar {
background: rgba(0,0,0,0.15) url(http://upit.cc/i/4f46000d.png) bottom center;
border-radius: 0 0 1px 1px;
margin: 0px 0px;
margin-bottom: 10px;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow: hidden;
}
#user_navigation {
float: left;
color: #fff;
font-size: 12px;
line-height: 42px;
height: 42px;
}
ol, ul {
list-style: none;
}
#user_navigation {
color: #fff;
font-size: 12px;
line-height: 42px;
}
#user_navigation .ipsList_inline li {
margin: 0;
padding: 0;
float: left;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
#user_navigation li.first a {
background: rgba(0,0,0,0.05);
}
#user_navigation a {
color: #fff;
float: left;
padding: 0 12px;
line-height: 42px;
outline: none;
height: 42px;
}
a {
color: #333;
text-decoration: none;
}
#user_navigation .user_photo {
position: relative;
vertical-align: top;
padding: 0;
height: 40px;
width: auto;
margin: 1px -11px 0 -11px;
}
img, .input_check, .input_radio {
vertical-align: middle;
}
fieldset, img {
border: 0;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
#search {
margin: 4px 4px 0;
}body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
.hide {
display: none;
}
#adv_search {
width: 34px;
height: 34px;
background: url('http://i.imgur.com/1ep8pY1.png') no-repeat 50% 50%;
text-indent: -3000em;
display: inline-block;
margin-left: 3px;
}
#adv_search:hover {
background-color: rgba(0,0,0,0.2);
}
#search_wrap {
position: relative;
background: #fff;
display: block;
padding: 0 34px 0 10px;
height: 34px;
line-height: 25px;
min-width: 292px;
box-shadow: rgba(0,0,0,0.24) 0px 0px 0px 1px;
}
.right {
float: right;
}
#main_search {
font-size: 12px;
border: 0;
padding: 0;
background: transparent;
width: 200px;
height: 34px;
line-height: 34px;
outline: 0;
vertical-align: top;
}
input, select, textarea {
font: normal 12px tahoma,helvetica,arial,sans-serif;
}
#search_wrap {
line-height: 25px;
}
#search_options {
font-size: 10px;
height: 28px;
border-radius: 3px 3px 3px 3px;
line-height: 28px;
margin: 3px 3px 3px 0;
padding: 0 6px;
background: #eaeaea;
display: inline-block;
float: right;
max-width: 80px;
text-overflow: ellipsis;
overflow: hidden;
}.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*='f_'], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#search .submit_input:hover {
-webkit-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
-moz-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
}
#search .submit_input {
background: #5D97B6 url(http://i.imgur.com/a2RmgiZ.png) no-repeat 50%;
text-indent: -3000em;
padding: 0;
border: 0;
display: block;
width: 34px;
height: 34px;
position: absolute;
right: 0;
top: 0;
bottom: 0;
}
#user_bar {
background: rgba(0,0,0,0.2) url(http://upit.cc/i/4f46000d.png) bottom center;
border-radius: 0 0 1px 1px;
margin: 7px 0;
}
#user_navigation a:hover {
color: #fff;
background: rgba(0,0,0,0.50);
}
#notify_link img {
background-image: url('http://i.imgur.com/xKBmQ60.png');
}
#notify_link img, #inbox_link img {
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-position: 0 0;
margin-top: -2px;
}
#notify_link, #inbox_link {
vertical-align: middle;
width: 20px;
padding: 0px 8px !important;
position: relative;
}
#inbox_link img {
background-image: url('http://i.imgur.com/fhmZWad.png');
}
img, .input_check, .input_radio {
vertical-align: middle;
}
#avatar img {
height: 30px;
margin: 6px -6px 0;
padding: 0;
position: relative;
vertical-align: top;
width: auto;
}
#mainContent {
background: rgba(255, 255, 255, 0.8);
padding: 7px;
border-radius: 2px 2px 2px 2px;
position: relative;
}
#branding {
padding-bottom: 2px;
}
.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*='f_'], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#primary_nav {
max-width: 70%;
}
#themeToggle, #primary_nav {
float: right;
font-weight: 700;
height: 110px;
margin-left: 7px;
}
#logo a.textLogo {
color: #fff;
height: 110px;
line-height: 110px;
padding-left: 50px;
font-weight: 300;
font-size: 48px;
font-family: "Open Sans",Arial,sans-serif;
display: block;
text-decoration: none;
}
#logo:hover{background: #FFF url(http://upit.cc/i/d161b99a.png) center left no-repeat;}
#logo {
background: #FFF url(http://upit.cc/i/0d32839e.png) center left no-repeat;
border-radius: 3px 0px 0px 3px;
-webkit-box-shadow: inset rgba(0,0,0,0.25) 0px 0px 0px 1px;
-moz-box-shadow: inset rgba(0,0,0,0.25) 0px 0px 0px 1px;
box-shadow: inset rgba(0,0,0,0.25) 0px 0px 0px 1px;
height: 110px;
overflow: hidden;
}
#community_app_menu>li:first-of-type {
border: 0;
}
#community_app_menu>li {
margin: 0 0 0 0;
position: relative;
}
.left {
float: left;
}
#community_app_menu>li#nav_home>a:before {
background-image: url("http://upit.cc/i/19b12878.png");
}
#community_app_menu>li>a {
background: url(http://upit.cc/i/7fb9a23f.png);
color: #fff;
display: block;
height: 0px;
line-height: 30px;
outline: none;
padding-top: 75px;
margin-top: 15px;
position: relative;
text-align: center;
width: 75px;
}
#community_app_menu>li {
margin: 0 0 0 0;
position: relative;
}
#community_app_menu>li.active>a {
color: #fff;
position: relative;
}
#community_app_menu>li#nav_app_home>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_home>a:before {
background-image: url(http://upit.cc/i/e3b64f07.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_software>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_software>a:before {
background-image: url(http://upit.cc/i/0d7f79a7.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_suporte>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_suporte>a:before {
background-image: url(http://upit.cc/i/ebf4361a.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_blogger>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_blogger>a:before {
background-image: url(http://upit.cc/i/cf4802a7.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_empty>a:before {
background-image: url(http://upit.cc/i/7fb9a23f.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#themeToggle span:before, #community_app_menu>li>a:before {
content: "";
display: block;
height: 60px;
overflow: hidden;
background: url("") no-repeat 50% 50%;
position: absolute;
top: 10px;
width: 100%;
}
#community_app_menu>li#nav_app_downloads>a:before {
background-image: url("http://i.imgur.com/Tch3RH4.png");
}
#community_app_menu>li#nav_app_blog>a:before {
background-image: url("http://upit.cc/i/bdcb47c6.png");
}
#community_app_menu>li#nav_app_nexus>a:before {
background-image: url("http://i.imgur.com/h1Ha1WD.png");
}
#socialLinks {
float: right;
list-style: none;
border-bottom: 1px solid rgb(202, 202, 202);
border-top: 1px solid rgb(202, 202, 202);
}
body.cpe, #themeEditor #editPattern span, .cpe #socialLinks li, .cpe #secondary_navigation, .cpe ul.post_controls a:hover, .cpe .answerBadgeInPost, .cpe .ipsLikeButton.ipsLikeButton_enabled, .input_submit, .cpe .ipsTag {
background-color: #55728b;
}
#socialLinks li {
margin-left: 7px;
float: left;
background: #E6E6E6;
border-radius: 2px;
}
#socialLinks img {
margin-right: 0px;
vertical-align: top;
}
#socialLinks a:hover {
opacity: .5;
}
#socialLinks a {
display: block;
overflow: hidden;
text-align: center;
width: 48px;
height: 48px;
}
#secondary_navigation {
background: black;
color: #fff;
font-size: 11px;
height: 50px;
line-height: 42px;
margin-bottom: -4px;
margin-top: 0px;
overflow: hidden;
}
#secondary_links {
overflow: hidden;
padding-right: 4px;
}
#secondary_links li {
float: left;
margin: 0;
}
#secondary_links a {
padding: 0 12px;
display: block;
}
#secondary_navigation a {
color: #fff;
line-height: 41px;
height: 41px;
}
#secondary_links img {
vertical-align: top;
position: relative;
margin: 7px -4px 0 -4px;
}
#secondary_links a#quickNavLaunch img {
opacity: 1;
}
#secondary_links a#quickNavLaunch:hover img {
opacity: 0.5;
}
.fa_avatar {
width: 25px;
height: 25px;
position: relative;
top: -7px;
margin-right: 5px;
border-radius: 3px;
margin-bottom: -10px;
}
#av_quickreply img {
left: 15px;
position: relative;
top: 35px;
}
#av_quickreply {
float: left;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 35px;
height: 35px;
margin: 0 5px;
opacity: 0.5
border-radius: 10px;
transition: all 2s;
-moz-transition: all 2s;
-webkit-transition: all 2s;
-o-transition: all 2s;
}
.mini_ava img:hover
{
height: 70px;
opacity: 1;
width: 70px;
}
.post:hover .post-options {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: .5;
}
.post .post-options:hover {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: 1!important;
}
.post .post-options {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: 0;
}
/*POPUP TOPICO NÃO LIDO */
#popupnew {min-height:50px;
background-color: #121212;
border: 1px solid #090909;
border-left: 10px solid #090909 !important;
min-width: 200px;
position: absolute;
position: fixed;
bottom: 30px;
margin-left: 40px;
border-radius: 0px 1em 1em 0px;
padding: 5px;
box-shadow: 0px 0px 3px black, 0px 0px 5px black, 0px 0px 10px black, 0px 0px 15px black;
z-index: 999;
display:none;
font-family: Segoe UI, Calibri, Sans-serif;
font-size: 16pt;}
Re: Banner aleatório conforme a secção
Saudações!
Novamente lhe proporcionarei dois códigos, aos quais o senhor deverá testar um de cada vez e visualizar o resultado após a implementação.
Substitua os códigos fornecidos neste tópico por este:
Novamente lhe proporcionarei dois códigos, aos quais o senhor deverá testar um de cada vez e visualizar o resultado após a implementação.
Substitua os códigos fornecidos neste tópico por este:
- Código:
#pun-logo:hover {
opacity: 10;
background-size: 35px;
cursor: allowed;
}
#pun-logo {
opacity: 10;
background-size: 35px;
cursor: allowed;
}
- Código:
#pun-logo:hover {
opacity: 10;
background-size: 35px;
cursor: pointer;
}
#pun-logo {
opacity: 10;
background-size: 35px;
cursor: pointer;
}
Re: Banner aleatório conforme a secção
Olá,
Senhor, substitua a sua folha de estilo CSS por está:
Até mais.
Senhor, substitua a sua folha de estilo CSS por está:
- Código:
#pun-logo:hover {
opacity: 0.10;
transition: opacity .30s ease-in-out;
}
/*----------------------*/
.bottom:hover {
background-color: #e04547;
color: #fff;
}
.pun .paged-foot, .pun .paged-head {
background-color: transparent;
border: transparent;
padding: .6em 1.3em 2em;
}.bottom {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
background: #55728b
border: 0;
border-radius: 2px;
color: #fff;
cursor: pointer;
display: inline-block;
float: right;
font-size: 11px;
height: 26px;
line-height: 26px;
margin: 0 5px;
padding: 0 10px;
text-shadow: rgba(0,0,0,0.8) 0 -1px 0;
white-space: nowrap;
}
.main .main-foot, .main .main-head {
-moz-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
-webkit-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
background-color: #2B6281;
box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
color: #fff;
font-size: 16px;
text-decoration: none;
font-weight: 300;
padding: 16px;
}
.pun .post {
border-color: transparent;
border-style: solid none;
border-width: 2px 0 1px;
}
.postfoot {
background: #fafafa;
border-top: 1px solid #f0f0f0;
clear: both;
margin-left: 0em;
margin-top: 9px;
padding: 9px;
text-align: right;
}
.pun .postmain {
background-color: transparent;
border-left: transparent;
margin-left: 18em;
}
.pun .post .user {
line-height: 130%;
text-align: center;
}
.user-basic-info a img:hover {
opacity: .8;
}
.user-basic-info a img {
-webkit-border-radius: 100px;
border-radius: 100px;
max-width: 94px;
max-height: 94px;
}
.pun .posthead h2 strong {
float: left;
}
.pun .posthead {
-moz-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
-webkit-box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
background-color: #e04547;
box-shadow: inset rgba(0,0,0,0.25) 0 0 0 1px;
color: #fff;
border-bottom: transparent;
font-size: 12px;
font-weight: 300;
padding: 16px;
}
.post_username {
float: left;
font-weight: 700;
min-width: 177px;
}
.post_date {
color: #ccc;
font-size: 11px;
font-weight: 400;
}
.pun .paged-foot, .pun .paged-head {
background-color: transparent;
border: transparent;
padding: .6em 1.3em .3em;
}
.pun .main-foot .options a, .pun .main-foot .options a:link, .pun .main-foot .options a:visited {
text-decoration: none;
}
.statistics_head {
font-size: 13px;
font-weight: bold;
color: #666;
border-bottom: 1px solid #ddd;
background: #f9f9f9;
padding: 13px;
}
.main-box {
display: none;
}
#pun-about {
background-color: transparent;
border-color: transparent;
}
#pun-about #qjump {
display: none;
}
.staticsipb {
padding: 8px 0px 0px 8px;
}
.statistics {
margin: 20px 0 0 0;
line-height: 1.3;
overflow: hidden;
}
#board_statistics ul {
text-align: center;
}
.ipsType_small {
font-size: 12px;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
#board_statistics {
display: inline-block;
background: rgba(0,0,0,0.2);
border-radius: 2px;
color: #222;
padding: 3px 7px;
font-weight: bold;
margin-left: 20px;
margin-right: 0px;
}
#board_statistics li {
margin-right: 20px;
}
#footer_utilities, #footer_utilities a {
color: #fff;
}
#backtotop:hover {
background: rgba(0,0,0,0.6);
color: #fff;
}
#footer_utilities .ipsList_inline>li>a {
margin-right: 0px;
padding: 4px 10px;
display: inline-block;
}
#footer_utilities {
padding: 30px 8px;
position: relative;
margin: 0 auto 10px;
min-height: 43px;
width: 96%;
}
#backtotop, #bottomScroll {
line-height: 20px;
text-align: center;
}
#backtotop, #bottomScroll {
width: 24px;
height: 24px;
line-height: 20px;
left: 50%;
top: 50%;
margin-left: -12px;
margin-top: -12px;
position: absolute;
display: inline-block;
background: rgba(0,0,0,0.3);
-webkit-box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
-moz-box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
box-shadow: inset rgba(0,0,0,0.7) 0px 1px 3px;
text-align: center;
-moz-border-radius: 16px;
-webkit-border-radius: 16px;
border-radius: 16px;
outline: 0;
}
.skin_link, .skin_link a {
color: #fff !important;
}
#copyright {
text-align: right;
line-height: 22px;
float: right;
}
#footer_utilities .ipsList_inline {
margin-top: 3px;
clear: left;
float: left;
}
.mini_ava {
float: left;
}
.main .main-head.collapsed {
opacity: 0.2;
}
.main-head.collapsed:hover {
opacity: 0.4;
}
.main-head .toggle {
background: url(http://i50.tinypic.com/wkjrjl.png) no-repeat scroll 0 0 transparent;
display: block;
height: 22px;
margin-top: -4px;
outline: 0 none;
text-indent: -3000em;
visibility: hidden;
width: 32px;
}
.main-head:hover .toggle {
visibility: visible;
}
.main-head.collapsed .toggle {
background-image: url("http://i47.tinypic.com/se6jjr.png");
}
.mini_ava img {
-webkit-border-radius: 100px;
border-radius: 100px;
width: 34px;
margin: 0 5px;
height: 34px;
}
.mini_ava img:hover {
opacity: 0.8;
}
#community_app_menu>li.active>a {
background: url(http://upit.cc/i/7fb9a23f.png)
}
.main .main-head {
background-color: #e04547;
color: #fff;
padding: 16px;
font-size: 18px;
font-weight: 300;
}
.module .main-head {
background: #f9f9f9;
border-bottom: 1px solid #ddd;
box-shadow: none;
-webkit-box-shadow: none;
color: #666;
font-size: 13px;
font-weight: 700;
padding: 13px;
}
.pun .table .tc2, .pun .table .tc3 {
text-align: center;
width: 5%;
}
.pun table .tcr {
overflow: hidden;
padding: 0 0 0 .5em !important;
text-align: left;
width: 20%;
}
.pun tbody.statused span.status {
position: relative!important;
margin-left: 7px;
}
.pun tbody.statused td.tcl {
padding: 15px;
font-size: 12px;
}
.stats_number {
font-size: 16px;
font-weight: bold;
display: block;
text-align: center;
color: #999;
position: relative;
overflow: hidden;
margin-right: 6px;
}
.stats_text {
font-size: 10px;
text-transform: uppercase;
display: block;
text-align: center;
margin-right: 11px;
color: #c0c0c0;
padding-top: 4px;
}
.pun table.table td {
border-bottom: 2px solid #f3f3f3;
border-left: transparent;
border-right: transparent;
border-top: transparent;
}
.pun .main table td.tc2, .pun .main table td.tc3 {
background-color: #fff;
}
.pun .main-content {
background-color: #fff;
border: 1px solid transparent;
}
.hierarchy {
font-size: 11px;
}
.pun h3 {
font-family: "Open Sans",tahoma,helvetica,arial,sans-serif;
font-style: normal;
font-variant: normal;
font-weight: 300;
}
.pun h2 {
font-family: "Open Sans",tahoma,helvetica,arial,sans-serif;
font-style: normal;
font-variant: normal;
font-weight: 300;
}
#chatbox_members {
position: relative;
top: 0px;
height: 240px;
}
#chatbox {
height: 240px;
}
#chatbox_footer {
position: relative;
}
.main .main-head .page-title {
font-size: 18px;
font-weight: 300;
}
#community_app_menu>li.active>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png);
}
#community_app_menu>li>a:hover, #community_app_menu>li>a.menu_active {
color: #fff;
background: url(http://upit.cc/i/7fb9a23f.png);
}
body.cpe, #themeEditor #editPattern span, .cpe #socialLinks li, .cpe #secondary_navigation, .cpe ul.post_controls a:hover, .cpe .answerBadgeInPost, .cpe .ipsLikeButton.ipsLikeButton_enabled, .input_submit, .cpe .ipsTag {
background-color: #DADADA;
}
.table .tc_icon {
padding: 10px 5px!important;
vertical-align: middle;
width: 30px;
}
.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*="f_"], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#content {
padding: 5px 0px 10px 0px;
line-height: 120%;
}
.topCenter {
background-position: 50% 0% !important;
}
.scroll {
background-attachment: scroll !important;
}
.repeat {
background-repeat: repeat !important;
}
body {
background: #807365;
color: #5a5a5a;
font: normal 11px "Open Sans",tahoma,helvetica,arial,sans-serif;
position: relative;
}
.wrapper {
margin: 0 auto;
min-width: 980px;
max-width: 1600px;
width: 96%;
}
::selection {
color: #fff;
background: #82b8e6;
}
body {
color: #5a5a5a;
font: normal 11px "Open Sans",tahoma,helvetica,arial,sans-serif;
}
#user_bar {
background: rgba(0,0,0,0.15) url(http://upit.cc/i/4f46000d.png) bottom center;
border-radius: 0 0 1px 1px;
margin: 0px 0px;
margin-bottom: 10px;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow: hidden;
}
#user_navigation {
float: left;
color: #fff;
font-size: 12px;
line-height: 42px;
height: 42px;
}
ol, ul {
list-style: none;
}
#user_navigation {
color: #fff;
font-size: 12px;
line-height: 42px;
}
#user_navigation .ipsList_inline li {
margin: 0;
padding: 0;
float: left;
}
.ipsList_inline>li:first-child {
margin-left: 0;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
#user_navigation li.first a {
background: rgba(0,0,0,0.05);
}
#user_navigation a {
color: #fff;
float: left;
padding: 0 12px;
line-height: 42px;
outline: none;
height: 42px;
}
a {
color: #333;
text-decoration: none;
}
#user_navigation .user_photo {
position: relative;
vertical-align: top;
padding: 0;
height: 40px;
width: auto;
margin: 1px -11px 0 -11px;
}
img, .input_check, .input_radio {
vertical-align: middle;
}
fieldset, img {
border: 0;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
.ipsList_inline>li {
display: inline-block;
margin: 0 3px;
}
#search {
margin: 4px 4px 0;
}body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
.hide {
display: none;
}
#adv_search {
width: 34px;
height: 34px;
background: url('http://i.imgur.com/1ep8pY1.png') no-repeat 50% 50%;
text-indent: -3000em;
display: inline-block;
margin-left: 3px;
}
#adv_search:hover {
background-color: rgba(0,0,0,0.2);
}
#search_wrap {
position: relative;
background: #fff;
display: block;
padding: 0 34px 0 10px;
height: 34px;
line-height: 25px;
min-width: 292px;
box-shadow: rgba(0,0,0,0.24) 0px 0px 0px 1px;
}
.right {
float: right;
}
#main_search {
font-size: 12px;
border: 0;
padding: 0;
background: transparent;
width: 200px;
height: 34px;
line-height: 34px;
outline: 0;
vertical-align: top;
}
input, select, textarea {
font: normal 12px tahoma,helvetica,arial,sans-serif;
}
#search_wrap {
line-height: 25px;
}
#search_options {
font-size: 10px;
height: 28px;
border-radius: 3px 3px 3px 3px;
line-height: 28px;
margin: 3px 3px 3px 0;
padding: 0 6px;
background: #eaeaea;
display: inline-block;
float: right;
max-width: 80px;
text-overflow: ellipsis;
overflow: hidden;
}.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*='f_'], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#search .submit_input:hover {
-webkit-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
-moz-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px;
}
#search .submit_input {
background: #5D97B6 url(http://i.imgur.com/a2RmgiZ.png) no-repeat 50%;
text-indent: -3000em;
padding: 0;
border: 0;
display: block;
width: 34px;
height: 34px;
position: absolute;
right: 0;
top: 0;
bottom: 0;
}
#user_bar {
background: rgba(0,0,0,0.2) url(http://upit.cc/i/4f46000d.png) bottom center;
border-radius: 0 0 1px 1px;
margin: 7px 0;
}
#user_navigation a:hover {
color: #fff;
background: rgba(0,0,0,0.50);
}
#notify_link img {
background-image: url('http://i.imgur.com/xKBmQ60.png');
}
#notify_link img, #inbox_link img {
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-position: 0 0;
margin-top: -2px;
}
#notify_link, #inbox_link {
vertical-align: middle;
width: 20px;
padding: 0px 8px !important;
position: relative;
}
#inbox_link img {
background-image: url('http://i.imgur.com/fhmZWad.png');
}
img, .input_check, .input_radio {
vertical-align: middle;
}
#avatar img {
height: 30px;
margin: 6px -6px 0;
padding: 0;
position: relative;
vertical-align: top;
width: auto;
}
#mainContent {
background: rgba(255, 255, 255, 0.8);
padding: 7px;
border-radius: 2px 2px 2px 2px;
position: relative;
}
#branding {
padding-bottom: 2px;
}
.cpe #primary_nav, .cpe .maintitle, .cpe #community_app_menu > li.active > a, .cpe .col_c_icon img[src*='f_'], .cpe .f_icon, .cpe .topic_buttons li a, .cpe .pagination .pages li.active, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .post_block h3, .cpe .mini_pagination a, .cpe .user_controls li a, .cpe #vnc_filter_popup_close, .cpe #search .submit_input, .cpe .col_f_icon img, .cpe .ipsBadge_green, body.cpe #logo, .cpe #themeToggle, .cpe #primary_extra_menucontent, .cpe #more_apps_menucontent, .cpe .submenu_container {
background-color: #e04547;
}
#primary_nav {
max-width: 70%;
}
#themeToggle, #primary_nav {
float: right;
font-weight: 700;
height: 110px;
margin-left: 7px;
}
#logo a.textLogo {
color: #fff;
height: 110px;
line-height: 110px;
padding-left: 50px;
font-weight: 300;
font-size: 48px;
font-family: "Open Sans",Arial,sans-serif;
display: block;
text-decoration: none;
}
#community_app_menu>li:first-of-type {
border: 0;
}
#community_app_menu>li {
margin: 0 0 0 0;
position: relative;
}
.left {
float: left;
}
#community_app_menu>li#nav_home>a:before {
background-image: url("http://upit.cc/i/19b12878.png");
}
#community_app_menu>li>a {
background: url(http://upit.cc/i/7fb9a23f.png);
color: #fff;
display: block;
height: 0px;
line-height: 30px;
outline: none;
padding-top: 75px;
margin-top: 15px;
position: relative;
text-align: center;
width: 75px;
}
#community_app_menu>li {
margin: 0 0 0 0;
position: relative;
}
#community_app_menu>li.active>a {
color: #fff;
position: relative;
}
#community_app_menu>li#nav_app_home>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_home>a:before {
background-image: url(http://upit.cc/i/e3b64f07.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_software>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_software>a:before {
background-image: url(http://upit.cc/i/0d7f79a7.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_suporte>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_suporte>a:before {
background-image: url(http://upit.cc/i/ebf4361a.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_blogger>a:hover {
background: url(http://upit.cc/i/7fb9a23f.png) no-repeat bottom;
height: 34px;
margin-left: 2px;
margin-top: 0px;
opacity: 0.5;
}
#community_app_menu>li#nav_app_blogger>a:before {
background-image: url(http://upit.cc/i/cf4802a7.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#community_app_menu>li#nav_app_empty>a:before {
background-image: url(http://upit.cc/i/7fb9a23f.png);
margin-left: 2px;
height: 75px;
margin-top: -9px;
}
#themeToggle span:before, #community_app_menu>li>a:before {
content: "";
display: block;
height: 60px;
overflow: hidden;
background: url("") no-repeat 50% 50%;
position: absolute;
top: 10px;
width: 100%;
}
#community_app_menu>li#nav_app_downloads>a:before {
background-image: url("http://i.imgur.com/Tch3RH4.png");
}
#community_app_menu>li#nav_app_blog>a:before {
background-image: url("http://upit.cc/i/bdcb47c6.png");
}
#community_app_menu>li#nav_app_nexus>a:before {
background-image: url("http://i.imgur.com/h1Ha1WD.png");
}
#socialLinks {
float: right;
list-style: none;
border-bottom: 1px solid rgb(202, 202, 202);
border-top: 1px solid rgb(202, 202, 202);
}
body.cpe, #themeEditor #editPattern span, .cpe #socialLinks li, .cpe #secondary_navigation, .cpe ul.post_controls a:hover, .cpe .answerBadgeInPost, .cpe .ipsLikeButton.ipsLikeButton_enabled, .input_submit, .cpe .ipsTag {
background-color: #55728b;
}
#socialLinks li {
margin-left: 7px;
float: left;
background: #E6E6E6;
border-radius: 2px;
}
#socialLinks img {
margin-right: 0px;
vertical-align: top;
}
#socialLinks a:hover {
opacity: .5;
}
#socialLinks a {
display: block;
overflow: hidden;
text-align: center;
width: 48px;
height: 48px;
}
#secondary_navigation {
background: black;
color: #fff;
font-size: 11px;
height: 50px;
line-height: 42px;
margin-bottom: -4px;
margin-top: 0px;
overflow: hidden;
}
#secondary_links {
overflow: hidden;
padding-right: 4px;
}
#secondary_links li {
float: left;
margin: 0;
}
#secondary_links a {
padding: 0 12px;
display: block;
}
#secondary_navigation a {
color: #fff;
line-height: 41px;
height: 41px;
}
#secondary_links img {
vertical-align: top;
position: relative;
margin: 7px -4px 0 -4px;
}
#secondary_links a#quickNavLaunch img {
opacity: 1;
}
#secondary_links a#quickNavLaunch:hover img {
opacity: 0.5;
}
.fa_avatar {
width: 25px;
height: 25px;
position: relative;
top: -7px;
margin-right: 5px;
border-radius: 3px;
margin-bottom: -10px;
}
#av_quickreply img {
left: 15px;
position: relative;
top: 35px;
}
#av_quickreply {
float: left;
}
.mini_ava {
float: left;
}
.mini_ava img {
width: 35px;
height: 35px;
margin: 0 5px;
opacity: 0.5
border-radius: 10px;
transition: all 2s;
-moz-transition: all 2s;
-webkit-transition: all 2s;
-o-transition: all 2s;
}
.mini_ava img:hover
{
height: 70px;
opacity: 1;
width: 70px;
}
.post:hover .post-options {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: .5;
}
.post .post-options:hover {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: 1!important;
}
.post .post-options {
-moz-transition: all .2s linear;
-o-transition: all .2s linear;
-webkit-transition: all .2s linear;
opacity: 0;
}
/*POPUP TOPICO NÃO LIDO */
#popupnew {min-height:50px;
background-color: #121212;
border: 1px solid #090909;
border-left: 10px solid #090909 !important;
min-width: 200px;
position: absolute;
position: fixed;
bottom: 30px;
margin-left: 40px;
border-radius: 0px 1em 1em 0px;
padding: 5px;
box-shadow: 0px 0px 3px black, 0px 0px 5px black, 0px 0px 10px black, 0px 0px 15px black;
z-index: 999;
display:none;
font-family: Segoe UI, Calibri, Sans-serif;
font-size: 16pt;}
Até mais.
Re: Banner aleatório conforme a secção
Ficou com o efeito, mas olha como ficou a imagem no meu forum, ficou demasiado grande!
Tópicos semelhantes
» Ajuda com o banner aleatório
» Banner conforme a resolução do PC
» Banner aleatório
» Banner aleatório
» Banner aleatório
» Banner conforme a resolução do PC
» Banner aleatório
» Banner aleatório
» Banner aleatório
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre códigos :: Questões resolvidas sobre HTML e BBCode
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos