The Uberstyle Dictionary

Credits

Submitter
  • P5: Peddler
    Points: 121,698
  • C1: Member
  • A6: Elder
    Account Age: 6 years
Teh Maestro (Creator/Co-creator)
Key Authors
Teh Maestro

Rating

9.5/10
Based off 30 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
48
ViewCount
5,350
Date Added
6 years ago
Date Modified
5 years ago

Notice: I'm considerring deleteing this tutorial and making one specifically for CSS so that I'm not so restrained. Just thought you should know.

Note: Before you even think about editing your UberStyle, you must have at least a moderate understanding of HTML

Note: The newest updates will be monospaced

Table of Contents
  1. Introduction
  2. Groups
  3. Classes
  4. Colors
  5. Properties
    1. The Backgrounds
    2. The Texts
    3. The Fonts
    4. The Borders
    5. The Margins
    6. The Paddings

Introduction
First off you need to know what the UberStyle actually is. It is a cascading style sheet, or CSS, and is used to say how to display HTML elements, I.E. what colors to use, etc.

Groups
If you look at the top line in your UberStyle you should see:
body, input, select, optgroup, textarea, tr, legend { cursor: default; font: 13px 'Arial' }
or something like that. That is a group, which is used to determine which tags will be affected by the classes following it. At first you probably won't be editing the groups, but later on you'll be adding them regularly. Seperate tags must be seperated by a comma (,). The syntax is:
tags { property: value }
Multiple property-value sets must be seperated by a semicolon (;). I.E:
tags { property: value; property2: value2 }

Classes
Do you see all of those lines that are preceeded with a "."? Those define classes. The classes can only be used with the tags in the group that preceeds them. For example, if you have:
body, input, tr .blue { color: blue }
then &lt body class="blue"&gt would work, and the text inside it would be blue, but &lt div class="blue"&gt would not work, because it is not listed in the group. Always remember that the property and value are seperated by a colon (:). The syntax is:
.class { property: value }
Classes can also be specified by using:
tag.class { property: value }

