diff options
Diffstat (limited to 'arduino_blog/templates/header.html')
-rw-r--r-- | arduino_blog/templates/header.html | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/arduino_blog/templates/header.html b/arduino_blog/templates/header.html index 1e90191..12964d4 100644 --- a/arduino_blog/templates/header.html +++ b/arduino_blog/templates/header.html @@ -10,15 +10,36 @@ <meta name="keywords" content="Arduino, projects, github"> <link rel="icon" href="{% static 'website/bootstrap-css/assets/images/logo.png' %}" type="icon"> <title>Arduino Projects</title> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> + <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> --> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> + <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> +<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> +<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> <script> function countChar(val) { var len = val.value.length; var count = $('#charNum').text(0 + len); }; </script> +<style> + + /* Stackoverflow preview fix, please ignore */ + .navbar-nav { + flex-direction: row; + } + .nav-link { + padding-right: .5rem !important; + padding-left: .5rem !important; + } + + /* Fixes dropdown menus placed on the right side */ + .ml-auto .dropdown-menu { + left: auto !important; + right: 0px; + } + </style> </head> {% endblock %}
\ No newline at end of file |