← SMF

Alterar cor das letras dos textos dos posts dos membros

Lida 2182 vezes

Offline

amaru 
Membro
Mensagens 600 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

No style.css qual é o que altera a cor das letras dos posts? tou a por uma skin que tem letras cinzas e quero por brancas.

Código: [Seleccione]
/* Normal, standard links. */
a:link {
color: #2687A9;
text-decoration: none;
}
a:visited {
color: #2687A9;
text-decoration: none;
}
a:hover {
color: #A6A6A6;
text-decoration: underline;
}
/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
color: #800000;
text-decoration: none;
}
a.nav:hover
{
color: #2687A9;
text-decoration: underline;
}
/* Tables should show empty cells. */
table {
empty-cells: show;
}
/* By default (td, body..) use verdana in black. */
body, td, th , tr {
color: #757575;
font-size: small;
line-height: 135%;
font-family: verdana, sans-serif;
}
/* The main body of the entire forum. */
body {
background: #040404 url(./images/art/fadebg.jpg) repeat-x top left;
margin-top: 10px;
padding: 10px 0px 10px 0px;
}
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
color: #000000;
font-family: verdana, sans-serif;
}
input, button {
font-size: 90%;
}
textarea {
font-size: 100%;
color: #000000;
font-family: verdana, sans-serif;
}
/* All input elements that are checkboxes or radio buttons. */
input.check {
}
/* Selects are a bit smaller, because it makes them look even better 8). */
select {
font-size: 90%;
font-weight: normal;
color: #000000;
font-family: verdana, sans-serif;
}
/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
height: 1px;
border: 0;
color: #1F1F1F;
background-color: #1F1F1F;
}
/* No image should have a border when linked */
a img {
border: 0;
}
a { outline: 0;
}
/* A quote, perhaps from another post. */
.quote {
color: #7D7D7D;
background: #202020;
border-left: 4px solid #2687A9;
font-size:100%;
font-style: italic;
line-height:1.4em;
padding:8px;
}
/* A code block - maybe even PHP ;). */
.code {
color: #E3E3E3;
background: #555555;
border-left:4px solid #393939;
font-size:100%;
line-height:1.4em;
font-family:"courier new", helvetica, "times new roman", serif;
white-space:nowrap;
overflow:auto;
max-height:24em;
padding:8px;
}
/* The "Quote:" and "Code:" header parts... */
.quoteheader {
background: #2B2B2B;
border-top: 4px solid #2687A9;
border-left: 4px solid #2687A9;
color:#000;
font-weight:700;
font-size:100%;
margin:8px auto 0;
padding:8px;
}
.codeheader {
background: #151515;
border-top: 4px solid #393939;
border-left: 4px solid #393939;
color: #676767'
font-weight:700;
font-size:100%;
margin:8px auto 0;
padding:8px;
}
/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {
cursor: help;
}
/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
color: red;
}
/* The main post box - this makes it as wide as possible. */
.editor {
width: 96%;
}
/* Highlighted text - such as search results. */
.highlight {
background-color: yellow;
font-weight: bold;
color: black;
}
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body {
color: #929292;
background: #000000 url(./images/art/wnbg.gif) repeat-x top left;
}
.windowbg a:link, .windowbg2 a:link, .windowbg3 a:link {
  color: #2687A9;
 
}
.windowbg a:visited, .windowbg2 a:visited, .windowbg3 a:visited {
  color: #2687A9;
 
}
.windowbg a:hover, .windowbg2 a:hover, .windowbg3 a:hover {
color: #727272;
}
.windowbg2 {
color: #929292;
background: #000000 url(./images/art/wnbg.gif) repeat-x top left;
}
.windowbg3 {
color: #CCCCCC;
background: #000000 url(./images/art/wnbg.gif) repeat-x top left;
padding: 10px;
border: 1px solid #222222
}
/* the today container in calendar */
.calendar_today {
background: none;
border: 1px solid #A30000;
}
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
color: #757575;
font-style: normal;
background: url(images/titlebg.jpg) #242424 repeat-x;
border-bottom: solid 1px #070707;
border-top: solid 1px #2d2d2d;
padding-left: 10px;
padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited {
font-weight: bold;
color: #757575;
font-style: normal;
}
.titlebg a:hover {
color: #2687A9;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited {
color: #757575;
font-style: normal;
text-decoration: underline;
}
.titlebg2 a:hover {
color: #2687A9;
text-decoration: underline;
}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers. */
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td {
background: url(images/catbg.jpg) #191919 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg2 , tr.catbg2 td {
background: url(images/catbg.jpg) #192929 repeat-x;
color: #ffffff;
padding-left: 10px;
padding-right: 10px;
}
.catbg, .catbg2, .catbg3 {
border-bottom: solid 1px #2d2d2d;
}
.catbg, .catbg2 {
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
font-size: 95%;
color: white;
text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited {
color: white;
text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
color: #2687A9;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
background-color: #000;
padding: 0px;
}
/* This is used on tables that should just have a border around them. */
.tborder {
padding: 1px;
background: #000000;
border: 1px solid #2d2d2d;
}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext
{
font-size: 90%;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}
/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}
/* Sometimes there will be an error when you post */
.error
{
color: red;
}
/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
vertical-align: top;
text-transform: captialize;
}
.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
text-decoration: none;
font-size: 11px;
padding: 5px;
}
.maintab_first,.mirrortab_first {
display: none;
}
.maintab_back,.mirrortab_back {}
.maintab_last,.mirrortab_last {
display: none;
}
.maintab_active_first, .mirrortab_active_first {
display: none;
}
.maintab_active_back, .mirrortab_active_back {
text-decoration: overline;
}
.maintab_active_last, .mirrortab_active_last {
display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
color: #757575;
text-decoration: none;
}
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
color: #757575;
text-decoration: none;
font-weight: bold;
}
.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
color: #2687A9;
text-decoration: overline;
}
#linktree {
clear: both;
color: #757575;
font-size: 0.9em;
font-weight: 900;
padding: 1em 0 0.4em 0;
overflow: hidden;
font-family: tahoma, arial, sans-serif;
}
/* The AJAX notifier */
#ajax_in_progress
{
background: #2F2F2F;
color: white;
text-align: center;
font-weight: bold;
font-size: 18pt;
padding: 3px;
width: 100%;
position: fixed;
bottom: 0;
left: 0;
}
#bodyarea {
padding: 10px;
margin: 0;
border: 1px solid #000;
background: #1f1f1f;
}
.page {
background: #151515;
border: 1px solid #222;
padding-left: 10px;
padding-bottom: 15px;
padding-right: 10px;
color: #323232;
font-family: Arial;
}
#toolbar {
margin-top: 0;
padding: 0;
height: 40px;
background: #0a0a0a url(images/art/nav.png);
}
li { list-style-type: none; }

