Film Noir

Headings

The headings decrease in size but all have the same padding/margin so that they can be in line without the need for further adjustment. Adding the 'title' class to a h1 tag with centralize the text and add extra 'film-noir' glow. H1 tags also have the glow, but any smaller headings do not. You can remove the haze by adding the class 'no-haze' should you desire.

Title

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading
				
<h1>Headings</h1>
<h1 class="title">Title</h1>
<h1>H1 Heading</h1>
<h2>H2 Heading</h2>
<h3>H3 Heading</h3>
<h4>H4 Heading</h4>
<h5>H5 Heading</h5>
<h6>H6 Heading</h6>
				
			

Colors

This isn't Technicolor™ so the colour scheme is fairly simple and can be reversed for the blanche theme. The blacks aren't fully black and the whites are slightly off as well to give a grainy, film-like vibe.

The shades of grey can be used to highlight and create gradients, whereas the --highlight grey is the lightest available to allow for easy reading against the black / dark enough for legible white text in blanche.

When a pop of colour is required to draw attention to an element, that's where deco-gold comes in to class up the joint. It should be used primarily to indicate actions, like links, hover and buttons.

--background
--text
--shade-1
--shade-2
--shade-3
--shade-4
--highlight
--deco-gold

Paragraph styles

This is the strong tag in a paragraph. This is the em tag in a paragraph, elements such as <strong> and <em> are inline. Here is an example of the abbreviation tag. You'd use abbr for things like HTML and CSS.

				
<p>This is an <strong>average</strong> paragraph. It includes some <em>inline</em> elements such as <strong> and <em>.</p>
				
			

Buttons

There are three types of button. The default styling is a transparent background with a box shadow, and inverted colours on hover.

				
<button>Submit</button>
				
			

The button with the 'danger' class is or actions that have consequences. The deco-gold colour is used to draw attention to the button.

Finally, the button with the 'action' class is for confirming an action that will commit a change for the user.

Customize buttons by adding the appropriate class.

				
<button 
	class="danger"
>Delete</button>

<button 
	class="action"
>Go!</button>
				
			

Forms and controls

By default, forms have an art-deco border and the background colour is set to the darkest/lightest shade for legibility so that it's accessible wherever in the gradient background the form is placed.

You can disable both the border and the background colour by applying the 'no-border' class.

Input and label

Form labels are left aligned and larger than paragraph text. Focus on inputs is shown by applying the gold-deco haze.

Placeholder text is grey, and input text is white in noir theme, then the input text is black in blanche theme.

				
<label>
	<span>Text:</span>
	<input type="text" placeholder="What is your name?">
</label>
				
			

Checkbox, Radio and Select

To vertically align the form controls, wrap each one in a div with the class 'form-control'.

The checkbox and radio inputs override the browser defaults to maintain the noir theme. They make use of the 'action' nature of the --deco-gold color to indicate selection.

				
<div class="form-control">
	<label>
	<input type="checkbox" checked="checked">
</label>
</div>

<div class="form-control">
	<label>
	<input type="radio" name="radio">
	</label>
</div>

<div class="form-control">
	<label>
	<select>
	<option>Option 1</option>
	<option>Option 2</option>
	</select>
	</label>
</div>
				
						

Page Footer

The footer is a simple grid with padding between the three columns.

					
    <footer">
	<ul>
		<li><h3 >Column 1</h1></li>
		<li><a href="#">Link 1</a></li>
		<li><a href="#">Link 2</a></li>
		<li><a href="#">Link 3</a></li>
		<li><a href="#">Link 4</a></li>
	</ul>
  <ul>
		<li><h3 >Column 2</h1></li>
		<li><a href="#">Link 1</a></li>
		<li><a href="#">Link 2</a></li>
		<li><a href="#">Link 3</a></li>
		<li><a href="#">Link 4</a></li>
	</ul>
  <ul>
		<li><h3 >Column 3</h1></li>
		<li><a href="#">Link 1</a></li>
		<li><a href="#">Link 2</a></li>
		<li><a href="#">Link 3</a></li>
		<li><a href="#">Link 4</a></li>
	</ul>
</footer>