Colours for visualizing, not my fault if you go blind. :B
(may 23, reworked link section. USE BBCODE INSTEAD OF FILTERED HTML )
Remember to put your CSS under the cut!
Set your Input Format to BBCode!
Write all CSS in one line!
You don't need to credit me for anything.
CSS Templates
The easiest way yo use these templates is to change #ffffff hex colours and replace background images.
Experiment with the colours to see what is what.
simplest and easiest to edit; lacking refinement
simple, easy to edit; slight transparency effects
refined, transparency effects, right-aligned sidebar; code for 'normal' sidebar in comments (page 2)
3 Versions. refined, heavy page altering, lots of transparency
This Blog
This blog is only useful to you when you have any
pre-knowledge of CSS!
Otherwise you will not gain much from it. This blog shows the "names" of different parts through different colours.
If you want to understand CSS, check out
* {CSS Basics} How Do I CSS?
BLOG CODE
Colours for Sidebar Links
OUTSIDE (RED & PINK)
body
(includes: #logo #header #header-region #center .sidebar .menu .item-list
anything pink and red here)
#logo
#header
#header-region
(includes: .menu)
#center
(includes .sidebar .menu .item-list)
.sidebar
(includes: .menu .item-list)
.menu
.item-list
INSIDE (BLUE)
#wrapper #container #center .right-corner .left-corner
(includes: .breadcrumb .node .submitted(blog only) #tabs-wrapper .picture .links
anything blue)
.breadcrumb
.node
.submitted
(in comments and blog)
#tabs-wrapper
.picture
.links
COMMENTS (GREEN)
#comments
(includes: .comment.odd, tr.odd tr.even, .comment.even)
(only visible when you have "background:none" on .comment.odd, tr.odd and tr.even, .comment.even )
.comment.odd, tr.odd
(darker comments)
tr.even, .comment.even
(lighter comments)
.new
(the "New" that appears by a new comment)
.comment div.links
("edit" and "reply" buttons, although I am not sure if it affects all links in comments)
CSS rule set
I am not a professional, so I can't guarantee accuracy. My english is not perfect either, but I hope this will help you understand CSS a little bit better.
Selectutorial
Very helpful site if you want to understand CSS better. I highly recommend looking through it sometime.
Build of a basic CSS code:
The
start tag and the
end tag define where your CSS code starts and where it ends.
The
Selector "selects" the element of the page that is affected by the rule set. If you want to define more than one Selector at once, you can seperate them with a comma.
example
body, .sidebar {color:#ffff00}
The
Declaration Block is the container for
Declarations. It stands between curly brackets.
The
Declarations tell the browser how to draw the selected element.
(Not pictured: A Declaration splits up into
Property and
Value. The Property is the aspect that you chose to style (like font, background), while the Value is the exact style for this Property (like font style, background color).)
Link colours
To change the colour of links in different parts, you have to add an
"a" at the end of your
Selector.
example
body a {color:#ff00ff}
If you want to change the link-color when you hover your mouse over it, you additionally have to add
:hover, which is a so-called
Pseudo-Class
example
body a:hover {color:#00ffff}
You can apply these
Pseudo-Classes not only to links, but pretty much any Selector.
Read more about it
here!
If you have any problems, questions, ideas or find any mistakes here, please let me know!
Enjoy. ♥
I love you.
I hope this will be at least
(..ouch, my eyes)
You sir, are amazing.
You rock.
#4b5160
@VCG: Not really. Thank
@Sithrim: Haha, thanks. ♥
This is amazing, thank you so
Glad I could be helpful. c8
Track of love! 8D
Amazing.
OH MY GOD MY EYES. I'm
I'm learning CSS a bit. Using Dreamweaver to make the CSS for you is a lot easier though. xD
@Ashdrau: Yay. c8 @Saosin:
@Ashdrau: Yay. c8
@Saosin: Thank you.
@Verdalas: AUGH IT BURNS
I have Dreamweaver.. but I am too stupid to use it. For some reason I find manual coding much easier. :B
thank you for this
© Rell
*bookmarks* Thank you.
I'm BLIND!
More please more. I have been fightig the codes for ages your amazing to be able to show it. THANKYOU THANKYOU. sends hugs and cookies.
Thank you
@XxBlackSoulxX: You're
@ocean: Thank you too, glad I can help
@onyxsoulclaw: Thanks! I'm not sure if I'll make more of this stuff, maybe I'll do a more detailed insight next time I get bored to death.
@Tuhka: No problem!
Hi sorry to be a pain, i'm
That's strange. Did you copy
<style>
and</style>
tags closed? Is the Input Format set to BBcode?yayayayyayaa got it o was
I love you for this. xD I
I was experimenting with this already but didn't really know what I was doing.
@onyxsoulclaw: Glad it works
@Tally: *suddenly feels loved*
hello , Unplugged. i would
i would like to ask if you are willing to give me the same layout alotugh in CSS format , since in the website which im trying to expirement with , this layout comes out as black or something else.
~
sorry for the waste of time
0: This is spectacular. Thank
Thank you!
8D
@Helment: I'm not exactly
Did you copy the whole code? Did you change the Input Format to BBCode?
Or do you mean using this layout on a website outside TEF? In this case the code won't work, because it focuses on the TEF Community layout, and actually only changes the colours of the things TOT coded.
@Density: Glad I could help~
Tracking~
*stalksforlater*
oh...em..gee *bows down*
*bows down* Thank you so much dbcddshvdvd!
Have fun. ♥ The
The codes for sidebar links are different though, I want do something like this for them too.
Hello (: I was just
I was just wondering, how do I code to get exact ALL of the text in one row? I mean if I want exact every bit of text to look the same? Do I really have to code each type for itself? Like links, hoverings, menu's, everything... ? o:
tracks.
Harakka-- I'm afraid, yes.
The only thing you can do is to apply one code for more than one box, like this
.sidebar .node{font:#000000} instead of .sidebar{font:#000000} .node{font:#000000}
I don't think there's a way to do what you mean though. I'll try to figure out. :b
I see... Thank you :3
Thank you :3
Amazing, thank you (:
Avatar by Awentia, signature by Wildflowerdeer
I have two questions... 1)
1) how you change the font and colour of the Menu lists (i.e. Home, about tefc, etc)
2) how you change the default colour of the comment texts
Hey I was wondering, after
I was also sorta wondering umm... Is there like... Even possible to turn a whole page just like that black & white? :| Excuse my ramblings XDXD Just wondering XD
/overtired and in editing-mode.
AnimaSoul-- 1) Yeah, those
AnimaSoul--
1) Yeah, those have seperate codes-- I wanted to post them sometime later. Not an absolutely perfect code, but take this for now.
2) Not completely sure about this right now, but try this one:
the ones ending with -odd are for dark comments, -even are the light comments.
Ashdrau--
No secrets there!
Just change numbers.
The code might be a little bit confusing though, so I'll try to explain how it works..
First thing is #logo, this is the TEF logo at the top. Change #logo to whatever box you want. If you want this for more than one box, just seperate it with a comma. (e.g. #logo, #header-region{ ... )
Now you have "{filter:alpha(opacity=15);-moz-opacity:0.15;opacity:0.15}". Means the opacity is set to 15%. If you want to change it, you have to change all three of the numbers (e.g. ""{filter:alpha(opacity=60);-moz-opacity:0.60;opacity:0.60}"). Actually all of these codes do the same thing, but you have to keep all three because each one is only visible in one specific browser.
Second, #logo:hover. Basically the same. The :hover just defines that this code will be applied when you hover your mouse over something. You can do this for other stuff too. (e.g. .sidebar:hover{CODES} -- codes will apply when you hover over the sidebar)
{filter: alpha(opacity=30 ... just change the numbers again. Opacity when hovered.
And yes, it is possible to make the whole site just one colour like that.
thankssssss
Woah! You know you're awesome
Whoa, colors..... o_O *track*
*track*
You are so brilliant. Really.
Is it possible to change the
it's one of the
Saosin-- I am not sure at the
<style>ul.links a{color:#ff0000} ul.links a:hover{color:#ff00ff}
Tell me if it doesn't work. :x I haven't tested.
Thanks, I'll try that.
Edit: Yep, it works. :]
How about the comment's
I hope I'm not being a bother...
No, no, it's fine! I have fun
<style>.submitted a{color:#ffff00}.submitted a:hover{color:#ff00ff}</style>
(not tested)
It changes the username link colour in your blog entry too, though, but it's the only thing I can think of.
Even better! You're amazing
Do you know of a way to make
Of course~ odd .comment.odd
odd
even