Colors
There are three ways to indicate a color where necessary. You can use the colors hex. I.E:
{ color: #00ff00 }
Or you can use the colors RGB (red, green, and blue) values. I.E:
{ color: rgb(127,34,90) }
You can also use the colors name such as: green, navyblue, beige, turquoise, and just about any other color you can think of, as well as transparent.

Putting an image in the FPSBanana logo
Look through your UberStyle and find where it say's ".color1" and replace the text within the brackets with "background-image: url(http:// image url)". Simple enough.

Properties
Here I am going to list most of the properies and their possible values.

The Backgrounds this can be used the change the backgrounds of any element, not just the main background. Background-color: Use a color as explained previously. Background-image: Syntax: { background-image: url(http://url) } always remember to include the http:// Background-repeat: Use either repeat-x, repeat-y, repeat (which repeats on both axes), or no-repeat. Background-attachment: Either scroll or fixed. If it's fixed the background doesn't move, if it's scroll it does. Background-position: Any combination of top, center, or bottom with left, center, and right. I.E. top center or bottom left. Background: Used to include all of the previous in one. Use the order color, image, repeat, attachment, position.

The Texts This changes how the text is displayed, but mainly deals with the location of text. Color: Use a color as explained previously. Letter-spacing: If you want the default just don't use this. To change use a length in pixels. I.E. { letter-spacing: 5px }. Note that there is no space between the number and the px. Text-align: Use left, right, or center. Text-decoration: Use underline, overline, line-through, or blink Text-indent: Use a length in pixels or a percentage Text-transform: Use capitalize, uppercase, or lowercase. Word-spacing: Use a length in pixels.

The Fonts This also changes how the text is displayed, but mainly deals with the size and style of the text itself. Font-size: Use xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, or a pixel size. Font-stretch: Use normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded or ultra-expanded. Font-style: Use italic or oblique. Font-variant: Use small-caps, which makes the lowercase letters look uppercase, but smaller. Font-weight: Use bold, bolder, lighter, or 100, 200, etc. to 900.

The Borders These are primarily used for fieldsets, divs, buttons, etc. but can be used for anything. Border-color: Use a color as previously explained. Border-style: Use hidden, dotted, dashed, solid, double, groove, ridge, inset, or outset. Border-width: Use thin, medium, thick, or a width in pixels. To change the color of the different border sides do as so: { border-color: #ff0000 #ffff00 #ff00ff #00ffff }. The order it colors in is top, right, bottom, left. You can do the same with the other border properties like: { border-style: dotted groove dashed inset }. It uses the same order.

The Margins The margin is the distance between one element and another. Margin-top: Use a length in pixels or a percentage Margin-right: Use a length in pixels or a percentage Margin-bottom: Use a length in pixels or a percentage Margin-left: Use a length in pixels or a percentage Margin: Used to include all of the margins properties in one. The order goes: top, right, bottom, left. I.E: { margin: 2px 4px 6px 8px }

The Paddings Padding is the distance between the border of an element and the text inside it, not to be confused with margins. Padding-top: Use a length in pixels. Padding-right: Use a length in pixels. Padding-bottom: Use a length in pixels. Padding-left: Use a length in pixels. Padding: Used to change all of the padding properties in one. Again, the order used is top, right, bottom, left.

The screenshots included are examples of what may be accomplished through editing your UberStyle.

If you have ANY questions don't hesitate to ask via PM or in my profile. Also if you just don't want to do the work I will make you a style for points. Just provide enough information. I would also like suggestion on things to add.

  • You must be a member

Comments

    • P2: Drudge
      Points: 3,727
    • E2: Guide
      EF: 20
    • C1: Member
    • A5: Veteran
      Account Age: 6 years

    This just confused me it says... "The Borders These are primarily used for fieldsets, divs, buttons, etc. but can be used for anything. Border-color: Use a color as previously explained. Border-style: Use hidden, dotted, dashed, solid, double, groove, ridge, inset, or outset. Border-width: Use thin, medium, thick, or a width in pixels. To change the color of the different border sides do as so: { border-color: #ff0000 #ffff00 #ff00ff #00ffff }. The order it colors in is top, right, bottom, left. You can do the same with the other border properties like: { border-style: dotted groove dashed inset }. It uses the same order."

    but it dont sya where to cahnge the border colors at...or how to make an image the border. ARGH this is confusing.

    • P2: Drudge
      Points: 1,060
    • E1: Helper
      EF: 6
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted by s500i93
    Posted by felipegoes This Is not in HTML
    its in XML :)

    Actually it is a basic CSS script.

    Gaming should not be taken too
    • P2: Drudge
      Points: 5,335
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Great job. This helps me out a lot. :D

    Vote me MEMBER UBERSTYLE OF TH
    • P2: Drudge
      Points: 1,836
    • E1: Helper
      EF: 1
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Has this been updated?

    • P1: Beggar
      Points: 252
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted by felipegoes This Is not in HTML

    its in XML :)

    not Banned yet =D
    • P1: Beggar
      Points: 147
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Yea, omg why delete. Useful!

    The man with few words
    • P1: Beggar
      Points: 883
    • C1: Member
    • A5: Veteran
      Account Age: 4 years

    This Is not in HTML

    You Won't Get A Second Shot In
    • P4: Worker
      Points: 39,723
    • E1: Helper
      EF: 14
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    This is going to be very very usefull. Thanks for making this :) 10/10 obv.

    Inactive
    • P1: Beggar
      Points: 531
    • E2: Guide
      EF: 23
    • C3: Moderator
    • A6: Elder
      Account Age: 6 years
    Eugene.
    Posted by uniQue I have no understanding of html so it sucks for me.

    This is not html, its css.

    Vintage Bananite
    • P1: Beggar
      Points: 928
    • C1: Member
    • A5: Veteran
      Account Age: 5 years

    Hey, don´t delete. I don´t know nothing about uberstyle!

    I wish I could have a normal l
  • You must be a member