Category Archives: meta

posts relating to </sanity> itself.

personal website

Starting working today on putting together a personal website where I should hopefully be able to post links and information about my small game projects that I have been working on and will be working on. Still in rough shape, but I hope to get it polished up by the end of the week and I’ll post a link to it here.

I will still use this as my personal blog, hopefully I can be a little more consistent with my posting here.

streaming schedule

So, last semester I dabbled with streaming a bit with my friend Luke, aka BlueWales73. We had a ton of fun doing it, and while we didn’t really have more than one or two viewers in our few test streams, we felt like it’s something we want to keep doing.

While we’re not doing it trying to get a ton of viewers or anything we still think that it’s good to set an actual streaming schedule so that at least we are consistent. Who knows, maybe people will watch in the future.

As of right now the plan is to stream Tuesdays and Saturdays, 8-10 MST. You can find those on my twitch channel, or if you follow me on twitter I always tweet a link whenever we start streaming.

I will also likely stream at random times as well, but those aren’t going to be on a schedule or anything, since some weeks will be busier than others.

crayon

No, I’m not referring to the waxy things you used to color with in elementary school.

For anyone who uses wordpress for their blogging needs, like I do, I highly recommend taking a look at the plugin crayon. It is an amazing little plugin that makes inserting code into your posts very, very easy. First off, it allows you to include line numbers with your code.

Secondly, people can easily change they way they view the code, making it easy to copy code that you post as an example. Double clicking on a code snippet will convert it to plaintext, removing the style and line number. Give it a try:

Thirdly, the syntax highlighting. There are different themes available to allow you to customize the color and so forth, however, the syntax highlighting is really nifty, supporting many different languages:

Python:

Java:

C++:

Even HTML:

I so far have really liked crayon in what little I’ve used it with, and I highly recommend you take a look at it, especially if you ever are going to include code in your blog posts.

why is CSS so confusing?

A note: if you so desire, open up searchingtobe.com so you can follow along with my garble and logic.

Been playing around on the comic site as well as here on the rant, and I’m discovering how .css is somewhat confusing. Now, don’t get me wrong, I understand the benefits, and it does allow for more customizable, and admittedly, more beautiful web pages, but it is confusing none-the-less. Also, I recognize my complete lack of expertise here, which is something that perhaps I will gain someday. Let me back up:

The Reason

At work I am currently working on a web interface for an up-and-coming product. However, the product is so up-and-coming, we haven’t really even started yet. So, knowing that for the time being I’m not doing actual coding on the project itself, and also knowing that I will be eventually, this is a great opportunity to get familiar with the tools I will be needing to use eventually. Now, web design is a hobby of mine, but certainly not my specialty. Without the ease of WordPress and ComicPress I would have never been able to have started “searching to be”. Well, at the very least I would have been unable to post it in any format other than a blogspot site. (Yes, the first couple comics I made were posted to a blogspot site.)

So, I decided today to dive into .css and such. But first, I needed something to work with. Recently I added a twitter widget to both my blog and my comic. However, while on my blog it works great and looks great right out of the box, on searching to be’s website it looked pretty bad. the words were black, and I have a dark theme in the background, making the tweets themselves unreadable. Now, this isn’t that big of a deal, I never say anything overly important on twitter anyways. However, this bugged me, so today I started to dig into it.

The Quest

First I used chrome to inspect the element and determine what css rule was determining the color. I found the following rule:

Okay, I thought, now I just need to find where this rule is and add a color rule, right? Well, I searched the style sheets for the ComicPress theme and for GreyMatter (my main theme). No luck. Digging into the html that was output by my site I found that this particular style rule was written inline into the html. Great, I thought, now what?

Well, how about if I insert my own rule into the style.css for GreyMatter? Well, that might work. So I go into the style.css and insert my own rule:

Bingo! I save the style.css and then reload the site. Sure enough, the words are now yellow, and the links are white, and you can now read my tweets. Mission accomplished.

The ‘Whoops’ Moment

Now, hold on a second, since there is yellow on the one sidebar, why not the other one? Surely now that I am a master of the style sheet I can change that one. Back to inspecting elements. Governing the “Archives” section on the right side of the page I found the following rule:

Okay, so this tells me that they are all links, and in that particular area we are overwriting their color to white, as opposed to the normal link color. A little digging showed me that this rule is located in GreyMatter’s style.css. So, let’s change that to yellow.

And… suddenly on the left side, in the twitter bar, it’s all yellow. The links, the ‘3 days ago’, everything. Now, on this site, there is no difference between the links and the text of the twitter box, but it still looks good. That was a little too much yellow for my liking.

A few more minutes of digging and experimenting later, I decided it looked good the first time, so I ditched the yellow, and brought it back to white.

However, there are now some other things that I am annoyed with on the site for searching to be. I may eventually go about fixing them, but now I realize how interconnected the things are. I certainly learned a bit more about how styles sheets work, and I think that the site looks better now. I had a friend look at both sites (I did some .css magic here as well, but I won’t bore you with the details) and asked him how he thought it looked, style wise. “Looks good, except the rant needs a background picture.”

Sigh… I know….

Update:

Turns out I was wrong, the tag in the style sheet for GreyMatter didn’t get read in the end. So, some more digging and I think I have a different viable solution.

The change this time is added in the style.css for ComicPress itself:

Adding the color attribute there seems to have done the trick.