Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

pedrovoltaire

[Resolvido] Alinhar blocos

Recommended Posts

Pessoal, em primeiro lugar, obrigado pela ajuda.

 

Estou com o seguinte problema. Tenho dois blocos no site que não estão alinhados.

Segue o link ao lado: http://www.painelbrasil.tv/site/

 

A idéia é deixar o bloco de "últimas notícias" (em vermelho), alinhado com o bloco que tem a busca. Tentei aqui no css, mas ainda não consegui. Se alguém puder me ajudar agradeço.

 

Segue o css do arquivo que acho que é referente a estes blocos:

 

/**
* @package   Syndicate Template - RocketTheme
* @version   ${project.version} ${build_date}
* @author    RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - ${copyright_year} RocketTheme, LLC
* @license   http://www.rockettheme.com/legal/license.php RocketTheme Proprietary Use License
*/

/* Core */
html, body {margin-bottom: 1px;height: 100%;}
body {font-family: Verdana;}
h5 {text-transform: uppercase;font-size: 100%;}
.rt-container, #rt-sidebar-a, #rt-sidebar-b, #rt-sidebar-c {background: transparent;}
#rt-sidebar-a {background-color:#ebebeb;}
ul {list-style-image: none;}
ul.menu {padding-left: 0;}
#rt-content-top, #rt-content-bottom {clear: both;overflow: visible;}
#rt-debug {padding-top: 20px;position: relative;}
.rt-block {padding: 0;margin: 20px 0;}
.title {margin-top: 0;}
#rt-main {padding: 0 0 0 0;}
#rt-showcase, #rt-feature, #rt-utility, #rt-maintop, #rt-mainbottom, #rt-bottom, #rt-lowerad {padding-bottom: 10px;}
#rt-lib h1 {position: absolute; top: 0px; left: -5000px;}
/* Fonts */
.font-family-syndicate {font-family: Verdana, arial;}
.font-family-syndicate .title, .font-family-syndicate .menutop, .font-family-syndicate #rt-subnavigation ul.menu, .font-family-syndicate .feature-title, .font-family-syndicate .video-caption, .font-family-syndicate .overlay-caption, .font-family-syndicate .roktabs-links li, .font-family-syndicate .readon, .font-family-syndicate .rt-articleinfo, .font-family-syndicate #rokmicronews .micronews-headline h2, .worldmap .location span {font-family: Helvetica, Arial, FreeSans, sans-serif;}

/* Header */
#rt-header2 {background-position: 60% 0;background-repeat: no-repeat;}
#rt-header-surround {position: relative;}
#rt-header-surround3 {width: 100%;left: -50%;top: 0;position: absolute;height: 100%;z-index: 1;}
#rt-header-surround .rt-container {position: relative;z-index: 2;}
.bodylevel-low #rt-header2.header-image-1, .bodylevel-low #rt-navigation2.header-image-1, .bodylevel-low #rt-header2.header-image-2, .bodylevel-low #rt-navigation2.header-image-2, .bodylevel-low #rt-header2.header-image-3, .bodylevel-low #rt-navigation2.header-image-3, .bodylevel-low #rt-header2.header-image-4, .bodylevel-low #rt-navigation2.header-image-4, .bodylevel-low #rt-header2.header-image-5, .bodylevel-low #rt-navigation2.header-image-5, .bodylevel-low #rt-header2.header-image-6, .bodylevel-low #rt-navigation2.header-image-6, .bodylevel-low #rt-header2.header-image-7, .bodylevel-low #rt-navigation2.header-image-7, .bodylevel-low #rt-header2.header-image-8, .bodylevel-low #rt-navigation2.header-image-8, .bodylevel-low #rt-header2.header-image-9, .bodylevel-low #rt-navigation2.header-image-9, .bodylevel-low #rt-header2.header-image-10, .bodylevel-low #rt-navigation2.header-image-10 {background-image: none;}

/* Logo */
#rt-logoblock {float: left; padding-left:20px; padding-top:25px;}
#rt-logo {width: 250px;height: 85px;}

/* Top Menu */
#rt-navigation2 {background-position: 60% 0;background-repeat: no-repeat;}

/* Sub Menu */
#rt-subnavigation {background-position: 50% 0;  background-repeat: repeat-x;}
.bodylevel-low #rt-subnavigation { border-top: 5px solid #333; background-image: none !important;}

