|
The usual burnt offerings.
cheers
Chris Maunder
|
|
|
|
|
Is there a way we can add styles for our articles? If not generally, than for the people that have a crapload of articles posted. Like me. Maybe make it possible to upload a supplemental style sheet?
I want to use this:
<style>
h1, h2, h3, h4, h5, h6
{
color: #f90;
margin-bottom:0px !important;
padding-bottom: 0px !important;
line-height:1.1em;
}
p
{
margin-top:5px;
}
.preText
{
background-color:#dfd;
border-color:green;
}
h1 code,h2 code,h3 code,h4 code,h5 code,h6 code
{
color:saddlebrown;
font-size:inherit;
}
</style>
Also, what happened to the checkbox that told the editors not to mess with my markup?
Seriously dudes, yer harshin' my buzz.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Short answer: no, you can't change styles so your articles appear differently to everyone else's. A fundamental goal for CodeProject is to keep as consistent a look and feel as possible across our articles.
For preText I'm guessing what you're after is something too allow the use of PRE without it being coloured like a CODE block. What we're going to do is move to the standard "<pre><code>" form so that non-code blocks will simply be preformatted, and pre-code blocks will be formatted and colourised.
The Hx code suggestions: I'll play around with that. As to the spacing and colours, they are being adjusted in a move to using Bootstrap as the base CSS. Spacing will actually increase. No, you can't come and personally threaten me because the borders are closed. Let's talk about it in the Fall.
As to that checkbox: it's like those temperature adjustment dials that have in offices. It didn't actually do anything and was there simply to give you the illusion of control. (actually it was only there for the old HTMLArea WYSIWYG editor. The new CKEditor is far better with HTML so we've not needed to undo any weirdnesses)
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: Short answer: no, you can't change styles so your articles appear differently to everyone else's. A fundamental goal for CodeProject is to keep as consistent a look and feel as possible across our articles.
I understand that, but at least consider some of the changes I wanted to make. For instance, a border with rounded corners around <pre<> blocks really does enhance the look of the article. My latest article code has a html file with the body contents in it with the style changes I wanted to use. BTW, are you going to switch to relative font sizes (i.e., "1.2em") instead of hard-coded pixels?
Chris Maunder wrote: For preText I'm guessing what you're after is something too allow the use of PRE without it being coloured like a CODE block. What we're going to do is move to the standard "<pre><code>" form so that non-code blocks will simply be preformatted, and pre-code blocks will be formatted and colourised.
Can you show an example? I dont know what a "standard <pre><code> form" is (we all have our own standards, right? ).
Chris Maunder wrote: The Hx code suggestions: I'll play around with that. As to the spacing and colours, they are being adjusted in a move to using Bootstrap as the base CSS. Spacing will actually increase. No, you can't come and personally threaten me because the borders are closed. Let's talk about it in the Fall.
More spacing? Ugh...
I don't threaten, I make examples. You'll never see me coming, but everyone will know what happened (because I'll leave one survivor to tell the tale).
Chris Maunder wrote: As to that checkbox: it's like those temperature adjustment dials that have in offices. It didn't actually do anything
I kinda know that already, because your minions continue to incur my wrath by editing my articles...
Can you show us what that will look like?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: a border with rounded corners around <pre<> blocks really does enhance the look of the article
Maybe. But then someone else will hate it. I will never be able to please everyone, so in some cases I'm going to make the call to at least ensure one person is happy.
#realJSOP wrote: BTW, are you going to switch to relative font sizes
Absolutely. (get it?)
#realJSOP wrote: I dont know what a "standard <pre><code> form" is
Instead of
<pre lang=C++>
// code
</pre>
It should be
<pre>
<code data-lang="C++">
// code
</code>
</pre>
#realJSOP wrote: I don't threaten, I make examples
I will chalk up another COVID silver lining.
#realJSOP wrote: Can you show us what that will look like?
When was the last time you gave someone fair warning?
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: Maybe. But then someone else will hate it. I will never be able to please everyone
But you've already established that I am the one you have to be wary of. Nobody else really matters.
Chris Maunder wrote: When was the last time you gave someone fair warning?
That's usually established with my icy glare.
The difficult part will be delineating "warning" from "action", but only for those reading the historical accounts years beyond the event (scribed, of course, by the lone survivor).
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Just imagine me here, way, WAY up north, giving you a wave and an uneasy smile.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: But then someone else will hate it. I will never be able to please everyone
Idea - make the site themable (to an extent) by the user.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Yeah...no.
What if we had a design contest? Reckon there'd be an punters willing to give it a shot?
cheers
Chris Maunder
|
|
|
|
|
That would be pretty cool.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Using FireFox 74.0...
BTW, the editor is impossible to use in source mode (I prefer to edit in source mode).
Put your cursor in the middle of any line, and start typing. The cursor seems to be behind where the editor thinks it is.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 6-Apr-20 6:29am.
|
|
|
|
|
I'm using FF 74.0 too and it's smooth as a baby's proverbial to use.
Do you have extensions? Or do you need to fit a blower and a bigger fuel line to your PC?
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: Do you have extensions?
Talking about those isn't kid-sister safe.
I found that if I turned off the ACE editor, everything is fine.
Weirdness...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: I found that if I turned off the ACE editor, everything is fin
I've seen that too with older versions of FF. Not lately though.
cheers
Chris Maunder
|
|
|
|
|
Looks like Rep History is broken again.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
If by this you mean the graph that appears when you click on your user profile, followed by the Reputation tab, I just tried it and it worked. Maybe the hamsters were napping when you tried it.
|
|
|
|
|
No.
on top right of page, ypu see your member name, on left is your actual Rep Score.
Click on Rep Score, the page that appear is Reputation History.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Oh that. Yes, I've noticed that it's very flaky.
|
|
|
|
|
For me it works like usual.
a.) Login
b.) Rep History not available
c.) Wait 1h.... and more
d.) Rep History available
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
You mean it's sort of like Schrodinger's cat?
|
|
|
|
|
I have tried 10 times in last 12 hours, none have worked.
And the eleventh time (now), it works.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
As your interaction with the site increases, the amount of data that has to be processed increases as well. At some point, the fetch-and-process time exceeds the timeout period, and the graph doesn't display - this is likely also influenced by website / DB server farm load, so the number of users playing with the site probably affects this as well. I suspect there is a cutoff point beyond which it gets increasingly flaky.
It hasn't worked for me for years!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I speak about this page: Latest Reputation Events[^] which list last 20 events related to reputation.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Yep: hasn't worked for me in years!
Think about it: it presumably retrieves all events and then pagifies them - so the amount of event data it fetches increases as you do more.
If my cat logs in it works fine, every time.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Last 2 times I complained for same thing, there was some bugs.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|