From 2c77827e8cb3daeb0a36af5e17cb18c495e08017 Mon Sep 17 00:00:00 2001 From: Erik Lindsay Date: Mon, 17 Apr 2017 15:40:36 -0400 Subject: [PATCH] map fixed --- html-ONLY-site/css/desktop.css | 14 ++- html-ONLY-site/css/main.css | 28 +++++- html-ONLY-site/css/map-desktop.css | 21 +++- html-ONLY-site/css/well-card.css | 3 +- html-ONLY-site/search.html | 2 +- map.php | 150 +++++++++++++++++++++++++++++ 6 files changed, 206 insertions(+), 12 deletions(-) create mode 100644 map.php diff --git a/html-ONLY-site/css/desktop.css b/html-ONLY-site/css/desktop.css index 146eeaa..3ac26d7 100644 --- a/html-ONLY-site/css/desktop.css +++ b/html-ONLY-site/css/desktop.css @@ -2,7 +2,7 @@ div.well-card { border: 2px solid #4d4d4d; margin: 1.5rem; - width: 41rem; + max-width: 41rem; } main.list { @@ -11,13 +11,18 @@ /* justify-content: center;*/ align-items: center; } + + main.list a{ + width: 75%; + max-width: 41rem; + } } @media only screen and (min-width: 45em) { div.well-card { border: 2px solid #4d4d4d; margin: 1.5rem; - width: 41rem; + max-width: 41rem; } main.search{ display: flex; @@ -27,7 +32,9 @@ main.search a{ color: inherit; width: 50%; + max-width: 41rem; } + } @@ -44,4 +51,7 @@ flex-direction: column; align-items: center; } + main.map{ + margin-top: 0; + } } diff --git a/html-ONLY-site/css/main.css b/html-ONLY-site/css/main.css index 25173e7..fe9e812 100644 --- a/html-ONLY-site/css/main.css +++ b/html-ONLY-site/css/main.css @@ -130,6 +130,7 @@ div.intro{ nav h1{ flex-grow: 1; margin: 0; + font-size: 1.5rem; } nav.top-nav { @@ -187,7 +188,7 @@ div.close-menu{ } h3{ margin: 0; - font-size: 1.5rem; + font-size: 1.25rem; } a.settings{ position: absolute; @@ -278,16 +279,34 @@ button { height: 100% !important; } */ - +.google-maps { + position: relative; + + padding-bottom: 100vh; + height: 0; + overflow: hidden; + } + .google-maps iframe { + position: absolute; + top: 0; + left: 0; + width: 100% !important; + height: 100% !important; + } main{ - margin-top: 4.1rem; +/* margin-top: 4.1rem;*/ + margin-top: 0; } + +/* main.map { display: flex; justify-content: center; align-items: center; flex-direction: column; } +*/ + main.details { display: flex; flex-direction: column; @@ -412,6 +431,9 @@ div.group{ max-width: 26rem; } +main.search{ + margin-top: 4.2rem; +} /* ========================================================================== diff --git a/html-ONLY-site/css/map-desktop.css b/html-ONLY-site/css/map-desktop.css index 85ffd4c..c9f8dd0 100644 --- a/html-ONLY-site/css/map-desktop.css +++ b/html-ONLY-site/css/map-desktop.css @@ -43,6 +43,7 @@ height: 100vh; overflow-y: scroll; border-left: solid black 2px; + background-color: white; } div.desk-details ul{ margin: 1rem @@ -57,9 +58,19 @@ main.details{ margin-top: 0rem; } - a.go-to{ - float: right; - margin: 1rem; - - } +a.go-to{ +/* + width: 23rem; + background-color: #65b2ff; + color: white; +*/ + font-size: 1.25rem; + color: #65b2ff; +/* + margin: 0 0 0 0; + padding: 2rem; +*/ + float: right; + margin: 1rem; +} } diff --git a/html-ONLY-site/css/well-card.css b/html-ONLY-site/css/well-card.css index d9bb251..9215fef 100644 --- a/html-ONLY-site/css/well-card.css +++ b/html-ONLY-site/css/well-card.css @@ -15,7 +15,8 @@ div.well-card p{ div.well-card { border-bottom: 2px solid #4d4d4d; max-width: 41rem; - width: 100%; + width: calc(100% - 16px); + box-sizing: border-box; /* display: block;*/ /* margin-left: 0;*/ /* margin-right: 0;*/ diff --git a/html-ONLY-site/search.html b/html-ONLY-site/search.html index 9e7faea..4789bda 100644 --- a/html-ONLY-site/search.html +++ b/html-ONLY-site/search.html @@ -39,7 +39,7 @@
- +
diff --git a/map.php b/map.php new file mode 100644 index 0000000..1bf2dd6 --- /dev/null +++ b/map.php @@ -0,0 +1,150 @@ + + + + + + + + + WRA | Map + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ +
+ + + +
+
+
+

Well Name

+

short well description

+ DETAILS +
+
+ +
+ go to > + +
+ +
+ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file