{"id":6208,"date":"2012-01-08T11:55:12","date_gmt":"2012-01-08T16:55:12","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=6208"},"modified":"2016-01-15T18:15:15","modified_gmt":"2016-01-15T23:15:15","slug":"on-making-trekbbs-readable","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=6208","title":{"rendered":"On Making TrekBBS Readable"},"content":{"rendered":"<p><a href=\"http:\/\/www.trekbbs.com\/\">TrekBBS<\/a> is a bulletin board where I&#8217;ve been <s>wasting time<\/s> visiting regularly for over a decade now.<\/p>\n<p>This morning I logged in to find that the bulletin board had redesigned with a new white-text-on-black-background design.  And because my eyes are <b>not<\/b> as young as they used to be, I decided to whip together a local stylesheet for my browser that would flip the colors and make it easier to read.  And then I did some things like add lines to the thread list to make separations clearer and highlight the page that one&#8217;s odd in the thread list or post view pages.  It doesn&#8217;t fix <i>everything<\/i>.  The header, for instance, looks a bit like crap.  But that doesn&#8217;t bother me muchly. \ud83d\ude42<\/p>\n<p>Now, I use Opera, so this is the CSS I whipped up and it works for Opera:<\/p>\n<p><code>@charset \"UTF-8\";<br \/>\n\/*<br \/>\nName: TrekBBS<br \/>\nVersion: 1.00<br \/>\nAuthor: Allyn Gibson<br \/>\nDescription: Black on Off-White layout for TrekBBS<br \/>\n*\/<\/p>\n<p>* {<br \/>\n&nbsp;&nbsp;background: WhiteSmoke !important;<br \/>\n&nbsp;&nbsp;color: Black !important; }<\/p>\n<p>button, input[type=\"file\"], input[type=\"submit\"], input[type=\"button\"],<br \/>\ninput[type=\"reset\"] {<br \/>\n&nbsp;&nbsp;background: Silver !important;<br \/>\n&nbsp;&nbsp;color: Black !important; }<\/p>\n<p>a[href] {<br \/>\n&nbsp;&nbsp;color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;text-decoration: underline !important;}<\/p>\n<p>a[href]:hover {<br \/>\n&nbsp;&nbsp;background-color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;color: GhostWhite !important; }<\/p>\n<p>a[href] img {<br \/>\n&nbsp;&nbsp;border: thin solid Black !important;}<\/p>\n<p>table {<br \/>\n&nbsp;&nbsp;border-collapse: collapse; !important;}<\/p>\n<p>.alt1, .alt1Active, .alt2 {<br \/>\n&nbsp;&nbsp;border: 1px solid DarkSlateBlue !important; }<\/p>\n<p>.pagenav table .alt1, .pagenav table .alt1Active, .pagenav table .alt2 {<br \/>\n&nbsp;&nbsp;border: none !important; }<\/p>\n<p>.pagenav td.alt2 {<br \/>\n&nbsp;&nbsp;background-color: DarkSlateBlue !important; }<\/p>\n<p>.pagenav strong {<br \/>\n&nbsp;&nbsp;background-color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;color: GhostWhite !important; }<\/p>\n<p>@media screen, projection, handheld, tv {<br \/>\n&nbsp;&nbsp;input, textarea, select {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background: AliceBlue !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: Black !important; }<br \/>\n}<\/code><\/p>\n<p>If you&#8217;re using Opera, what you would do is this:<\/p>\n<ol>\n<li>Copy that code into a new text file.<\/li>\n<li>Save that text file as trekbbs.css in your Program FilesOperaStylesUser directory<\/li>\n<li>Go to <a href=\"http:\/\/www.trekbbs.com\/\">TrekBBS<\/a><\/li>\n<li>Right-click anywhere and scroll down to Edit Site Preferences<\/li>\n<li>On the display tab, use the &#8220;My Style Sheet&#8221; box to find your trekbbs.css file<\/li>\n<li>Hit &#8220;Ok&#8221; and refresh.  You should now have lovely black text on an off-white background.<\/li>\n<\/ol>\n<p>Firefox can also use custom CSS, but it&#8217;s a little more difficult to do.<\/p>\n<p>The code you need is this:<\/p>\n<p><code>@-moz-document domain(trekbbs.com) {<br \/>\n&nbsp;&nbsp;* {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background: WhiteSmoke !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: Black !important; }<\/p>\n<p>&nbsp;&nbsp;button, input[type=\"file\"], input[type=\"submit\"], input[type=\"button\"],  input[type=\"reset\"] {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background: Silver !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: Black !important; }<\/p>\n<p>&nbsp;&nbsp;a[href] {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;text-decoration: underline !important;}<\/p>\n<p>&nbsp;&nbsp;a[href]:hover {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background-color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: GhostWhite !important; }<\/p>\n<p>&nbsp;&nbsp;a[href] img {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;border: thin solid Black !important;}<\/p>\n<p>&nbsp;&nbsp;table {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;border-collapse: collapse; !important;}<\/p>\n<p>&nbsp;&nbsp;.alt1, .alt1Active, .alt2 {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;border: 1px solid DarkSlateBlue !important; }<\/p>\n<p>&nbsp;&nbsp;.pagenav table .alt1, .pagenav table .alt1Active, .pagenav table .alt2 {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;border: none !important; }<\/p>\n<p>&nbsp;&nbsp;.pagenav td.alt2 {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background-color: DarkSlateBlue !important; }<\/p>\n<p>&nbsp;&nbsp;.pagenav strong {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;background-color: DarkSlateBlue !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;color: GhostWhite !important; }<\/p>\n<p>&nbsp;&nbsp;@media screen, projection, handheld, tv {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;input, textarea, select {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background: AliceBlue !important;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color: Black !important; }<br \/>\n&nbsp;&nbsp;}<br \/>\n}<\/code><\/p>\n<p>This code needs to go in the userContent.css file.  If you&#8217;ve never used this file before, then you probably don&#8217;t have one.<\/p>\n<ol>\n<li>Do a search on your computer for the userContent-example.css file.<\/li>\n<li>When you find that directory, copy userContent-example.css as userContent.css if you don&#8217;t have one.<\/li>\n<li>Open userContent.css and add the Firefox code above.  Or, if you downloaded and renamed the file above, just copy it into that directory.<\/li>\n<li>Save, close Firefox, reopen it.<\/li>\n<li>Go visit TrekBBS.  The colors should have flipped to something readable.<\/li>\n<\/ol>\n<p>Unfortunately, you will still have to slog through long, pedantic posts from people who will make you want to pound your head into a brick wall, but at least it won&#8217;t hurt your eyes to look at it. \ud83d\ude42<\/p>\n<p>You may also want to see <a href=\"http:\/\/my.opera.com\/micahrayaills\/blog\/how-to-install-custom-user-style-sheets-in-opera-and-firefox\">these instructions<\/a> for installing custom stylesheets in Opera and Firefox.  It&#8217;s not the easiest thing in the world to do, but once it&#8217;s done you&#8217;ll never have to do it again. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TrekBBS is a bulletin board where I&#8217;ve been wasting time visiting regularly for over a decade now. This morning I logged in to find that the bulletin board had redesigned with a new white-text-on-black-background design. And because my eyes are not as young as they used to be, I decided to whip together a local<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=6208\">Continue reading <span class=\"screen-reader-text\">&#8220;On Making TrekBBS Readable&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[114],"tags":[57,115],"class_list":["post-6208","post","type-post","status-publish","format-standard","hentry","category-asides","tag-css","tag-trekbbs","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/6208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6208"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/6208\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6208"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}