markdown-live-preview/css/style.css

329 lines
4.8 KiB
CSS
Raw Normal View History

2011-05-18 19:10:58 +04:00
html, body {
position: relative;
color: #333;
2011-05-18 19:10:58 +04:00
overflow-x: hidden;
2011-05-16 20:26:21 +04:00
margin: 0;
padding: 0;
font-family: Helvetica, arial, freesans, clean, sans-serif;
2011-05-16 20:26:21 +04:00
font-size: 1em;
2011-05-18 19:10:58 +04:00
line-height: 1.5em;
background-color: #444;
2011-05-16 20:26:21 +04:00
}
h1, h2, h3, h4, h5, h6, p {
font-size: 1em;
margin: 0;
padding: 0;
font-weight: normal;
}
p {
margin: 1em;
}
2011-05-17 18:50:41 +04:00
a:link,
a:visited,
a:hover
a:active {
color: #333;
text-decoration: none;
2011-05-17 18:50:41 +04:00
}
2011-05-18 19:31:16 +04:00
img {
border: none;
}
#header {
padding: 10px 0 ;
background-color: #444;
width: 100%;
text-align: center;
}
#header h1 {
2011-05-17 17:17:47 +04:00
color: #fff;
padding-bottom: 10px;
}
ul#menu {
margin: 0;
padding: 0;
list-style: none;
}
ul#menu li {
color: #999;
margin: 0;
margin-right: 5px;
padding: 10px;
list-style: none;
display: inline-block;
border-radius: 10px;
}
ul#menu a.edit li {
padding-left: 35px;
background: transparent url(../image/icon_edit_off.png) no-repeat 10px center;
}
ul#menu a.edit.active li {
background: transparent url(../image/icon_edit.png) no-repeat 10px center;
}
ul#menu a.preview li {
padding-left: 40px;
background: transparent url(../image/icon_preview_off.png) no-repeat 10px center;
}
ul#menu a.preview.active li {
background: transparent url(../image/icon_preview.png) no-repeat 10px center;
}
ul#menu li:hover {
/* text-decoration: underline;*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
border-radius: 4px;
}
ul#menu a.active li {
color: #fff;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
box-shadow: inset 0 0 5px rgba(0,0,0, 0.4), rgba(255,255,255,0.1) 0 1px 0;
border-radius: 4px;
2011-05-17 17:17:47 +04:00
}
2011-05-16 20:26:21 +04:00
#container {
2011-05-18 19:10:58 +04:00
min-height: 100%;
height: auto !important;
height: 100%;
2011-05-17 17:17:47 +04:00
width: 960px;
padding: 20px;
2011-05-16 20:26:21 +04:00
margin: 0 auto;
2011-05-17 17:17:47 +04:00
background-color: #fff;
border-radius: 10px;
2011-05-16 20:26:21 +04:00
}
#container .section {
margin-bottom: 20px;
}
#content .mode {
border: 1px solid #ddd;
border-radius: 3px;
}
#content .mode ul.submenu {
list-style: none;
margin: 0;
padding: 5px;
border-bottom: 1px solid #ddd;
background-color: #eee;
}
#content .mode ul.submenu li {
display: inline-block;
font-size: 12px;
font-weight: bold;
border-radius: 3px;
padding: 0 5px;
border: 1px solid #ddd;
background-color: #f3f3f3;
}
#content .mode ul.submenu li:hover {
text-decoration: underline;
}
#content .mode .content {
padding: 10px;
}
#preview {
display: none;
}
2011-05-17 18:50:41 +04:00
.section h2 {
color: #466964;
font-weight: bold;
2011-05-18 18:18:07 +04:00
font-size: 1.5em;
2011-05-18 19:10:58 +04:00
margin-bottom: 10px;
2011-05-17 18:50:41 +04:00
}
2011-05-17 17:17:47 +04:00
#leftColumn {
float: left;
width: 700px;
}
#rightColumn {
width: 240px;
float: right;
}
textarea#markdown {
padding: 0;
margin: 0;
width: 100%;
height: 400px;
overflow: auto;
font-size: 15px;
border: none;
/* border: 2px solid #D1D1BC;*/
2011-10-05 08:37:35 +04:00
resize: vertical;
outline: none;
2011-05-16 20:26:21 +04:00
}
/*
2011-05-16 20:26:21 +04:00
#output {
background-color: #f8f8f8;
2011-05-17 18:50:41 +04:00
border: 2px solid #A7C4BB;
2011-05-16 20:26:21 +04:00
min-height: 100px;
padding: 10px;
}
#output p {
line-height: 1.3em;
}
#output h1,
#output h2,
#output h3,
#output h4,
#output h5,
#output h6 {
font-weight: bold;
2011-05-17 18:50:41 +04:00
color: #000;
2011-05-16 20:26:21 +04:00
}
#output h1 {
font-size: 1.7em;
}
#output h2 {
font-size: 1.5em;
}
#output h3 {
font-size: 1em;
}
#output ol,
#output ul {
margin: 0;
}
#output blockquote,
#output pre {
margin: 0;
padding: 5px;
color: #g;
2011-05-16 20:26:21 +04:00
background-color: #eee;
border: 1px solid #ddd;
line-height: 1.5em;
}
#output code {
margin: 0;
padding: 0;
line-height: 1em;
}
*/
2011-05-17 18:50:41 +04:00
2011-05-18 19:10:58 +04:00
table#reference {
width: 238px;
border: 1px #ddd solid;
border-collapse: collapse;
border-spacing: 0;
}
table#reference th {
border: #ddd solid;
border-width: 0 0 1px 1px;
background-color: #eee;
font-weight: bold;
line-height: 120%;
text-align: center;
padding: 5px;
}
table#reference td {
border: 1px #ddd solid;
border-width: 0 0 1px 1px;
text-align: center;
padding: 5px;
}
#reference p {
margin: 0;
padding: 0;
}
2011-05-18 19:31:16 +04:00
#reference ul,
#reference ol,
#reference blockquote {
2011-05-18 19:10:58 +04:00
margin: 0;
2011-05-18 19:54:21 +04:00
padding: 0;
padding-left: 0;
list-style-position: inside;
}
#reference ul li,
#reference ol li {
2011-05-18 19:31:16 +04:00
padding-left: 0;
2011-05-18 19:10:58 +04:00
}
#reference h1,
#reference h2,
#reference h3,
#reference h4,
#reference h5,
#reference h6 {
font-weight: bold;
color: #000;
}
2011-05-17 18:50:41 +04:00
#footer {
clear: both;
width: 100%;
height: 50px;
padding: 10px;
margin-bottom: 30px;
background-color: #444;
2011-05-17 18:50:41 +04:00
color: #fff;
text-align: center;
}
#footer #copyright {
font-size: 12px;
color: #999;
}
#footer #copyright a {
font-size: 12px;
color: #999;
}
#footer #copyright a:hover {
2011-05-17 18:50:41 +04:00
color: #fff;
text-decoration: underline;
}
ul#shareLinks,
ul#shareLinks li {
margin: 0;
padding: 0;
list-style: none;
}
ul#shareLinks li {
display: inline-block;
vertical-align: middle;
}
ul#shareLinks li.facebook {
margin-top: 10px;
2011-05-17 18:50:41 +04:00
}