Posts tagged “css”
Reminiscing this and that, on the web since 1994.
Posted 2023-07-09 12:45. Tagged rust, project, css, rsass, sass.
It is time to announce rsass, rsass-macros and
rsass-cli version 0.28.0.
Almost half a year has gone since the last release,
and as usual, there is a bunch of breaking changes and a bunch of
improvements.
A small symbolic milestone is that 2/3 of the tests in sass-spec now passes
(up from 66.5 % in the previous release to 66.8 % now).
Also, I have reduced the number of cases where rsass fails with the wrong
output even further.
My thanks to new contributor Grey Hill.
Read whole Rsass 0.28.0 released
.
Posted 2023-01-17 21:06. Tagged rust, project, css, rsass, sass.
Again, after almost four months since the last
release, it is time to announce rsass 0.27.0.
There is a bunch of breaking changes and a bunch of improvements.
This time, one change may seem drastic: The rsass crate no longer
contains the command-line program rsass.
Instead, that is now provided by a separate rsass-cli crate.
So you no longer have to enable a commandline
feature, instead you can
install the command line interface with:
:; cargo install rsass-cli
There is also a new rsass-macros crate.
Read on into the Macros section for that.
Read whole Rsass 0.27.0 released
.
Posted 2022-09-18 20:04. Tagged rust, project, css, rsass, sass.
More than three months after the last release, is is now the time to
announce rsass 0.26.0.
There is a bunch of breaking changes and a bunch of improvements.
The changelog has
the whole (too long) list.
But this time, some of the changes may go a bit deeper.
As usual, the breaking changes is breaking mainly to users who in some way
modify the global context from rust code, maybe by providing their own
builtin functions or maybe just by inserting a global variable.
Also this time, there is an improved way of calling ructe from a cargo
build.rs program, see the Cargo section below.
Read whole Rsass 0.26.0 released
.
Posted 2022-05-16 22:11. Tagged web, meta, javascript, css, r4s.
I’ve had a light and a dark theme on this site since I switch from python
to rust.
But until now I have only used css @media selection to enable the
dark theme, so it hasn’t been very discoverable.
If you have a browser that supports the prefers-color-scheme query and
you have found that setting and enabled dark mode, you have seen this site
in the dark theme (and may not know that it had a light theme), otherwise you have
seen the site in the light theme (and not known about the dark).
So now this site have a theme
button in the header.
By clicking it you toggle between the device default
, dark
and light
theme.
The default is the device default
, which is the same as before I
introduced the button, either dark or light based on browser preference.
So people who have made an active choise in their browser get that choise on
this site automatically.
Read whole Light or dark?
.
Posted 2022-01-16 22:07. Tagged web, meta, rust, css, r4s.
I have written a new blog software again! The previous one was named
r5, as in Rasmus (5 letters omitted).
The new one is written in Rust (.rs source files), so it was natural
to call it r4s, also as in Rasmus (but
with only 4 letters omitted 😎).
Now let’s see if having a new shiny project for my blog engine makes
me write more posts.
The style is inspired by Hamonshu by Eric
Meyer and
his technique for Pseudo-Randomly Adding Illustrations with
CSS,
but with art and type that feels more me
.
Read whole New blog software
.
Posted 2012-01-13 20:50. Tagged meta, javascript, css, html5, jquery, kratsbox, lightbox.
I have written a new jQuery plugin.
It is a lightbox with focus on simplicity and usability.
I call it kratsbox, and it’s availiable on
github.
Instructions for use are in the readme at the github page.
I have used lightboxes such as fancybox and jquery-lightbox for a
while, but havn’t been happy with the keyboard usability of them (let
alone the fact that they all seem to require image loading).
Recently, Axbom linked to a
specification for an Accessible
Lightbox,
which I agree with.
After doing some more searching for a good lightbox, and still not
finding any, I gave up and wrote my own.
Read whole A simple and usable lightbox
with 1 comments.
Publicerad 2009-06-02 21:00. Taggat web, meta, css.
Nu får min webb nytt utseende.
Dels hoppas jag det är snyggare, dels försöker jag underlätta för små
skärmar (telefoner).
Min design har alltid varit relativ
så tillvida att jag försöker
utnyttja den fönsterstorlek man har på ett ett bra sätt, men när
skärmen är mindre än 400 pixlar bred kan man ändå behöva
specialanpassningar.
Samtidigt vill man ju att det ska se snyggt ut även med högupplösta
skärmar, i alla fall uppemot 1920x1200 …
Läs hela Ny design
.
Publicerad 2006-03-12 20:21. Taggat web, Stacken, css.
Websidor är i första hand tänkta att läsas på skärm, men visst ska det
gå att göra snygga utskrifter av dem också. Många större siter har en
länk för utskriftsformat
på varje sida.
Men ska användaren verkligen behöva leta upp en sådan länk, som heter
olika på varje site, för att få en utskrift som inte ser ut som sju
svåra år?
CSS kan naturligtvis lösa även det här
problemet, och nu har jag skrivit utskriftscsser, som jag länkar till
med media="print", så att både
Stackens sidor och mina egna automatiskt
får ett vettigt utseende även på papper.
Läs hela Utskrift av websidor
.
Posted 1998-12-14 12:00. Last updated 2003-12-28 12:00. Tagged project, c++, xml, css.
An open-source HTML / SGML printer that uses
CSS2.
StyleScript reads a HTML / SGML file, local
or from an URL, and writes a Postscript file.
I use the sp library, so only files that
names a dtd and conforms to it is supported.
If your document passes the
W3C validator without errors,
it should be printable.
Update 2003-12-28:
StyleScript is dead, viva
Passepartout
I havn’t touched StyleScript in quite a while.
But I have taken what I learned here and gone on to
Passepartout,
which in its xml2ps part contains a much nicer and cleaner
XML typesetting engine.
Read whole StyleScript
.