Skip to content

Commit bd28062

Browse files
📌 ISSUE-#45: Updated styles
1 parent 0fa892e commit bd28062

File tree

11 files changed

+70
-5
lines changed

11 files changed

+70
-5
lines changed

‎mkdocs_simple_blog/assets/css/main.min.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎mkdocs_simple_blog/assets/css/mkdocstrings.min.css‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎mkdocs_simple_blog/assets/css/root.min.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎mkdocs_simple_blog/base.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<link rel="stylesheet" href="{{ 'assets/css/root.min.css'|url }}">
4141
<link rel="stylesheet" href="{{ 'assets/css/main.min.css'|url }}">
4242
<link rel="stylesheet" href="{{ 'assets/css/media.min.css'|url }}">
43+
<link rel="stylesheet" href="{{ 'assets/css/mkdocstrings.min.css'|url }}">
4344

4445
{%- for path in extra_css %}
4546
<link href="{{ path }}" rel="stylesheet">

‎template/assets/css/main.css‎

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ code {
3838
padding: 0.4rem 0.8rem;
3939
}
4040

41+
code a {
42+
color: var(--color-gray) !important;
43+
text-underline-position: under;
44+
}
45+
46+
code a:focus,
47+
code a:hover {
48+
color: var(--color-gray) !important;
49+
}
50+
4151
pre {
4252
margin: 1.6rem 0 1rem;
4353
padding: 1.6rem;
@@ -63,6 +73,11 @@ p a {
6373
text-decoration: underline;
6474
}
6575

76+
p a:focus,
77+
p a:hover {
78+
color: gray !important;
79+
}
80+
6681
.title-color,
6782
h1,
6883
h2,
@@ -184,7 +199,7 @@ p {
184199
}
185200

186201
p a {
187-
color: var(--primary);
202+
color: var(--color-gray) !important;
188203
text-underline-position: under;
189204
}
190205

@@ -240,6 +255,8 @@ th {
240255

241256
table {
242257
border-collapse: collapse;
258+
border-collapse: collapse;
259+
width: -webkit-fill-available !important;
243260
}
244261

245262
table td,
@@ -615,4 +632,16 @@ table tr th:last-child {
615632
.sidebar .nav .nav>li>a {
616633
font-weight: normal;
617634
font-size: medium;
635+
}
636+
637+
.quote {
638+
margin-top: 2rem !important;
639+
margin-bottom: 2rem !important;
640+
border: .075rem solid #9e9e9e;
641+
padding: 1rem;
642+
background-color: #9e9e9e1a;
643+
}
644+
645+
.quote::open {
646+
width: fit-content;
618647
}

0 commit comments

Comments
 (0)