Skip to content

Commit

Permalink
feat: adjust UI with lottie.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidosmf committed Jan 30, 2024
1 parent 4b7d4c5 commit 12a334f
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 1 deletion.
87 changes: 87 additions & 0 deletions docs/static/css/lottie-theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
body {
color: #1a1c1c;
}

.bg-primary {
background-color: white !important;
background-image: none;
}

.navbar {
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.navbar-dark .navbar-brand {
color: #006a5f;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
color: #1a1c1c;
}

.navbar-dark .navbar-toggler {
/* color: rgba(0, 0, 0, 0.8); */
/* border-color: rgba(0, 0, 0, 0.1); */
background-color: #1a1c1c;
}

.navbar-dark .navbar-nav .nav-link {
color: rgba(0, 106, 95, 0.8);
}

.navbar-dark .navbar-nav .nav-link.disabled {
color: rgba(0, 106, 95, 0.8);
}

.navbar-dark .navbar-nav .show > .nav-link,
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
color: #1a1c1c;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
color: #006a5f;
}

.bg-secondary {
/* background-color: #ebfbfa !important; */
background-color: white !important;
}

a {
color: #006a5f;
}

a:hover {
color: #1a1c1c;
}

.dropdown-item {
color: #1a1c1c;
}

.dropdown-item:hover,
.dropdown-item:focus {
color: #1a1c1c;
text-decoration: none;
background-color: #ebfbfa;
}

.dropdown-item.active,
.dropdown-item:active {
color: #fff;
text-decoration: none;
background-color: #006a5f;
}

.nav-link {
font-weight: 600;
}

/* temp */
.fa-github {
display: none;
}
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ site_description: Documentation for the Lottie animation format
extra:
lottie_player_version: 5.12.2
theme:
name: cinder
name: mkdocs
custom_dir: tools/theme
highlightjs: false
repo_url: https://github.com/lottie-animation-community/lottie-spec
Expand Down
1 change: 1 addition & 0 deletions tools/theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<script src="/lottie-spec/static/js/lottie_raw_utils.js"></script>
<script src="/lottie-spec/static/js/value_editors.js"></script>
<link rel="stylesheet" href="/lottie-spec/static/css/style.css" />
<link rel="stylesheet" href="/lottie-spec/static/css/lottie-theme.css" />
{% endblock %}


Expand Down

0 comments on commit 12a334f

Please sign in to comment.