projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix class vs constant issue
[mdref/mdref]
/
public
/
index.css
diff --git
a/public/index.css
b/public/index.css
index 0fcd08830234638c3c58a99be73560122d31c85a..e305c7a07927f7643cb6ca12ac9d404169672363 100644
(file)
--- a/
public/index.css
+++ b/
public/index.css
@@
-6,7
+6,8
@@
body, code {
font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
}
body {
font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
}
body {
- font-size: 1.5em;
+ line-height: 140%;
+ font-size: 1.1em;
margin: 0;
padding: 0;
padding-bottom: 5em;
margin: 0;
padding: 0;
padding-bottom: 5em;
@@
-16,12
+17,11
@@
body {
body>* {
margin-left: 1em;
}
body>* {
margin-left: 1em;
}
-body>ul {
+body>ul
, body>div>ul
{
margin-left: 2em;
}
.sidebar {
margin-left: 2em;
}
.sidebar {
- font-size: .9em;
float: right;
background: #f0f0f0;
border-bottom-left-radius: 10px;
float: right;
background: #f0f0f0;
border-bottom-left-radius: 10px;
@@
-47,16
+47,17
@@
body>ul {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
text-decoration: none;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
text-decoration: none;
- color: white;
font-weight: bold;
text-shadow: 0 0 5px red;
}
font-weight: bold;
text-shadow: 0 0 5px red;
}
+.sidebar .edit a {
+ color: white !important;
+}
code {
code {
- display: inline-block;
border-radius: 2px;
padding: 0px 2px 2px 2px;
border-radius: 2px;
padding: 0px 2px 2px 2px;
- background: #
e0e0e
0;
+ background: #
f0f0f
0;
color: #606060;
box-shadow: 0 0 1px #999;
}
color: #606060;
box-shadow: 0 0 1px #999;
}
@@
-70,15
+71,18
@@
code code {
}
pre>code {
}
pre>code {
+ display: inline-block;
padding: 1em;
padding: 1em;
+ min-width: 50%;
+ line-height: 110%;
}
pre>code, pre>code code {
background: #333;
color: #eee;
}
}
pre>code, pre>code code {
background: #333;
color: #eee;
}
-p, pre {
- margin: 1em 2em
2em 2em
;
+p, pre
, table, dl
{
+ margin: 1em 2em;
}
li>p {
}
li>p {
@@
-93,6
+97,7
@@
blockquote {
}
ul {
}
ul {
+ margin-top: 1em;
margin-bottom: 2em;
}
li {
margin-bottom: 2em;
}
li {
@@
-104,6
+109,9
@@
a, h1 code>a {
a:hover {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
+a[href^="http:"]:after, a[href^="https:"]:after {
+ content: " ⬈";
+}
.var {
color: #800000;
.var {
color: #800000;
@@
-139,7
+147,16
@@
li h3 {
margin: .5em 0 0 0;
}
margin: .5em 0 0 0;
}
-body>h3 {
+body>h3, body>div>h3 {
+ margin-left: 1.25em;
+}
+body>h4, body>div>h4 {
+ margin-left: 1.5em;
+}
+body>h5, body>div>h5 {
+ margin-left: 1.75em;
+}
+body>h6, body>div>h6 {
margin-left: 2em;
}
margin-left: 2em;
}
@@
-202,7
+219,14
@@
table {
th, td {
padding: .4em;
}
th, td {
padding: .4em;
}
-
+dt {
+ font-weight: bold;
+ margin-top: 1em;
+}
+dd {
+ line-height: 1.2em;
+ margin-left: 1em;
+}
h1, footer, table, .sidebar, pre>code, li h3 {
box-shadow: 0 0 4px #708090;
}
h1, footer, table, .sidebar, pre>code, li h3 {
box-shadow: 0 0 4px #708090;
}