Skip to content

Commit

Permalink
Version 7.6.1 from http://redactorjs.com/
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Baranov authored and html5cat committed May 30, 2012
1 parent 5c2cd30 commit 0d6a8d6
Show file tree
Hide file tree
Showing 29 changed files with 4,934 additions and 0 deletions.
791 changes: 791 additions & 0 deletions css/kube.css

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions css/live.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@import "kube.css";

/* =Typography
-----------------------------------------------------------------------------*/
body {
font-family: 'PT Sans', Helvetica, Arial, sans-serif;
font-size: 15px;
}

::selection {
background-color: #c72020;
color: #fff;
text-shadow: none;
}

.callout {
background-color: #e8edf5;
border: 1px solid #cfd5df;
padding: 1.5em;
border-radius: 3px;
}

/* =Links
-----------------------------------------------------------------------------*/
a {
color: #46a;
}
a:hover {
color: #c72020 !important;
}

/* =Layout
-----------------------------------------------------------------------------*/
#page {
margin: 1.5em;
position: relative;
}

30 changes: 30 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>Redactor in action</title>
<meta charset="utf-8">

<link rel="stylesheet" href="./css/live.css" />
<script src="./js/jquery-1.7.min.js"></script>

<link rel="stylesheet" href="./js/redactor/css/redactor.css" />
<script src="./js/redactor/redactor.js"></script>

<script type="text/javascript">
$(document).ready(
function()
{
$('#redactor_content').redactor();
}
);
</script>
</head>
<body>
<div id="page">
<h2>Redactor in action</h2>

<textarea id="redactor_content" name="content" style="height: 560px;"></textarea>

</div>
</body>
</html>
4 changes: 4 additions & 0 deletions js/jquery-1.7.min.js

Large diffs are not rendered by default.

Binary file added js/redactor/.DS_Store
Binary file not shown.
123 changes: 123 additions & 0 deletions js/redactor/css/docstyle.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
html {
padding: 0;
margin: 0;
}
body {
font-family: "PT Sans", "Trebuchet MS", Verdana, Arial, Tahoma, sans-serif;
font-size: 17px;
margin: 0;
padding: 0;
overflow-x: hidden;
background: #f4f4f4;
}
#page {
max-width: 900px;
width: 74%;
margin: 20px auto;
padding: 15px 50px;
background: #fff;
border: 1px solid #ddd;
}
#page:focus {
outline: none;
}

::selection {
background-color: #333;
color: #fff;
text-shadow: none;
}

div,
p,
ul,
ol,
table,
dl,
blockquote,
pre,
iframe,
object,
hr {
margin-bottom: 15px;
line-height: 1.5em;
}
blockquote {
margin-left: 3em;
font-style: italic;
color: #777;
}
ul, ol {
padding-left: 2em;
}
ul ul,
ol ol,
ul ol,
ol ul {
border: none;
margin: 2px !important;
padding: 0;
padding-left: 2em;
}
dl dt { font-weight: bold; }
dd { margin-left: 1em;}

table {
border-collapse: collapse;
font-size: 1em;
}
table td {
border: 1px solid #ddd;
padding: 5px;
}
table thead td {
border-bottom: 2px solid #000 !important;
font-weight: bold;
}
code, pre {
font-family: monospace sans-serif;
}
code {
background-color: #d8d7d7;
}
pre {
padding: 1em;
border: 1px dashed #ccc;
background: #f5f5f5;
overflow: auto;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
}

h1, h2, h3, h4,h5 {
font-weight: bold;
}

h1 {
font-size: 36px;
line-height: 40px;
margin-bottom: 10px;
}
h2 {
font-size: 30px;
line-height: 36px;
margin-bottom: 15px;
}
h3 {
font-size: 24px;
line-height: 30px;
margin-bottom: 10px;
}
h4 {
font-size: 18px;
line-height: 24px;
margin-bottom: 10px;
}
h4 {
font-size: 1em;
margin-bottom: 10px;
}
Loading

0 comments on commit 0d6a8d6

Please sign in to comment.