Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1084 lines
16 KiB

/**
Layouts only
*/
11 years ago
html {
background-color: $primary-color;
}
body {
10 years ago
height: auto;
background-color: $white
11 years ago
}
#main-nav {
background-color: $white;
width: 100%;
10 years ago
display: block;
11 years ago
font-size: 0.6667em;
font-size: 2.4vw;
10 years ago
overflow: hidden;
height: 3.1em;
min-height: 42px;
11 years ago
p {
display: none;
}
10 years ago
.buttons {
display: block;
width: 87%;
height: 100%;
//overflow: hidden;
white-space: nowrap;
float: right;
}
11 years ago
.button {
10 years ago
width: 33.3%;
height: 100%;
11 years ago
margin: 0;
10 years ago
float: left;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
text-align: center;
10 years ago
&:hover {
10 years ago
background-color: rgba($white, 0.85);
10 years ago
}
&.active {
&:after {
content: '';
width: 0;
height: 0;
display: block;
position: absolute;
border-style: solid;
border-width: 1em 1em 0 1em;
border-color: #a0c700 transparent transparent transparent;
left: 0;
right: 0;
margin: 0.15em auto 0;
top: 100%;
z-index: 1;
border-width: 3vw 5vw 0 5vw;
}
}
11 years ago
&.logo {
10 years ago
background-color: transparent;
11 years ago
width: 13%;
border: 0;
padding: 0;
vertical-align: top;
10 years ago
//overflow: hidden;
height: 100%;
float: left;
11 years ago
.logo {
width: 100%;
height: 90%;//2em;
fill: $primary-color;
10 years ago
position: absolute;
left: 0;
margin-top: 0.15em;
11 years ago
}
.logo-text {
display: none;
10 years ago
fill: $white;
11 years ago
}
&:hover {
background-color: transparent;
color: $black;
}
}
}
@include breakpoint(medium) {
10 years ago
height: 5em;
position: absolute;
z-index: 10;
//background-color: $white;
background-color: rgba($white, 0.5);
.has-banner-image & {
background-color: transparent;
@include background-image(linear-gradient(top, #000 0%, rgba(#000, 0) 100%));
}
11 years ago
10 years ago
.buttons {
11 years ago
display: block;
10 years ago
width: 70%;
height: auto;
//overflow: hidden;
white-space: normal;
font-size: 0.75em;
margin-top: 2.5%;
11 years ago
}
p {
10 years ago
font-size: 1.25em;
font-size: 1.25vw;
line-height: 1.2em;
11 years ago
}
.button {
width: auto;
10 years ago
height: auto;
//float: none;
//margin: 0 0 1.25rem;
margin: 1%;
width: 30%;
display: block;
11 years ago
&.logo {
position: relative;
10 years ago
//width: 100%;
//height: auto;
//margin-bottom: 2em;
//float: none;
width: 25%;
margin: 0;
height: 100%;
float: left;
padding: 0.25em;
11 years ago
.logo {
10 years ago
position: static;
11 years ago
float: left;
width: 51%;
height: 100%;
10 years ago
margin: 0 5% 0 0;
}
img.logo {
11 years ago
height: auto;
}
.logo-text {
display: block;
width: 44%;
10 years ago
height: 100%;
11 years ago
}
}
}
}
10 years ago
@include breakpoint(large) {
display: block;
position: static;
height: auto;
10 years ago
min-height: 0;
10 years ago
float: left;
width: 25%;
padding: 2.5%;
font-size: 1em;
.has-banner-image & {
background-image: none;
}
10 years ago
.button, p {
display: block;
}
.button {
width: 100%;
height: auto;
margin: 0 0 1.25em;
float: none;
&.logo {
width: 100%;
height: auto;
float: none;
10 years ago
.logo-text {
fill: $black;
}
10 years ago
}
}
.buttons {
display: block;
width: 100%;
font-size: 1em;
margin: 2em 0 0;
float: none;
}
}
11 years ago
}
10 years ago
#side-bar {
padding: 2.5%;
.preview-list {
li {
margin: auto;
float: none;
display: block;
10 years ago
}
}
h5 {
text-align: center;
}
form {
text-align: center;
padding: 2em 0;
}
10 years ago
@include breakpoint(medium) {
+ #content {
padding-top: 0;
}
}
@include breakpoint(large) {
float: left;
clear: left;
width: 25%;
font-size: 1vw;
h5 {
text-align: left;
font-size: 1.25em;
}
+ #content {
padding-top: 4em;
}
10 years ago
.conferences.page-style-article & {
min-height: 40em;
min-height: 50vh;
}
10 years ago
}
}
11 years ago
main {
min-height: 100%;
//overflow: auto;
background-color: $white;
10 years ago
10 years ago
@include breakpoint(large) {
overflow: auto;
10 years ago
footer {
@include clearfix;
}
10 years ago
}
}
#content {
padding: 1em;
overflow: auto;
10 years ago
//background-color: lighten($color-5, 20);
background-color: $white;
.organizations & {
10 years ago
//background-color: lighten(desaturate($organization-color, 25), 50);
min-height: 100vh;
}
.conferences & {
10 years ago
//background-color: #FFF;
//background-color: lighten(desaturate($conference-color, 25), 42.5);
min-height: 100vh;
}
@include breakpoint(medium) {
padding: 4em;
10 years ago
clear: right;
10 years ago
.organizations.page-style-article & {
min-height: 25em;
min-height: 50vh;
}
}
11 years ago
}
#banner {
position: relative;
background-size: cover;
background-position: 25% 66.6667%;
//padding-top: 4em;
11 years ago
color: $white;
10 years ago
overflow: visible;
background-color: $black;
11 years ago
h1, h2 {
color: inherit;
10 years ago
a {
color: inherit;
}
11 years ago
}
.row {
height: 100%;
11 years ago
z-index: 2;
position: relative;
10 years ago
//.align-bottom {
// height: 50%;
//}
}
//.align-bottom > div {
//margin-bottom: 3em;
//}
11 years ago
.button {
width: 75%;
color: inherit;
border-color: inherit;
background-color: rgba(darken($primary-color, 0), 0.33);
11 years ago
padding: 0.75em 1em;
white-space: nowrap;
11 years ago
@include text-shadow(none);
&:hover {
background-color: $primary-color;
11 years ago
color: $white;
border-color: transparent;
}
&#register-now {
background-color: rgba(darken($warning-color, 0), 0.33);
margin-top: 0;
&:hover {
background-color: $warning-color;
}
}
11 years ago
}
.organizations & {
background-color: $organization-color;
}
.has-banner-image & {
padding-bottom: 4em;
background-color: rgba($conference-color, 0.33);
background-blend-mode: overlay;
@include text-shadow(0 0 0.5em $black);
.no-blend-modes & {
&:before {
content: '';
display: block;
position: absolute;
background-color: inherit;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
}
&:after {
content: '';
display: block;
position: absolute;
//background-color: inherit;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
@include background-image(linear-gradient(top, rgba(0,0,0,0) 50%, darken($conference-color, 25) 100%));
mix-blend-mode: multiply;
}
}
.has-banner-image.organizations & {
background-color: rgba($organization-color, 0.33);
&:after {
@include background-image(linear-gradient(top, rgba(0,0,0,0) 50%, darken($organization-color, 25) 100%));
}
}
h2 {
color: $color-4;
margin-bottom: 0.25em;
+ em {
display: block;
color: $color-5;
font-weight: 600;
margin-bottom: 1em;
}
}
10 years ago
.organizations.page-style-article & {
h1 {
line-height: 0.9em;
margin-bottom: 0.5em;
}
figure {
text-align: center;
}
}
10 years ago
.conferences.page-style-article & {
.columns.banner {
10 years ago
//height: 75%;
padding-bottom: 1em;
figure {
10 years ago
margin: 2em 0 0;
}
}
}
.page-style-emphasize-banner &,
.conferences & {
figure img {
box-shadow: 0 0 2em $black;
}
}
.organizations-index &,
.conferences-index & {
height: 13vw;
min-height: 0;
background-position: center 25%;
h1 {
font-size: 8vw;
margin-top: 1vw;
}
}
11 years ago
@include breakpoint(medium) {
padding: 7.5em 4em 1em;
.has-banner-image & {
min-height: 40em;
height: 100%;
10 years ago
min-height: 100vh;
}
.page-style-article & {
min-height: 30em;
.row {
height: 100%;
}
h1 {
font-size: 3.5em;
margin-top: 0.5em;
}
figure {
img {
max-height: 75%;
}
}
.portrait {
h1 {
margin-top: 20%;
}
figure img {
10 years ago
//width: 100%;
}
}
.landscape {
.columns {
max-height: 70%;
}
}
}
.page-style-article.small-banner & {
min-height: 10em;
}
.page-style-list & {
min-height: 10em;
height: 30em;
10 years ago
height: 30vw;
h1 {
font-size: 6em;
10 years ago
font-size: 6vw;
}
}
.row .align-bottom.buttons {
height: 14em;
}
10 years ago
}
@include breakpoint(large) {
10 years ago
border-bottom-left-radius: 2.5em;
padding-top: 2em;
10 years ago
width: 75%;
float: right;
.has-banner-image & {
padding-top: 0;
}
.no-content & {
border-radius: 0;
}
10 years ago
10 years ago
&:before,
10 years ago
&:after {
border-bottom-left-radius: inherit;
}
10 years ago
.button {
//margin-top: 20%;
}
.page-style-list & {
height: 15em;
10 years ago
height: 15vw;
h1 {
font-size: 3.75vw;
margin-top: 6vw;
}
}
10 years ago
.page-style-article & {
height: 50%;
height: 50vh;
}
10 years ago
.row .align-bottom {
height: 50%;
}
.conferences.page-style-article & {
height: auto;
padding-bottom: 2em;
.align-bottom > div {
margin-bottom: 0;
}
10 years ago
.columns.banner {
10 years ago
//height: 75%;
padding-bottom: 0;
10 years ago
}
10 years ago
.row .align-bottom {
height: auto;
&.buttons {
height: 10em;
}
10 years ago
}
10 years ago
}
11 years ago
}
}
.align-bottom {
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: flex-end;
-ms-flex-align: flex-end;
-webkit-align-items: flex-end;
align-items: flex-end;
> div {
width: 100%;
}
11 years ago
}
.centered {
text-align: center;
}
#footnotes_debug {
display: none;
}
#footer {
position: relative;
11 years ago
min-height: 5em;
background-color: inherit;
z-index: 1;
10 years ago
background-color: $primary-color;
i {
display: block;
height: 0.5em
}
.copyright {
margin-top: 2em;
text-align: right;
}
@include breakpoint(medium) {
i {
display: inline-block;
border-left: 3px solid;
height: 1em;
vertical-align: middle;
-webkit-transform: skewX(-15deg);
-moz-transform: skewX(-15deg);
-ms-transform: skewX(-15deg);
transform: skewX(-15deg);
}
}
}
.photo-attribution {
position: absolute;
10 years ago
top: 100%;
right: 0.25em;
//margin: 0.25em 0.25em 0 0;
margin: -1em 0.25em 0 0;
font-size: 0.8em;
text-align: right;
10 years ago
text-shadow: none;
@include opacity(0.5);
10 years ago
clear: right;
z-index: 2;
mix-blend-mode: luminosity;
> span {
display: none;
10 years ago
color: $black;
}
&:hover {
@include opacity(1);
> span {
display: block;
}
}
.no-content & {
10 years ago
top: auto;
bottom: 0.25em;
color: $white;
@include opacity(0.25);
&:hover {
@include opacity(0.5);
}
a,
a:visited,
span {
color: inherit;
}
}
11 years ago
}
/*body {
height: auto;
}
#footer {
//margin-top: 5em;
}
main {
padding-bottom: 5em;
background-color: $white;
body.page-style-form & {
//background-color: $color-5;
}
.no-banner & {
//border-top: 0.25em solid $primary-color;
}
}
$body-background-color: $white;
//$main-container-background-color: #F4F4F4;
//$content-background-color: #FFF;
//$layout-border-color: #DDD;
$translation-control-background-color: $black !default;
$translation-control-text-color: $black !default;
#translation-control {
position: fixed;
padding: 0.75em;
background-color: $translation-control-background-color;
height: 3.75em;
overflow: visible;
z-index: 2;
width: 100%;
top: 0;
.row {
max-width: none;
}
select, button {
height: 2.66667em;
margin: 0;
}
select {
}
textarea {
margin: 0 0 0.5em;
min-height: 2.66667em;
}
button {
line-height: 0em;
font-size: 0.875em;
}
input, label {
margin: 0.75em 0 0 0.5em;
}
+ .top-bar {
margin-top: 3.75em;
}
}
#translatepluralizations {
display: none;
background-color: $translation-control-background-color;
color: $translation-control-text-color;
padding: 0.5em;
label {
color: inherit;
}
}
#translatevars {
display: none;
//position: absolute;
background-color: $translation-control-background-color;
color: $translation-control-text-color;
z-index: 1;
padding: 0.5em;
//margin-top: 0.5em;
ul {
list-style: none;
margin: 0;
display: inline-block;
}
li {
font-family: monospace;
font-size: 0.9em;
display: inline-block;
margin-right: 0.5em;
&:before {
content: '%{';
}
&:after {
content: '}';
}
&.used {
text-decoration: line-through;
}
}
}
#banner {
//min-height: 5em;
//background-color: rgba($black, 0.125);
position: relative;
color: $black;
//border-top: 0.25em solid $primary-color;
padding: 1em 0;
margin-bottom: 2.5em;
text-align: center;
&.has-image {
padding: 0;
margin-bottom: 5em;
color: #FFF;
background-size: cover;
background-position: center 75%;
min-height: 25em;
box-shadow: inset 0 10em 50em -5em #000;
text-shadow: 0 0.1em 0.75em #000;
text-align: left;
&:before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-color: $primary-color;
opacity: 0.5;
}
&:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1.1em;
background-image: linear-gradient(45deg, $white 25%, transparent 25%), linear-gradient(-45deg, transparent 75%, $white 75%);
background-image: -ms-linear-gradient(45deg, $white 25%, transparent 25%), -ms-linear-gradient(-45deg, transparent 75%, $white 75%);
background-image: -moz-linear-gradient(56deg, $white 25%, transparent 25%), -moz-linear-gradient(-56deg, transparent 75%, $white 75%);
background-image: -ms-linear-gradient(56deg, $white 25%, transparent 25%), -ms-linear-gradient(-56deg, transparent 75%, $white 75%);
background-image: -webkit-linear-gradient(56deg, $white 20%, transparent 25%), -webkit-linear-gradient(-56deg, transparent 75%, $white 80%);
background-repeat: repeat-x;
background-size: 1.25em 1.1em;
background-position: 0 bottom;
//padding-top: 0.6em;
//margin-top: 5em;
}
body.organizations & {
border-color: $organization-color;
&:before {
background-color: $organization-color;
}
&.has-image {
h1 {
color: #FFF;
}
h2 {
color: #CCC;
}
}
}
.page-style-emphasize-banner & {
padding-top: $topbar-height;
}
h1 {
color: $color-3;
}
h2, em {
color: $color-2;
}
}
figure img {
margin-bottom: -2.5em;
box-shadow: 0 0.1em 0.75em #000;
position: relative;
z-index: 1;
background-color: $white;
}
h1, h2 {
line-height: 1em;
}
.info {
padding-top: 5%;
}
p {
line-height: 1.3333em;
margin-top: 1.5em;
//box-shadow: 0 0 5em 1em #000;
//background-color: rgba(#000, 0.7);
//border-radius: 1em;
}
.button {
color: inherit;
background-color: $primary-color;// rgba(0, 0, 0, 0.75);
}
}
.top-bar {
.name h1 a {
text-shadow:
0 -3px $black, 0 1px $black,
0 3px $color-1, 0 4px $black,
0 6px $color-2, 0 7px $black,
0 9px $color-3, 0 10px $black,
0 12px $color-4, 0 13px $black,
0 15px $color-5, 0 16px $black;
-webkit-transition: text-shadow 333ms ease-in-out;
-moz-transition: text-shadow 333ms ease-in-out;
-ms-transition: text-shadow 333ms ease-in-out;
transition: text-shadow 333ms ease-in-out;
line-height: 2em;
padding-left: 0;
&:hover {
text-shadow:
0 0 $black, 0 0 $black,
0 0 $color-1, 0 0 $black,
0 0 $color-2, 0 0 $black,
0 0 $color-3, 0 0 $black,
0 0 $color-4, 0 0 $black,
0 0 $color-5, 0 0 $black;
}
}
.top-bar-section ul li > a {
text-transform: uppercase;
font-weight: 800;
font-size: 1em;
&.button {
background-color: transparent;
margin: 1em 0;
color: $white;
border: 1px solid;
}
}
.user-profile {
padding: 0;
a {
padding: 0em 0.75em;
}
img {
width: 2.25em;
border-radius: 33%;
}
}
.has-form {
padding: 0;
&.sign-out a.button {
font-size: 0.6em;
margin-top: 2.25em;
}
}
.page-style-emphasize-banner & {
position: absolute;
left: 0;
right: 0;
z-index: 1;
text-shadow: 0 0.1em 0.75em #000;
}
}
.centered {
text-align: center;
}
select.cant {
display: none;
}
body.organizations-show {
main > nav .tabs {
position: relative;
top: -2em;
}
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.75);
text-align: center;
#overlay-inner {
text-align: center;
display: inline-block;
background-color: $black;
padding: 2em;
margin: 5% 0 0 0;
padding-top: 0;
box-shadow: 0 0 1em #000;
}
&.user-select {
#overlay-inner {
min-width: 50%;
}
}
}
.user-preview {
display: inline-block;
margin: 0.5em;
position: relative;
label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: #FFF;
background-color: rgba(#000, 0.5);
}
}
.small-text-centered {
text-align: center;
@media #{$medium-up} {
text-align: inherit;
}
}
11 years ago
table {
td {
vertical-align: top;
&.primary {
width: 100%;
}
}
}
@media #{$medium-up} {
.top-bar-section li a:not(.button) {
background: transparent !important;
}
}
*/
10 years ago
.clearfix {
@include clearfix;
}
article.row {
margin-left: 0;
}