Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40364
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Using CSS clamp retrospectively |
| Date | 2021-09-01 05:10 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2409565.ZsQzgUTt8z@PointedEars.de> (permalink) |
| References | <v6qdnT1n-MQFXLn8nZ2dnUU7-bXNnZ2d@westnet.com.au> |
Andrew Poulos wrote: > The project has: extensive style sheets; JavaScript which does > modification of existing font sizing; and, it accepts pasting in text > (with formatting: size colour, font...). > > I suppose I can edit the style sheets, and search through the code and > edit any instance that sets a font size, and finally post process any > pasted text but is there some way that doesn't require me to go through > thousands of line of code one line at a time? The main problem is the initial decision to not use a dynamic stylesheet language like LESS or SASS to make the font sizes depend on each other, or at least to be able to change only variable definitions. So now there is no way other than clever search-and-replace operations in all stylesheet files using regular expressions. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Using CSS clamp retrospectively Andrew Poulos <ap_prog@hotmail.com> - 2021-08-24 19:53 +1000
Re: Using CSS clamp retrospectively Julio Di Egidio <julio@diegidio.name> - 2021-08-24 09:32 -0700
Re: Using CSS clamp retrospectively Andrew Poulos <ap_prog@hotmail.com> - 2021-08-25 08:04 +1000
Re: Using CSS clamp retrospectively Julio Di Egidio <julio@diegidio.name> - 2021-08-24 19:21 -0700
Re: Using CSS clamp retrospectively Andrew Poulos <ap_prog@hotmail.com> - 2021-08-26 08:05 +1000
Re: Using CSS clamp retrospectively Julio Di Egidio <julio@diegidio.name> - 2021-08-26 03:37 -0700
Re: Using CSS clamp retrospectively Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-09-01 05:10 +0200
csiph-web