You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
erikflowers_weather-icons/src/less/main.less

368 lines
6.2 KiB
Plaintext

body {
font-family: @copy;
font-weight: @light;
font-size: 14px;
color: hsl(0, 0%, 20%);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: @copy;
}
header {
position: relative;
height: 100px;
padding-top: 0px;
background: url("img/sky.jpg") top center no-repeat fixed;
border-bottom: 10px solid hsl(0, 0%, 25%);
@media (min-width: @screen-tablet) {
height: 300px;
}
h1 {
float: left;
font-family: @hairline;
font-weight: @ultraLight;
font-size: 40px;
margin-top: 40px;
margin-left: 0px;
color: hsl(0, 0%, 100%);
text-shadow: 0px 2px 2px hsla(0, 0%, 0%, .9);
@media (min-width: @screen-tablet) {
font-size: 60px;
margin-top: 180px;
}
}
.icon {
position: absolute;
right: 20px;
top: 40px;
//bottom: 10px;
color: hsl(0, 0%, 100%);
font-size: 55px;
margin-left: 100px;
//margin-top: 120px;
float: left;
line-height: .65em;
text-shadow: 0px 2px 2px hsla(0, 0%, 0%, .5);
@media (min-width: @screen-tablet) {
font-size: 200px;
top: 100px;
}
}
}
footer {
height: 200px;
background-color: hsl(0, 0%, 20%);
margin-top: 30px;
color: hsl(0, 0%, 100%);
padding-top: 15px;
font-weight: @normal;
a {
color: hsl(0, 0%, 70%);
}
}
.buttons {
font-size: 100px;
}
.intro-icons {
font-size: 15px;
color: hsl(208, 56%, 47%);
i {
margin-right: 10px;
}
@media (min-width: @screen-tablet) {
font-size: 25px;
i {
margin-right: 10px;
}
}
@media (min-width: @screen-desktop) {
font-size: 35px;
i {
margin-right: 10px;
}
}
}
.headline {
font-size: 25px;
line-height: 1.3em;
margin-bottom: 30px;
}
.social {
margin-top: 15px;
p {
margin-bottom: 0px;
text-align: center;
}
}
.download-here {
margin-top: 20px;
}
.download {
display: block;
}
.intro {
font-size: 18px;
margin-top: 30px;
font-weight: @normal;
}
.beta {
margin-top: 20px;
color: hsl(0, 0%, 50%);
.title {
color: hsl(0, 0%, 50%);
font-weight: @semibold;
font-size: 20px;
}
p {
font-weight: @normal;
font-size: 15px;
}
}
.download-button {
.make-column(4);
.make-column-offset(4);
}
.banner {
background-color: hsl(0, 0%, 90%);
background-image: url("img/large-bg2.jpg");
background-repeat: no-repeat;
background-position: top center;
background-attachment: fixed;
height: 250px;
h1 {
color: hsl(0, 0%, 100%);
font-weight: @normal;
}
a {
display: block;
text-decoration: none;
}
.tweet {
//font-size: 25px;
//float: left;
.icon-circle {
color: hsl(200, 100%, 60%);
}
.icon-twitter {
color: hsl(0, 0%, 100%);
}
&:hover {
.icon-circle {
color: hsl(200, 100%, 40%);
}
}
}
.icon-stack {
display: inline-block;
}
.tweeter {
display: inline-block;
font-weight: @bold;
color: hsl(0, 0%, 100%);
}
.github {
font-size: 25px;
float: left;
.icon-circle {
color: hsl(200, 0%, 60%);
}
.icon-github-alt {
color: hsl(0, 0%, 100%);
}
}
}
.module {
.icon {
text-align: center;
padding: 50px 20px;
color: hsl(0, 0%, 90%);
}
.title {
text-align: center;
font-size: 20px;
font-weight: @semibold;
}
}
.iconExamples {
.clearfix;
h2 {
font-family: @hairline;
font-weight: @ultraLight;
color: hsl(217, 51%, 47%);
}
.example {
@fontsize: 20px;
.clearfix;
text-align: center;
margin: 10px 3px;
.icon {
font-size: @fontsize;
float: left;
width: 35px;
i {
//background-color: hsl(120, 100%, 70%);
}
}
.class {
text-align: center;
font-size: @fontsize - 3px;
float: left;
margin-top: 0px;
font-weight: 400;
margin-left: 10px;
color: hsl(0, 0%, 20%);
}
}
}
.weatherseparator {
padding-bottom: 10px;
border-bottom: 1px solid hsla(0, 0%, 100%, .2);
margin-bottom: 50px;
.clearfix;
}
.row-fluid {
.clearfix;
}
.examples {
font-family: 'weather';
font-size: 50px;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
text-transform: none;
-webkit-font-smoothing: antialiased;
}
.weather {
//width: 400px;
margin: 0px auto;
//border: 1px solid hsl(207, 39%, 15%);
font-family: @hairline;
.relative {
position: relative;
}
.currently {
float: left;
font-size: 30px;
font-weight: 100;
margin-top: 5px;
.opacity(.8);
}
.mainTemp {
float: left;
.clearfix;
.temp {
font-size: 70px;
line-height: 1em;
font-weight: @ultraLight;
float: left;
margin-right: 5px;
}
.highLow {
float: left;
font-size: 22px;
line-height: 1em;
margin-top: 5px;
font-weight: @ultraLight;
text-align: center;
.opacity(.5);
.clearfix;
.high {
margin-top: 10px;
margin-bottom: 5px;
}
.low {}
}
}
.mainIcon {
font-size: 110px;
.opacity(.5);
line-height: .3em;
float: right;
}
.icon {
position: absolute;
top: 0px;
left: 100px;
color: hsl(0, 0%, 100%);
.opacity(.3);
z-index: 9;
font-size: 130px;
line-height: 1em;
margin-top: -20px;
text-shadow: 0px 2px 2px hsla(0, 0%, 0%, 0.4);
text-align: right;
}
.tomorrow {
font-size: 18px;
font-weight: @light;
line-height: 1em;
margin-top: 20px;
.clearfix;
.day {
float: left;
.name {
.opacity(.5);
display: inline-block;
margin-right: 10px;
}
.condition {
display: inline-block;
}
}
.temps {
float: right;
.clearfix;
.tomorrow-icon {
font-size: 40px;
margin-right: 5px;
.opacity(.5);
}
.high {
display: inline-block;
margin-right: 10px;
}
.low {
display: inline-block;
margin-right: 0px;
.opacity(.5);
}
}
}
}
.download-share {
padding: 20px 0px 30px 0px;
border-top: 1px solid hsl(0, 0%, 90%);
border-bottom: 1px solid hsl(0, 0%, 90%);
background-color: hsl(0, 0%, 95%);
margin-top: 30px;
.box-shadow(inset 0px 0px 15px hsla(0, 0%, 0%, .1))
}