Jump to content
  • 1

Source editor background


Moffat 1st MRB

Question

6 answers to this question

Recommended Posts

  • 0

Agreed.  A dark color on a white background may be nice for the Source, but after it is posted, it may be difficult to read on a dark background.  Would be better to change the background on the source if possible. 

Link to comment
Share on other sites

  • 0

The hard part is finding where my CSS changes are valid.  Usually my fixes are overwritten somewhere else in the many css files.  I was only able to get it to turn grey by adding the !important attribute, which has potential to cause problems.  

 

I'll see if I can do the same for the width.

Link to comment
Share on other sites

  • 0
10 minutes ago, Yamagata 1st MRB said:

The hard part is finding where my CSS changes are valid.  Usually my fixes are overwritten somewhere else in the many css files.  I was only able to get it to turn grey by adding the !important attribute, which has potential to cause problems.  

 

I'll see if I can do the same for the width.

I ended up removing my comment and moving it to another thread since this one already had a reply marked as the solution.

 

In any case, the relevant style was on the actual element, and not in any of the css files. Changing "width: 100%" to "max-width: 100%" was enough to change it since element style has higher specificity than class style.

 

Unless the style is being added to the element via javascript (a la jQuery), it should be editable in the relevant template or html file.

 

In regards to !important, I agree. It can lead to unintended side effects that are sometimes hard to trace down later.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Recent Posts

    • 2nd Platoon Weekly Attendance   Week of 28APR2024   P = Present | E = Excused | A = Absent   Platoon Staff WO. A. Pitteway - Present MSgt. J. Candy - Present TSgt. A. Yoder - Present   1st Squad Squad leader:  Cpl. R. Fielding - Excused Cpl. B. Grande - Present Pfc. R. Smith - Excused Pfc. X. Hocker - Present Pvt. B. Niles - Excused* Resigned Pvt. M. Noel - Present   2nd Squad Squad leader:  Cpl. C. Dilley - Excused Cpl. H. Nielsen - Present Cpl. S. Holquist - Excused Pfc. R. Mcspadden - Absent IIII Pfc. T. Scary - Present Pfc. C. Marsh - Present Pvt. K. Bradley - Absent III   Reserves: Pvt. T. Mongillo - Excused   Helpers: CWO. R. Martinez, TSgt. Y. Muthas, Cpl. D. Galbraith   Attendance Policy    1. Each Week you must submit a TDR through Perscomm on the website before practice starts     2. If you do not submit a TDR you will get an Unexcused absence    3. Three (3) Unexcused absences in a row you receive an Infraction Report with a possible demerit with Command Staff approval.    4. Five (5) Unexcused absences in a row will result in being moved from Active duty to Reserves   If you need any assistance learning how to fill out a TDR contact your Squad Leader or your Platoon Sergeant.
    • The player in question has been unbanned, please inform them of our rules and that should another instance occur then the ban will be immediately reinstated.
    • Name:  Maj. DonnieBaker103 Steam I.D:  STEAM_0:0:10692377 Date & Time of ban: 08/18/2012 Admin who banned you: Jankovski Reason we should Unban: From what I can find, player was banned once in 2012 for excessive teamkilling, it looking at gameME/sourcebans. Member received permanent on 1st ban. I have played with Donnie over last few years and while at the 6th. I think the ban should be lifted.
    • Sorry to add, but here is another instance, just in case of appeal
    • Name: TRT user   Steam I.D: STEAM_0:0:139065980   Duration of Ban: Permanent   Reasons for the Ban: Aimbot   Demo Provided?: Y   Comments: trtuser.dem
×
×
  • Create New...