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. ♥
Try one of these
♥ Thaaaank you! xD
Thaaaank you! xD
Um, I have another
How do I place more than one box at one line? o.o You know, like that in your collection of links... Or many other bios :B
Bump~
Aah sorry! I didn't notice.
You have to use a table, like this:
and add this to your css if you want to remove the white line (in case it's still there, I actually included something that should remove it in that code above):
<style>table{border-collapse:seperate}</style>
♥ Thanks a lot~
Edit: Wait... Um how do i center them, meaning I have 3 box at the same "line"? It doesn't work, gaaah...
Make sure you set your blog's
Ah... Ooops ^x^' Yay, it
Yay, it worked! )8'DD Thaaanks~♥
But will that affect my html code? o.O'
Uuuh, aand... I have another annoying question )x'c
You know shakus blog, right?
http://endlessforest.org/community/guardians-spirit-interaction-blog
I really wan't my comments to be in a box, but I wan't some space between them, too...
WHOA thanks for typing this
EternalQueen-- no, it won't
And no question is stupid, I'm here to answer them.
kyuubiuchicha-- What do you mean by "making the style sheet"?
And yes, you can by replacing "background:#000000" with "background:url('url-here')" . You may want to check out this blog because it explains how to use CSS.
ah thank you! that's what i
.
Yes, CSS is a lot like
Oh, and EternalQueen--
.comment{margin:20px} for space between the comments.
#comments{height:400px;overflow:auto} for putting them in a box.
♥! Edit: How do I put
Edit: How do I put each comment into their own box? >8 x
Okay, so i read the blog, but
Sorry if i'm being annoying D:
You people should stop being
EternalQueen-- Try one of these, I don't know which option you want:
.comment .content{height:100px;overflow:auto;}
.comment{height:100px;overflow:auto;}
kyuubiuchicha-- I'll do this systematically ok? I hope it's not too confusing.
If you do all of this from scratch and don't use a template, we'll have to use style tags first and it'll look like this:
<style>#wrapper #container #center .right-corner .left-corner{background:url('url here')}</style>
:') Hehe,love you~♥
IT WORKED 8DDDDDDD I ended up
I ended up using "
<style>#wrapper #container #center .right-corner .left-corner{background:url('url here')}</style>
" to avoid e v e r y t h i n g being changed aha.thank you so much <33
awesome! ask me if there's
could you put that code between [ code] [ /code] tags? (without the spaces) it's messing with the page right now, haha.
Oops, sorry O:
http://endlessforest.org/community/test-20 Here's the test, i'm using google chrome so i hope it shows up okay in other browsers, is there a specific simple little code like the one you gave me for the comment backgrounds too? or would i have to use the full code on the first page to do that part of it?
edit: I might try to fiddle around with some of the codes on the first page, such as http://endlessforest.org/community/testing-ignore-4 Would it be okay if I used that code and fiddled around with it?
tl;dr version I'm sorry, I'm
<style>.comment.odd, tr.odd, tr.even, .comment.even{background:url('url here')}</style>
and you can use everything provided here and do whatever you want with it, yes.
Now to my ramblings--
You just work with the same method.
Search for the code color to find the right name: .comment.odd, tr.odd and also tr.even, .comment.even (light and dark comments)
You got the names, now you build the code. Through "How Do I CSS" we know how to construct it.
Finished:
.comment.odd, tr.odd{background:url('url here')}
We will get this:
.comment.odd, tr.odd, tr.even, .comment.even{background:url('url here')}
Now the background image will apply to both, light and dark comments.
background:none
.comment.odd, tr.odd, tr.even, .comment.even{background:none}
So, technically, the finished product would be this:
<style>.comment.odd, tr.odd, tr.even, .comment.even{background:none}</style>
Or this if you want to have a different background for the comments:
<style>.comment.odd, tr.odd, tr.even, .comment.even{background:url('url here')}</style>
Now, your code is currently this:
<style>#wrapper #container #center .right-corner .left-corner{background:url('http://i52.tinypic.com/fmhret.jpg')}</style>
See how you already got the style tags. We don't need them again. That would be a waste of pixels.
Because of that we can put our result between the already existing styletags, but /after/ the last speech bubble. We're finished with that command already, so we simply add a new one afterwards.
This is how the /actually/ finished code will look like:
<style>#wrapper #container #center .right-corner .left-corner{background:url('http://i52.tinypic.com/fmhret.jpg')}.comment.odd, tr.odd, tr.even, .comment.even{background:url('url here')</style>
<style>
beginning of all commands, beginning-style tag#wrapper #container #center .right-corner .left-corner{background:url('http://i52.tinypic.com/fmhret.jpg')}
this is where our old command (wrapper-bg) ends and the new one (comment-bg) starts now.comment.odd, tr.odd, tr.even, .comment.even{background:url('url here')}
end of all commands, end-style tag</style>
ah thank you
i'm sorry for being such a bother ahah, but thank you O: <3
I don't know whether someone
/edit : got it (:
Uuhm it doesn't work... Where
And how do I round the corners of my boxs? ^^'
Yes, you have to put it
Round corner on a div box:
<div style="border:10px solid #ffffff;-moz-border-radius: 15px;border-radius: 15px;"></div>
Ah, I'll recheck. But I
Thanks x3
Hello again... ^u^' What do
What do I do to make the comments all to the left... As you can see, it's kinda centered in this blog as an example. :/
And I can't make each of the comments go in their own box, either. TT-TT'
A question in the form of a
Since I'm horrible with explaining things rofl ;;
EternalQueen, can you show me
OokamiAzura-- Try this one:
#squeeze h2, .node .picture, .node .submitted{display:none !important}
Sweet baby jesus, it
Thank you so much! <3
P.S. I see you there. <3
:'D Suure~: ^That c:
^That c: Deleting the avatar must saddly be the consequence... Except if you know a way to minimize the avatars & being able to push it all (avatar, account, date ect.) more to one side? O.o
.comment{padding-left:0px;}.c
^ try this one?
[e]: wait, give me a sec.
resize variant:
.comment{padding-left:0px;}.comment .picture img{width:70px}.comment .picture{width:70px}.comment .content{margin-left:5px}.comment .submitted{position:relative;right:80px}
Thank you~! It's pretty cool
It's pretty cool you can do codes like this B3
Edit: Um how do I make the space bigger between the avatar and the date/account-link? 8'D
.comment
^ in this part of the code, make the 80px smaller. The smaller the number, the closer it gets to its original position.
Ah, but it's because I think
Is it too weird? ^^'
Oh, do you mean vertically,
.comment .submitted{position:relative;right:80px;bottom:10px}
Sorry for my slow replies. If I don't understand something I usually leave it for a day and then re-read, usually it helps.
Yes! x3 ♥ Thanks a
Thanks a lot, I'm happy you even wanna help with the CSS ^^
Um, yeha, I'm comming for
It's about 2 things:
1) How do I colour each comment... Like Sasuke-fan asked and got explained. But how do I do that at a somewhat transparent blog?
2) ↓ How do I modify that little stuff at bottom? : <
hmm both of these things
C: Thanks~♥
For the black line: #wrapper
#wrapper #container #center .right-corner .left-corner{padding:0px}
this will remove the black part at the bottom. Change the px if you want to make it thicker.
I'm not sure about the background image yet, sorry.
Thanks a lot. It's fiine, I'm
tracking
I hope I'm the first one
Do you know how to center the "The Endless Forest community"-logo?
> "don't want to seem
> says the person who last posted here months ago
And yes, you are the first one asking this. I only recently managed to get this code as it's quite a workaround and then ended up not using it after all:
#wrapper #container #header #logo-floater{margin:auto;position:relative;text-align:center}#wrapper #container #header h1 img{float:none}
rofl ;; I just know you're
Oh thank you so much ♥ It worked perfectly well c:
Is there any way to change
Hmm, I think the "colours for
I'm still in a state of
thank you c:
Hmm...I copy-pasted the code,
Hmm...
EDIT: Ack, while I'm at it, is there a code to change just the colour of the text in the comment boxes? I went sifting through the CSS, and I couldn't find anything for it...