Schriftfarbe vom posttext ändern

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Schriftfarbe vom posttext ändern

Beitrag von Xellon »

hi,

hab die css datei bearbeitet aber es hatte keine wirkung.

ich will die schriftfarbe der posts ändern.
kann mir vieleicht jemand sagen wie ich das machen kann?

danke im voraus!

gruß Xellon
Benutzeravatar
Mungo
Administrator
Administrator
Beiträge: 6613
Registriert: 03.05.2003 19:34

Beitrag von Mungo »

Hast du denn die CSS-Datei aktiviert?
KB:69

Wenn nicht, dann aktiviere sie oder nimm deine Einstellungen in der overall_header.tpl vor.
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Beitrag von Xellon »

danke für die schnelle antwort!

die CSS ist deaktiviert, werde gleich die aktievieren :)

gruß xellon
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Beitrag von Xellon »

habs gemacht und jetzt stehe ich vor dem nächsten problem *g*

die hintergrundfarbe ist weg.

ich benutze das digiTech-Style.
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi....

Die Einstellungen vom digiTech Style werden standardmäßig auch von der overall_header.tpl gesteuert. Das bedeutet, dass du die Einstellungen im Adminbereich unter Styles/Themes .... Einstellungen .... Bearbeiten ... ändern kannst.

Da wahrscheinlich das Stylesheet nicht sauber angepasst wurde, ist jetzt die Hintergrundfarbe weg ....

Hast du mal einen Link zum Forum ... das machts einfacher die Stelle zu finden :-)

Markus
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Beitrag von Xellon »

HIERist das forum.
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

wie ich es mir doch gedacht habe .... die css Datei für digiTech ist nicht angepasst vom Autor ....

Erstelle voher eine Sicherungskopie deiner digTech.css

Öffne deine digiTech.css und ersetze den kompletten Code mit dem hier ....

Code: Alles auswählen

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design 
  http://www.subBlue.com
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	background-color: #8B9C7F;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	scrollbar-face-color: #9BAD8D;
	scrollbar-highlight-color: #505A49;
	scrollbar-shadow-color: #505A49;
	scrollbar-3dlight-color: #9BAD8D;
	scrollbar-arrow-color:  #505A49;
	scrollbar-track-color: #8B9C7F;
	scrollbar-darkshadow-color: #9BAD8D;
}

/* General font families for common tags */
font,th,td,p { font-family:  Trebuchet MS, Arial, sans-serif, Verdana }
a:link,a:active,a:visited { color : #505A49; }
a:hover		{ text-decoration: underline; color : #E6EAEB; }
hr	{ height: 0px; border: solid #505A49 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #98AAB1 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #FFFFFF; border: 2px #006699 solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #A5B09D; border: 1px solid #505A49;}
td.row2	{ background-color: #9BAD8D; border: 1px solid #505A49;}
td.row3	{ background-color: #808F74; border: 1px solid #505A49; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: {T_TD_COLOR2};
		}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
	background-color: {T_BODY_LINK}; height: 25px;
	background-image: url(templates/subSilver/images/{T_TH_CLASS2});
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(templates/subSilver/images/{T_TH_CLASS1});
			background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: #BCC6B5; border: #505A49; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "Trebuchet MS", Arial, sans-serif, Verdana;
	text-decoration: none; line-height : 120%; color : #505A49;
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: #505A49; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #505A49; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu		{ text-decoration: none; color : #505A49;  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : #505A49}
a.cattitle		{ text-decoration: none; color : #505A49; }
a.cattitle:hover{ color : #505A49; text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #505A49; }
a.forumlink 	{ text-decoration: none; color : #505A49; }
a.forumlink:hover{ text-decoration: underline; color : #E6EAEB; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #505A49;}
a.nav			{ text-decoration: none; color : #505A49; }
a.nav:hover		{ text-decoration: underline;  color : #E6EAEB;}

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : #505A49; }
a.topictitle:visited { text-decoration: none; color : #505A49; }
a.topictitle:hover	{ text-decoration: underline; color : #E6EAEB; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : {T_FONTSIZE1}px; color : #505A49; }

/* The content of the posts (body of text) */
.postbody { font-size : 13px; line-height: 18px; color: #505A49;}
a.postlink:link	{ font-weight: bold; text-decoration: underline; color : #505A49 }
a.postlink:visited { font-weight: bold; text-decoration: underline; color : #505A49; }
a.postlink:hover {  font-weight: bold; text-decoration: none; color : #E6EAEB}

/* Quote & Code blocks */
.code { 
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #BCC6B5; border: #505A49; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Trebuchet MS, Arial, sans-serif, Verdana; font-size: 12px; color: #006600; line-height: 125%;
	background-color: #BCC6B5; border: #505A49; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright		{ color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: #E6EAEB; text-decoration: underline;}

/* Form elements*/
input,textarea, select {
	font-family: "Trebuchet MS", Arial, sans-serif, Verdana;
	font-size: 12px;
	color: #505A49;
	font-weight: bold;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	background-color: #8B9C7F;
	border: 1px solid #505A49;
} 

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #8B9C7F;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post
input.button {
	background-color : {T_TR_COLOR1};
	color : {T_BODY_TEXT};
	font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
} */

/* The main submit button option 
input.mainoption {
	background-color : {T_TD_COLOR1};
	font-weight : bold;
}*/

/* None-bold submit button
input.liteoption {
	background-color : {T_TD_COLOR1};
	font-weight : normal;
} */

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #8B9C7F; border-style: solid 1px #505A49; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css"); 

.date {
	color: #A7B1B5;
}
.text {
	font-family: "Trebuchet MS", Arial, sans-serif, Verdana;
	font-size: 10px;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	border: 1px solid #505A49;
}
.button {
	font-size: 11px;
	font-weight: bold;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	cursor: hand;
	border: 1px solid #505A49;
}
.heading {
	font-size: 12px;
	font-weight: bold;
	color: #D3DBDE;
}
.heading1 {
	font-size: 12px;
	color: #C5CFD2;
}
.darkfont {
	color: #505A49;
	font-size: 11px;
}
A.darkfont {
	color: #505A49;
	text-decoration: underline;
	}
A.darkfont:hover {
	color: #8B9C7F;
	text-decoration: none;
	}	
A.darkfont:visited {
	color: #505A49;
	text-decoration: none;
	}
A.darkfont:active {
	color: #505A49;
	text-decoration: none;
	}
.darkfontbig {
	font-size: 12px;
	font-weight: bold;
	color: #505A49;
}
.button1 {	font-size: 11px;
	font-weight: bold;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	cursor: hand;
	border: 1px solid #505A49;
}
.head {
font-size: 12px;
color: #E6EAEB;
font-weight: bold;
background-color: #505A49;
}
Markus
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Beitrag von Xellon »

cool, ich danke dir.

ich will nicht nerven aber wenn du nochmal kurz einen blick drauf werfen könntest wäre ich dir sehr dankber. :)

die grafiken passen nicht richtig.
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

das sieht doch ok aus ... was stimmt denn nicht ?

Markus
Xellon
Mitglied
Beiträge: 16
Registriert: 23.06.2004 09:47

Beitrag von Xellon »

in der zeile 'Alle Foren als gelesen markieren' wird eine grafik hinzugefügt die nicht ganz passt.
die grafik oben unter dem menu wo Datum und Uhrzeit stehen ist auch ein bissel verschoben.

wie kann ich die schriftgrösse verkleinern?

kann sein dass dein browser alles richtig anzeigt und meiner nicht?

wo sind die variablen T_FONTSIZE 1-3 deklariert?

danke :)
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“