master
Miloslav Ciz 3 months ago
parent 57c8d33e04
commit 3631b726e5

@ -1,8 +1,54 @@
# CSS
TODO
{ Check out our cool CSS styles in the wiki consoomer edition. ~drummyfish }
**Correct, [LRS](lrs.md) approved attitute towards this piece of [bloat](bloat.md)**: as a minimalist should you avoid CSS like the devil and never use it? Usual LRS recommendations apply but, just in case, let's reiterate. Use your brain, maximize [good](less_retarded_society.md), minimize damage, just make it so that no one can ever say "oh no, I wish this site didn't have CSS". You CAN use CSS on your site, but it mustn't become any burden, only something optional that will make life better for those using a browser supporting CSS, i.e. your site MUSTN'T RELY on CSS, CSS mustn't be its [dependency](dependency.md), the site has to work perfectly fine without it, not be just a crippled version, i.e. firstly design your site without CSS and only add CSS as an optional improvement. Do not make your HTML bow to CSS, i.e. don't let CSS make you add tons of divs and classes, make HTML first and then make CSS bow to the HTML. Light CSS is better than heavy one. If you have a single page, embed CSS right into it ([KISS](kiss.md), site is self contained and browser doesn't have to download extra files for your site) and make it short to save bandwidth on downloading your site. Don't use heavy CSS features like animation, blurs, color transitions or wild repositioning, save the [CPU](cpu.md), save the planet (:D). Etcetc.
Cascading Style Sheets (CSS, *cascading* because of the possible style [hierarchy](hierarchy.md)) is a computer language for styling documents (i.e. defining their visual appearance), used mainly on the [web](www.md) for giving websites ([HTML](html.md) documents) their look. The language is standardized by [W3C](w3c.md). CSS is NOT a [programming language](programming_language.md), it's merely a language that says things about visual presentation such as "headings should use this font" or "background should have this color"; it is one of the three main languages a website is written in: [HTML](html.md) (for writing the document), CSS (for giving the document a specific look) and [JavaScript](js.md) ([programming language](programming_language.md) for the website's scripts). As of 2024 the latest CSS specification is version 2.1 from 2016, version 3 is being worked on.
A website is not required to have a CSS style, without it it will just use the plain default look (which is mostly [good enough](good_enough.md) for communicating any information, but won't impress normies), though only boomers and hardcore [minimalists](minimalism.md) nowadays have websites without any CSS at all. Similarly a single HTML website may use several styles or allow switching between them -- this is thanks to the fact that the style is completely separate from the underlying document (you can take any document's style and apply it to any other document) AND thanks to the rules that say which style will take precedence over which (based on which one is more specific etc.), allowing usage of multiple styles at once (creating the "cascades" the name refers to). In theory a web browser may even allow the user to e.g. apply his own CSS style to given website (e.g. a half blind guy may apply style with big font, someone reading in dark will apply "dark mode" style and so on), though for some reason browsers don't really do this.
Back in the boomer web days -- basically before the glorious year 2000 -- there was no CSS. Well, it was around, but support was poor and no one used it (or needed it for that matter). People cared more for sharing [information](information.md) than pimping muh graphics. Sometimes people needed to control the look of their website to some degree though, for example in an image gallery it's good to have thumbnail sizes the same, so HTML itself included some simple things to manipulate the looks (e.g. the `width` property in the `img` tag). People also did hacks such as raping tables or spamming the `<br />` tags or using [ASCII art](ascii_art.md) to somehow force displaying something how they wanted it. However as [corporations](corporation.md) started to invade the web, they naturally wanted more [consumerism](consumerism.md), flashing lights and brainwas... ummm... [marketing](marketing.md). They wanted to redefine the web from "collection of interlinked documents" or a "global database" to something more like "virtual billboard space" or maybe "gigantic electronic shopping center", which indeed they did. So they supported more work on CSS, more browsers started to support it and normies with blogs jumped on the train too, so CSS just became standard. On one hand CSS allows nice things, you can restyle your whole website with a single line change, but it is still [bloat](bloat.md), so beware, use it wisely (or rather don't use it -- you can never go wrong with that).
**Correct, [LRS](lrs.md) approved attitute towards this piece of [bloat](bloat.md)**: as a minimalist should you avoid CSS like the devil and never use it? Usual LRS recommendations apply but, just in case, let's reiterate. Use your brain, maximize [good](less_retarded_society.md), minimize damage, just make it so that no one can ever say "oh no, I wish this site didn't have CSS". You CAN use CSS on your site, but it mustn't become any burden, only something optional that will make life better for those using a browser supporting CSS, i.e. **your site MUSTN'T RELY on CSS**, CSS mustn't be its [dependency](dependency.md), the site has to work perfectly fine without it (remember that many browsers, especially the minimalist ones not under any corporation's control, don't even support CSS), the site must not be crippled without a style, i.e. firstly design your site without CSS and only add CSS as an optional improvement. Do not make your HTML bow to CSS, i.e. don't let CSS make you add tons of divs and classes, make HTML first and then make CSS bow to the HTML. Light CSS is better than heavy one. If you have a single page, embed CSS right into it ([KISS](kiss.md), site is self contained and browser doesn't have to download extra files for your site) and make it short to save bandwidth on downloading your site. Don't use heavy CSS features like animation, blurs, [color](color.md) transitions or wild repositioning, save the [CPU](cpu.md), save the planet (:D). Etcetc.
TODO: more more more
## How It Works
The CSS style can be put into three places:
- **separate file** (external CSS): Here the style is written in its own file with *.css* extension and any HTML file wanting to use the style links to this file (with *link* tag inside *head*). This is good if you have multiple HTML files (i.e. a whole website) that use the same style.
- **inside the HTML file itself** (internal CSS): The style is written right inside the same file as the HTML document, between *style* tags in *head*, so it's all nicely self contained. This is good if the style is used only by this one HTML document (e.g. you have a single webpage or some special page that just has its own style).
- **inside HTML tags** (inline CSS): Style can be specified also as HTML tag attributes (the *style* attribute), but this is discouraged as it intermixes HTML and CSS, something CSS wants to avoid.
The style itself is quite simple, it's just a list of styling rules, each one in format:
```
selectors
{
style
}
```
Here *selectors* says which elements the rule applies to and *style* defines the visual attributes we want to define. For example
```
p
{
color: blue;
font-size: 20px;
}
h1, h2, h3
{
color: red;
}
```
Specifies two rules. One says that all *p* tags (paragraphs) should have blue text color and font that's 20 pixels tall. The second rule says that *h1*, *h2* and *h3* tags (headings) should have red text color. Pretty simple, no?
Tho it can get more complex, especially when you start positioning and aligning things -- it takes a while to learn how this really works, but in the end it's no rocket science.
TODO: moar
## CSS Gore And Pissing People Off

