Flux.jl/flux.css

114 lines
2.1 KiB
CSS
Raw Normal View History

2018-05-05 12:15:31 +00:00
@import url('https://fonts.googleapis.com/css?family=Lato:400,400i');
body {
font-family: Lato, "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
2017-01-16 17:32:43 +00:00
nav.toc {
padding-top: 0;
2017-09-07 07:01:29 +00:00
background: rgb(240, 240, 240);
2017-01-16 17:32:43 +00:00
line-height: 2em;
2017-01-17 20:37:23 +00:00
cursor: default;
user-select: none;
2017-01-16 17:32:43 +00:00
}
2018-02-09 18:46:19 +00:00
h1+h2 {
margin-top: 0;
}
2017-01-16 17:32:43 +00:00
/* Green banner in ToC */
nav.toc > h1 {
margin-top: 0;
2018-05-05 12:15:31 +00:00
padding-top: 0.4em;
padding-bottom: 0.5em;
2017-01-16 17:32:43 +00:00
border-bottom: 5px solid white;
2017-09-07 07:01:29 +00:00
box-shadow: 0px -2px 5px rgb(60,60,60);
2017-09-07 06:16:40 +00:00
margin-bottom: 0.5em;
2018-05-05 12:15:31 +00:00
background: rgb(60, 150, 60);
font-style: italic;
font-weight: normal;
font-size: 50pt;
text-transform: lowercase;
text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
color: white;
2017-01-16 17:32:43 +00:00
}
/* Reduce ToC font size */
.toctext {
font-size: 10pt;
}
/* Fade out non-clickable ToC headers */
2017-09-07 06:16:40 +00:00
nav.toc ul span.toctext {
2017-09-07 07:01:29 +00:00
color: rgb(180, 180, 180);
2017-01-16 17:32:43 +00:00
}
2017-09-07 06:16:40 +00:00
nav.toc ul .toctext {
2017-09-07 07:01:29 +00:00
color: rgb(100, 100, 100);
2017-09-07 06:16:40 +00:00
}
2017-09-07 07:01:29 +00:00
nav.toc ul a.toctext:hover {
color: inherit;
background: rgb(220, 220, 220);
cursor: default;
2017-01-16 17:32:43 +00:00
}
nav.toc li.current > .toctext {
2017-09-09 04:59:10 +00:00
background: linear-gradient(90deg, rgb(245,245,245) 0%, white 90%);
2017-09-07 07:01:29 +00:00
font-weight: normal;
2017-01-16 17:32:43 +00:00
}
2017-09-07 07:01:29 +00:00
nav.toc ul.internal li.toplevel {
font-weight: normal;
2017-01-16 17:32:43 +00:00
}
/* Content */
2017-09-09 04:59:10 +00:00
article { max-width: none; }
article > p, article > ul {
max-width: 45em;
}
/* Links */
2017-09-07 07:01:29 +00:00
a, a:visited { color: rgb(0, 120, 0); }
article p a { border-bottom: 1px solid rgb(200, 230, 200); }
a:hover, a:visited:hover { color: rgb(0, 80, 0); }
2017-09-09 04:59:10 +00:00
/* Article Links */
2017-09-07 07:01:29 +00:00
article p a { border-bottom: 1px solid rgb(200, 230, 200); }
article p a:hover, article a:visited:hover { color: rgb(0, 120, 0); }
article p a:hover { border-bottom: 1px solid rgb(150, 200, 150); }
2017-09-09 04:59:10 +00:00
/* Doctstrings */
article section.docstring {
padding: 0.5em 0;
border-left: none;
border-right: none;
border-bottom: none;
}
/* Code */
article pre, article p > code {
2017-09-07 07:01:29 +00:00
background: rgb(245, 250, 245);
2017-09-09 04:59:10 +00:00
}
article pre {
border: none;
max-width: none;
padding: 1em;
border-radius: 10px 0px 0px 10px;
margin-left: -1em;
margin-right: -2em;
2017-01-16 17:32:43 +00:00
}
2017-09-07 07:01:29 +00:00
.hljs-comment {
font-style: italic;
2017-01-16 17:32:43 +00:00
}
2017-09-09 04:59:10 +00:00
.hljs-number {
color: rgb(0, 150, 150);
}