Category: web development, muse
FriSatSun, soccer, and switchable CSS (that A|A|A font-size thing)
![]()
![]()
![]()
![]()
![]()
This weekend has been sweet
I still have to study for an exam tomorrow, but it’s been sweet.
I’ve always wanted to try that restaurant in Rittenhouse Square called Friday Saturday Sunday. Well, my birthday was last week, but I was too busy getting rocked by school to celebrate, so Chris took me to FriSatSun last Friday. It’s a cozy, romantic little place, not too trendy or loud, with great food — I loved it. I had the crusted tilapia and he got the duck. For dessert, we had a mocha creme brulee, which was good except that they evidently were in a hurry and it not was properly warmed or brulee’d. Our poor waiter was rather harried by the table next to us, though (he refilled a water glass that actually contained a drink on the rocks — oops
), and neither of us cared enough to send it back. We then split a bottle of Merlot (I have to start remembering what these various wines taste like or I’ll never figure out what I like). I’m pretty sure I downed at least 1/4 of it. Maybe 2/5 even! That doesn’t sound impressive, but as my friend Jasmina commented, “You look like a lightweight.” Thanks, Jasmina.
My exchange with Jasmina occurred post-soccer game yesterday. My old team needed a girl, and I’m generally pretty happy to have an excuse to run around and roughhouse people. However, I am in no condition to run around these days. So, I tend to look forward to soccer with a mix of happy anticipation and apprehension; I always feel glad I played after the game, but before and while playing, I’m always wondering how much pain I’ll incur. On Saturday, though, the opponents couldn’t field a full team, so we actually just picked up a few more people and scrimmaged ourselves — tons of fun!
Marty the cool referee played, too ![]()
Yesterday I also started working on a website for Prescott’s dad. (Even though we’re not together anymore, we’re still buddies, and of course I will help out where I can.) It’s been a long time since I did any coding, and I was really eager to get started. Gosh, it’s fun! Poor Chris was bored because I ignored him all night as he sat next to me…I can’t help it, I get carried away. Also, sometimes I just like having a warm body next to me even if we’re not doing anything together.
Anyway, I needed to add the font-size changing option that you might have seen on some websites; it’s meant to provide accessibility to people who need larger (or smaller?) fonts. Rather than relying on the client’s browser options to change font size (yes, I realize it’s available under the “View” menu), setting my own font adjustments enables me to control how the page displays, so that stuff doesn’t shift around and so forth. The web design resource A List Apart has a great article by Paul Sowden on creating switchable CSS using alternate stylesheets. It’s really easy to implement.
The only hangup I have is that I thought the alternate stylesheets would override only those selectors modified, and the others would default to the main stylesheet. As a result, I had to include all of the content from the main one on my alternate, with the few specific changes I wanted for my larger and smaller font styles.
Speaking of larger and smaller, I’m wondering whether the default should be the smallest font, with two options to size up, or whether it should be the middle ground. Any thoughts?
- categories
![Validate my RSS feed [Valid RSS]](../images/design/rss_valid.gif)