zmiana czcionki odpowiedzialnej za wyświetlanie postów

Dyskusje na temat modyfikowania i tworzenia stylów do phpBB 3.0.x oraz spraw związanych z szablonami, motywami i zestawami obrazków.
rafium
Posty: 21
Rejestracja: 03 grudnia 2009, 10:06

zmiana czcionki odpowiedzialnej za wyświetlanie postów

Post autor: rafium » 08 lutego 2010, 10:46

Hej!Potrzebuję pomocy jakiegoś speca, który powie mi gdzie znajduje się w moim pliku stylu css wpis odpowiedzialny za rodzaj czcionki wyświetlanej w postach, gdyż chciałbym ją zmienić.

Kod: Zaznacz cały

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		subsilver2
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
	
	This is an alternative style for phpBB3 for those wishing to stay with
	the familiar subSilver style of phpBB version 2.x
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #ffffff;
	background-color: #121212;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0;
}

#wrapheader {
	height: auto !important;
	width: 950px;
	heigh: 202px;
	padding: 0;
	margin: 0 auto;
	align: center;
	background-color: #222222;
	background-repeat: repeat;
	border: 1px solid #585858;
}

#wrapcentre {
	width: 900px;
	heigh: 202px;
	margin: 0 auto;
	padding: 0;
	align: center;
	background-color: #222222;
	background-repeat: repeat;

}

#wrapfooter {
	width: 900px;
	heigh: 202px;
	margin: 0 auto;
	text-align: center;
	align: center;
	clear: both;
	background-color: #222222;
	background-repeat: repeat;
	color: #ffffff;
}

#wrapnav {
	width: 100%;
	margin: 0;
	border-width: 1px;
	border-style: solid;
	background-color: #222222;
	background-repeat: repeat;
	border: 1px solid #000000;
}

#logodesc {
	width: 900px;
	heigh: 202px;
}

#menubar {
	margin: 0 25px;
}

#datebar {
	margin: 10px 25px 0 25px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #be9999;
	border-width: 1px;
	border-style: solid;
	border-color: #cccccc;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: #ffffff;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: white;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: #3d3737;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #c1c1c1;
}

.postdetails {
	color: #c1c1c1;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: #5f4e4e;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: #5f4e4e;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #847474;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}

.index {
	color: #ffffff;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #000000;
	text-indent: 4px;
}


/* Tables
 ------------ */
th {
	color: #ffffff;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #000000;
	white-space: nowrap;
	padding: 7px 5px;
	border: 1px solid #212121;
}


td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #000000;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #313131;
}
.rtl .catdiv {
	background-color: #313131;
}

.rtl:hover .catdiv {
	background-color: #515151;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #313131;
	text-indent: 4px;
}

.cat:hover {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #515151;
	text-indent: 4px;
}

.row1 {
	background-color: #212121;
	padding: 2px;
}

.row2 {
	background-color: #212121;
	padding: 2px;
}

.row1:hover {
        background-color: #191919;
}


.row3 {
	background-color: #191919;
	padding: 2px;
}

.rowgood {
	background-color: #212121;
	padding: 2px;
}

.rowneutral {
	background-color: #212121;
	padding: 2px;
}

.rowbad {
	background-color: #212121;
	padding: 2px;
}

.spacer {
	background-color: #393d40;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #575e64;
	color: #cccccc;
}

.legend {
	text-align: center;
	margin: 0 auto;
	border: solid 1px #AAAAAA;
	background-color: #f1f1f1;
}



/* Links
 ------------ */
a:link {
	color: #c1c1c1;
	text-decoration: none;
}

a:active,
a:visited {
	color: #c1c1c1;
	text-decoration: none;
}

a:hover {
	color: #ff6600;
	text-decoration: none;
}

a.forumlink {
	color: #c1c1c1;
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 12px;
}

a.forumlink:hover {
	color: #ff6600;
	text-decoration: none;
}


a.topictitle {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #c1c1c1;
}

a.topictitle:hover {
	color: #ff6600;
	text-decoration: none;
}

a.topictitle:visited {
	color: #c1c1c1;
	text-decoration: none;
}

th a,
th a:visited {
	color: #c1c1c1 !important;
	text-decoration: none;
}

th a:hover {
	color:#ff6600;
	text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #ffffff;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #222222;
	background-color: #999999;
}

textarea {
	background-color: #000000;
	background-image: url('./images/bk_txtarea.jpg');
	color: #ffffff;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #222222;
	padding: 2px;
}

checkbox {
	background-color: #000000;
	color: #000000;
	padding: 2px;
}

select {
	color: #ffffff;
	background-color: #000000;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #222222;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: #000000;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #ffffff;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	background-color: #000000;
	border: 1px solid #666666;
}

.btnmain {
	font-weight: bold;
	background-color: #000000;
	border: 1px solid #222222;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color: #ffffff;
}

.btnlite {
	font-weight: normal;
	background-color: #000000;
	border: 1px solid #222222;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color: #ffffff;
}

.btnfile {
	font-weight: normal;
	background-color: #000000;
	border: 1px solid #222222;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #000000;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #000000;
	color: #F0F8FF;
	background-color: #000000;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #000000;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #000000;
	color: #F0F8FF;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #000000;
	color: #F0F8FF;
	background-color: #000000;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #000000;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #F0F8FF;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #000000;
}

.syntaxbg {
	color: #cccccc;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #cccccc;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #c3c3c3;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

/* Menu */

#tabel {
	width: 950px;
	heigh: 202px;
    marign: 0 auto;
    border: 1px solid #000000;
}

#meniu {
    position:relative;
    display:block;
    height:26px;
    font-size:11px;
    font-weight:bold;
    background-color: #313131;
    font-family:Arial,Verdana,Helvitica,sans-serif;
    margin-left: auto;
    margin-right: auto
}

#meniu ul{
    margin:0px;
    padding:0;
    list-style-type:none;
    width:auto;
}

#meniu ul li{
    display:block;
    float:left;
    margin:0;
}

#meniu ul li a{
    display:block;
    float:center;
    color:#c1c1c1;
    text-decoration:none;
    padding:7px 12px 0 12px;
    height:19px;
}

#meniu ul li a:hover{
    color:#ff6600;
    background:#515151;
}




"position:absolute; left:394px; top:301px;flds[dsaf

Awatar użytkownika
@Marcin
Zasłużony
Posty: 1635
Rejestracja: 08 lutego 2009, 21:27
Lokalizacja: Nowa Ruda (PL) / Milton Keynes (UK)
Kontakt:

Re: zmiana czcionki odpowiedzialnej za wyświetlanie postów

Post autor: @Marcin » 08 lutego 2010, 10:49

Kod: Zaznacz cały

.postbody {
       font-size: 1.3em;
       line-height: 1.4em;
       font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
    }
Wsparcie phpBB PL !!

Zablokowany

Wróć do „Pomoc”