What will my monobook.css look like with what I have?

Kerrigan

World's biggest Multimedia Celebrity Poker fan.
Poll Committee
Pronouns
She/her
Code:
body {
 font-family: verdana
 color: #BF6E00;
 font-size: 30px
 background-image: url"RoyNSMBU.png"
 }
a { color: #00F1FE; }
a:active { color: #00FE04; }
a:visited { color: #7AA300; }
#p-personal a.new { color: #FEB600 }

this is what I have now.
 
Your CSS contains errors. When fixed, it becomes:
Code:
body {
 font-family: verdana;
 color: #BF6E00;
 font-size: 30px;
 background-image: url("/images/b/bd/RoyNSMBU.png");
 }
a { color: #00F1FE; }
a:active { color: #00FE04; }
a:visited { color: #7AA300; }
#p-personal a.new { color: #FEB600 }

And when used, the Wiki would look like this:
roymonobookIF.png

I'm fairly sure you don't want that. You probably want a smaller font-size and a smaller size image.

Font-size I'm sure you can figure out, to make the image smaller either use a smaller image that already exists pregenerated by the Wiki software, or use the following within the body { ... }:
Code:
background-size: 1200px 600px;

Where the first value is the width, the second the height. If you only provide one of the two, it will only set the width, and auto-calculates the height.



By the way, you can test your CSS by editing your monobook.css page, and using the Preview button like you would on any ordinary page.
 
I found that out after I posted this. Let me try that, I'll update you.
 
So I tried a new picture, and the code looks like this:
Code:
body {
 font-family: verdana;
 color: #BF6E00;
 font-size: 10px;
 background-image: url("/images/b/bd/MK8 Roy Icon.png");
 }
a { color: #00F1FE; }
a:active { color: #00FE04; }
a:visited { color: #7AA300; }
#p-personal a.new { color: #FEB600 }

p.oblique {
 font-style: oblique;
}

However, not much had changed. What am I doing wrong?
 
I edited the picture name but it doesn't show up.
 
You should have this:
Code:
body {
 font-family: verdana;
 color: #BF6E00;
 font-size: 10px;
 background-image: url("/images/3/3e/MK8_Roy_Icon.png");
 }
a { color: #00F1FE; }
a:active { color: #00FE04; }
a:visited { color: #7AA300; }
#p-personal a.new { color: #FEB600 }

p.oblique {
 font-style: oblique;
}

This looks exactly as in my screenshot.
 
Is there a way to get the picture not to show over the text on the left?
 
Code:
#p-logo a { background: url(http://www.mariowiki.com/images/b/b3/Viper26_logo.png) 35% 50%
 no-repeat !important; }
body {
 font-family: Comic Sans MS;
 color: #4B0082;
 font-size: 10px;
 background-image: url("/images/3/39/Viper26.png");
 }
a { color: #939; }
a:active { color: #63F; }
a:visited { color: #639; }
#p-personal a.new { color: #96F }
#p-personal a.new:visited { color: #66F }
#bodyContent a.external { color: #66F }
#bodyContent a.extiw:active { color: #66F }
p.oblique {
 font-style: oblique;
}
.portlet h3 {
 background: #4B0082;
}

The above is a sample. It is my monobook.css.
 
the other thing is that the font isn't slanted.

Edit: And Viper, how did you get your logo to show as the wiki logo?

E2: For some reason, the regular links-I-haven't-clicked are still blue and normal text (like on an article) is black but they should be magenta. Code for the entire thing:

Code:
body {
 font-family: verdana;
 color: #FF00FF;
 font-size: 10px;
 background-image: url("/images/3/3e/MK8_Roy_Icon.png");
 }
a { color: #FF00FF; }
a:active { color: #FF00FF; }
a:visited { color: #FF00FF; }
#p-personal a.new { color: #FF00FF }

p.oblique {
 font-style: oblique;
}

.portlet h3 {
 background: #FFF;
}
 
Cahoots Is Spelled With A C said:
the other thing is that the font isn't slanted.
Use font-style: italic for that.

Cahoots Is Spelled With A C said:
Edit: And Viper, how did you get your logo to show as the wiki logo?
Add this:
Code:
#p-logo a {
 background: url(<your image URL here>) center no-repeat !important;
}
...replacing <your image URL here> for the actual URL.

Cahoots Is Spelled With A C said:
E2: For some reason, the regular links-I-haven't-clicked are still blue and normal text (like on an article) is black but they should be magenta.
Unvisited links are magenta alright. For magenta text you also need this:
Code:
div#content {
 color: #FF00FF;
}


Resulting in:
roymonobookIF4.png

Code:
body {
 font-family: verdana;
 color: #FF00FF;
 font-size: 10px;
 font-style: italic;
 background-image: url("/images/3/3e/MK8_Roy_Icon.png");
 }
div#content {
 color: #FF00FF;
}
a { color: #FF00FF; }
a:active { color: #FF00FF; }
a:visited { color: #FF00FF; }
#p-personal a.new { color: #FF00FF }

p.oblique {
 font-style: oblique;
}

.portlet h3 {
 background: #FFF;
}
 
then one last thing: is it possible to resize the logo image?
 
Back