Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Corey Sheldon
weather
Commits
2522e9f1
Commit
2522e9f1
authored
Mar 17, 2016
by
Zach
Committed by
Zach Knox
Apr 30, 2016
Browse files
header, only seems to work on larger screens
parent
5c42fd3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
weather/client/weather.css
View file @
2522e9f1
...
...
@@ -13,9 +13,7 @@
.weather-card.mdl-card
{
margin
:
auto
;
margin-top
:
10px
;
width
:
auto
;
height
:
250px
;
background
:
#425195
;
}
.weather-card
>
.mdl-card__title
,
...
...
@@ -24,7 +22,7 @@
}
.forecast-grid.mdl-grid
{
width
:
80%
;
}
.out-of-focus-card.mdl-card
{
margin
:
auto
;
...
...
weather/client/weather.html
View file @
2522e9f1
<body>
<div
class=
"bg"
>
{{> weather}}
{{> footer}}
</div>
<div
class=
"mdl-layout mdl-js-layout"
>
<header
class=
"mdl-layout__header"
>
<div
class=
"mdl-layout__header-row"
>
<span
class=
"mdl-layout__title"
>
Weather
</span>
</div>
</header>
<main
class=
"mdl-layout__content"
>
<div>
<div
class=
"bg"
>
{{> weather}}
{{> footer}}
</div>
</div>
</main>
</div>
</body>
<template
name=
"weather"
>
...
...
@@ -74,6 +87,15 @@
<hr>
</template>
<template
name=
"header"
>
<header
class=
"mdl-layout__header mdl-layout__header--scroll"
>
<div
class=
"mdl-layout__header-row"
>
<span
class=
"mdl-layout__title"
>
Weather
</span>
<div
class=
"mdl-layout-spacer"
></div>
</div>
</header>
</template>
<template
name=
"footer"
>
<footer
class=
"mdl-mini-footer"
>
<div
class=
"mdl-mini-footer__left-section"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment