Templates & CSS
Moderators: UrsusArctos, Board Staff
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
Templates & CSS
There seems to be some errors in our CSS file affecting the ability of one of our main template classes to display properly -- it always aligns to the right instead of the middle. All of the most obvious fixes don't seem to work, or just seem to make everything worse, but there's got to be some way of just getting the code to comply. This issue has been a bit on the niggling side and I wouldn't mind just getting it out of the way, but we need somebody who doesn't mind getting their hands messy with the code, and would be willing to do so until the desired results are generated...
Hey, ojisan, I remember you used to do some CSS for us...
Hey, ojisan, I remember you used to do some CSS for us...
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- Mr. Tines
- Administrator
- Age: 66
- Posts: 21375
- Joined: Nov 23, 2004
- Location: This sceptered isle.
- Gender: Male
- Contact:
OK -- which is the file that is causing grief?
Reminder: Play nicely <<>> My vanity publishing:- NGE|blog|Photos|retro-blog|Fanfics &c.|MAL|𝕏|🐸|🦣
Avatar: art deco Asuka
Avatar: art deco Asuka
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
The problem is present in the CSS for the original Monobook and custom FGP skins. Here are the ones I see that have been left with valid extensions (i.e. are currently active?):
http://wiki.evageeks.org/skins/ngefgp/main.css (<-- the one that we've been fucking around with)
http://wiki.evageeks.org/skins/ngefgp/main_wide.css
http://wiki.evageeks.org/skins/ngefgp/wiki.evageeks.org/skins/monobook/main.css
http://wiki.evageeks.org/skins/ngefgp/wiki.evageeks.org/skins/monobook/main_wide.css
The guilty bit of code involves "infobox" and "infobox centered" in some way, but I'm not entirely sure how. All of the most obvious "monkey see, monkey do" tweaks haven't had any effect, or have just screwed things up.
For reference, templates referencing the two insulting classes. (I've protected the latter to keep well-meaning editors from trying to "fix" it in the meantime; we've gotten a lot of edits like that lately):
Plain ol' "infobox": http://wiki.evageeks.org/Template:Episode_Infobox
"infobox centered": http://wiki.evageeks.org/Template:Angel_List
The Episode Infobox is an example of one that is SUPPOSED to orient to the right. I think I have some vague idea of what the problem here is (the right-leaning ones need a sub-class, a la "infobox centered", and the proclivity to lean right has to be edited out of the main class?), but I have no idea how to properly implement this.
Do you already have server access, Steve?
http://wiki.evageeks.org/skins/ngefgp/main.css (<-- the one that we've been fucking around with)
http://wiki.evageeks.org/skins/ngefgp/main_wide.css
http://wiki.evageeks.org/skins/ngefgp/wiki.evageeks.org/skins/monobook/main.css
http://wiki.evageeks.org/skins/ngefgp/wiki.evageeks.org/skins/monobook/main_wide.css
The guilty bit of code involves "infobox" and "infobox centered" in some way, but I'm not entirely sure how. All of the most obvious "monkey see, monkey do" tweaks haven't had any effect, or have just screwed things up.
For reference, templates referencing the two insulting classes. (I've protected the latter to keep well-meaning editors from trying to "fix" it in the meantime; we've gotten a lot of edits like that lately):
Plain ol' "infobox": http://wiki.evageeks.org/Template:Episode_Infobox
"infobox centered": http://wiki.evageeks.org/Template:Angel_List
The Episode Infobox is an example of one that is SUPPOSED to orient to the right. I think I have some vague idea of what the problem here is (the right-leaning ones need a sub-class, a la "infobox centered", and the proclivity to lean right has to be edited out of the main class?), but I have no idea how to properly implement this.
Do you already have server access, Steve?
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
Ornette wrote:spaces in the css classname need a ".", otherwise the space gets interpreted as an element.
AAAAAAAAAAAAAAAAARRRRRRRRRRGGGGGGGGGGHHHHHHHHHHHHHHHH.
Thank you. This was a huge learning experience...
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- Mr. Tines
- Administrator
- Age: 66
- Posts: 21375
- Joined: Nov 23, 2004
- Location: This sceptered isle.
- Gender: Male
- Contact:
OK, so to clarify, is the problem is with this one? -- http://wiki.evageeks.org/Template:Episode_Infobox
I see no difference between IE7.0.5730.11 and Firefox 3.08; and the layout looks sane to me. The infobox cell is floated against the right hand side of the page, and the individual elements within it are
Episode Information - centered
Episode {{{number}}} - centered
Title #: - left
{{{*_title*}}} - centered in cell
image - full width
next 5 lines - each entry left aligned in own half
Episode chronology - centered
← Previous Next → - each centred in its own half
as opposed to in http://wiki.evageeks.org/Template:Angel_List where the box is centred and each line is centred within it. The infobox float to the right behaviour works just fine in both browsers ( as evinced by http://wiki.evageeks.org/User:Mr._Tines )
I may be being remarkably dense here, but I don't understand the problem. It could be a browser issue, maybe -- which browser and version are you using?
I don't recall having such on EGF (as opposed to EM, where I just forgot the credentials once they stopped being relevant).
I see no difference between IE7.0.5730.11 and Firefox 3.08; and the layout looks sane to me. The infobox cell is floated against the right hand side of the page, and the individual elements within it are
Episode Information - centered
Episode {{{number}}} - centered
Title #: - left
{{{*_title*}}} - centered in cell
image - full width
next 5 lines - each entry left aligned in own half
Episode chronology - centered
← Previous Next → - each centred in its own half
as opposed to in http://wiki.evageeks.org/Template:Angel_List where the box is centred and each line is centred within it. The infobox float to the right behaviour works just fine in both browsers ( as evinced by http://wiki.evageeks.org/User:Mr._Tines )
I may be being remarkably dense here, but I don't understand the problem. It could be a browser issue, maybe -- which browser and version are you using?
Reichu wrote:Do you already have server access, Steve?
I don't recall having such on EGF (as opposed to EM, where I just forgot the credentials once they stopped being relevant).
Reminder: Play nicely <<>> My vanity publishing:- NGE|blog|Photos|retro-blog|Fanfics &c.|MAL|𝕏|🐸|🦣
Avatar: art deco Asuka
Avatar: art deco Asuka
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
Mr. Tines wrote:I may be being remarkably dense here, but I don't understand the problem.
Ornette fixed it. (See two posts above yours.)
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
Speaking of templates, all of the "Reference/Homage/Whatever" guide pages could use a common template listing all of them, which could just be inserted onto each such page, instead of needing to make that arduous list at the top. Thought I'd mention if it someone wants to get around to it before me.
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- thewayneiac
- Committeeperson
- Posts: 1633
- Joined: Aug 26, 2004
- Location: How Kaworu got to the Moon
Reichu wrote:Speaking of templates, all of the "Reference/Homage/Whatever" guide pages could use a common template listing all of them, which could just be inserted onto each such page, instead of needing to make that arduous list at the top. Thought I'd mention if it someone wants to get around to it before me.
Done
Rejoice, glory is ours. Our young men have not died in vain. Their graves need no flowers. The tapes have recorded their names.
I am all there is.
Negative! Primative! Limited! I let you live.
But I gave you life.
What else could you do?
To do what was right.
I'm perfect, are you?
I am all there is.
Negative! Primative! Limited! I let you live.
But I gave you life.
What else could you do?
To do what was right.
I'm perfect, are you?
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
{{reflist}} seems to be broken. See e.g. here:
http://wiki.evageeks.org/Classified_Information_%28Translation%29#Notes
I've been gone for a long time. Any idea what's going on?
http://wiki.evageeks.org/Classified_Information_%28Translation%29#Notes
I've been gone for a long time. Any idea what's going on?
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- ObsessiveMathsFreak
- Admin Emeritus
- Posts: 2855
- Joined: Mar 23, 2005
- Location: Working on the Commentary
- Reichu
- Admin Emeritus
- Posts: 24046
- Joined: Aug 21, 2004
- Location: Sailing for the white shores
- Gender: Female
- Contact:
There are a bunch of comments enclosed in ref tags that are supposed to appear as footnotes where I placed {{reflist}}, towards the bottom of the document. {{reflist}} appears to have been broken at some point -- it did work once upon a time.
さらば、全てのEvaGeeks。
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
「滅びの運命は新生の喜びでもある」
Departure Message | The Arqa Apocrypha: An Evangelion Analysis Blog
- ObsessiveMathsFreak
- Admin Emeritus
- Posts: 2855
- Joined: Mar 23, 2005
- Location: Working on the Commentary
There was a problem with the Cite extension that must have appeared during the recent upgrade. The Cite extension which generates the references was in conflict with the Permissions extension. Consequently, the references weren't showing up unless you were logged in and a certain set of permission variables had been set.
Anyway, I've upgraded the Cite extension and the problem appears to be fixed, for non-logged in readers at least. Can everyone confirm that references are showing up in pages again?
Anyway, I've upgraded the Cite extension and the problem appears to be fixed, for non-logged in readers at least. Can everyone confirm that references are showing up in pages again?
[Became an administrator on or before October 4th, 2007.]
May The Maths Be With You.
May The Maths Be With You.
- ObsessiveMathsFreak
- Admin Emeritus
- Posts: 2855
- Joined: Mar 23, 2005
- Location: Working on the Commentary
- ObsessiveMathsFreak
- Admin Emeritus
- Posts: 2855
- Joined: Mar 23, 2005
- Location: Working on the Commentary
This seems as good a thread as any to announce this.
I've been working on an image based border for wrapping certain kinds of content on the wiki. The whole thing is designed to look like one of Class 2-As laptops from episode #03. That is, it is supposed to look like one.
I've modified the preliminary Characters Portal page to use the new template. Having the aesthetic sense of a mule, how well this is working escapes me. I think it looks more or less OK.
I'd appreciate some feedback on how well this is working, or not working as the case may be. If you need to, Be brutal. In particular, do you think that this template could be used widly in the wiki for such "lists" and for certain navigation templates?
I've been working on an image based border for wrapping certain kinds of content on the wiki. The whole thing is designed to look like one of Class 2-As laptops from episode #03. That is, it is supposed to look like one.
I've modified the preliminary Characters Portal page to use the new template. Having the aesthetic sense of a mule, how well this is working escapes me. I think it looks more or less OK.
I'd appreciate some feedback on how well this is working, or not working as the case may be. If you need to, Be brutal. In particular, do you think that this template could be used widly in the wiki for such "lists" and for certain navigation templates?
[Became an administrator on or before October 4th, 2007.]
May The Maths Be With You.
May The Maths Be With You.
- ran1
- Banned
- Age: 32
- Posts: 2684
- Joined: Jan 20, 2010
- Location: Taipei/Dalian, PRC
- Gender: Male
- Contact:
^ I liked the idea, but the not entirely the way it was executed. There really isn't enough to really differentiate the border to be the 2-A Laptop theme from, say, a Pokedex. Perhaps labeling it or giving it some really distinguishing features in it would make it look a lot better.
I do like the idea, however, and I think it would look pretty awesome for a image/montage box, on a smaller scale, if that can be done.
Nice work.
I do like the idea, however, and I think it would look pretty awesome for a image/montage box, on a smaller scale, if that can be done.
Nice work.
Punished "Venom" Ran1
Vanity of Vanities
Every post in Evageeks automaticaly becomes masturbatory material. It's nothing new. ~Justcrazyguy
Ran's persistent irony is a coping mechanism he uses to try and create some understanding of his paradoxical attraction to and disgust of the elitist bourgeois slaughterhouse in which he's forever trapped. --Muggy
Vanity of Vanities
Every post in Evageeks automaticaly becomes masturbatory material. It's nothing new. ~Justcrazyguy
Ran's persistent irony is a coping mechanism he uses to try and create some understanding of his paradoxical attraction to and disgust of the elitist bourgeois slaughterhouse in which he's forever trapped. --Muggy
- Fazmotron
- Admin Emeritus :-{|
- Age: 34
- Posts: 1991
- Joined: Nov 27, 2007
- Location: Right here, always.
- Gender: Male
- Contact:
I think it looks good except for the dark green. Although it is faithful to the show, maybe a lighter shade would look better.
[Became a moderator on August 14th, 2011. Became an administrator on September 7th, 2013.]
--Fazmotron--
A.K.A. - Ryan Farrell
Avatar: How Chaz sees me.
BobBQ - I find your lack of :-{| disturbing.
FAZMOTRON.com
--Fazmotron--
A.K.A. - Ryan Farrell
Avatar: How Chaz sees me.
BobBQ - I find your lack of :-{| disturbing.
FAZMOTRON.com
- ObsessiveMathsFreak
- Admin Emeritus
- Posts: 2855
- Joined: Mar 23, 2005
- Location: Working on the Commentary
It goes without saying that my artisitic skills fall far short of the mark required. The best I can come up with is a kind of poor attempt at pixel art. I'm open to all suggestions, and indeed submissions if anyone has them.
It's difficult to make the border, which must fit around many different types of content, actually loop like a laptop. The pokedex effects sounds pretty unfortunate. Is it really that bad? Could you suggest an improvement. What would make this look more like a "laptop"?
I've changed the shade. How does it look now? In addition, what about the color of the laptop boundary?
Unfortunately, CSS is not very flexible when it comes to this sort of thing. one idea I did have was to add "classroom" embellishments to the laptop edge. I was thinking along the lines of stickers, ink marks, gum, scribbles, etc, etc. There's a possibility these could be somewhat randomised as well. Again, I'm open to suggestions.
[Became an administrator on or before October 4th, 2007.]
May The Maths Be With You.
May The Maths Be With You.
- ran1
- Banned
- Age: 32
- Posts: 2684
- Joined: Jan 20, 2010
- Location: Taipei/Dalian, PRC
- Gender: Male
- Contact:
OMF wrote:What would make this look more like a "laptop"?
A keyboard perhaps? I'm not really sure how that could/would be incorporated into it, though.
It goes without saying that my artisitic skills fall far short of the mark required.
I wouldn't sell yourself too short, it was far better than I could have done.
add "classroom" embellishments to the laptop edge. I was thinking along the lines of stickers, ink marks, gum, scribbles, etc, etc.
THIS. Make the scribbles Eva-themed (possibly like the chalkboard ones) and I think you'd be all set.
Punished "Venom" Ran1
Vanity of Vanities
Every post in Evageeks automaticaly becomes masturbatory material. It's nothing new. ~Justcrazyguy
Ran's persistent irony is a coping mechanism he uses to try and create some understanding of his paradoxical attraction to and disgust of the elitist bourgeois slaughterhouse in which he's forever trapped. --Muggy
Vanity of Vanities
Every post in Evageeks automaticaly becomes masturbatory material. It's nothing new. ~Justcrazyguy
Ran's persistent irony is a coping mechanism he uses to try and create some understanding of his paradoxical attraction to and disgust of the elitist bourgeois slaughterhouse in which he's forever trapped. --Muggy
Return to “Wiki Editing and Discussion”
Who is online
Users browsing this forum: No registered users and 11 guests