CS-Notes/docs/_style/style.css

81 lines
1.4 KiB
CSS
Raw Normal View History

2018-12-19 13:14:24 +08:00
/*隐藏头部的目录*/
2018-12-19 10:07:44 +08:00
#main>ul:nth-child(1) {
display: none;
2018-12-19 13:14:24 +08:00
}
2019-01-27 19:50:41 +08:00
#main>ul:nth-child(2) {
2019-01-19 13:16:37 +08:00
display: none;
}
2018-12-19 13:14:24 +08:00
.markdown-section h1 {
2018-12-31 21:01:42 +08:00
margin: 3rem 0 2rem 0;
}
.markdown-section h2 {
margin: 2rem 0 1rem;
2018-12-19 13:14:24 +08:00
}
2018-12-31 20:41:55 +08:00
.content,
.sidebar,
.markdown-section,
2018-12-31 20:54:11 +08:00
body,
.search input,
.sidebar-toggle {
2018-12-31 20:41:55 +08:00
background-color: rgba(243, 242, 238, 1) !important;
}
2018-12-31 20:53:04 +08:00
body {
2018-12-31 21:09:54 +08:00
/*font-family: Microsoft YaHei, Source Sans Pro, Helvetica Neue, Arial, sans-serif !important;*/
2018-12-31 20:53:04 +08:00
}
2018-12-31 21:22:09 +08:00
.markdown-section>p {
font-size: 16px !important;
2018-12-31 20:53:04 +08:00
}
2018-12-31 21:01:42 +08:00
.markdown-section pre>code {
2018-12-31 21:11:05 +08:00
font-family: Consolas, Roboto Mono, Monaco, courier, monospace !important;
font-size: .9rem !important;
2018-12-31 21:01:42 +08:00
}
2018-12-19 13:14:24 +08:00
/*.anchor span {
color: rgb(66, 185, 131);
2019-01-19 13:16:37 +08:00
}*/
2019-01-27 19:50:41 +08:00
section.cover h1 {
2019-01-27 19:57:03 +08:00
margin: 0;
2019-01-27 19:53:56 +08:00
}
body>section>div.cover-main>ul>li>a {
color: #42b983;
2019-02-14 22:23:57 +08:00
}
2019-02-14 23:02:38 +08:00
.markdown-section img {
2019-02-14 22:23:57 +08:00
box-shadow: 7px 9px 10px #aaa !important;
}
2019-02-14 22:53:50 +08:00
pre {
background-color: #f3f2ee !important;
2019-02-15 10:50:30 +08:00
}
@media (min-width:600px) {
2019-02-17 01:02:30 +08:00
pre code {
2019-02-18 13:12:57 +08:00
/*box-shadow: 2px 1px 20px 2px #aaa;*/
2019-02-15 11:03:58 +08:00
/*border-radius: 10px !important;*/
2019-02-15 10:50:30 +08:00
padding-left: 20px !important;
}
}
@media (max-width:600px) {
pre {
padding-left: 0px !important;
padding-right: 0px !important;
}
2019-02-18 13:12:57 +08:00
}
.markdown-section pre {
2019-02-18 16:03:29 +08:00
padding-left: 0 !important;
padding-right: 0px !important;
box-shadow: 2px 1px 20px 2px #aaa;
2019-01-27 19:50:41 +08:00
}