bon jour
there is no css file.
templates/default/page_header.html has the css for the site. The css styles are pulled from the database table eqdkp_styles.
To explain this:
You see a page, viewmember.php. How does it form?
First look at the .php:
CODE
include_once($eqdkp_root_path . 'common.php');
.. etc...
$eqdkp->set_vars(array(
'page_title' => sprintf($user->lang['title_prefix'], $eqdkp->config['guildtag'], $eqdkp->config['dkp_name']).': '.sprintf($user->lang['viewmember_title'], $member['member_name']),
'template_file' => 'viewmember.html',
'display' => true)
);
it says to include a file called common.php and it also calls a template file to be loaded, viewmember.html
The templates/default/viewmember.html has no styles. Odd, maybe, but it says to:
CODE
<!-- INCLUDE page_header.html -->
hmm, templates/default/page_header.html shows styles like:
CODE
<style type="text/css">
form { display: inline; }
img { vertical-align: middle; border: 0px; }
BODY { font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: #{T_FONTCOLOR1}; margin-left: 1%; margin-right: 1%; margin-top: 1%; background-color: #{T_BODY_BACKGROUND}; }
TABLE { border-top: {T_TABLE_BORDER_WIDTH}px; border-right: {T_TABLE_BORDER_WIDTH}px; border-bottom: {T_TABLE_BORDER_WIDTH}px; border-left: {T_TABLE_BORDER_WIDTH}px; border-color: #{T_TABLE_BORDER_COLOR}; border-style: {T_TABLE_BORDER_STYLE}; }
TABLE.borderless { border-style: none; }
th { font-weight: bold; color: #{T_HEADER_LINK}; background-color: #{T_TH_COLOR1}; white-space: nowrap; }
tr, td { font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: #{T_FONTCOLOR1}; }
a:link, a:visited, a:active { text-decoration: {T_BODY_LINK_STYLE}; color: #{T_BODY_LINK}; }
a:hover { text-decoration: {T_BODY_HLINK_STYLE}; color: #{T_BODY_HLINK}; }
You see how {T_FONTSIZE2} is declared instead of an actual fontsize specified? That draws the data from the .php which is calling that template, viewmembers.php. Viewmembers.php doesn't have that info though, but where is it? Remember viewmembers.php had this line?
CODE
include_once($eqdkp_root_path . 'common.php');
That makes it also include the code in common.php. What does common.php have for styles?
Well.. nothing! But look at what common.php calls:
CODE
include_once($eqdkp_root_path . 'includes/functions.php');
include_once($eqdkp_root_path . 'includes/dbal.php');
include_once($eqdkp_root_path . 'includes/eqdkp.php');
include_once($eqdkp_root_path . 'includes/session.php');
include_once($eqdkp_root_path . 'includes/class_template.php');
include_once($eqdkp_root_path . 'includes/eqdkp_plugins.php');
It calls eqdkp.php! Whats in that?
includes/eqdkp.php
CODE
// Theme Settings
'T_FONTFACE1' => $user->style['fontface1'],
'T_FONTFACE2' => $user->style['fontface2'],
'T_FONTFACE3' => $user->style['fontface3'],
'T_FONTSIZE1' => $user->style['fontsize1'],
'T_FONTSIZE2' => $user->style['fontsize2'],
'T_FONTSIZE3' => $user->style['fontsize3'],
'T_FONTCOLOR1' => $user->style['fontcolor1'],
'T_FONTCOLOR2' => $user->style['fontcolor2'],
'T_FONTCOLOR3' => $user->style['fontcolor3'],
'T_FONTCOLOR_NEG' => $user->style['fontcolor_neg'],
'T_FONTCOLOR_POS' => $user->style['fontcolor_pos'],
'T_BODY_BACKGROUND' => $user->style['body_background'],
So there it is! but where is this info coming from? $user->style['fontsize2'],???
It comes from the eqdkp_styles table!
So under administration you can add a style and define the fontface/fontsize/etc and then under config, you can force users to use it, or under settings you can just use it yourself.
Now, you can also add html to the templates/default/ files, to do whatever you want more specifically, just do not combine html with the .php and vice versa.
Hope that answers it all.