diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-16 21:29:52 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-16 21:29:52 +0530 |
commit | b1a18d1ee5f198e02f15254d62f50c6810e5ba5f (patch) | |
tree | 613b33baef7efb94d9d9854ca21fd8d86c45a158 | |
parent | 511ea52764f05e310af18422e22951e44acf3992 (diff) |
fixed bottom margin and added footer css as inline
-rw-r--r-- | app/templates/base.html | 107 |
1 files changed, 104 insertions, 3 deletions
diff --git a/app/templates/base.html b/app/templates/base.html index b76863b..5c06eba 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -5,7 +5,6 @@ <title>Curie Web</title> <!--<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.2/solar/bootstrap.min.css">--> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> - <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}"> <link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='favicons/apple-touch-icon.png') }}"> <link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicons/favicon-32x32.png') }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='favicons/favicon-16x16.png') }}"> @@ -86,10 +85,112 @@ <p>The Curie Project aims to make the process of CADD from ideation to in-silico testing as easy as possible.</p> </div> </div> - <p>Check License on GitHub UwU</p> </div> </footer> - </div> + </div> + + + <style> + :root { + +} + +html { + position: relative; + min-height: 100%; +} + + +.footer-dark { + padding: 50px 0; + color: #f0f9ff; + background-color: #282d32; +} + +.footer-dark h3 { + margin-top: 0; + margin-bottom: 12px; + font-weight: bold; + font-size: 16px; +} + +.footer-dark ul { + padding: 0; + list-style: none; + line-height: 1.6; + font-size: 14px; + margin-bottom: 0; +} + +.footer-dark ul a { + color: inherit; + text-decoration: none; + opacity: 0.6; +} + +.footer-dark ul a:hover { + opacity: 0.8; +} + +@media (max-width:767px) { + .footer-dark .item:not(.social) { + text-align: center; + padding-bottom: 20px; + } +} + +.footer-dark .item.text { + margin-bottom: 36px; +} + +@media (max-width:767px) { + .footer-dark .item.text { + margin-bottom: 0; + } +} + +.footer-dark .item.text p { + opacity: 0.6; + margin-bottom: 0; +} + +.footer-dark .item.social { + text-align: center; +} + +@media (max-width:991px) { + .footer-dark .item.social { + text-align: center; + margin-top: 20px; + } +} + +.footer-dark .item.social > a { + font-size: 20px; + width: 36px; + height: 36px; + line-height: 36px; + display: inline-block; + text-align: center; + border-radius: 50%; + box-shadow: 0 0 0 1px rgba(255,255,255,0.4); + margin: 0 8px; + color: #fff; + opacity: 0.75; +} + +.footer-dark .item.social > a:hover { + opacity: 0.9; +} + +.footer-dark .copyright { + text-align: center; + padding-top: 24px; + opacity: 0.3; + font-size: 13px; + margin-bottom: 0; +} + </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>--> |