Skip to content

Commit

Permalink
add some more css
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob1010-h committed Dec 9, 2023
1 parent e2fb991 commit f0bbb9a
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/assets/css/4738.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.md-header{
background-color: #053B6C
}
.md-tabs{
background-color: #053B6C
}
44 changes: 42 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,51 @@ nav:
- About: test.md

#Start
site_name: Programming Website
site_name: Team4738
repo_name: Programming Sub-team Website
repo_url: "https://github.com/Patribots4738/Programming-Website"
site_url: https://patribots4738.github.io/
description: A website for the Programming Sub-team of the Patribots, FRC Team 4738
site_author: Jacob Hotz

# Theme
theme:
name: material
name: 'material'
custom_dir: 'theme'
favicon: assets/images/favicon.ico
icon:
logo: 'material/laptop'
features:
- navigation.tabs
- navigation.instant
palette:
primary: 'blue'
accent: 'light blue'
scheme: slate
extra_css:
# - assets/css/dark_theme.css
# - assets/css/codehilite.css
- assets/css/4738.css
use_directory_urls: false

# Extensions
markdown_extensions:
- admonition
- pymdownx.superfences
- pymdownx.critic
- pymdownx.details
- pymdownx.betterem
- pymdownx.tasklist
- pymdownx.extra
- pymdownx.inlinehilite
- pymdownx.highlight:
css_class: 'codehilite'
- toc:
permalink: "#"

# Plugins
plugins:
- search
- minify:
minify_html: true
minify_js: true
66 changes: 66 additions & 0 deletions theme/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!-- Footer -->
<footer class="md-footer">

<!-- Link to previous and/or next page -->
{% if page.previous_page or page.next_page %}
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer.title') }}">

<!-- Link to previous page -->
{% if page.previous_page %}
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" rel="prev">
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-left.svg" %}
</div>
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
{{ lang.t("footer.previous") }}
</span>
{{ page.previous_page.title }}
</div>
</div>
</a>
{% endif %}

<!-- Link to next page -->
{% if page.next_page %}
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" rel="next">
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
{{ lang.t("footer.next") }}
</span>
{{ page.next_page.title }}
</div>
</div>
<div class="md-footer__button md-icon">
{% include ".icons/material/arrow-right.svg" %}
</div>
</a>
{% endif %}
</nav>
{% endif %}

<!-- Further information -->
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">

<!-- Copyright and theme information -->
<div class="md-footer-copyright">
{% if config.copyright %}
<div class="md-footer-copyright__highlight">
{{ config.copyright }}
</div>
{% endif %}
Powered by
<a href="https://patribots.org" target="_blank">
FRC Team 4738 - The Patribots
</a>
{{ extracopyright }}
</div>

<!-- Social links -->
{% include "partials/social.html" %}
</div>
</div>
</footer>

0 comments on commit f0bbb9a

Please sign in to comment.