diff --git a/server/styles/weatherdisplay.css b/server/styles/weatherdisplay.css new file mode 100644 index 0000000..869e64f --- /dev/null +++ b/server/styles/weatherdisplay.css @@ -0,0 +1,61 @@ +.weather-display { + width: 640px; + height: 480px; + overflow: hidden; + position: relative; + background-image: url(../images/BackGround1_1.png); + /* background-attachment: fixed; */ +} + +.weather-display .header { + width: 640px; + height: 70px; + padding-top: 30px; +} + +.weather-display .header .title { + color: yellow; + text-shadow: 3px 3px black; + font-family: 'Star4000'; + font-size: 24pt; + position: absolute; + left: 170px; + top: 25px; +} + +.weather-display .header .logo { + top: 30px; + left: 50px; + position: absolute; +} + +.weather-display .header .title.single { + top: 40px; +} + +.weather-display .header .date-time { + white-space: pre; + color: white; + font-family: 'Star4000 Small'; + font-size: 24pt; + text-shadow: 2px 2px black; + left: 430px; + position: absolute; +} +.weather-display .header .date-time#date { + padding-top: 22px; +} + + +.weather-display .main-has-scroll { + width: 640px; + height: 310px; + overflow: hidden; +} + +.weather-display .scroll { + width: 640px; + height: 80px; + overflow: hidden; +} + diff --git a/views/index.ejs b/views/index.ejs index 51f2a46..7868598 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -28,6 +28,7 @@ <% } else { %> + @@ -89,7 +90,10 @@
Enter your location above to continue
- +
+ <%- include('partials/hourly.ejs') %> +
+
diff --git a/views/partials/header.ejs b/views/partials/header.ejs new file mode 100644 index 0000000..dee4c1c --- /dev/null +++ b/views/partials/header.ejs @@ -0,0 +1,6 @@ +
+ +
<%-title %>
+
12:00:00PM
+
MON JAN 1
+
\ No newline at end of file diff --git a/views/partials/hourly.ejs b/views/partials/hourly.ejs new file mode 100644 index 0000000..d6b27ad --- /dev/null +++ b/views/partials/hourly.ejs @@ -0,0 +1,5 @@ +<%- include('header.ejs', {title: 'Hourly Forecast'}) %> +
+ Main +
+<%- include('scroll.ejs') %> \ No newline at end of file diff --git a/views/partials/scroll.ejs b/views/partials/scroll.ejs new file mode 100644 index 0000000..5d37f43 --- /dev/null +++ b/views/partials/scroll.ejs @@ -0,0 +1,3 @@ +
+ Scroll +
\ No newline at end of file