1 Star 0 Fork 2

贾凯威/Machine-Learning-in-R

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
toc.css 2.39 KB
一键复制 编辑 原始数据 按行查看 历史
Chris Kennedy 提交于 2019-02-15 17:36 . Add bookdown config files
#TOC ul,
#TOC li,
#TOC span,
#TOC a {
margin: 0;
padding: 0;
position: relative;
}
#TOC {
line-height: 1;
border-radius: 5px 5px 0 0;
background: #141414;
background: linear-gradient(to bottom, #333333 0%, #141414 100%);
border-bottom: 2px solid #0fa1e0;
width: auto;
}
#TOC:after,
#TOC ul:after {
content: '';
display: block;
clear: both;
}
#TOC a {
background: #141414;
background: linear-gradient(to bottom, #333333 0%, #141414 100%);
color: #ffffff;
display: block;
padding: 19px 20px;
text-decoration: none;
text-shadow: none;
}
#TOC ul {
list-style: none;
}
#TOC > ul > li {
display: inline-block;
float: left;
margin: 0;
}
#TOC > ul > li > a {
color: #ffffff;
}
#TOC > ul > li:hover:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
left: 50%;
bottom: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #0fa1e0;
margin-left: -10px;
}
#TOC > ul > li:first-child > a {
border-radius: 5px 0 0 0;
}
#TOC.align-right > ul > li:first-child > a,
#TOC.align-center > ul > li:first-child > a {
border-radius: 0;
}
#TOC.align-right > ul > li:last-child > a {
border-radius: 0 5px 0 0;
}
#TOC > ul > li.active > a,
#TOC > ul > li:hover > a {
color: #ffffff;
box-shadow: inset 0 0 3px #000000;
background: #070707;
background: linear-gradient(to bottom, #262626 0%, #070707 100%);
}
#TOC .has-sub {
z-index: 1;
}
#TOC .has-sub:hover > ul {
display: block;
}
#TOC .has-sub ul {
display: none;
position: absolute;
width: 200px;
top: 100%;
left: 0;
}
#TOC .has-sub ul li a {
background: #0fa1e0;
border-bottom: 1px dotted #31b7f1;
filter: none;
display: block;
line-height: 120%;
padding: 10px;
color: #ffffff;
}
#TOC .has-sub ul li:hover a {
background: #0c7fb0;
}
#TOC ul ul li:hover > a {
color: #ffffff;
}
#TOC .has-sub .has-sub:hover > ul {
display: block;
}
#TOC .has-sub .has-sub ul {
display: none;
position: absolute;
left: 100%;
top: 0;
}
#TOC .has-sub .has-sub ul li a {
background: #0c7fb0;
border-bottom: 1px dotted #31b7f1;
}
#TOC .has-sub .has-sub ul li a:hover {
background: #0a6d98;
}
#TOC ul ul li.last > a,
#TOC ul ul li:last-child > a,
#TOC ul ul ul li.last > a,
#TOC ul ul ul li:last-child > a,
#TOC .has-sub ul li:last-child > a,
#TOC .has-sub ul li.last > a {
border-bottom: 0;
}
#TOC ul {
font-size: 1.2rem;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jiakaiwei/Machine-Learning-in-R.git
git@gitee.com:jiakaiwei/Machine-Learning-in-R.git
jiakaiwei
Machine-Learning-in-R
Machine-Learning-in-R
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385