summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-06-01 15:49:55 +0200
committerromangraef <roman.graef@gmail.com>2018-06-01 15:49:55 +0200
commit7bed1685b66f126b7130e43304ad8f53f69a3aff (patch)
treef7a12a3f722bc48d0e03f08aa574b4966ba960f4 /static
parenta4717724853ce92888c8aa6c082a25428e00720b (diff)
downloadmy-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.tar.gz
my-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.tar.bz2
my-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.zip
Enhanced editing and a bnit of more admin links.
Diffstat (limited to 'static')
-rw-r--r--static/.gallery.scss2
-rw-r--r--static/.popup.scss2
-rw-r--r--static/edit.js2
-rw-r--r--static/main.css20
-rw-r--r--static/main.css.map2
-rw-r--r--static/main.scss21
6 files changed, 42 insertions, 7 deletions
diff --git a/static/.gallery.scss b/static/.gallery.scss
index 0b75b92..9594dd3 100644
--- a/static/.gallery.scss
+++ b/static/.gallery.scss
@@ -11,7 +11,7 @@
padding: 10px;
width: 32%;
min-height: 200px;
- margin: 0.8%;
+ margin: 0.6%;
border: gray 1px solid;
}
diff --git a/static/.popup.scss b/static/.popup.scss
index 4bc4650..a3e9df6 100644
--- a/static/.popup.scss
+++ b/static/.popup.scss
@@ -3,7 +3,7 @@
animation-duration: 6s;
animation-iteration-count: 1;
position: fixed;
- bottom: 10px;
+ bottom: 60px;
text-align: center;
animation-fill-mode: forwards;
}
diff --git a/static/edit.js b/static/edit.js
index 7bdc575..41a82ca 100644
--- a/static/edit.js
+++ b/static/edit.js
@@ -1,6 +1,6 @@
function save_changes() {
let summary = $("#summary").val();
- let description = $("#description").text();
+ let description = $("#description").val();
let link = $("#link").val();
let name = $("#name").val();
$.ajax({
diff --git a/static/main.css b/static/main.css
index 85292fb..7cc478c 100644
--- a/static/main.css
+++ b/static/main.css
@@ -69,7 +69,7 @@ table {
padding: 10px;
width: 32%;
min-height: 200px;
- margin: 0.8%;
+ margin: 0.6%;
border: gray 1px solid; }
.gallery-element:hover {
@@ -89,7 +89,7 @@ table {
animation-duration: 6s;
animation-iteration-count: 1;
position: fixed;
- bottom: 10px;
+ bottom: 60px;
text-align: center;
animation-fill-mode: forwards; }
@@ -121,4 +121,20 @@ a {
color: inherit;
text-decoration: inherit; }
+.footer {
+ border-top: 1px black solid;
+ bottom: 0;
+ position: fixed;
+ text-align: center;
+ height: 50px;
+ width: 100%;
+ margin: 0;
+ background: #e2e1e1; }
+
+body {
+ padding-bottom: 50px; }
+
+b {
+ font-weight: 500; }
+
/*# sourceMappingURL=main.css.map */
diff --git a/static/main.css.map b/static/main.css.map
index 941eab4..b0f4831 100644
--- a/static/main.css.map
+++ b/static/main.css.map
@@ -1,6 +1,6 @@
{
"version": 3,
-"mappings": "AAEA,cAAe;EACb,OAAO,EAAE,aAAa;EACtB,kBAAkB,EAAE,WAAW;EAC/B,eAAe,EAAE,WAAW;EAC5B,cAAc,EAAE,WAAW;EAC3B,aAAa,EAAE,WAAW;EAC1B,UAAU,EAAE,WAAW;EACvB,KAAK,EATM,OAAO;;AAapB,oBAAqB;EACnB,KAAK,EAbM,KAAK;;AAgBlB,QAAS;EACP,UAAU,EAlBC,OAAO;EAmBlB,KAAK,EAlBM,KAAK;;ACDlB;;;;;;;;;;;;wBAYyB;EACvB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,SAAS,EAAE,IAAI;EACf,IAAI,EAAE,OAAO;EACb,cAAc,EAAE,QAAQ;;AAG1B,iDAAiD;AACjD;0CAC2C;EACzC,OAAO,EAAE,KAAK;;AAGhB,IAAK;EACH,WAAW,EAAE,CAAC;;AAGhB,MAAO;EACL,UAAU,EAAE,IAAI;;AAGlB,aAAc;EACZ,MAAM,EAAE,IAAI;;AAGd;iBACkB;EAChB,OAAO,EAAE,EAAE;EACX,OAAO,EAAE,IAAI;;AAGf,KAAM;EACJ,eAA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e,EAAE,SAAS;EAC1B,cAAc,EAAE,SAAS;EACzB,aAAa,EAAE,SAAS;EACxB,UAAU,EAAE,SAAS;;AC3BvB,MAAO;EACL,cAAc,EAAE,KAAK;EACrB,kBAAkB,EAAE,EAAE;EACtB,yBAAyB,EAAE,CAAC;EAC5B,QAAQ,EAAE,KAAK;EACf,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,MAAM;EAClB,mBAAmB,EAAE,QAAQ;;AAG/B,gBAYC;EAXC,EAAG;IACD,OAAO,EAAE,IAAI;EAGf,GAAI;IACF,OAAO,EAAE,IAAI;EAGf,IAAK;IACH,OAAO,EAAE,CAAC;ACfd,CAAE;EACA,WAAW,EAAE,mCAAmC;;AAGlD,QAAS;EACP,OAAO,EAAE,IAAI;EACb,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,MAAM;EACd,KAAK,EAAE,GAAG;EACV,SAAS,EAAE,KAAK;;AAGlB,EAAG;EACD,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,GAAG;;AAGb,OAAQ;EACN,MAAM,EAAE,IAAI;;AAGd,CAAE;EACA,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,OAAO;;AAG1B,OAAQ;EACN,UAAU,EAAE,eAAe;EAC3B,MAAM,EAAE,CAAC;EACT,QAAQ,EAAE,KAAK;EACf,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,CAAC;EACT,UAAU,EAAE,OAAO;;AAGrB,IAAK;EACH,cAAc,EAAE,IAAI;;AAGtB,CAAE;EACA,WAAW,EAAE,GAAG",
"sources": [".spoiler.scss",".reset.scss",".gallery.scss",".popup.scss","main.scss"],
"names": [],
"file": "main.css"
diff --git a/static/main.scss b/static/main.scss
index 36a275e..0aa858e 100644
--- a/static/main.scss
+++ b/static/main.scss
@@ -27,4 +27,23 @@ h1 {
a {
color: inherit;
text-decoration: inherit;
-} \ No newline at end of file
+}
+
+.footer {
+ border-top: 1px black solid;
+ bottom: 0;
+ position: fixed;
+ text-align: center;
+ height: 50px;
+ width: 100%;
+ margin: 0;
+ background: #e2e1e1;
+}
+
+body {
+ padding-bottom: 50px;
+}
+
+b {
+ font-weight: 500;
+}