/* Menu */
#menu {
width: auto;
height: 40px;
margin: 0 auto;
padding: 0;
}
#menu ul {
margin: 0;
padding: 0;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
list-style-type: none;
border-left: 1px solid #0a0a0a;
}
#menu a {
display: block;
width: 95px;
height: 33px;
padding-top: 8px;
text-decoration: none;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
color: #FFFFFF;
border: none;
}
#menu a:hover, #menu .current a {
background: #454545;
text-decoration: none;
}
#menu .current {
background: #454545 url(./images/art/cur.gif) no-repeat bottom center;
padding-left: 0;
}
/* Entire Template Width */
.wrap {
width: 950px;
background: #E3E3E3;
border: 1px solid #A30000;
min-width: 720px;
margin: 0 auto;
padding: 0;
}
.clearfix {
display: inline-block;
}
.left,.alignleft {
float: left;
margin-top: 2.5em;
}
.right,.alignright {
float: right;
margin-top: 2.5em;
}
/* Avatar Fix */
#smf-avatar {
float: right;
padding-top: 5px;
padding-left: 10px;
}
#userarea {
float: right;
margin: 0 1em;
padding: 1em 1em 0 0;
text-align: right;
font-size: 0.95em;
width: 38em;
color: #FFF;
font-family: tahoma, sans-serif;
}
#userarea a:link, #userarea a:visited {
color: #e3e3e3;
}
#userarea a:hover {
color: #2687A9;
text-decoration: underline;
}
#news {
position: absolute;
float: left;
clear: both;
height: 40px;
top: 7.5em;
left: 1.5em;
text-align: left;
font-size: 1em;
color: #FFF;
font-family: Arial, Helvetica, sans-serif;
}
#news a:link, #news a:visited {
color: #e3e3e3;
}
#news a:hover {
color:  #2687A9;
text-decoration: underline;
}
/* Banners Logos Here! */
#logo {
position: absolute;
top: 0.89em;
left: 25px;
display: block;
width: 172px!important;
height: 42px!important;
cursor: pointer;
background: url(./images/art/logo.png) no-repeat;
}
#header {
position: relative;
height: 145px;
overflow: hidden;
background: #242424 url(images/art/Header.jpg) 0 0 repeat-x;
}
#head-r {
height: 145px;
background: 100% 0 no-repeat;
}
#head-l {
background: 0 0 no-repeat;
}
#footer {
background: url(images/art/Footer.png) repeat-x;
height: 113px;
}
#footerarea {
font-family: verdana, sans-serif;
text-align: center;
padding: 4.5em;
color: #FFF;
}
#footerarea a:link, #footerarea a:visited {
color: #FFF;
}
#footerarea a:hover {
color: #2687A9;
text-decoration: none;
}
Offline

amaru 
Membro
Mensagens 600 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Já agora o forum está centralizado, e eu quero ele mais esticado, estive à procura nas percentagens se dava para por a 100% mas não encontro a definição também.

EDIT: Consegui era aqui:
Código: [Seleccione]
/* By default (td, body..) use verdana in black. */
body, td, th , tr {
color: #FFFFFF;
font-size: small;
line-height: 135%;
font-family: verdana, sans-serif;

só me falta editar a largura do fórum.

edit: Também já descobri onde se altera a largura, obrigado na mesma ;)
Código: [Seleccione]
/* Entire Template Width */
.wrap {
width: 1150px;
background: #E3E3E3;
border: 1px solid #A30000;
min-width: 720px;
margin: 0 auto;
padding: 0;