unified js for dtext previews

This commit is contained in:
albert
2011-10-20 18:50:16 -04:00
parent f630365c3b
commit e8808987d5
21 changed files with 101 additions and 190 deletions

View File

@@ -31,17 +31,10 @@ div.prose {
}
}
div.dtext {
div.dtext-preview {
width: 30em;
ul {
margin-left: 1em;
}
}
div.dtext-preview {
border: 2px dashed #AAA;
padding: 1em;
margin: 1em 0;
width: 30em;
}

View File

@@ -18,4 +18,7 @@ span.wait {
span.count {
color: #CCC;
margin-left: 0.5em;
}
span.edit-options {
}

View File

@@ -5,10 +5,12 @@ div#search {
}
div#page {
overflow: hidden;
width: 85em;
margin: 0 30px;
aside#sidebar {
width: 20%;
width: 15em;
float: left;
h1 {
@@ -29,9 +31,9 @@ div#page {
}
section#content {
width: 75%;
width: 65em;
float: left;
margin-left: 2em;
padding-left: 2em;
overflow: visible;
}
}

View File

@@ -34,24 +34,7 @@ div#c-forum-topics {
tr.new-topic {
font-weight: bold;
}
div#form-content {
float: left;
width: 450px;
padding-right: 1em;
}
div#form-aside {
float: left;
width: 400px;
div#preview > p {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px solid #AAA;
}
}
a.last-page {
color: #666;
}

View File

@@ -6,20 +6,5 @@ div#c-wiki-pages {
div#form-content {
float: left;
width: 30em;
padding-right: 1em;
}
div#form-aside {
float: left;
width: 20em;
div#preview > p {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px solid #AAA;
}
}
div#preview {
}
}