/* Module Title Variations */
.module-title .title, h1.title, .rt-joomla h2.title {font-size: 170%;  letter-spacing: normal;line-height: 130%;}
.title1 .title, .title2 .title, .title3 .title, .title4 .title, .title5 .title, .title6 .title, .title7 .title {margin: 0;}
.title1 .module-title, .title2 .module-title, .title3 .module-title, .title4 .module-title, .title5 .module-title {margin: 0 -10px 10px -10px;padding: 10px;}
.title6 .module-title {margin-bottom: 10px;padding-bottom: 10px;}
.title7 .module-title {border-bottom: 1px solid;margin-bottom: 15px;padding-bottom: 5px;}

/* Module Box Variations */
.box1, .box2, .box3, .box4, .box5, .box6, .box7 {margin: 0 -10px;padding: 10px;}
.box1 .rt-block, .box2 .rt-block, .box3 .rt-block, .box4 .rt-block, .box5 .rt-block, .box6 .rt-block, .box7 .rt-block, .flush .rt-block {margin: 0;}
.adbox {margin: 10px -10px;padding: 0;}
.adbox .rt-block {margin: 0;}
.adbox.bg {margin-top: 0;margin-bottom: 0;}

/* Module Standard Variations */
.standardcase .module-title .title {text-transform: inherit;}
.lowercase .module-title .title {text-transform: lowercase;}
.uppercase .module-title .title {text-transform: uppercase;}
.flush .rt-block {padding: 0;}
.flushtop .rt-block {padding-top: 0;}
.flushbottom .rt-block {padding-bottom: 0;}
#rt-popup, #rt-popuplogin {display: none;}

/* Side Menus */
.module-content ul.menu {margin-left: 0;}
.module-content ul.menu li {list-style: none;margin-bottom: 6px;padding-bottom: 6px;}
.module-content ul.menu li li {background: none !important;}
.module-content ul.menu a, .module-content ul.menu .separator, .module-content ul.menu .item {padding: 0 0 0 13px;background-position: 0 4px;background-repeat: no-repeat;line-height: 130%;font-size: 14px;display: block;}
.module-content ul.menu a:hover, .module-content ul.menu .separator:hover, .module-content ul.menu .item:hover {background-position: 0 -471px;}
.module-content ul.menu ul {padding-top: 20px;padding-bottom: 0;}
.module-content ul.menu ul ul {padding-bottom: 0;}
.module-content ul.menu .subtext em {line-height: 14px;padding-left: 20px;}
.module-content ul.menu em {display: block;font-size: 80%;font-style: normal;font-weight: normal;}
.module-content ul.menu .image img {float: left;}
.module-content ul.menu .item.image {background: none;padding-left: 8px;}

/* Footer */
#rt-footerbar2 {height: 20px;}
#rt-footerbar3 {height: 10px;}
.bodylevel-low #rt-footerbar-overlay {background: none;}
#rocket {display: block;width: 128px;height: 17px;vertical-align: middle;}
#gantry-totop .totop-desc {float: right;padding: 0;margin: 0;}
#gantry-resetsettings {display: block;text-align: center;}

/* Copyright */
.copytext {padding: 10px 0;display: block;text-align: center;}

/* Typography */
.readonstyle-button .readon {display: inline-block;margin: 0;background-position: 50% 0;background-repeat: repeat-x;}
.readonstyle-button .readon span {display: block;margin: 0;padding: 0 8px;border: 0;font-size: 13px;cursor: pointer;line-height: 26px;overflow: visible;}
.readonstyle-button .readon .button {display: block;padding: 4px 10px 6px 10px;border: 0;font-size: 13px;cursor: pointer;overflow:visible;margin: 0;outline: none;background: none;}
.readonstyle-button .readon span span {display: inline;background: none;margin-left: 0;padding: 0;float: none;}
.readonstyle-button .readon:hover {background-image: none;}
.bodylevel-low.readonstyle-button .readon {background-image: none;}
.readonstyle-link .readon {background: none !important;}
.readonstyle-link .readon .button, .readonstyle-link .readon span {background: none !important;border: 0;font-size: 12px;outline: none;padding: 0;margin: 0;line-height: 130%;font-weight: bold;}
.rokchecks, .rokradios {padding: 3px 0 5px 18px;line-height: 120%;cursor: pointer;}
.rokradios {background-position: 0 2px;background-repeat: no-repeat;}
.rokradios-active {background-position: 0 -128px;background-repeat: no-repeat;}
.rokchecks {background-position: 0 -265px;background-repeat: no-repeat;}
.rokchecks-active {background-position: 0 -405px;background-repeat: no-repeat;}
.date-block .date {font-size: 14px;}
#rt-main .inputbox, .inputbox {position: relative;z-index: 1000;}
.register-buttons .readon {float: left;margin-right: 5px;}

