Getting Down and Dirty With CSS Selectors

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including plain XML, SVG and XUL.

CSS is designed primarily to enable the separation of document content from document presentation.

CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design).

.post code {
	background: #90979F;
	color: #fff;
	padding: 40px;
}

Lire la suite

Using Typekit To Step Up Your Web Typography

In traditional typography, a font is a particular size, weight and style of a typeface. Each font was a matched set of metal type, one piece (called a “sort”) for each glyph, and a typeface comprised a range of fonts that shared an overall design.

In modern usage, with the advent of digital typography, font is frequently synonymous with typeface. In particular, the use of “vector” or “outline” fonts means that different sizes of a typeface can be dynamically generated from one design.

Font Characteristics

In addition to the character height, when using the mechanical sense of the term, there are several characteristics which may distinguish fonts, though they would also depend on the script(s) that the typeface supports. In European alphabetic scripts, i.e. Latin, Cyrillic and Greek, the main such properties are the stroke width, called weight, the style or angle and the character width.

Different fonts of the same typeface may be used in the same work for various degrees of readability and emphasis.

The regular or standard font is sometimes labeled roman, both to distinguish it from bold or thin and from italic or oblique. The keyword for the default, regular case is often omitted for variants and never repeated, otherwise it would be Bulmer regular italic, Bulmer bold regular and even Bulmer regular regular. Roman can also refer to the language coverage of a font, acting as a shorthand for “Western European.”

Time Travel and You: A Beginner’s Guide

Time travel is the concept of moving between different points in time in a manner analogous to moving between different points in space. Time travel could hypothetically involve moving backward in time to a moment earlier than the starting point, or forward to the future of that point without the need for the traveler to experience the intervening period (at least not at the normal rate). Any technological device – whether fictional, hypothetical or actual – that would be used to achieve time travel is commonly known as a time machine.

Time Travel Methods

In technical papers, physicists generally avoid the commonplace language of « moving » or « traveling » through time, and instead discuss the possibility of closed timelike curves, which are worldlines that form closed loops in spacetime, allowing objects to return to their own past. There are known to be solutions to the equations of general relativity that describe spacetimes which contain closed timelike curves (such as Gödel spacetime), but the physical plausibility of these solutions is uncertain.

Lire la suite