Skip to content

Commit

Permalink
i think its pretty ready, going to test on other browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
simcop2387 committed Nov 8, 2010
1 parent 76beaf1 commit c6396ce
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 10 deletions.
78 changes: 72 additions & 6 deletions _s/markdown.css
@@ -1,28 +1,94 @@
.pagecontent h1 {
font-size: 1.5em;

.markdown-header h1 {
font-size: 3em;
border-bottom: 2px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.pagecontent h2 {
.markdown h1 {
font-size: 1.6em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.markdown h2 {
font-size: 1.5em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.markdown h3 {
font-size: 1.4em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.markdown h4 {
font-size: 1.3em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.markdown h5 {
font-size: 1.2em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

.pagecontent h3 {
font-size: 1em;
.markdown h6 {
font-size: 1.1em;
border-bottom: 1px solid black;
margin-bottom: 1em;
padding-bottom: 0.2em;
font-family: 'Crimson Text', arial, serif;
}

p {
.markdown {
text-indent: 1em;
margin-bottom: 1em;
/* font-family: 'Josefin Sans Std Light', arial, serif; */
font-size: 1.15em;
font-family: 'Crimson Text', arial, serif;
}

.markdown p {
font-size: 1.05em;
}

.markdown table {
border-width: 0px 1px 1px 0px;
border-spacing: 0px;
border-style: solid;
}

.markdown table td {
border-width: 1px 0px 0px 1px;
border-spacing: 0px;
border-style: solid;
padding: 0.5em;
}

.markdown table thead tr th {
border-width: 1px 0px 0px 1px;
border-spacing: 0px;
border-style: solid;
padding: 0.5em;
}

.markdown table caption {
text-align: center;
font-weight: bold;
font-size: 1.2em;
}
4 changes: 2 additions & 2 deletions templates/edit.tt2
@@ -1,15 +1,15 @@
<div class="main mod simpleExt">
<b class="top"><b class="tl"></b><b class="tr"></b></b>
<div class="inner">
<div class="hd">
<div class="hd markdown-header">
<h1>[% entry.article_revision.title %]</h1>
<div class="leftCol">Last Updated On: [% entry.article_revision.updated %]</div>
<div class="rightCol">Updated By: [% entry.article_revision.address %]</div>
</div>
<div class="bd">
<div class="mod noted comment">
<b class="top"><b class="tl"></b><b class="tr"></b></b>
<div class="inner">
<div class="inner markdown">
[% preview.content %]
</div>
<b class="bottom"><b class="bl"></b><b class="br"></b></b>
Expand Down
4 changes: 2 additions & 2 deletions templates/view.tt2
@@ -1,15 +1,15 @@
<div class="main mod talk comment">
<b class="top"><b class="tl"></b><b class="tr"></b></b>
<div class="inner">
<div class="hd">
<div class="hd markdown-header">
<h1>[% entry.article_revision.title %]</h1>
<div class="leftCol">Last Updated On: [% entry.article_revision.updated %]</div>
<div class="rightCol">Updated By: [% entry.article_revision.address %]</div>
</div>
<div class="bd">
<div class="mod noted">
<b class="top"><b class="tl"></b><b class="tr"></b></b>
<div class="inner">
<div class="inner markdown">
[% markdown_content %]
</div>
<b class="bottom"><b class="bl"></b><b class="br"></b></b>
Expand Down

0 comments on commit c6396ce

Please sign in to comment.