Giter Club home page Giter Club logo

gesso's Introduction

Gesso

Gesso is best described as a primer coat for a CSS project; more than a CSS Reset and less than a CSS Framework.

License

Gesso, a CSS Primer Coat by Joseph Bergantine is released under a Creative-Commons Attribution Non-Commercial Share-Alike 3.0 License.

Usage

From the head of an HTML or XHTML document reference the layout.css (screen media) and print.css (print media) files and, if necessary, the ie7.css and/or ie6.css stylesheet using conditional comments.

These styles are designed to work best with an XHTML 1.0 Strict Doctype and a semantics-based design technique. The package uses a normalizing stylesheet and the <address>, <b>, <big>, <caption>, <cite>, <code>, <dfn>, <em>, <i>, <small>, <strong>, <th>, <u>, and <var> elements have their default styling completely removed. Other elements are mostly reset.

<div> is treated as a purely structural element and lists are setup to require styling to serve as textual lists.

The Typography stylesheet sets up a Baseline Grid and defines screen-friendly font stacks including a humanist sans-serif stack, a serif stack and a monospace font stack.

There are a few extra non-semantic hooks for better typographic styling including a definition for the .amp class (for ampersands customization) and a .caps class definition for setting text in all caps.

The effects of these stylesheets and the methods used to import them can and will have odd effects (or just flat out won't work) on Netscape Communicator and IE 5 Mac. At one point this was intentional but now its just worth mentioning.

Miscellaneous Files

font-stack.rtf is a rich-text file for comparing the font stacks. Requires all the fonts in the stack to be loaded on a computer to actually compare them.

test.html is an example XHTML document delineating the variety of elements that the stylesheet affects for a simple visual reference.

Example Definition To Be Placed In the <head> of an HTML Document

<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/layout.css" />

<link rel="stylesheet" type="text/css" media="print" href="stylesheets/print.css" />

<!--[if lte IE 6]> <style type="text/css" media="screen"> @import "stylesheets/ie6.css"; </style> <![endif]-->

gesso's People

Contributors

bergantine avatar

Stargazers

Scott Gonyea avatar

Watchers

Scott Gonyea avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.