diff --git a/src/scripts/search.tag b/src/scripts/search.tag index 116aa17..7cf67b8 100644 --- a/src/scripts/search.tag +++ b/src/scripts/search.tag @@ -1,26 +1,32 @@
+
+
-
+
-
-
- -
-
- + name="title"> +
+ +
+
+ +
+
+ +
+
diff --git a/src/styles/search.scss b/src/styles/search.scss index cc27e0d..0439bd7 100644 --- a/src/styles/search.scss +++ b/src/styles/search.scss @@ -4,6 +4,10 @@ header { color: $blue; } +.form-group { + margin: auto; +} + .wraptext { white-space: pre-wrap !important; } @@ -77,17 +81,43 @@ a { margin-right: 0px !important; } -.form-item { - padding-left: 5px; - padding-right: 5px; - margin-right: -15px; +.search { + max-width: 60%; + margin-bottom: 10px; + margin-left: auto; + margin-right: auto; + @media (max-width: 735px) { + max-width: 80%; + } + @media (max-width: 480px) { + max-width: 100%; + margin-bottom: 10px; + } +} + +.semester { + margin-bottom: 10px; + @media (max-width: 480px) { + max-width: 100%; + margin-bottom: 10px; + } +} + +.search-btn { + margin-bottom: 10px; + @media (max-width: 480px) { + max-width: 100%; + margin-bottom: 10px; + } +} + +.search-controls { + margin-top: 5px; + margin-left: 20%; } .title { font-weight: bolder; - @media (min-width: 480px) { - margin-left: 80px; - } } .ui-autocomplete { @@ -141,7 +171,7 @@ a { .page-top { font-size: 15px; - width: 50% !important; + width: 80% !important; } .help-toast { diff --git a/src/templates/search.html b/src/templates/search.html index 9debd7c..f4b61d2 100644 --- a/src/templates/search.html +++ b/src/templates/search.html @@ -3,17 +3,17 @@ {{super()}}