MozillaZine is not Mozilla

Talk about stuff specific to the site -- bugs, suggestions, and of course praise welcome.
Locked
User avatar
mod_wastrel
Posts: 354
Joined: July 6th, 2006, 1:34 pm
Location: VA, US

MozillaZine is not Mozilla

Post by mod_wastrel »

Just for fun...

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
/* mozillaZine is not Mozilla */
@-moz-document domain("forums.mozillazine.org") {
  #masthead a[href]:after {
    position: absolute;  left: 185px /* img width 180px */;  bottom: 0px;
    white-space: nowrap;
    content: "is not "
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAAAcCAYAAABmmEF1AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAC4jAAAuIwF4pT92AAADe0lEQVR4nO2av5ETUQzGL3ByiWcYJw6cmMCJE89wySWXmMAN0AIt0AIt0AIt
0AIt0AItcPMLxMji067eYnvXsJrRHHjlpz+fpKf31g8P/zE9Pj6+3W63n+DFYvGmS3a1Wr1Hrm/NqtxMDURQj8fjz9Pp9Avm38vl8p2X2e12n5+enr6ZDKzWqsrNNJBeXl5++ODCh8Phq5eJz2FVgVW5mQaSCvDz8/N3LxOr
BaYi41pVuZkGEsD0VdYM1kSI/cnvWbRFBg4vM4M1IWJf2Ww2H9fr9Qe1x8xg3RFNGiwyjDHUFJFtnBno5Ri03++/kInxe8jb
+Ar7NSpES/J6+Mv/4ygdddoZqYWt1fEXf/kMv9Abbb4mWMTW9JvfFjtiLKdJPozKLFi+p8epie/ByCoZmCB0GUzAlKOeeR73Egj7ur6XsQVRff8WYJGAxCWLrTHPVWFIZX0MYGqiipyd5uMG32d4rLJ7A6svsTOm+s6UUXp
DHK8wjkTnMFwdSk1egchnvjWQddY6FGfrjwlWZlNfUZwpy7KUckWp7V1Z1vMMObJABTo6p9ay1mqOoVvZE9dSlAXGJ
84YbZD4eBkqjaRD1vZgFePe4Kl+GQNQPZvEdRSgcR0CrgyvXOMooNHpdYy1Z9kApfbhUvwqhquFVIvrU8a6vaXesZbcdB
3F7DWOe+dYYPUl26TAUrrUOpks+2vmKNmqqlatPxZY0d54BFHtu9lwZdQQsNRElE2MLcBmumP7a/H5WpWVgZJxs+HK
qCFgqeeXACvbnP8YfRt8vjRYHD8qx51/GiyCoJyMt+itPl8arC6g6ADZsaXZcGXUpdpgtg8puyIA2Zgez2WVta8JFoORsjFeLd3
tgKFG8FiFSgbO2l+Lz5cES9mpknRS
YKnRncpQAVVtw4OQjeldE2OLz5cES8mohJoUWJBqW/HujwlOtQ3/XPV31q4cnKcAlkoqlaBn0+ytwcqum0wnximjfQvMLp/t6itjc7zic/WYUZFT+kg2qy6SNbvoPVvr1mB1BTtjf8uhWmmVLTgVn7PjALb0XV1FOdUpWvj3zc0YYNGqqmcOf8n7N2D5NlrxGZ3Zaxx/7VWVq77diHE5e0U0BljmZNdLTrvRj3vQULD8rX3VZ4JU+Y1hVa7iL3J+epzc7zniHZm9mhnbLiN7BQ9nP7BpkVP+Rhmq0lfm
KwWJ0s7lvQq7AAAAAElFTkSuQmCC")
    ;
    color: #105289; font-size: 24px; font-weight: bold;
  }
}
Last edited by trolly on June 14th, 2015, 3:25 am, edited 1 time in total.
Reason: Too long lines broken
;) mozillaZine is not Mozilla; just as Godzilla is not God. Neither is Mozilla God... they just think they are (what's that about:mozilla?).
Hey, Mozilla... are you sure you wish to do this? (bug 1121291)
User avatar
mod_wastrel
Posts: 354
Joined: July 6th, 2006, 1:34 pm
Location: VA, US

Re: MozillaZine is not Mozilla

Post by mod_wastrel »

trolly,

You can't line-break URIs in CSS like that. It breaks the CSS so that it won't work anymore.

If you want to prevent blown margins in the forum, then fix the forum CSS.
;) mozillaZine is not Mozilla; just as Godzilla is not God. Neither is Mozilla God... they just think they are (what's that about:mozilla?).
Hey, Mozilla... are you sure you wish to do this? (bug 1121291)
barbaz
Posts: 1504
Joined: October 1st, 2014, 3:25 pm

Re: MozillaZine is not Mozilla

Post by barbaz »

mod_wastrel wrote:fix the forum CSS.

Like this?

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("forums.mozillazine.org") {

/* barbaz's Don't let code boxes with long lines break mozillaZine forum layout .....*/
dl.codebox {
  width:650px !important;
}

}
User avatar
mod_wastrel
Posts: 354
Joined: July 6th, 2006, 1:34 pm
Location: VA, US

Re: MozillaZine is not Mozilla

Post by mod_wastrel »

That's one way and fine for a user style (though I use max-width myself). Optimally, the site code might want to deal with the varying sizes of a user's viewport rather than simply hard-coding some width (which is something the $*****@** coders at phpbb should already have done).
;) mozillaZine is not Mozilla; just as Godzilla is not God. Neither is Mozilla God... they just think they are (what's that about:mozilla?).
Hey, Mozilla... are you sure you wish to do this? (bug 1121291)
User avatar
mightyglydd
Posts: 9813
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Re: MozillaZine is not Mozilla

Post by mightyglydd »

Image
#KeepFightingMichael and Alex.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: MozillaZine is not Mozilla

Post by patrickjdempsey »

Just post a link to userStyles.org next time.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
Zoolcar9
Posts: 2225
Joined: November 9th, 2004, 6:45 pm
Location: Jakarta, Indonesia (UTC+7)
Contact:

Re: MozillaZine is not Mozilla

Post by Zoolcar9 »

mod_wastrel wrote:You can't line-break URIs in CSS like that. It breaks the CSS so that it won't work anymore.

You can use backslash character before line break.

Code: Select all

data:image/png;base64,yaddayaddayaddayaddayadda\
yaddayaddayaddayaddayaddayaddayaddayaddayaddayadda\
yaddayaddayadda
My Firefox information | Add-ons | GitHub

"With great power, comes great desire to show it off."
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: MozillaZine is not Mozilla

Post by LoudNoise »

Locking in the hope you folks also have other hobbies.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
Locked