Update main.css
Proposed adjustment for doc readability.
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
||||
|
||||
body {
|
||||
font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
|
||||
font-family: "Fira Sans", "Source Sans Pro", "Helvetica Nue", sans-serif;
|
||||
background-color: #293134;
|
||||
color: #c1cbc2;
|
||||
font-size: 16px;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #c1cbc2;
|
||||
color: #f2dc77;
|
||||
box-shadow: 0 2px 0 0 rgba(255,255,255,0.1);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #f2dc77;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
@@ -15,67 +25,100 @@ a {
|
||||
left: 0px;
|
||||
position: fixed;
|
||||
overflow: auto;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
text-decoration: none;
|
||||
padding: 0px 0px 0px 10px;
|
||||
}
|
||||
|
||||
.ns {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
padding: 20px 0 0px 0;
|
||||
margin-bottom: 10px;
|
||||
box-shadow: 0 2px 0 0 rgba(255,255,255,0.1);
|
||||
display: inline-block;
|
||||
color: #88d;
|
||||
}
|
||||
|
||||
.name {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
text-indent: 10px;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 20px;
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
.content code {
|
||||
box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
|
||||
border-radius: 3px;
|
||||
padding: 0px 3px;
|
||||
background: rgba(255,255,255,0.1);
|
||||
text-shadow: 0 1px 0 rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.content code, .content pre {
|
||||
font-family: "Fira Mono", "Source Code Poro", "Consolas", "Menlo", monospace;
|
||||
}
|
||||
|
||||
.item {
|
||||
|
||||
}
|
||||
|
||||
.clj {
|
||||
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.c-head {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 1em;
|
||||
color: #88d;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.c-doc {
|
||||
|
||||
}
|
||||
|
||||
.c-src {
|
||||
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.java {
|
||||
background: #444444;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.j-text {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.j-item * {
|
||||
transition: opacity ease-in 300ms;
|
||||
}
|
||||
|
||||
.j-item {
|
||||
margin-bottom: 10px;
|
||||
border-left: 4px solid rgba(0,0,0,0.2);
|
||||
border-bottom: 5px solid transparent;
|
||||
border-top: 5px solid transparent;
|
||||
margin-bottom: 20px;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.j-name {
|
||||
font-weight: bold;
|
||||
color: #D88;
|
||||
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
padding: 0 0 0 10px;
|
||||
border-top: 5px solid transparent;
|
||||
display: inline-block;
|
||||
font-size: 1.4em;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.j-args {
|
||||
margin-left: 5px;
|
||||
margin-left: 1em;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.j-item:hover .j-args {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.j-arg {
|
||||
@@ -87,4 +130,9 @@ a {
|
||||
}
|
||||
|
||||
.j-doc {
|
||||
padding: 10px 20px 20px 20px;
|
||||
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.2);
|
||||
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 -2.3em 0 0 rgba(0, 0, 0, 0.2);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user