@ -27,6 +27,9 @@ Some notable things feminists managed to achieve are:
- Women marry women and raise children who lack fathers, something that's objectively extremely bad from psychological point of view. Ask literally anyone who grew up without a father if he missed having one.
- People believe literal lies such as that a woman is physically stronger and more intelligent than man.
- Eye contact is perceived as [rape](rape.md).
- More people want to castrate all men than before.
- Language is becoming ugly, ridiculous and retarded by [political correctness](political_correctness.md), forcing things like "personkind" instead of "mankind" or abolishment of the word "history" (because it contains the substring "his").
- Stronger [fight culture](fight_culture.md), cults of personalities, [toxicity](toxic.md) of whole society etc.
- Because all the above everyone is hostile, stressed, scared, depressed, society is in tension, leading to even faster downfall.
- ...

@ -0,0 +1,23 @@
# Flatland
*Flatland: A Romance of Many Dimensions* is an amazing [book](book.md) from 1884, now completely in the [public domain](public_domain.md), whose story takes place in a flat [plane](plane.md), a [two dimensional](2d.md) world inhabited by sentient two dimensional geometric shapes (men being [polygons](polygon.md), [women](woman.md) just [line](line.md) segments). The book is classified as [mathematical](math.md) [fantasy](fantasy.md) -- besides being a very rare case of a great quality, completely public domain fantasy before [The Lord of the Rings](lotr.md), it is also both a social criticism and an interesting and entertaining examination of mathematical and scientific concepts such as "how would two dimensional beings build their houses?", "how would they see?" etc. Flatland was written by Edwin Abbott Abbott, an English theologian, priest and teacher. There were sequels and spinoffs written by other people, even movies, but these aren't generally in the public domain yet.
{ As the book is in the safe public domain, I won't restrain from going on deeper on summarizing the plot etc., legal dangers of any "infringements" are quite definitely zero here. YES, I know I can summarize plots even of proprietary works, but this wiki goes further, it want to also ensure that someone can e.g. take the plot and turn in into a video game, which in cases like fair use could lead to infringements. ~drummyfish }
From now on expect **spoilers** :)
The book is written as a narration by a square, an upper middle class shape, and describes all the peculiarities of living in Flatland, talking directly to the reader, a supposed inhabitant of "Spaceland" (the 3D world). The year in the book is 1999 of the Flatland world. The book explains and examines spaces of different [dimensions](dimension.md), firstly mathematically and then as a social topic -- the square protagonist basically starts thinking about the possibility that besides his 2D world there might exist worlds of different dimensions -- first he dreams about being in 1D land -- Lineland -- and later, at the turn of the millenium, he is visited by a [sphere](sphere.md) from the 3D world, a kind of alien to the square, but the sphere is able to convince the square that it came from a higher dimensional space. The ideas of existence of different dimensions are consequently seen as a kind of lunacy and heresy by others, he is basically seen as a [schizo](schizo.md) and conspiration theorist and gets in the trouble for his freethinking, just like many of those who in the past questioned religious ideas or those who nowadays question [official "science"](soyence.md). There is also examination of the 0 dimensional space, Pointland.
The following are some further details about the work:
- **Men are [polygons](polygon.md), more sides implies higher class**, within a single class the polygon regularity further implies one's social standing. [Triangles](triangle.md) are lowest class of men, among these the lowest are irregular triangles (soldiers, their sharp point makes them good at fighting) with two long and one short side because these are kind of closer to a mere line segment (woman). Equal sided triangles are the middle class. [Squares](square.md) and [pentagons](pentagon.md) are professional workers. Noblemen begin at [hexagons](hexagon.md). The highest class are [circles](circle.md), i.e. polygons in which the number of sides is so numerous they appear to be smooth all around -- these are the priests. A man's male descendant will typically have one more side than his father, rising in social class, but this doesn't always happen and is less common among lower classes, with isoscele soldiers only rarely having such children (it requires some effort, like spiritual exercise and intermarriages).
- **[Women](woman.md) are just [line](line.md) segments**, implying several things -- firstly a line segment is basically the lowest possible polygon, a degenerated triangle, i.e. by this a woman is even below the lowest class of men (triangles). Furthermore for its geometric shape a woman is dangerous and can be sneaky as from certain angles she just cannot be seen -- one can bump into her and get injured (as a one dimensional shape she is very sharp, even more than a soldier), which, as the author notes, is further made worse by women being extremely dumb and acting mostly just on instinct. For this women are required by law to wiggle their butts (which they actually started to like doing as a kind of fashion trend -- yes, just like twerking) and make noise when moving around in public.
- **World directions** can be distinguished thanks to a law of nature in Flatland that creates a slight but constant attraction towards south, making rain fall from north. This could be explained by Flatland being located on a slightly tilted plane within Spaceland.
- **Sight** of Flatlanders is also explained -- seeing in this world poses difficulties -- everything looks like a line and a Flatlander always has just one eye -- so the senses of hearing and touch are mentioned to be highly developed to provide additional help (though distinguishing by voice is seen as more of a pleb thing, not much practiced by aristocrats who prefer using sight). Fog also helps. **[Colors](color.md)** exist and could aid seeing greatly, but their use is highly regulated (read forbidden) by the Universal Color Bill because in history color firstly caused some trouble (like women shading themselves to look like circles) and secondly nobility wanted to keep the precious art of sight recognition to themselves, so they just banned it despite it killing all [art](art.md) etc. (Basically what [copyright](copyright.md) does nowadays etc.)
- Sizes are mentioned in common units, a Flatlander is about a foot or so in size, though whether their foot corresponds to our foot isn't lear.
- **[Light](light.md)** is present everywhere and at all times -- the origin of light is unknown to Flatland society but the protagonist hints on the heretic idea that light in fact comes from the Spaceland, in which Flatland is embedded.
- **Houses** are most commonly pentagonal (sharper shapes are forbidden to prevent injuries), with roofs protecting against rain and they have no windows (as light is everywhere). West side has a big entrance for men, east a smaller entrance for women.
- The book spawns a possible **[free universe](free_universe.md)**, which may furthermore be quite friendly to e.g. making computer [games](game.md) (2D games are easier to make than 3D ones, also no need for many assets etc.).
- The book is in the **safe [public domain](public_domain.md)**, i.e. it was published before 1900, author has been dead for nearly 100 years, so even in countries with strictest copyright it should be fine.
- There is some **nice sexist bashing of women** :D E.g. "[soldiers are] creatures almost on a level with women in their lack of intelligence", "[women are] wholly devoid of brainpower" etc. That's very cool and refreshing.
- ...

