Main
Main
Artwork
Artwork
Books
Books
Donate
Donate
Licenses
Licenses
Shorts
Shorts
Software
Software
Source
Source


NAME

Insanely Witty Stupidity's theme feature

SYNOPSIS

[url]? --theme [Insanely Witty Stupidity theme]
[url]?%20--theme%20[Insanely Witty Stupidity theme]

DESCRIPTION

"--theme" is a PHP keyword that is featured on almost every page of Insanely Witty Stupidity (cat.php and ls.php are two exceptions). "--theme" is inherited using PHP's get_file_contents() function to fetch the contents of "/iws/txt/themes.txt". The contents are executed as PHP code using PHP's eval() function.

A list of Insanely Witty Stupidity's themes are described below.

evil_mode

Insanely Witty Stupidity's default theme. White text (usually fixed width) on a black background (except hyperlinks, which are aqua blue). This was Insanely Witty Stupidity's look and feel for many years-- mainly to make the site resemble a plain terminal.

halloween_mode

Halloween mode becomes Insanely Witty Stupidity's default theme during the month of October. It changes some of the website's titles and graphics. And, it requests a rotten or cursive looking font in blood red (or, aqua blue for hyperlinks). For Android systems (which have no cursive fonts), a free cursive font is imported so that a user can experience Halloween mode on a shitty Android API.

Halloween mode can be requested during months that are not October (just like other themes). However, there will be no link to switch to Halloween mode if the theme is switched to something else during non-October months. By contrast, non-holiday themes will have links year-round.

happy_mode

Basically, the opposite of evil mode. Black text (usually fixed width) on a white background with teal hyperlinks. Users of graphical APIs (like Windows) will probably feel more comfortable using happy mode (and consider its appearance to be more "typical" of what they are currently accustomed to). Additionally, happy mode may make text more readable in some cases (for example, when using a browser (like Emacs Web Wowser) that doesn't respect html font color requests). But otherwise, happy mode should feel pretty much the same as evil mode.

EXAMPLE

Attach to Insanely Witty Stupidity index page in happy mode:
http://insanelywittystupidity.com? --theme happy_mode

Read Witty News rant about EU cookies in Halloween mode (using html codes instead of spaces):
http://insanelywittystupidity.com/Witty_News/2018-11-26_eu_cookies.html?%20--theme%20halloween_mode

AUTHOR

Written by Michael Atkins.

REPORTING BUGS

Maintainer Michael Atkins' email: thedictator2@gmail.com

COPYRIGHT

Copyright (c) 2019 and 2020 Michael Atkins. Licensed under conditions of the Honest Scripting License, Version 1 <http://insanelywittystupidity.com/html/Licenses.html>.
Insanely Witty Stupidity's theme feature is an honest scripting project. It was crafted by its author(s). But-- it belongs to NO ONE!! Users can copy the project, modify it, and redistribute it. There is NO WARRANTY (to the extent permitted by law).

Back

______________________________________________

Random Fact: Insanely Witty Stupidity's icon (the "Oracle") is mysterious and perplexing. The more a person stares at it-- the more bizarre it appears. In reality, the logo is merely three letters inside of a yellow circle. Weird, huh?

html revised 2024-12-20 by Michael Atkins.

The maintainer of insanelywittystupidity.com does not care if people duplicate this page or any part of it-- as long as this notice remains intact.