projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
more consistent default zoom
[mdref/mdref]
/
public
/
index.css
diff --git
a/public/index.css
b/public/index.css
index 6fc3a88ff536786d885165248f026665c53e1ccf..b422e5faa1ca9412177e3f48349b17a76931fdd3 100644
(file)
--- a/
public/index.css
+++ b/
public/index.css
@@
-1,27
+1,37
@@
-* {
- font-size: 99.9%;
+html {
+ font-size: 18px;
+}
+html, body{
+ height: 100%;
+ min-height: 100%;
}
}
-
body, code {
body, code {
- font-family: Inconsolata,
Monospace
, 'Courier New', Courier, monospace;
+ font-family: Inconsolata,
'Inconsolata Awesome', 'Andale Mono', Monaco
, 'Courier New', Courier, monospace;
}
body {
}
body {
- font-size: 1.5em;
+ line-height: 1.5;
+ font-size: 1.1em;
margin: 0;
padding: 0;
margin: 0;
padding: 0;
- padding-bottom: 5em;
color: #3f3f3f;
}
color: #3f3f3f;
}
-body>* {
+div.page {
+ margin: auto;
+ max-width: 1200px;
+ min-height: 100%;
+ padding-bottom: 5em;
+ box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.5);
+}
+
+div.page>* {
margin-left: 1em;
}
margin-left: 1em;
}
-
body>ul, body
>div>ul {
+
div.page>ul, div.page
>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;
@@
-29,34
+39,39
@@
body>ul, body>div>ul {
width: auto;
min-width: 200px;
padding-right: 1em;
width: auto;
min-width: 200px;
padding-right: 1em;
+ padding-bottom: 1em;
+ margin-bottom: 1em;
}
.sidebar>ul {
}
.sidebar ul {
margin-left: 1em;
margin-top: .5em;
}
.sidebar>ul {
}
.sidebar ul {
margin-left: 1em;
margin-top: .5em;
+ margin-bottom: 0;
padding: 0;
list-style-type: none;
}
.sidebar .edit {
display: block;
padding: 0;
list-style-type: none;
}
.sidebar .edit {
display: block;
- position:
absolut
e;
+ position:
relativ
e;
top: 2em;
top: 2em;
- right: 0
.5em
;
+ right: 0;
-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;
+ float: right;
}
}
-code {
- display: inline-block;
+.sidebar .edit a {
+ color: white !important;
+}
+code {
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
+85,24
@@
code code {
}
pre>code {
}
pre>code {
+ display: inline-block;
padding: 1em;
padding: 1em;
+ min-width: 50%;
+ line-height: 1.2;
}
}
+
pre>code, pre>code code {
background: #333;
color: #eee;
}
pre>code, pre>code code {
background: #333;
color: #eee;
}
-p, pre, table {
- margin: 1em 2em 2em 2em;
+p, pre, table, dl {
+ margin: 1em 2em;
+ margin-left: 2em !important;
+}
+
+pre>code, table, dl {
+ margin-bottom: 2em !important;
}
li>p {
}
li>p {
@@
-89,12
+113,30
@@
blockquote {
border-top: 1px solid #800000;
border-bottom: 1px solid #800000;
background: #ffe4e1;
border-top: 1px solid #800000;
border-bottom: 1px solid #800000;
background: #ffe4e1;
- margin: 2em 0;
+ margin: 2em 0
!important
;
}
ul {
}
ul {
+ margin-top: 1em;
margin-bottom: 2em;
}
margin-bottom: 2em;
}
+ol {
+ list-style-type: none;
+}
+ol ul {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+ol li {
+ margin-bottom: 0;
+}
+ol>li {
+ font-weight: bold;
+ margin-bottom: .5em;
+}
+ol>li>* {
+ font-weight: normal;
+}
li {
margin-bottom: .5em;
}
li {
margin-bottom: .5em;
}
@@
-108,6
+150,14
@@
a[href^="http:"]:after, a[href^="https:"]:after {
content: " ⬈";
}
content: " ⬈";
}
+a.permalink {
+ position: relative;
+ top: 0;
+ right: 0;
+ color: #999999;
+ opacity: 0.25;
+}
+
.var {
color: #800000;
}
.var {
color: #800000;
}
@@
-115,23
+165,30
@@
a[href^="http:"]:after, a[href^="https:"]:after {
color: #2e8b57;
}
color: #2e8b57;
}
+h1, li h3, th, footer {
+ background: #708090;
+ color: #f5f5dc;
+}
+
+h1, footer {
+ margin: 0;
+ max-width: 1200px;
+ padding: 1em;
+}
+
h1 {
line-height: 1.5;
h1 {
line-height: 1.5;
+ margin-left: 0 !important;
+ padding-left: 2em;
}
h1 code {
font-weight: normal;
font-size: .9em;
line-height: 1.33;
}
}
h1 code {
font-weight: normal;
font-size: .9em;
line-height: 1.33;
}
-
-footer, h1, li h3, th {
- background: #708090;
- color: #f5f5dc;
-}
-
-footer, h1 {
- margin: 0;
- padding: 1em;
+h1 a.permalink {
+ left: -.8em;
+ margin-right: -.6em;
}
li h3 {
}
li h3 {
@@
-142,7
+199,16
@@
li h3 {
margin: .5em 0 0 0;
}
margin: .5em 0 0 0;
}
-body>h3, body>div>h3 {
+div.page>h3, div.page>div>h3 {
+ margin-left: 1.25em;
+}
+div.page>h4, div.page>div>h4 {
+ margin-left: 1.5em;
+}
+div.page>h5, div.page>div>h5 {
+ margin-left: 1.75em;
+}
+div.page>h6, div.page>div>h6 {
margin-left: 2em;
}
margin-left: 2em;
}
@@
-153,11
+219,23
@@
h1 .constant, pre>code .consant, li h3 .constant {
h1 .var, pre>code .var, li h3 .var {
color: #f4a460;
}
h1 .var, pre>code .var, li h3 .var {
color: #f4a460;
}
-
+h1 {
+ font-size: 125%;
+}
+h2 {
+ font-size: 120%;
+}
+h3 {
+ font-size: 110%;
+}
+h4 {
+ font-size: 100%;
+}
footer a, h1 a, pre>code a, li h3 a {
color: #b0e0e6;
}
footer a, h1 a, pre>code a, li h3 a {
color: #b0e0e6;
}
-
+li h3 {
+}
li h3 a {
text-decoration: none;
}
li h3 a {
text-decoration: none;
}
@@
-178,6
+256,7
@@
footer {
bottom: 0;
width: 100%;
padding: 0;
bottom: 0;
width: 100%;
padding: 0;
+ margin: 0 !important;
}
footer ul {
}
footer ul {
@@
-204,8
+283,16
@@
table {
}
th, td {
padding: .4em;
}
th, td {
padding: .4em;
+ border-bottom: 1px solid rgba(112, 128, 144, 0.1);
+}
+dt {
+ font-weight: bold;
+ margin-top: 1em;
+}
+dd {
+ line-height: 1.33;
+ 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;
}