Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Added caCSS to the Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Mar 19, 2009
1 parent 782b05f commit ff0edab
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 35 deletions.
206 changes: 206 additions & 0 deletions Docs/assets/ca.css
@@ -0,0 +1,206 @@
/*=====================================
caCSS
CSS in its simplest form.
=======================================*/


/*=====================================
Standard Styles
=======================================*/

body{
color: #000;
background-color: #fff;
margin: 0;
padding: 1.5em;
border: 0;
font-size: 75%;
}

html, body, input, select, textarea{ font-family: "Helvetica Neue", helvetica, arial, sans-serif; }

pre, code, samp, kbd, var{ font-family: monaco, "Courier New", courier, monospace; }

a{ text-decoration: none; }

a:hover{ text-decoration: underline; }

img, a img{ border: 0; }

h1, h2, h3, h4, h5, h6{
margin: 0;
padding: 0;
*position: relative;
}

h1{
font-size: 2.667em;
margin-bottom: .5625em;
line-height: 1em;
}

h2{
font-size: 2.333em;
margin-bottom: .643em;
line-height: 1em;
}

h3{
font-size: 2em;
margin-bottom: .75em;
line-height: 1em;
}

h4{
font-size: 1.667em;
margin-bottom: .9em;
line-height: 1em;
}

h5{
font-size: 1.333em;
margin-bottom: 1.125em;
line-height: 1.125em;
}

h6{
font-size: 1em;
font-weight: bold;
margin-bottom: 1.5em;
line-height: 1.5em;
}

p{
margin: 0 0 1.5em;
padding: 0;
line-height: 1.5em;
}

caption{
font-weight: bold;
padding: .5em;
}

table{
border-collapse: collapse;
border-spacing: 0;
margin: 0 0 1.5em;
}

th, td{
vertical-align: top;
padding: .3em .5em;
line-height: 1.5em;
}

pre{
border: 1px solid #ccc;
margin: 0 0 1.5em;
padding: 1em;
white-space: pre; /* CSS2 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP printers */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}

ul, ol{
margin: 0 0 1.5em 3em;
padding: 0;
line-height: 1.5em;
}

blockquote{
margin: 0 0 1.5em;
padding: 1em 1em .01em;
border: 1px solid #ccc;
}

dl{
margin: 0 0 1.5em;
line-height: 1.5em;
}

dt{
margin: 1.5em 0 0;
font-weight: bold;
}

dd{
margin: 0 0 0 3em;
}

dfn{
font-style: normal;
font-weight: bold;
}

abbr{ border-bottom: 1px dotted; }

form{
margin: 0;
padding: 0;
}

fieldset{
border: 1px solid #ccc;
padding: 1em;
*padding-top: 0;
}

legend{
font-weight: bold;
*margin-bottom: 1em;
}

input, select, textarea, button{
font-size: 1em;
max-width: 100%;
vertical-align: middle;
margin: 0;
}

textarea{ overflow: auto; }

input.button, button{
padding: 0 .5em;
}

input.text{}
input.button, button{}
input.checkbox{}
input.radio{}
input.file{}

/* HTML5 */
article, aside, dialog, figure, footer, header, section { display: block; }

/*=====================================
Feature-specific Styles
=======================================*/

/* Fields container */
ul.fields{
list-style: none;
margin: 0;
padding: 0;
}
ul.fields li{ padding: .3em 0; }

/*=====================================
Utility Styles
=======================================*/

.left{ float: left; }
.right{ float: right; }
.clear-left{ clear: left; }
.clear-right{ clear: right; }
.clear{ clear: both; }
.hide{ display: none; }

.note{}
.example{}
.error{}
35 changes: 0 additions & 35 deletions Docs/assets/docs.css
Expand Up @@ -9,41 +9,6 @@ title{
border-bottom: 1px solid #000;
}

html{
font-family: helvetica, arial, sans-serif;
font-size: 80%;
}

body{
line-height: 1.5em;
}

pre{
line-height: 1em;
white-space: pre; /* CSS2 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP printers */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}

pre code, code{
font-size: 110%;
line-height: 1em;
}

ul{
list-style-type: square;
}

li p{
margin: 0;
padding: 0;
}

#menu{
float: left;
width: 15%;
Expand Down
1 change: 1 addition & 0 deletions Docs/index.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<title>MooEditable Documentation</title>
<link rel="stylesheet" href="assets/ca.css">
<link rel="stylesheet" href="assets/prettify.css">
<link rel="stylesheet" href="assets/docs.css">
<script src="assets/mootools.js"></script>
Expand Down

0 comments on commit ff0edab

Please sign in to comment.