|
[Styles] The Style System
|
|
11-09-2008, 04:12 PM
(This post was last modified: 11-17-2008 02:20 PM by Jimmie.)
Post: #1
|
|||
|
|||
|
[Styles] The Style System
The Style System in THT is very complex but still very easy to use.
When you first look at the default/ theme, you will see a directory structure similar to this: Version 0.0.0 (Private Dev Release) /images +-- bg.gif +-- grad.gif +-- logo.png footer.tpl header.tpl style.css /includes/tpl/ (Templates) So, the images/ folder is used to store only 3 images. bg.gif takes care of the main background. grad.gif takes care of the main table-maintitle logo.png takes care of the THT Logo. footer/header.tpl's are self explanatory, so I think that its not needed to explain. /includes/tpl/ contains templates, explained in another tutorial (coming soon) style.css: Probably the hardest thing and the only one that I really have to explain in detail. Code: body, body a {background: the background of the main THT page. color: the color of the text. unless you are making a dark style, leave default. font-family: the font family. Warning, this one is NOT the THT Default. Its a changed version, by me. Leave this alone unless you know how to mess up with it. font-size: self explanatory, in pixels. Code: #wrapper {content box does not match it. Probably used for the ACP. Code: #logo {Using the background:, define the logo url. Leave <IMG> alone, PLEASE! Upload the logo in the /images directory of your theme. Code: #footer {Code: #tooltip {Code: .gap {Code: .table {![]() Code: .cat {Code: .cat a{Code: .text {Code: input, textarea, select {Code: p {Code: form {Code: img, img a {Code: .errors {Code: .sub {This tutorial is made when the 171008 beta version was released. There shouldn't be much changes, but if you find some, drop me a PM and I will update it. Special Thanks to Jonny, for making ![]() ~Jimmie Lin, Community Team Jimmie Lin - Community Manager & THT.Next Developer |
|||
|
11-10-2008, 05:03 AM
Post: #2
|
|||
|
|||
|
RE: [Styles] The Style System
Very informative thread there Jimmie. Nicely explained.
Jonny H - THT Main Developer & Founder |
|||
|
11-17-2008, 02:20 PM
Post: #3
|
|||
|
|||
|
RE: [Styles] The Style System
Updated the Tutorial
Jimmie Lin - Community Manager & THT.Next Developer |
|||
|
02-09-2011, 03:55 AM
Post: #4
|
|||
|
|||
|
RE: [Styles] The Style System
Thanks for giving such important information.
web designing delhi |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)






