Erro na folha do css
2 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Erro na folha do css
Qual é minha questão:
Meu CSS ta dando esse erro:
Erro:
Erro detectado
Nós contamos um número diferente de "{" e de "}". Isto significa que o seu CSS pode não ser válido e não será exibido corretamente no seu fórum.
Lhe aconselhamos que releia o seu código.
Meu CSS:
Endereço do meu fórum:
http://brasilbestcity.umforum.net
Versão do fórum:
PHPBB3
Meu CSS ta dando esse erro:
Erro:
Erro detectado
Nós contamos um número diferente de "{" e de "}". Isto significa que o seu CSS pode não ser válido e não será exibido corretamente no seu fórum.
Lhe aconselhamos que releia o seu código.
Meu CSS:
- Código:
.postprofile dl > dd:first-of-type img {
margin-left: 3px;
border: 5px solid #eee;
-webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
-moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}
.postprofile dl > dd:first-of-type img:hover {
-webkit-transform: rotate(-7deg);
-moz-transform: rotate(-7deg);
-o-transform: rotate(-7deg);
transform: rotate(-7deg);
}
}
#i_logo {
transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-webkit-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
-webkit-transform: rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-moz-transform: rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-o-transform: rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-moz-opacity: 0.6;
opacity: 0.6;
filter:alpha(opacity=40); /* For IE8 and earlier */
-moz-transition-duration: 0.8s;
-webkit-transition-duration: 0.8s;
-o-transition-duration: 0.8s;
}
#i_logo:hover {
transition-duration: 1.0s;
-moz-transition-duration: 0.5s;
-webkit-transition-duration: 1.0s;
-o-transition-duration: 1.0s;
-webkit-transform: rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-moz-transform: rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-o-transform: rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-moz-opacity: 0.6;
opacity: 1.0;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
}
.postbody p.author {
margin-top: 4px !important;
position: inherit !important;
width: 50% !important;
}
p.author {
background: none repeat scroll 0px 0px rgb(255, 255, 255);
border: 1px solid rgb(195, 224, 241);
border-radius: 6px 6px 6px 6px;
margin-top: 10px;
padding-left: 3px;
padding-top: 3px;
position: relative;
width: 300px;
}
.box-content.profile.center img:nth-of-type(2) {
margin-top: -20px;
}
.box-content.profile.center {
color: rgba(0, 0, 0, 0);
}
.postprofile dt img:hover{
-webkit-transform: rotate(1800deg) scale(1);
-moz-transform: rotate(1800deg) scale(1);
-o-transform: rotate(1800deg) scale(1);
}
.postprofile dt img{
-webkit-transition: all 5s ease-in-out;
-moz-transition: all 5s ease-in-out;
-o-transition: all 5s ease-in-out;
}
.topics {
color: #000000 !important;
}
.posts {
color: #000000!important;
}
.lastpost > span {
color: #000000!important;
}
.topics {
color: #000000 !important;
}
#i_whosonline + p br + br + em {
width: 70%;
background: white url(http://i41.servimg.com/u/f41/17/41/76/40/grey-u10.png) repeat-x scroll left bottom;
border: 2px solid #DDD;
border-radius: 6px;
text-align: justify;
padding: 10px 8px 5px 5px;
display: block;
margin: 0 auto;
font-size: 0px;
color: transparent;
}
#i_whosonline + p br + br + em a {
-webkit-transition-duration: .3s;
t€ext-shadow: 0px 1px 1px #454545;
font-size: 15px;
margin: 0 5px;
font-style: normal;
font-weight: normal;
}
#i_whosonline + p br + br + em a:hover {
background: #DDD;
padding: 9px 10px 10px;
}
#i_whosonline + p br + br + em {
text-align: center !important;
width: 61% !important;
}
.forabg {
border-radius: 10px;
}
{
text-decoration: none;
}
#search-box {
float: right;
margin-right: 5px;
margin-top: 10px;
white-space: nowrap;
}
{
margin: 0px;
padding: 0px;
}
user agent stylesheetdiv {
display: block;
}
Pseudo ::-webkit-file-upload-button element
::-webkit-scrollbar {
height: 8px;
width: 10px;
}
Pseudo ::-webkit-search-decoration element
::-webkit-scrollbar-track-piece {
background: rgb(255, 255, 255);
}
Inherited from div.module
.module {
background-repeat: repeat;
border: 1px solid rgb(238, 238, 238);
color: rgb(0, 0, 0);
overflow: hidden;
padding: 0px 10px;
text-align: center;
}
.module {
color: rgb(0, 0, 0);
overflow: hidden;
padding: 0px 10px;
}
Inherited from table.portal
user agent stylesheettable {
border-collapse: separate;
border-spacing: 2px;
border-color: gray;
}
{
margin: 0px;padding: 0px;}a.mainmenu img:hover {-moz-opacity:1;cursor:allowed;filter:alpha(opacity=100);opacity:1}a{outline:none}ul.linklist li a img { propriedades}ul.linklist a img:hover {propriedades}a[href="/faq"] {display: none !important;}.postprofile dl dd:first-of-type {display: Rank;}ndiv.postprofile dl dt img{ margin-left: 3px; border: 5px solid #eee; -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2); -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2); box-shadow: 4px 4px 4px rgba(0,0,0,0.2); -webkit-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease;} div.postprofile dl dt img:hover { -webkit-transform: rotate(-7deg); -moz-transform: rotate(-7deg); -o-transform: rotate(-7deg);}a[href ="/u1"] {color:#FF0000;}a[href="/u1"] {background: url("http://i.imgur.com/GOJ0R.gif");}#page-header #search-box {position: absolute;top: 20px;right: 7%;}/* Caixa de busca por SUPERO*/#search-box{position: center; bottom: 55px;height: 40px;width: 190px;right: -150px;display: inline;background: transparent url(https://lh5.googleusercontent.com/-Jy9D2n_Pr9Y/UaHT2EnqlrI/AAAAAAAAAlU/ukHSX22HbR4/w304-h52-no/Sem%2Bt%25C3%25ADtulo.png) no-repeat center;}#search-box input.button2 {display: none;}#search-box {padding-bottom: 5px !important;}#search-box #keywords {width: 70px;color: white;font-family: Verdana;font-size: 16 px;font-style: bold;font-weight: bold;background: transparent;}#search-box input {border: none !important;background: none;}#search-box input.search {background: none;margin-left: 30px;margin-top: 15px;}/* Fim da caixa de busca */#main-content a.cgu-buttons,input.button1,input.button2,a.button2,button.button2{border: 1px solid #afafaf; -moz-border-radius: 3px; -webkit-border-radius: 3px; -moz-box-shadow: 2px 2px 0px #afafaf; -webkit-box-shadow: 2px 2px 0px #afafaf}.LGlike { background: #105289; padding: 3px; border-radius: 4px; color: #fff; font-size: 10px; font-weight: bold; text-shadow: -1px 0.5px #888; box-shadow: 1px 1px 1px #888; cursor: pointer; margin-right: 4px; } .LGvote { margin: 0 5px; } .LGnovote { filter:Alpha(opacity=50); opacity: 0.5; cursor: default; box-shadow: none; text-shadow: none; }.sbSelector { display: block; height: 30px; left: 0px; line-height: 30px; outline: medium none; overflow: hidden; position: absolute; text-indent: 10px; top: 0px; width: 170px;}.sbToggle { background: url("http://i42.servimg.com/u/f42/17/32/13/00/select14.png") no-repeat scroll 0px -116px transparent; display: block; height: 30px; outline: medium none; position: absolute; right: 0px; top: 0px; width: 30px;}.sbSelector:hover, .sbSelector:link, .sbSelector:visited { color: rgb(235, 181, 45); outline: medium none; text-decoration: none;}.sbOptions a:link, .sbOptions a:visited { color: rgb(221, 221, 221); text-decoration: none;}.sbOptions a { border-bottom: 1px dotted rgb(81, 81, 81); display: block; outline: medium none; padding: 7px 0px 7px 3px;}.sbOptions { background-color: rgb(33, 33, 33); border: 1px solid rgb(81, 81, 81); left: -1px; list-style: none outside none; margin: 0px; overflow-y: auto; padding: 0px; position: absolute; top: 30px; width: 200px; z-index: 1;}a.mainmenu:hover { background: url("http://i42.servimg.com/u/f42/17/32/13/00/nav-di10.png") no-repeat scroll 100% 44%, url("http://i81.servimg.com/u/f81/18/23/47/35/0e8wm11.png") no-repeat scroll center top rgba(0, 0, 0, 0);}a, a:hover, body { cursor: url("http://cur.cursors-4u.net/cursors/cur-7/cur610.cur"), progress;}a.mainmenu { background: url("http://i42.servimg.com/u/f42/17/32/13/00/nav-di10.png") no-repeat scroll 100% 44% rgba(0, 0, 0, 0); color: #FFFFFF !important; display: inline-block; height: 35px; margin: 0 !important; padding-right: 10px; padding-top: 7px;}a:hover { color: #4876FF; text-shadow: 0 0 10px #000000;}a:hover { color: #000000; text-decoration: none;}a:link { color: #000000; text-decoration: none;}a, a:hover, body { cursor: url("http://cur.cursors-4u.net/cursors/cur-7/cur610.cur"), progress;}#page-header .navbar ul.linklist.navlinks { background: url("http://i81.servimg.com/u/f81/18/23/47/35/kbcoz10.png") repeat-x scroll left top rgba(0, 0, 0, 0); height: 42px; left: -1.2%; width: 100.5%;}#page-footer, div.navbar, div.navbar ul.linklist { display: block !important;}ul.navlinks { border-bottom: 1px solid #000000; font-weight: 700; text-align: center;}ul { list-style-type: none;}#page-header #search-box {display: none;}em{font-style: normal;}.module .postbody .postbody-head {background-color: #e5e6e7;}.post-footer {background-color: #CCCCCC;}.post .post-header {background-color: #CCCCCC;}.headerbar {margin-bottom:0;}blockquote {background-color:#CCCCCC;}ul.linklist li a img {filter:alpha(opacity=30);-moz-opacity: 0.3;opacity: 0.3;}ul.linklist li a img:hover {filter:alpha(opacity=100);-moz-opacity: 1.0;opacity: 1.0;cursor:allowed;}
Endereço do meu fórum:
http://brasilbestcity.umforum.net
Versão do fórum:
PHPBB3
Re: Erro na folha do css
Troque por:
Isso Acontece porque você deixou } à mais.
- Código:
.postprofile dl > dd:first-of-type img:hover {
-webkit-transform:rotate(-7deg);
-moz-transform:rotate(-7deg);
-o-transform:rotate(-7deg);
transform:rotate(-7deg);
}
#i_logo {
transition-duration:.5s;
-webkit-transform:rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-moz-transform:rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-o-transform:rotate(0deg) scale(0.9) skew(1deg) translate(0px);
-moz-opacity:0.6;
opacity:0.6;
filter:alpha(opacity=40);
-moz-transition-duration:.8s;
-webkit-transition-duration:.8s;
-o-transition-duration:.8s;
}
#i_logo:hover {
transition-duration:1s;
-moz-transition-duration:.5s;
-webkit-transition-duration:1s;
-o-transition-duration:1s;
-webkit-transform:rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-moz-transform:rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-o-transform:rotate(0deg) scale(1.0) skew(1deg) translate(0px);
-moz-opacity:0.6;
opacity:1.0;
filter:alpha(opacity=40);
}
.postbody p.author {
margin-top:4px!important;
position:inherit!important;
width:50%!important;
}
p.author {
background:none repeat scroll 0 0 #fff;
border:1px solid #c3e0f1;
border-radius:6px 6px 6px 6px;
margin-top:10px;
padding-left:3px;
padding-top:3px;
position:relative;
width:300px;
}
.box-content.profile.center img:nth-of-type(2) {
margin-top:-20px;
}
.box-content.profile.center {
color:rgba(0,0,0,0);
}
.postprofile dt img:hover {
-webkit-transform:rotate(1800deg) scale(1);
-moz-transform:rotate(1800deg) scale(1);
-o-transform:rotate(1800deg) scale(1);
}
.postprofile dt img {
-webkit-transition:all 5s ease-in-out;
-moz-transition:all 5s ease-in-out;
-o-transition:all 5s ease-in-out;
}
#i_whosonline + p br + br + em {
background:#FFF url(http://i41.servimg.com/u/f41/17/41/76/40/grey-u10.png) repeat-x scroll left bottom;
border:2px solid #DDD;
border-radius:6px;
display:block;
font-size:0;
color:transparent;
text-align:center!important;
width:61%!important;
margin:0 auto;
padding:10px 8px 5px 5px;
}
#i_whosonline + p br + br + em a {
-webkit-transition-duration:.3s;
t€ext-shadow:0 1px 1px #454545;
font-size:15px;
font-style:normal;
font-weight:400;
margin:0 5px;
}
#i_whosonline + p br + br + em a:hover {
background:#DDD;
padding:9px 10px 10px;
}
.forabg {
border-radius:10px;
}
{
text-decoration:none;
margin:0;
}
#search-box {
float:right;
margin-right:5px;
margin-top:10px;
white-space:nowrap;
position:center;
bottom:55px;
height:40px;
width:190px;
right:-150px;
display:inline;
background:transparent url(https://lh5.googleusercontent.com/-Jy9D2n_Pr9Y/UaHT2EnqlrI/AAAAAAAAAlU/ukHSX22HbR4/w304-h52-no/Sem%2Bt%25C3%25ADtulo.png) no-repeat center;
padding-bottom:5px!important;
}
user agent stylesheetdiv {
display:0 block;
}
Pseudo ::-webkit-file-upload-button element
::-webkit-scrollbar {
height:8px;
width:10px;
}
Pseudo ::-webkit-search-decoration element
::-webkit-scrollbar-track-piece {
background:#fff;
}
Inherited from div.module
.module {
background-repeat:repeat;
border:1px solid #eee;
color:#000;
overflow:hidden;
text-align:center;
padding:0 10px;
}
.module {
color:#000;
overflow:hidden;
padding:0 10px;
}
Inherited from table.portal
user agent stylesheettable {
border-collapse:separate;
border-spacing:2px;
border-color:gray;
}
a.mainmenu img:hover {
-moz-opacity:0;
cursor:allowed;
filter:alpha(opacity=100);
opacity:1;
}
a {
outline:none;
}
a[href=/faq] {
display:none!important;
}
.postprofile dl dd:first-of-type {
display:Rank;
}
div.postprofile dl dt img:hover {
-webkit-transform:rotate(-7deg);
-moz-transform:rotate(-7deg);
-o-transform:rotate(-7deg);
}
a[href =/u1] {
color:red;
}
a[href=/u1] {
background:url(http://i.imgur.com/GOJ0R.gif);
}
#page-header #search-box {
position:absolute;
top:20px;
right:7%;
display:none;
}
#search-box input.button2 {
display:none;
}
#search-box #keywords {
width:70px;
color:#FFF;
font-family:Verdana;
font-size:16px px;
font-style:bold;
font-weight:700;
background:transparent;
}
#search-box input {
border:none!important;
background:none;
}
#search-box input.search {
background:none;
margin-left:30px;
margin-top:15px;
}
#main-content a.cgu-buttons,input.button1,input.button2,a.button2,button.button2 {
border:1px solid #afafaf;
-moz-border-radius:3px;
-webkit-border-radius:3px;
-moz-box-shadow:2px 2px 0 #afafaf;
-webkit-box-shadow:2px 2px 0 #afafaf;
}
.LGlike {
background:#105289;
border-radius:4px;
color:#fff;
font-size:10px;
font-weight:700;
text-shadow:-1px .5px #888;
box-shadow:1px 1px 1px #888;
cursor:pointer;
margin-right:4px;
padding:3px;
}
.LGvote {
margin:0 5px;
}
.LGnovote {
filter:Alpha(opacity=50);
opacity:0.5;
cursor:default;
box-shadow:none;
text-shadow:none;
}
.sbSelector {
display:block;
height:30px;
left:0;
line-height:30px;
outline:medium none;
overflow:hidden;
position:absolute;
text-indent:10px;
top:0;
width:170px;
}
.sbToggle {
background:url(http://i42.servimg.com/u/f42/17/32/13/00/select14.png) no-repeat scroll 0 -116px transparent;
display:block;
height:30px;
outline:medium none;
position:absolute;
right:0;
top:0;
width:30px;
}
.sbSelector:hover,.sbSelector:link,.sbSelector:visited {
color:#ebb52d;
outline:medium none;
text-decoration:none;
}
.sbOptions a:link,.sbOptions a:visited {
color:#ddd;
text-decoration:none;
}
.sbOptions a {
border-bottom:1px dotted #515151;
display:block;
outline:medium none;
padding:7px 0 7px 3px;
}
.sbOptions {
background-color:#212121;
border:1px solid #515151;
left:-1px;
list-style:none outside none;
overflow-y:auto;
position:absolute;
top:30px;
width:200px;
z-index:1;
margin:0;
padding:0;
}
a.mainmenu:hover {
background:url(http://i42.servimg.com/u/f42/17/32/13/00/nav-di10.png) no-repeat scroll 100% 44% url(http://i81.servimg.com/u/f81/18/23/47/35/0e8wm11.png) no-repeat scroll center top rgba(0,0,0,0);
}
a,a:hover,body {
cursor:url(http://cur.cursors-4u.net/cursors/cur-7/cur610.cur), progress;
}
a.mainmenu {
background:url(http://i42.servimg.com/u/f42/17/32/13/00/nav-di10.png) no-repeat scroll 100% 44% rgba(0,0,0,0);
color:#FFF!important;
display:inline-block;
height:35px;
padding-right:10px;
padding-top:7px;
margin:0!important;
}
a:hover {
text-shadow:0 0 10px #000;
color:#000;
text-decoration:none;
}
a:link {
color:#000;
text-decoration:none;
}
#page-header .navbar ul.linklist.navlinks {
background:url(http://i81.servimg.com/u/f81/18/23/47/35/kbcoz10.png) repeat-x scroll left top rgba(0,0,0,0);
height:42px;
left:-1.2%;
width:100.5%;
}
#page-footer,div.navbar,div.navbar ul.linklist {
display:block!important;
}
ul.navlinks {
border-bottom:1px solid #000;
font-weight:700;
text-align:center;
}
ul {
list-style-type:none;
}
em {
font-style:normal;
}
.module .postbody .postbody-head {
background-color:#e5e6e7;
}
.headerbar {
margin-bottom:0;
}
ul.linklist li a img {
filter:alpha(opacity=30);
-moz-opacity:0.3;
opacity:0.3;
}
ul.linklist li a img:hover {
filter:alpha(opacity=100);
-moz-opacity:1.0;
opacity:1.0;
cursor:allowed;
}
.postprofile dl > dd:first-of-type img,ndiv.postprofile dl dt img {
margin-left:3px;
border:5px solid #eee;
-webkit-box-shadow:4px 4px 4px rgba(0,0,0,0.2);
-moz-box-shadow:4px 4px 4px rgba(0,0,0,0.2);
box-shadow:4px 4px 4px rgba(0,0,0,0.2);
-webkit-transition:all .5s ease-out;
-moz-transition:all .5s ease;
-o-transition:all .5s ease;
}
.topics,.posts,.lastpost > span {
color:#000!important;
}
.post-footer,.post .post-header,blockquote {
background-color:#CCC;
}
Isso Acontece porque você deixou } à mais.
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos