diff --git a/staticFiles/home/base.css b/staticFiles/home/base.css index 38e9b78..655bcfe 100644 --- a/staticFiles/home/base.css +++ b/staticFiles/home/base.css @@ -1,9 +1,16 @@ .footer { - position: absolute; + position: fixed; right: 0; bottom: 0; left: 0; background-color: #222; + height: 120px; +} + +#content { + padding-top: 45px; + margin-bottom: 110px; + clear: both; } .loader-wrapper { diff --git a/staticFiles/home/navstyle.css b/staticFiles/home/navstyle.css new file mode 100644 index 0000000..edff32a --- /dev/null +++ b/staticFiles/home/navstyle.css @@ -0,0 +1,109 @@ +@import url(http://fonts.googleapis.com/css?family=Raleway); +#cssmenu, +#cssmenu ul, +#cssmenu ul li, +#cssmenu ul li a { + margin: 0; + padding: 0; + border: 0; + list-style: none; + line-height: 1; + display: block; + position: relative; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +#cssmenu a { + font-size: 35px; + text-decoration: none; + float:left; + vertical-align: center; +} +#cssmenu:after, +#cssmenu > ul:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +#cssmenu { + width: 100%; + position: absolute; + border-bottom: 3px solid #23527C; + font-family: Raleway, sans-serif; + line-height: 1; + right: 0; + left: 0; +} +#cssmenu ul { + float: right; +} +#cssmenu{ + background: #222; +} +#cssmenu > ul > li { + float: left; +} +#cssmenu.align-center > ul { + font-size: 0; + text-align: center; +} +#cssmenu.align-center > ul > li { + display: inline-block; + float: none; +} +#cssmenu.align-right > ul > li { + float: right; +} +#cssmenu.align-right > ul > li > a { + margin-right: 0; + margin-left: -4px; +} +#cssmenu > ul > li > a { + z-index: 2; + padding: 18px 25px 12px 25px; + font-size: 15px; + font-weight: 400; + text-decoration: none; + color: #EEE; + -webkit-transition: all .2s ease; + -moz-transition: all .2s ease; + -ms-transition: all .2s ease; + -o-transition: all .2s ease; + transition: all .2s ease; + margin-right: -4px; +} +#cssmenu > ul > li.active > a, +#cssmenu > ul > li:hover > a, +#cssmenu > ul > li > a:hover { + color: #ffffff; +} +#cssmenu > ul > li > a:after { + position: absolute; + left: 0; + bottom: 0; + right: 0; + z-index: -1; + width: 100%; + height: 120%; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + content: ""; + -webkit-transition: all .2s ease; + -o-transition: all .2s ease; + transition: all .2s ease; + -webkit-transform: perspective(5px) rotateX(2deg); + -webkit-transform-origin: bottom; + -moz-transform: perspective(5px) rotateX(2deg); + -moz-transform-origin: bottom; + transform: perspective(5px) rotateX(2deg); + transform-origin: bottom; +} +#cssmenu > ul > li.active > a:after, +#cssmenu > ul > li:hover > a:after, +#cssmenu > ul > li > a:hover:after { + background: #23527C; +} diff --git a/templates/base.html b/templates/base.html index 3f7b87e..dbf8b38 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,6 +9,7 @@ {% block title %}Programming Club{% endblock %} + @@ -17,9 +18,12 @@ + {% block styles %} {% endblock %} + + @@ -43,24 +47,16 @@
-
{% block content %}{% endblock %}