Flux.jl/flux.css

70 lines
1.4 KiB
CSS
Raw Normal View History

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
}
/* Green banner in ToC */
nav.toc > h1 {
margin-top: 0;
padding-top: 1em;
2017-09-07 07:01:29 +00:00
padding-bottom: 1em;
background: rgb(60, 150, 60);
2017-01-16 17:32:43 +00:00
border-bottom: 5px solid white;
color: white;
2017-09-07 07:01:29 +00:00
box-shadow: 0px -2px 5px rgb(60,60,60);
2017-01-16 17:32:43 +00:00
letter-spacing: 0.05em;
2017-09-07 06:16:40 +00:00
margin-bottom: 0.5em;
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-07 07:01:29 +00:00
background: linear-gradient(90deg, rgb(240,240,240) 0%, white 90%);
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-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); }
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); }
article pre {
background: rgb(245, 250, 245);
border-radius: 5px;
padding: 12px;
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
}