From e9733e930d4b9b8ea6c59bd5e37994693bd22e6d Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 13 Mar 2015 16:11:13 -0400 Subject: [PATCH] Better search area, slideshow php, blocks php. --- root/assets/logo.png | Bin 0 -> 537 bytes root/functions.php | 2 +- root/header.php | 16 +++++++---- root/parts/slide-show.php | 12 ++++---- root/scss/_structure.scss | 56 ++++++++++++++++++++++++++++++-------- root/search.php | 38 ++++++++++++++++++++++++++ 6 files changed, 99 insertions(+), 25 deletions(-) create mode 100644 root/assets/logo.png create mode 100644 root/search.php diff --git a/root/assets/logo.png b/root/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2779936b69cc76c38e17c82b49702c4488fcf3c1 GIT binary patch literal 537 zcmV+!0_OckNk%v~VU_@v0OJ4v%*@P|mX^N0zMPz#v9YnEqoc*e#kaS&s;a6000000 z00000000000000000000EC2ui0G0rj000F35XecZy*TU5yZ>M)j$~<`XsWJk>%MR- z&vb3yc&_h!@BhG{a7Zi~kI1BQ$!t2G(5Q4uty-_xtai)odcWYXcuX#v&*-#z&2GEj z@VIis3t-Z?? zy959T0jkNkBkJwr7ViM@2x#ob1kV$S4RdATlz?~vH1r$r z4;lc0(FmUDR}0!g3*Laq%Rmv8MQqRH#IQr~>cGZ}_ed4kFtX%Hko-bsLs>)y?~x9{J;g9{%{ bytwh>$dfBy&b+zv=g^}|pH98{iwFQa?JEdo literal 0 HcmV?d00001 diff --git a/root/functions.php b/root/functions.php index 4849bc0..a0cab5a 100644 --- a/root/functions.php +++ b/root/functions.php @@ -132,7 +132,7 @@ function glm_site_scripts() /* Header for posts*/ -function GLM_get_header() { +function glm_get_header() { echo '
-
+
-
- -
-
- +
+
diff --git a/root/parts/slide-show.php b/root/parts/slide-show.php index f4ff144..e566daa 100644 --- a/root/parts/slide-show.php +++ b/root/parts/slide-show.php @@ -1,6 +1,6 @@ -
- -
+'; + echo do_shortcode("[metaslider id=27]"); + echo '
'; +} +?> diff --git a/root/scss/_structure.scss b/root/scss/_structure.scss index 70d29cc..bbaf06b 100644 --- a/root/scss/_structure.scss +++ b/root/scss/_structure.scss @@ -11,7 +11,7 @@ //@font-face { // font-family: "Rage Italic"; // src: url('assets/Rage Italic.ttf') format ('truetype'); -//} +// body { background: #e6e7e9; #page-wrapper { @@ -23,6 +23,7 @@ body { padding-top: rem-calc(20); header { a { + position: relative; margin: 0 .643rem; img { padding-bottom: rem-calc(20); @@ -38,16 +39,48 @@ body { padding: 0 rem-calc(10); font-size: rem-calc(15); } - &#magnifying-glass { - font-size: 10em; /* This controls the size. */ + + } + #top_search { + position: relative; + float: right; + width: 100%; + max-width: 12rem; + #searchform { + position: relative; + } + a { + margin: 0; + position: absolute; + right: rem-calc(2); + top: rem-calc(12); + width: rem-calc(20); + height: rem-calc(20); + padding: 1px; + } + .search-button { + width: 17px; + height: 17px; + background-image: url("../assets/search_button.png"); + background-size: cover; + background-repeat: no-repeat; + display: block; + position: absolute; + right: 3px; + top: 3px; + } + } + +/* #magnifying-glass { + font-size: 10em; This controls the size. display: inline-block; width: rem-calc(10); height: rem-calc(10); border: rem-calc(2) solid $black; - position: relative; + position: absolute; border-radius: 0.35em; - bottom: rem-calc(-15); - right: rem-calc(-355); + top: rem-calc(2); + right: rem-calc(8); &:before { content: ""; display: inline-block; @@ -63,10 +96,9 @@ body { -ms-transform: rotate(45deg); transform: rotate(45deg); } - } - } - input { - width: rem-calc(163); + }*/ + .search-input { + width: 100%; border: 2px solid #b2b3b6; border-radius: 3px; padding: 0 5px; @@ -75,7 +107,7 @@ body { margin: rem-calc(10) 0 1rem; } .top-bar { - @include gradient(#1999ce, #107098); + @include gradient(blue, red); margin-top: rem-calc(10); .top-bar-section { background: transparent; @@ -172,7 +204,7 @@ body { font-style: italic; font-size: rem-calc(36); } - .glm_blocks { + .blocks { margin-bottom: rem-calc(45); img { border: 5px solid $green; diff --git a/root/search.php b/root/search.php new file mode 100644 index 0000000..a5be70c --- /dev/null +++ b/root/search.php @@ -0,0 +1,38 @@ + +
+

Search Results for ""


+ +
+
+
+ +
> +
Page:
+ + +
+ + + +
+
+
+
+
+ + + + + +
+

+
+ +
+ -- 2.17.1