/* Breadcrumbs */
#rt-breadcrumbs {padding: 0 5px;}
#breadcrumbs-home {width: 11px;height: 11px;display: block;float: left;background-position: 0 -63px;margin-top: 6px;margin-right: 5px;}
#breadcrumbs-home:hover {background-position: -18px -63px;}
#breadcrumbs h3, .leading_separator {display: none;}
.rt-breadcrumb-surround {position: relative;overflow: hidden;padding: 0;margin: 10px 0;display: inline-block;height: auto;}
span.breadcrumbs {display: inline-block;font-size: 130%;overflow: hidden;padding: 0;}
span.breadcrumbs img {display: none;}
span.breadcrumbs a, span.no-link {padding: 6px;float: left;display: block;line-height: 12px;font-size: 90%;margin-right: 5px;}
#rt-breadcrumbs img[src $="arrow.png"] {display: none;}

/* Popup Module Feature */
#rt-login-button .buttontext span.desc, #rt-popupmodule-button .buttontext span.desc {text-transform: lowercase;cursor: pointer;font-size: 14px;}
#rt-login-button .buttontext span.icon, #rt-popupmodule-button .buttontext span.icon {width: 21px;height: 21px;display: block;float: left;margin-right: 5px;}
#rt-popup .module-content, #rt-popuplogin .module-content {margin: 0;}
#rt-popup .rt-block, #rt-popuplogin .rt-block {padding: 0 5px;}
#rt-popup .title, #rt-popuplogin .title {padding: 0;margin-bottom: 10px;margin-top: 5px;}
#rt-popup .inputbox, #rt-popuplogin .inputbox {width: 149px;height: 16px;}

/* Font Sizer Feature */
#rt-accessibility .rt-desc {display: block;float: left;text-transform: none;font-size: 14px;line-height: 14px;}
#rt-accessibility .button {display: block;width: 11px;height: 11px;}
#rt-accessibility a.small .button {background-position: -66px -63px;}
#rt-accessibility a.small:hover .button {background-position: -79px -63px;}
#rt-accessibility a.large .button {background-position: -40px -63px;}
#rt-accessibility a.large:hover .button {background-position: -53px -63px;}

/* Custom Content */
img.feature-img {width: 212px;height: 150px;padding: 5px;}
.feature-img-surround {width: 222px;height: 178px;}
.image-block-surround {width: 160px;height: 150px;float: left;margin-right: 15px;}
img.image-block {width: 150px;height: 122px;padding: 5px;position: relative;}
.content-block {overflow: hidden;}
.heading1 {font-size: 160%;display: block;margin-bottom: 15px;}
.footer-menu, .menu-footer {list-style: none;margin: 0;padding: 0;text-align: right;}
.footer-menu li, .menu-footer li {display: inline-block;margin-left: 8px;padding-left: 8px;}
.footer-menu li a, .menu-footer li .item {font-size: 130%;line-height: 1.8em;}
.news-item {font-size: 140%;line-height: 140%;padding-bottom: 15px;}
.video-thumb, .overlay-thumb {position: relative;width: auto;height: auto;display: inline-block;margin-right: 15px;}
.video-thumb.last {margin-right: 0;}
.video-caption, .overlay-caption {position: absolute;bottom: 5px;left: 0;text-align: center;width: 100%;line-height: 34px;font-size: 18px;font-weight: bold;}
.play-icon {width: 88px;height: 88px;border-radius: 50px;position: absolute;top: 55px;left: 65px;}
.play-icon:hover {top: 51px;left: 61px;}
.play-icon span {display: block;width: 88px;height: 88px;}
.tabs-gallery {width: 132px;float: left;margin-right: 22px;font-size: 120%;}
.tabs-gallery.last {margin-right: 0;}

/* iPhone */
body #gantry-viewswitcher {z-index: 100;right:50%;position:relative;top:inherit;right:inherit;margin: 1em auto;}

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.