diff --git a/html-ONLY-site/css/desktop.css b/html-ONLY-site/css/desktop.css new file mode 100644 index 0000000..60e1a38 --- /dev/null +++ b/html-ONLY-site/css/desktop.css @@ -0,0 +1,21 @@ +@media only screen and (min-width: 65em) { + + +} + +@media only screen and (min-width: 45em) { + div.well-card { + border: 2px solid #4d4d4d; + margin: 1.5rem; + } + main.search{ + display: flex; + justify-content: center; + } + + main.search a{ + color: inherit; + width: 50%; + } + +} \ No newline at end of file diff --git a/html-ONLY-site/css/main.css b/html-ONLY-site/css/main.css index b7ee4d8..4af3c66 100644 --- a/html-ONLY-site/css/main.css +++ b/html-ONLY-site/css/main.css @@ -84,36 +84,48 @@ textarea { box-sizing: border-box; font-family: "roboto"; } - main.intro{ - position: fixed; - margin-top: 0; - padding: 3rem; + margin: 0; + padding: 0; + width: 100vw; + height: 100vh; background-color: #65b2ff; + display: flex; + justify-content: center; + align-items: center; +} +div.intro{ + margin-top: 1rem; + margin: 1rem 1rem 1rem 1rem; + padding: 3rem; height: 100vh; top: 0; display: flex; flex-direction: column; justify-content: space-around; text-align: center; + max-width: 35rem; + max-height: 40rem; } -main.intro h1{ - font-size: 2.75rem; +.intro h1{ + font-size: 2.3rem; color: #000633; } -main.intro p{ +.intro p{ text-align: left; height: 40vh; - color: white + color: white; + line-height: 1.45rem; } -main.intro a{ +.intro a{ font-size: 2rem; color: white; text-decoration: none; padding: 1rem; background-color: #000633; border-radius: 10px; + width: 100%; } nav h1{ flex-grow: 1; @@ -145,9 +157,15 @@ div.slide-menu{ display: flex; flex-direction: column; padding: 1rem; - //padding-top: 5rem; box-shadow: 5px 0px 8px rgba(0, 0, 0, 0.35); } + +div.main-bttns{ + display: flex; + align-items: center; + flex-direction: row; + width: 100%; +} div.slide-menu button{ margin: 1rem 0; text-align: left; @@ -155,10 +173,10 @@ div.slide-menu button{ font-size: 1.2rem; } div.slide-menu p{ - //margin-top: rem; +/* margin-top: rem;*/ } div.slide-menu a{ - //margin-top: 0rem; +/* margin-top: 0rem;*/ } div.close-menu{ position: fixed; @@ -246,11 +264,17 @@ button { main{ margin-top: 4.1rem; } +main.map { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} main.details { display: flex; flex-direction: column; justify-content: flex-start; - align-items: flex-start + align-items: flex-start; } form{ @@ -350,14 +374,24 @@ input[type=search]{ margin: .5rem; background: rgba(255, 255, 255, 0.19); border: none; - //border-bottom: 2px rgb(255, 255, 255) solid; +/* //border-bottom: 2px rgb(255, 255, 255) solid;*/ color: white; font-weight: 600; font-size: 1.2rem; border-radius: 5px; + max-width: 40rem; } -main.details{ +nav.search{ + justify-content: center; } +div.desk-details { + display: none; +} + + + + + /* ========================================================================== Helper classes diff --git a/html-ONLY-site/css/map-desktop.css b/html-ONLY-site/css/map-desktop.css new file mode 100644 index 0000000..9c6b616 --- /dev/null +++ b/html-ONLY-site/css/map-desktop.css @@ -0,0 +1,60 @@ +@media only screen and (min-width: 65em) { + /* Style adjustments for viewports that meet the condition */ + nav.top-nav{ + width: 5rem; + } + nav.top-nav div.main-bttns{ + flex-direction: column; + } + nav.top-nav h1{ + display: none; + } + nav .slide-menu{ + } + + nav.bottom-nav{ + width: 5rem; + flex-direction: column; + height: calc(100vh - 8rem); + margin-top: 5rem; + justify-content: flex-start; + padding-top: 4rem; + } + nav.bottom-nav button{ + margin-bottom: 3rem; + } + + div.well-card{ + margin-left: 0; + margin-right: 0; + top: auto; + bottom: 1rem; + left: auto; + right: auto; + display: none; + } + + div.desk-details{ + display: block; + position: fixed; + right: 0; + top: 0; + width: 23rem; + height: 100vh; + overflow-y: scroll; + border-left: solid black 2px; + } + div.desk-details ul{ + margin: 1rem + } + div.desk-details li, div.desk-details p{ + margin: 0rem + } + nav.fabs{ + left: 6rem; + bottom: 1rem; + } + main.details{ + margin-top: 0rem; + } +} \ No newline at end of file diff --git a/html-ONLY-site/css/well-card.css b/html-ONLY-site/css/well-card.css index e74d63a..7081a3e 100644 --- a/html-ONLY-site/css/well-card.css +++ b/html-ONLY-site/css/well-card.css @@ -14,6 +14,11 @@ div.well-card p{ } div.well-card { border-bottom: 2px solid #4d4d4d; + max-width: 41rem; + width: 100%; +/* display: block;*/ +/* margin-left: 0;*/ +/* margin-right: 0;*/ } div.well-card .well-img{ @@ -23,4 +28,12 @@ div.well-card .well-img{ float: left; width: 35%; height: 8rem; +} + +a.search-result{ + color: inherit; +} + +@media only screen and (min-width: 65em) { + } \ No newline at end of file diff --git a/html-ONLY-site/details.html b/html-ONLY-site/details-content.php similarity index 75% rename from html-ONLY-site/details.html rename to html-ONLY-site/details-content.php index 6803427..3e84a08 100644 --- a/html-ONLY-site/details.html +++ b/html-ONLY-site/details-content.php @@ -1,41 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-

- - - - - - - - - - - + \ No newline at end of file diff --git a/html-ONLY-site/details.php b/html-ONLY-site/details.php new file mode 100644 index 0000000..a82fe0d --- /dev/null +++ b/html-ONLY-site/details.php @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + diff --git a/html-ONLY-site/form.html b/html-ONLY-site/form.html index c357a4f..c97f81c 100644 --- a/html-ONLY-site/form.html +++ b/html-ONLY-site/form.html @@ -31,7 +31,7 @@ diff --git a/html-ONLY-site/index.html b/html-ONLY-site/index.html index e6c41ea..dd7027f 100644 --- a/html-ONLY-site/index.html +++ b/html-ONLY-site/index.html @@ -22,12 +22,12 @@ -
- +
+

Connecticut
Well Report App

Use this app to pull up data on any well in Connecticut on site and see it's details. Also, fill out and submit well report forms within the app.

- Continue - + Continue +
diff --git a/html-ONLY-site/map.html b/html-ONLY-site/map.php similarity index 83% rename from html-ONLY-site/map.html rename to html-ONLY-site/map.php index c7fe06b..a5f6004 100644 --- a/html-ONLY-site/map.html +++ b/html-ONLY-site/map.php @@ -1,12 +1,12 @@ - + - + WRA | Map @@ -14,6 +14,7 @@ + @@ -34,8 +35,10 @@ -
+
@@ -71,12 +74,18 @@

Well Name

DETAILS + +
+ +