2013-11-18 22:09:20 +01:00
|
|
|
html {
|
2013-11-30 17:43:02 +01:00
|
|
|
-webkit-tap-highlight-color: fade(@link-color, 20%);
|
|
|
|
tap-highlight-color: fade(@link-color, 20%);
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2013-12-03 22:44:00 +01:00
|
|
|
background-color: @body-bg;
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
|
2013-12-04 20:54:40 +01:00
|
|
|
.document { position: relative }
|
|
|
|
|
2013-12-03 22:44:00 +01:00
|
|
|
|
2013-12-01 00:47:47 +01:00
|
|
|
//
|
|
|
|
// Topbar
|
|
|
|
//
|
|
|
|
.topbar {
|
|
|
|
.clearfix;
|
2013-12-04 23:04:52 +01:00
|
|
|
background: @body-bg;
|
2013-12-03 22:44:00 +01:00
|
|
|
border-bottom: 1px solid rgba(255,255,255,.7);
|
|
|
|
box-shadow: inset 0 1px 4px fade(@brand-dark, 20%), inset 0 -1px 4px fade(@brand-dark, 20%);
|
|
|
|
|
2013-12-01 00:47:47 +01:00
|
|
|
.row {
|
|
|
|
margin-top: @line-height-computed/2;
|
|
|
|
margin-bottom: @line-height-computed/2;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
// Banner
|
2013-12-01 00:47:47 +01:00
|
|
|
//
|
2013-11-18 22:09:20 +01:00
|
|
|
|
|
|
|
.banner {
|
2013-11-30 17:13:19 +01:00
|
|
|
float: left;
|
|
|
|
|
2013-12-01 15:06:06 +01:00
|
|
|
@media @breakpoint2 {
|
2013-12-03 22:44:00 +01:00
|
|
|
margin-left: -54px
|
2013-12-01 15:06:06 +01:00
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
.banner-title {
|
2013-11-30 17:13:19 +01:00
|
|
|
margin-top: .1em;
|
|
|
|
margin-bottom: 0;
|
2013-11-18 22:09:20 +01:00
|
|
|
// display toned down logo
|
|
|
|
// by default
|
|
|
|
.logo;
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-logo {
|
|
|
|
.ir;
|
|
|
|
|
|
|
|
// repeat logo
|
|
|
|
// but display hover version
|
|
|
|
.logo;
|
2013-12-01 00:47:47 +01:00
|
|
|
background-position: left bottom;
|
2013-11-24 00:13:48 +01:00
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
// hide by default
|
|
|
|
opacity: 0;
|
|
|
|
// show smooooothly on hover
|
|
|
|
&:hover { opacity: 1 }
|
|
|
|
&:active { top: 0 }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-01 15:06:06 +01:00
|
|
|
// Logo
|
|
|
|
/////////////////////////////////////
|
|
|
|
.logo {
|
|
|
|
display: block;
|
|
|
|
background-image: data-uri('../img/logo.png');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: left top;
|
|
|
|
width: 47px;
|
|
|
|
height: 31px;
|
|
|
|
|
|
|
|
@media @breakpoint2 {
|
|
|
|
width: 183px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @highDPI {
|
|
|
|
background-image: url('../img/logo@2x.png');
|
2013-12-01 16:14:39 +01:00
|
|
|
background-size: 183px 62px;
|
2013-12-01 15:06:06 +01:00
|
|
|
}
|
2013-12-03 21:28:22 +01:00
|
|
|
@media @highDPI_3x {
|
2013-12-01 15:06:06 +01:00
|
|
|
background-image: url('../img/logo@3x.png');
|
2013-12-01 16:14:39 +01:00
|
|
|
background-size: 183px 62px;
|
2013-12-01 15:06:06 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-01 00:47:47 +01:00
|
|
|
//
|
|
|
|
// close button
|
|
|
|
//
|
|
|
|
|
|
|
|
a.close,
|
|
|
|
.close {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
line-height: 12px;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 0;
|
|
|
|
.border-radius(16px);
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
background: @brand-grey-light;
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
&:hover { background: @link-color-hover }
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
|
|
|
|
// Footer
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
text-align: center;
|
|
|
|
background: fade(@brand-dark, 5%);
|
2013-12-03 22:44:00 +01:00
|
|
|
border-top: 1px solid rgba(255,255,255,.7);
|
|
|
|
box-shadow: inset 0 1px 4px fade(@brand-dark, 20%);
|
2013-11-30 03:17:50 +01:00
|
|
|
|
2013-12-07 17:52:43 +01:00
|
|
|
.gravatar {
|
|
|
|
margin-bottom: @line-height-computed/2;
|
|
|
|
}
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
.footer-description {
|
|
|
|
.h5;
|
2013-12-07 17:52:43 +01:00
|
|
|
a { display: block; }
|
2013-11-30 03:17:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&,
|
|
|
|
.footer-description {
|
|
|
|
color: @text-color-light;
|
2013-11-18 22:09:20 +01:00
|
|
|
line-height: @line-height-computed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-copyright {
|
|
|
|
.divider-top;
|
|
|
|
padding-top: @line-height-computed;
|
|
|
|
padding-bottom: @line-height-computed;
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: @font-size-mini;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Subscribe component
|
|
|
|
.subscribe {
|
|
|
|
margin: @line-height-computed auto;
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
.clearfix;
|
2013-12-07 17:52:43 +01:00
|
|
|
text-align: center;
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
2013-12-07 17:52:43 +01:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
width: 48px;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 34px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
2013-11-18 22:09:20 +01:00
|
|
|
color: @text-color-light;
|
2013-12-07 17:52:43 +01:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:first-child { margin-left: 0 }
|
|
|
|
&:last-child { margin-right: 0 }
|
|
|
|
|
|
|
|
&:before {
|
2013-11-30 03:17:50 +01:00
|
|
|
// Icon resets for color animations
|
|
|
|
.transition(color .3s ease-in-out);
|
2013-11-18 22:09:20 +01:00
|
|
|
color: inherit;
|
2013-12-07 17:52:43 +01:00
|
|
|
margin: 0 !important;
|
|
|
|
}
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-07 17:52:43 +01:00
|
|
|
.subscribe-title {
|
|
|
|
.h5;
|
|
|
|
color: @text-color-dimmed;
|
|
|
|
margin-bottom: @line-height-computed/2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer:hover .subscribe .rss:before {
|
2013-11-18 22:09:20 +01:00
|
|
|
color: #e15a00;
|
|
|
|
}
|
|
|
|
|
2013-12-07 17:52:43 +01:00
|
|
|
.footer:hover .subscribe .twitter:before {
|
2013-11-18 22:09:20 +01:00
|
|
|
color: #019ad2;
|
|
|
|
}
|
|
|
|
|
2013-12-07 17:52:43 +01:00
|
|
|
.footer:hover .subscribe .google:before {
|
2013-11-18 22:09:20 +01:00
|
|
|
color: #c63b1e;
|
|
|
|
}
|
|
|
|
|
2013-12-07 17:52:43 +01:00
|
|
|
.footer:hover .subscribe .facebook:before {
|
2013-11-18 22:09:20 +01:00
|
|
|
color: #3b5998;
|
2013-12-03 22:44:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// topbar and footer as fixed
|
|
|
|
// site background
|
|
|
|
//
|
2013-12-04 20:54:40 +01:00
|
|
|
.topbar {
|
|
|
|
height: 71px;
|
|
|
|
|
|
|
|
.menu-open & {
|
|
|
|
height: auto
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.document {
|
|
|
|
background-color: @page-bg;
|
|
|
|
}
|
2013-12-03 22:44:00 +01:00
|
|
|
|
2013-12-07 17:59:15 +01:00
|
|
|
@media only screen and (min-width: 40.625em) and (min-height: 650px) {
|
2013-12-03 23:39:48 +01:00
|
|
|
body {
|
|
|
|
position: relative
|
|
|
|
}
|
2013-12-04 20:54:40 +01:00
|
|
|
.document {
|
|
|
|
z-index: 2;
|
2013-12-03 22:44:00 +01:00
|
|
|
margin-top: 71px;
|
2013-12-03 23:39:48 +01:00
|
|
|
.transition;
|
2013-12-04 20:54:40 +01:00
|
|
|
|
2013-12-03 23:39:48 +01:00
|
|
|
.menu-open & {
|
|
|
|
margin-top: 300px;
|
|
|
|
}
|
2013-12-07 17:52:43 +01:00
|
|
|
margin-bottom: 580px;
|
2013-12-04 20:54:40 +01:00
|
|
|
|
2013-12-03 22:44:00 +01:00
|
|
|
border-top: 1px solid rgba(255,255,255,.7);
|
|
|
|
border-bottom: 1px solid rgba(255,255,255,.7);
|
2013-12-03 23:39:48 +01:00
|
|
|
box-shadow: 0 1px 4px fade(@brand-dark, 10%), 0 -1px 4px fade(@brand-dark, 10%);
|
2013-12-03 22:44:00 +01:00
|
|
|
}
|
|
|
|
.topbar,
|
|
|
|
.footer {
|
2013-12-04 20:54:40 +01:00
|
|
|
position: fixed;
|
2013-12-03 22:44:00 +01:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.topbar {
|
2013-12-04 23:04:52 +01:00
|
|
|
z-index: 1;
|
2013-12-03 22:44:00 +01:00
|
|
|
top: 0;
|
2013-12-03 23:39:48 +01:00
|
|
|
box-shadow: inset 0 1px 4px fade(@brand-dark, 10%);
|
2013-12-03 22:44:00 +01:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
2013-12-04 23:04:52 +01:00
|
|
|
z-index: 0;
|
2013-12-07 17:52:43 +01:00
|
|
|
height: 580px;
|
2013-12-03 22:44:00 +01:00
|
|
|
bottom: 0;
|
|
|
|
box-shadow: none;
|
2013-12-03 23:39:48 +01:00
|
|
|
|
|
|
|
.menu-open & { .hide; }
|
2013-12-03 22:44:00 +01:00
|
|
|
}
|
2013-11-18 22:09:20 +01:00
|
|
|
}
|