about summary refs log tree commit diff stats
path: root/src/css/mediaquery.nim
Commit message (Collapse)AuthorAgeFilesLines
* css: change type of rvalue to char (from Rune)bptato2023-10-011-9/+7
| | | | | | | | We did were not using it as a unicode value anywhere, it was just making our life harder. If we ever need unicode delimiter tokens, we can re-introduce them as a different token type.
* move around more modulesbptato2023-09-141-1/+1
| | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/
* twtstr: simplifybptato2023-09-131-2/+3
| | | | | | * remove unused function isAlphaAscii * swap pushHex for less casting * remove == overload for char/rune (we did not really use it anyway)
* mediaquery: fix logic errorbptato2023-08-141-1/+1
| | | | Not isAscii means we cannot convert to char. Oops.
* mediaquery: fix some missing has checks in parserbptato2023-07-281-0/+2
|
* mediaquery: better debugging functionsbptato2023-07-231-3/+35
|
* Fix bug in media-query parsingbptato2023-07-041-2/+16
| | | | This fixes interpretation of "@media (min/max-width: 1234px)".
* css/values: use Result instead of exceptionsbptato2023-06-251-3/+4
|
* Add support for width, height media querybptato2023-06-071-22/+183
|
* Update CSS tokenizerbptato2022-07-291-8/+7
| | | | It was slightly outdated and in many places incorrect.
* Rename conflicting source filesbptato2022-05-101-1/+1
| | | | Nim can't really differentiate between them, unfortunately.
* Support external stylesheetsbptato2022-01-231-1/+1
|
* Fix media query bug, do not refresh page without css change (wip)bptato2022-01-221-2/+6
|
* Implement basic media query supportbptato2021-12-271-0/+306
n258'>258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303