From 2545eecd17b3536b8cccacca9be4e6ac2219da96 Mon Sep 17 00:00:00 2001 From: dsc Date: Sun, 10 Feb 2019 01:21:58 +0100 Subject: [PATCH] Some CSS changes --- funding/static/css/{wow.css => wow2.css} | 124 +++++++++++++++++- funding/templates/about.html | 4 +- funding/templates/api.html | 2 +- funding/templates/base.html | 2 +- funding/templates/comments.html | 2 +- funding/templates/donate.html | 4 +- funding/templates/login.html | 13 +- funding/templates/navbar.html | 3 +- funding/templates/proposal/edit.html | 4 +- funding/templates/proposal/macros/table.html | 95 ++++++++------ .../proposal/macros/transaction.html | 8 +- funding/templates/proposal/overview.html | 2 +- funding/templates/proposal/proposal.html | 2 +- funding/templates/proposal/proposals.html | 12 +- funding/templates/sidebar.html | 40 +++--- 15 files changed, 221 insertions(+), 96 deletions(-) rename funding/static/css/{wow.css => wow2.css} (85%) diff --git a/funding/static/css/wow.css b/funding/static/css/wow2.css similarity index 85% rename from funding/static/css/wow.css rename to funding/static/css/wow2.css index 1ae9d73..d130ee2 100644 --- a/funding/static/css/wow.css +++ b/funding/static/css/wow2.css @@ -24,9 +24,8 @@ body { .navbar .navbar-brand img#text{ width:235px; - height:13px; - margin-top: 0px; - margin-left:8px; + margin-top: -4px; + padding-top: 0px; display: inline-block; } @@ -121,6 +120,10 @@ body { .navbar-dark .navbar-brand { color: #fff; font-size: 18pt; + margin-top: 0; + padding-top: 0; + margin-bottom: 0; + padding-bottom: 0; text-shadow: 2px 2px #667ff952; font-family: "Comic Sans MS", "Comic Sans", cursive; } @@ -296,6 +299,13 @@ border: 1px solid #008926 !important; .navbar-dark .navbar-nav .nav-link { color: white; + padding-top: 0.4rem; + padding-bottom: 0.4rem; + font-size: 15px; +} + +.navbar-nav .nav-item { + line-height: 20px; } nav .nav-link{ @@ -310,7 +320,6 @@ nav .nav-link .active{ border-top: 0; } - .proposal-info-table td span.badge{ font-size:20px; } @@ -508,9 +517,18 @@ ul.b { } .sidebar .card-body{ - padding: 1.0rem; - padding-left: 1.25rem; - padding-right: 1.25rem; + padding-top: 1rem; + padding-left: 1rem; + padding-right: 1rem; + font-size: 14px; +} + +.sidebar .card-body ul.b{ + margin-bottom:0; +} + +.card-header { + border-radius: 10px 0 0 !important; } /* cyrillic-ext */ @@ -662,4 +680,96 @@ ul.b { margin-top:10px; margin-bottom:10px; display: block; +} + +.navbar-brand { + margin-top:0 + margin-bottom:0 + padding-top:0 + padding-bottom:0; +} + +.card h5{ + color: #0000009e; + font-size: 14px; +} + +.wowtable{ + width:100%; + display: block; + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace +} +.wowtable .trow{ + width: 100%; + height: 34px; + display: table; +} +.wowtable .trow .item{ + float:right; + width:100px; +} +.wowtable .trow .item.one{ + width:30%; + min-width: 200px; +} +.wowtable .trow .item.small{ + max-width:100px; + text-align:right; +} +.wowtable .trow.header .item span { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + font-size: 14px; + font-weight: 700; + padding-top:6px; + display: block; +} +.wowtable .trow .item.comments{ + max-width:70px; + text-align: center; +} +.wowtable .trow .item.big{ + display: inline-block; + text-align: left; + float: left; + width: auto; + max-width: 50%; +} +.wowtable .trow.header .item.big span{ + padding-left:7px; + padding-top:3px; + font-size:18px; + word-break: break-word; +} +.trow.divider{ + height:1px; + background: #00000029 !important; +} +.wowtable .trow.body .item span { + font-size:14px; + padding-top:6px; + display: block; +} +.wowtable .trow.body .item.big a { + display: block; + padding-left: 7px; + color: #006400; + padding-top: 6px; + font-size: 15px; + font-weight: 700; + word-break: break-word; +} +.wowtable .trow span.alignl{ + text-align:left; + padding-left:7px; +} + + +@media (max-width: 990px) { + +.wowtable .small{ + display:none +} +.wowtable .trow .item.big{ + max-width: 88%; +} } \ No newline at end of file diff --git a/funding/templates/about.html b/funding/templates/about.html index 8e1451b..9bf4eb6 100644 --- a/funding/templates/about.html +++ b/funding/templates/about.html @@ -3,12 +3,12 @@
-
+

About

-
+

A simple funding system made with: diff --git a/funding/templates/api.html b/funding/templates/api.html index 8f81301..f42b322 100644 --- a/funding/templates/api.html +++ b/funding/templates/api.html @@ -3,7 +3,7 @@

-
+

API documentation


diff --git a/funding/templates/base.html b/funding/templates/base.html index 0110a1d..6d57fe7 100644 --- a/funding/templates/base.html +++ b/funding/templates/base.html @@ -48,7 +48,7 @@ - + diff --git a/funding/templates/comments.html b/funding/templates/comments.html index a1bd5de..a7a618e 100644 --- a/funding/templates/comments.html +++ b/funding/templates/comments.html @@ -3,7 +3,7 @@

-
Comments
+
Comments
{% if logged_in %}
diff --git a/funding/templates/donate.html b/funding/templates/donate.html index 427ea23..f2e61c6 100644 --- a/funding/templates/donate.html +++ b/funding/templates/donate.html @@ -3,7 +3,7 @@
-
+

Development Fund

Developer donation address/slush fund (mostly reserved for hookers and blow). @@ -11,7 +11,7 @@

-
+

Donating Wownero

diff --git a/funding/templates/login.html b/funding/templates/login.html index e0334fc..8f23a0f 100644 --- a/funding/templates/login.html +++ b/funding/templates/login.html @@ -10,12 +10,14 @@ float:left; } #xox>img{ - height:42px; - padding-left:4px; + height: 42px; + padding-right: 14px; } -

+

Secure login

+
+
@@ -23,7 +25,7 @@
- +
@@ -46,10 +48,9 @@
-
+ - {% include 'sidebar.html' %}

diff --git a/funding/templates/navbar.html b/funding/templates/navbar.html index a231ed9..da44212 100644 --- a/funding/templates/navbar.html +++ b/funding/templates/navbar.html @@ -2,8 +2,7 @@