Last active
August 29, 2015 14:04
-
-
Save guyjin/22fc65513b96f518b7ee to your computer and use it in GitHub Desktop.
css for classWeather widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| overflow-y: scroll; | |
| } | |
| .panel { | |
| margin-top: 3em; | |
| -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| } | |
| .panel-default > .panel-heading { | |
| background: transparent; | |
| border: 0; | |
| } | |
| .panel-default > .panel-heading:hover { | |
| cursor:move; | |
| } | |
| .panel-title { | |
| text-align: center; | |
| font-size: 2.5em; | |
| font-weight: 700; | |
| } | |
| .stats { | |
| padding-bottom: 1em; | |
| } | |
| .stats span { | |
| opacity: 0; | |
| transition: all .5s ease; | |
| } | |
| .stats.has * { | |
| opacity: 1; | |
| } | |
| #cityTemp { | |
| display: inline-block; | |
| width: 60px; | |
| line-height: 50px; | |
| text-align: center; | |
| margin-left: 40px; | |
| } | |
| #icon { | |
| height: 50px; | |
| width: 50px; | |
| display: inline-block; | |
| } | |
| #icon img { | |
| /*opacity: 0;*/ | |
| /*transition: all .5s ease;*/ | |
| height: 50px; | |
| width: 50px; | |
| } | |
| /*#icon img.hasSrc {*/ | |
| /*opacity: 1;*/ | |
| /*}*/ | |
| #description { | |
| display: inline-block; | |
| line-height: 50px; | |
| } | |
| .controls { | |
| border-top: 1px dotted #999; | |
| padding-top: 2em; | |
| text-align: center; | |
| } | |
| #city { | |
| margin-bottom: 1em; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment