From 3eec91d59841b3147d94e60f13016e065f1923f6 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 27 Mar 2018 21:59:59 +0300 Subject: [PATCH] upd --- .../static/imagehosting/css/style.css | 100 +++++++++++++++++ imagehosting/templates/imagehosting/base.html | 101 +----------------- 2 files changed, 102 insertions(+), 99 deletions(-) create mode 100644 imagehosting/static/imagehosting/css/style.css diff --git a/imagehosting/static/imagehosting/css/style.css b/imagehosting/static/imagehosting/css/style.css new file mode 100644 index 0000000..452da03 --- /dev/null +++ b/imagehosting/static/imagehosting/css/style.css @@ -0,0 +1,100 @@ + + body { + margin: 0; + } + + .images { + margin-top: 10px; + margin-left: 25px; + } + + .header { + position: relative; + dispaly: block; + color: black; + background: linear-gradient(#f3f3f3, #e0e0e0); + padding: 10px 25px; + font-size: 30px + } + + ul.menu-icon { + display: none; + float: right; + color: black; + padding: 7px 0 20px; + margin: 0; + } + + .logo { + font-family: 'Open Sans', sans-serif; + color: #696969; + width: 50px; + text-decoration: none; + } + + li { + list-style-type: none + } + + .menu { + position: absolute; + font-size: 20px; + right: 10px; + top: 60px; + display: none; + } + + .menu a { + text-align: right; + display: inline-block; + padding: 10px; + background: #e0e0e0; + width: 90%; + text-decoration: none; + } + + .menu a:hover { + color:#181D2B; + } + + i { + float: right; + } + + .right-menu { + float: right; + padding: 12px; + font-family: 'Open Sans', sans-serif; + font-size: 20px; + display: inline; + } + + a.right-menu { + text-decoration: none; + color: #4368AD; + padding: 9px; + } + + #page-preloader { + position: fixed; + left: 0; + top: 0; + right: 0; + bottom: 0; + background: #fff; + } + #page-preloader .spinner { + width: 32px; + height: 32px; + position: absolute; + left: 50%; + top: 50%; + background: url('https://raw.githubusercontent.com/niklausgerber/PreLoadMe/master/img/status.gif') no-repeat 50% 50%; + margin: -16px 0 0 -16px; + } + + @media screen and (max-width: 450px) { + + ul.menu-icon {display: block} + a.right-menu {display: none} + } diff --git a/imagehosting/templates/imagehosting/base.html b/imagehosting/templates/imagehosting/base.html index 8e64222..e483944 100644 --- a/imagehosting/templates/imagehosting/base.html +++ b/imagehosting/templates/imagehosting/base.html @@ -1,3 +1,4 @@ +{% load staticfiles %} @@ -7,106 +8,8 @@ +