Merge pull request #1250 from C0derLint/css

CSS Changes
This commit is contained in:
Vinta 2019-03-03 18:48:31 +08:00 committed by GitHub
commit 2c0e126c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 39 deletions

View File

@ -3,16 +3,13 @@ language: python
python: python:
- "3.6" - "3.6"
install:
- pip install -r requirements.txt
script: script:
- cp README.md docs/index.md - cp README.md docs/index.md
- mkdocs build - mkdocs build
deploy: deploy:
provider: pages provider: pages
local-dir: "site" local-dir: site
skip-cleanup: true skip-cleanup: true
keep-history: true keep-history: true
github-token: $GITHUB_TOKEN github-token: $GITHUB_TOKEN

View File

@ -1,37 +1,9 @@
.bs-sidebar.well { @media (min-width: 960px) {
/* margin-bottom: 0; */ html {
scroll-behavior: smooth;
} }
.bs-sidebar .nav > li > a:hover, .md-content__inner > ul:nth-child(5) {
.bs-sidebar .nav > li > a:focus { display: none;
border: none;
border-left: 2px solid;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
border: none;
border-left: 2px solid;
}
@media (min-width: 992px) {
.bs-sidebar.affix {
/* top: 60px; */
/* bottom: 0px; */
top: 80px;
bottom: 23px;
overflow: auto;
}
}
@media (min-width: 1200px) {
.bs-sidebar.affix-bottom,
.bs-sidebar.affix {
width: 280px;
}
.container > .col-md-9 {
padding-left: 40px;
} }
} }