@ -96,4 +96,5 @@ There are many terms that are very similar and can many times be used interchang
- **[Unicode](unicode.md)** vs **[UTF](utf.md)**
- **[URI](uri.md)** vs **[URL](url.md)**
- **[webpage](webpage.md)** vs **[website](website.md)**
- **[wrap around](wrap.md)** vs **[overflow](overflow.md)**
- **[wrap around](wrap.md)** vs **[overflow](overflow.md)**
- ...

File diff suppressed because it is too large Load Diff

@ -87,6 +87,12 @@ a
text-decoration-style: wavy;
}
.nav
{
display: block;
background-color: #f0f1ff;
}
.dead
{
color: #d00;

@ -137,3 +137,17 @@ hr
width: 70%;
border-bottom: 3px dotted blue;
}
.nav
{
display: block;
margin: 40px auto;
width: 80%;
padding: 10px;
background-color: rgb(251, 227, 255);
}
.nav a:before
{
content: " \1F496 "
}

@ -17,6 +17,29 @@ i:hover, em:hover
background-color: #ddd;
}
h1:first-of-type:after
{
content: ": PREMIUM $ ";
}
.nav
{
display: block;
margin: 30px 30px 0;
}
.nav:before
{
content: "[>>> ";
color: brown;
}
.nav:after
{
content: " <<<]";
color: brown;
}
h1:before, h2:before, h3:before, h1:after, h2:after, h3:after
{
content: " $ ";
@ -115,3 +138,10 @@ a:hover
{
color: #ff2121;
}
hr
{
margin: 30px 20px;
border-top: 1px dotted brown;
border-bottom: 1px solid white;
}

@ -11,6 +11,12 @@ body
font-size: 16px;
}
.nav
{
display: block;
background-color: #222;
}
h1:first-of-type:after
{
content: ": HAX0R edition";

File diff suppressed because one or more lines are too long

@ -2,9 +2,9 @@
This is an autogenerated article holding stats about this wiki.
- number of articles: 555
- number of commits: 690
- total size of all texts in bytes: 2983057
- number of articles: 557
- number of commits: 691
- total size of all texts in bytes: 2999344
longest articles:
@ -24,6 +24,22 @@ longest articles:
latest changes:
```
Date: Tue Feb 13 21:57:06 2024 +0100
ascii.md
assembly.md
c.md
compiler_bomb.md
esolang.md
hacking.md
ioccc.md
javascript.md
main.md
mandelbrot_set.md
programming_language.md
quine.md
random_page.md
wiki_pages.md
wiki_stats.md
Date: Tue Feb 13 17:12:51 2024 +0100
100r.md
c.md
@ -42,21 +58,6 @@ wiki_pages.md
wiki_stats.md
xxiivv.md
Date: Mon Feb 12 20:36:38 2024 +0100
art.md
ascii_art.md
jesus.md
main.md
mandelbrot_set.md
quaternion.md
ram.md
random_page.md
sw.md
wiki_pages.md
wiki_stats.md
Date: Mon Feb 12 12:09:17 2024 +0100
anarch.md
bloat.md
bootstrap.md
```
most wanted pages:

@ -21,6 +21,7 @@ If you contribute, add yourself to [wiki authors](wiki_authors.md)! You can also
- **Filenames of articles shall use a lowercase snake_case**.
- **Article/file names are to be preferably singular nouns**. I.e. "animal" rather than "animals", "portability" rather than "portable" etc. But there may be exceptions, e.g. articles that are lists may use plural ("human" is about human as species, "people" is a list of existing humans), non-nous MAY be used if nouns would be too long/awkward (e.g. "weird" instead of "weirdness"). Use your brain.
- **This isn't [Wikipedia](wikipedia.md)**, memes, opinions and uncensored truths are allowed (and welcome). **References/citations are not needed**, we aren't a religion that relies on someone else's reputation to validate truth, we just spread information and leave it to others to either trust, test its usefulness and/or verify. Furthermore we don't limit ourselves to truths that can be or have been "proven" by whatever is currently called "approved science^TM", many valuable truths are just proven by experience etc. LRS advocates society in which deception doesn't happen and in which therefore there is no need for citations serving as a proof -- we practice this here. However references are still allowed and many times useful, e.g. as a further reading.
- Unlike with [Wikipedia](wikipedia.md) our criterion of inclusion isn't notability, i.e. things that people talk about, but value, i.e. **things that are worth talking about**. On the other hand if something is notable but of little value, such as details of [OOP](oop.md) or famous feminists, we won't write too much about it, it's just useless noise that harms the good things by obscuring them.
- The style of this wiki is inspired by the classic hacker culture works such as the [WikiWikiWeb](wikiwikiweb.md) and [Jargon File](jargon_file.md).
- **Writing style should be relaxed and in many parts informal**. Formality is used where it is useful (e.g. definitions), most of other text can benefit from being written as a tech conversation among friends.
- **Depth/complexity/level of articles**: Articles shouldn't try to go to unnecessary depth, but also shouldn't be shallow. This is written mainly for programmers of [less retarded society](less_retarded_society.md), the complexity should follow from that. Again, start simple and go more into depth later on in the article, very complex things should rather be explained intuitively, no need for complex proofs etc.

Loading…
Cancel
Save