Skip to content

Commit 49e701d

Browse files
Peng-Yu Chenwalkccc
authored andcommitted
Update mkdocs.yml + color.md + custom.css
1 parent 4755817 commit 49e701d

File tree

3 files changed

+48
-97
lines changed

3 files changed

+48
-97
lines changed

docs/color.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

docs/css/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.md-header {
2+
background-color: #2b5f75 !important;
3+
}
4+
5+
@media only screen and (max-width: 76.1875em) {
6+
.md-nav__source {
7+
background-color: #2b5f75 !important;
8+
}
9+
10+
html .md-nav--primary .md-nav__title {
11+
background-color: #35708a !important;
12+
color: #ffffff;
13+
}
14+
}

mkdocs.yml

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,68 @@
11
# Project information
2-
site_name: 'CLRS Solutions'
3-
site_description: 'Solutions to Introduction to Algorithms Third Edition. CLRS Solutions. The textbook that a Computer Science (CS) student must read.'
4-
site_author: 'Jay Chen'
5-
site_url: 'https://walkccc.github.io/CLRS'
2+
site_name: CLRS Solutions
3+
site_description: Solutions to Introduction to Algorithms Third Edition. CLRS Solutions. The textbook that a Computer Science (CS) student must read.
4+
site_author: Jay Chen
5+
site_url: https://walkccc.github.io/CLRS
66

77
# Repository
8-
repo_name: 'walkccc/CLRS'
9-
repo_url: 'https://github.com/walkccc/CLRS'
8+
repo_name: walkccc/CLRS
9+
repo_url: https://github.com/walkccc/CLRS
1010

1111
# Copyright
12-
copyright: 'Built by <a href="http://github.com/walkccc">Jay Chen</a> &copy; 2017 - 2020'
12+
copyright: Built by <a href="http://github.com/walkccc">Jay Chen</a> &copy; 2017 - 2020
1313

1414
# Configuration
1515
theme:
16-
name: 'material'
17-
language: 'en'
18-
custom_dir: 'custom/'
19-
favicon: 'assets/favicon.png'
16+
name: material
17+
language: en
18+
custom_dir: custom
19+
favicon: assets/favicon.png
2020
palette:
21-
primary: 'Teal'
22-
accent: 'Blue'
21+
primary: teal
22+
accent: blue
2323
font:
24-
text: 'Roboto'
25-
code: 'Roboto Mono'
26-
logo:
27-
icon: 'import_contacts'
24+
text: Roboto
25+
code: Roboto Mono
26+
icon:
27+
logo: octicons/globe
28+
repo: fontawesome/brands/github
2829

2930
# Customization
3031
extra:
3132
social:
32-
- type: 'github'
33-
link: 'https://github.com/walkccc'
34-
- type: 'quote-left'
35-
link: 'https://walkccc.github.io/blog'
33+
- icon: fontawesome/brands/github-square
34+
link: https://github.com/walkccc
35+
- icon: fontawesome/brands/linkedin
36+
link: https://www.linkedin.com/in/walkccc/
37+
- icon: fontawesome/solid/code
38+
link: https://walkccc.github.io/LeetCode
3639

3740
extra_css:
38-
- 'css/katex.css'
39-
- 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css'
41+
- css/katex.css
42+
- css/custom.css
43+
- https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css
4044

4145
extra_javascript:
42-
- 'js/katex.js'
43-
- 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js'
44-
- 'https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js'
46+
- js/katex.js
47+
- https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js
48+
- https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js
4549

4650
# Google Analytics
4751
google_analytics:
48-
- 'UA-117404761-1'
49-
- 'auto'
52+
- UA-117404761-1
53+
- auto
5054

5155
# Extensions
5256
markdown_extensions:
53-
- codehilite:
57+
- pymdownx.highlight:
5458
linenums: true
59+
linenums_style: pymdownx-inline
5560
- toc:
5661
permalink: false
5762
- pymdownx.superfences
5863

5964
nav:
6065
- Preface: index.md
61-
- Color: color.md
6266
- I Foundations:
6367
- 1 The Role of Algorithms in Computing:
6468
- 1.1 Algorithms: Chap01/1.1.md

0 commit comments

Comments
 (0)