diff --git a/static/css/main.css b/static/css/main.css index 0fd9d8c..184ffda 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -47,12 +47,6 @@ a { .uk-icon-google-plus, .uk-icon-google-plus-square { color: #D34836; } -.uk-icon-github { - color: #333; } - -.uk-icon-envelope { - color: #444; } - .uk-nav-side > li.uk-active > a { background: #28D1B2; } @@ -126,9 +120,9 @@ a { align-items: center; } .mg-tag-filter { background-color: transparent; - border: 1px solid white; + border: 2px solid white; overflow: visible; - color: black; + color: #444; font: inherit; padding: .5rem 1.5rem; margin: .5rem 1rem; @@ -138,11 +132,9 @@ a { border-color: #b2b2b2; text-decoration: none; } .mg-tag-filter-enabled { - background-color: #33b5e5; - border-color: black; } + background-color: #33b5e5; } .mg-tag-filter-disabled { - background-color: #FF9148; - border-color: black; } + background-color: #FF9148; } .mg-nav-small { width: 100% } @@ -209,17 +201,17 @@ a { .mg-author { margin-top: 1em; } +.mg-icon-link { + padding: .3rem; + color: #444; } .mg-icon-link:hover { text-decoration: none; } .mg-icons-small { margin-bottom: 1em; } -.mg-icons-small > li > a { - color: white; } - .mg-icons-small > li > a:hover { - color: white; } .mg-icons-small .uk-icon-rss { + color: white; background-color: #FF6600; } .mg-icons-small .uk-icon-twitter { background-color: #00B0ED; } @@ -227,8 +219,6 @@ a { background-color: #3B5999; } .mg-icons-small .uk-icon-google-plus { background-color: #D34836; } -.mg-icons-small .uk-icon-github { - background-color: #333; } .mg-icons-small .uk-icon-envelope { background-color: #059; } @@ -238,14 +228,16 @@ a { height: 28px; width: 28px; background-image: url(../shaarli-icon.png); - background-size: contain;} + background-size: contain; + vertical-align: middle; } .uk-icon-stackoverflow:before { content: ' '; display: inline-block; height: 28px; width: 28px; background-image: url(../stackoverflow-icon.png); - background-size: contain;} + background-size: contain; + vertical-align: middle; } .mg-support-logo { margin: .5rem;} diff --git a/static/js/tipuesearch.js b/static/js/tipuesearch.js index e45d811..10ef6ca 100644 --- a/static/js/tipuesearch.js +++ b/static/js/tipuesearch.js @@ -95,9 +95,9 @@ http://www.tipue.com/search { return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20')) || null; } - if (getURLP('content')) + if (getURLP('q')) { - $('main .tipue_search').val(getURLP('content')); + $('main .tipue_search').val(getURLP('q')); getTipueSearch(0, true); } diff --git a/templates/base.html b/templates/base.html index 955e482..e21ab03 100644 --- a/templates/base.html +++ b/templates/base.html @@ -65,7 +65,7 @@
You are using an outdated browser. Please upgrade your browser to improve your experience.
-