This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio-2013/wp-content/themes/studio13/sass/app.scss
T
2013-05-10 16:41:05 +02:00

523 lines
12 KiB
SCSS

@import "settings"; // Global Foundation Settings
@import "foundation/foundation-global"; // *always required
@import "foundation/components/global"; // *always required
@import "foundation/components/grid";
// @import "foundation/components/visibility";
@import "foundation/components/block-grid";
@import "foundation/components/type";
@import "foundation/components/buttons";
@import "foundation/components/forms"; // *requires components/buttons
// @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms
@import "foundation/components/button-groups"; // *requires components/buttons
// @import "foundation/components/dropdown-buttons"; // *requires components/buttons
// @import "foundation/components/split-buttons"; // *requires components/buttons
@import "foundation/components/flex-video";
// @import "foundation/components/section";
// @import "foundation/components/top-bar"; // *requires components/grid
@import "foundation/components/orbit";
@import "foundation/components/reveal";
// @import "foundation/components/joyride";
// @import "foundation/components/clearing";
// @import "foundation/components/alert-boxes";
// @import "foundation/components/breadcrumbs";
// @import "foundation/components/keystrokes";
@import "foundation/components/labels";
// @import "foundation/components/inline-lists";
@import "foundation/components/pagination";
// @import "foundation/components/panels";
// @import "foundation/components/pricing-tables";
// @import "foundation/components/progress-bars";
// @import "foundation/components/side-nav";
// @import "foundation/components/sub-nav";
// @import "foundation/components/switch";
// @import "foundation/components/magellan";
@import "foundation/components/tables";
// @import "foundation/components/thumbs";
// @import "foundation/components/tooltips";
// @import "foundation/components/dropdown";
@import "compass/typography/lists/inline-block-list";
@import "compass/css3/transform";
@import "compass/css3/transition";
@import "compass/css3/box-shadow";
@import "compass/css3/filter";
@import "compass/css3/animation"; // requires compass v0.13, see README.md
$multiplied: #00005c; // FIXME: use this instead of transparent water?
/* General styles */
body {
h1,h2,h3,h4 {
text-transform: uppercase;
}
h1 {
margin-bottom: 0.3em;
}
a {
@include transition(
background-color .15s ease,
background-image .15s ease,
color .15s ease);
&:hover {
color: $secondary-color;
}
}
span,
input[type=submit] {
@include transition(
background-color .15s ease,
color .15s ease);
}
img {
@include transition(opacity .15s ease);
}
}
.hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.uppercase {
text-transform: uppercase;
}
.semi-bold {
font-weight: 600;
}
/* buttons */
body {
.button {
border: 0;
@extend .secondary;
@include box-shadow(none);
text-transform: uppercase;
}
.btn-tiny {
$size: 32px;
text-align: center;
font-size: 1.3em;
display: inline-block;
color: white;
width: $size;
height: $size;
line-height: $size;
.icon-twitter {
font-size: 0.8em;
}
}
.primary {
background-color: $primary-color;
&:hover {
color: white;
background-color: $secondary-color;
}
}
.secondary {
background-color: $secondary-color;
&:hover {
color: white;
background-color: $primary-color;
}
}
}
/* Images */
.attachment-eight-columns,
.attachment-four-columns {
width: 100%;
}
/* more hover stuff */
a.colored {
display: block;
background-color: $secondary-color;
&.primary {
background-color: $primary-color;
}
img {
display: block;
width: 100%;
}
&:hover img {
opacity: .4;
}
}
/* Disco */
@include keyframes(disco) {
from { background-color: $primary-color; }
to { background-color: $secondary-color; }
}
.disco {
color: white;
background-color: $primary-color;
@include animation(disco .5s infinite alternate);
&.reversed {
@include animation(disco .5s .5s infinite alternate);
}
}
header.header {
margin-top: 2em;
margin-bottom: 2em;
.date {
color: $primary-color;
font-size: 3.45em;
text-transform: uppercase;
font-weight: 600;
margin-bottom: 10px;
display: inline-block;
}
.logo img {
position: relative;
bottom: -15px;
left: 10px;
&.multiply {
position: absolute;
left: 372px;
bottom: -12px;
z-index: 1;
}
}
.nav-menu {
@include inline-block-list;
margin: 0 auto;
background-color: $primary-color;
a {
font-size: 1.5em;
font-weight: 600;
display: inline-block;
padding: .7em .813em;
color: white;
text-transform: uppercase;
position: relative;
&:hover {
z-index: 2;
background-color: $secondary-color;
}
}
}
}
.highlight {
a {
height: 280px;
line-height: 1.1;
font-size: 2.5em;
font-weight: bold;
text-transform: uppercase;
text-align: center;
display: block;
color: white;
background-color: $secondary-color;
&.highlight-image {
@extend .hide-text;
background-color: white;
background-image: url('../images/fri_villig.png');
background-repeat: no-repeat;
&:hover {
background-color: white;
background-image: url('../images/fri_villig_hover.png');
}
}
&:hover {
color: white;
background-color: $primary-color;
}
span {
display: inline-block;
padding-top: 30px;
&.larger {
padding-top: 62px;
font-size: 1.6em;
}
}
.number {
font-size: 3em;
}
}
}
.separator {
height: 2px;
background-color: $secondary-color;
margin: 2em 0;
&.tiny-margin {
margin-top: 0;
margin-bottom: 0.4em;
}
}
article {
margin-bottom: 1em;
p {
margin-bottom: 0.6em;
}
.article-header {
h1 a {
color: $secondary-color;
background-color: white;
&:hover {
color: $primary-color;
}
}
h4 a {
color: $secondary-color;
background-color: white;
&:hover { color: $primary-color; }
}
}
.entry-content {
font-size: 0.9em;
}
.article-footer {
text-align: right;
margin-bottom: 2em;
}
}
.moretag {
font-weight: bold;
}
.bluebordered {
border-left: 2px solid $primary-color;
}
.row.row.tweets-and-blog {
margin-bottom: 3em;
}
.tweets-image {
@extend .hide-text;
display: inline-block;
width: 291px;
height: 114px;
background-color: white;
background-image: url('../images/tweets.png');
background-repeat: no-repeat;
&:hover {
background-color: white;
background-image: url('../images/tweets_hover.png');
}
}
.blog-image {
@extend .hide-text;
display: inline-block;
width: 285px;
height: 258px;
background-color: white;
background-image: url('../images/blog.png');
background-repeat: no-repeat;
&:hover {
background-color: white;
background-image: url('../images/blog_hover.png');
}
}
.instagram-image {
@extend .hide-text;
display: inline-block;
width: 300px;
height: 304px;
background-color: white;
background-image: url('../images/instagram.png');
background-repeat: no-repeat;
&:hover {
background-color: white;
background-image: url('../images/instagram_hover.png');
}
}
.artists-image {
@extend .hide-text;
display: inline-block;
width: 300px;
height: 220px;
background-color: white;
background-image: url('../images/artists.png');
background-repeat: no-repeat;
&:hover {
background-color: white;
background-image: url('../images/artists_hover.png');
}
}
.social-media {
font-size: 2em;
color: $secondary-color;
a {
font-size: 1.5em;
color: $primary-color;
padding: 0 0.25em;
&:hover {
color: $secondary-color;
}
}
.icon-twitter {
margin-left: 0.25em;
}
.follow {
position: relative;
font-size: 0.85em;
top: -8px;
}
}
.sidebar {
.lineup {
ul.artists {
list-style-type: none;
padding-left: 0;
text-transform: uppercase;
font-size: 1.2em;
font-weight: bold;
line-height: 1.2;
a {
color: $primary-color;
&:hover {
color: white;
background-color: $secondary-color;
}
}
&.headliners {
margin-top: 1em;
font-size: 2em;
li:nth-child(even) a {
color: $secondary-color;
&:hover {
color: white;
background-color: $primary-color;
}
}
}
}
}
}
.footer {
min-width: 100%;
text-align: center;
height: 400px;
background-color: $primary-color;
#inner-footer {
img {
margin-top: 100px;
}
}
}
.flying-megawhale {
width: 719px;
height: 582px;
background-image: url("../images/megawhale.png");
background-size: 100% 100%;
background-repeat: no-repeat;
margin: auto;
margin-top: 4em;
position: relative;
top: 50px;
z-index: -1;
}
.wave {
position:fixed;
left:0px;
bottom:0px;
height:30px;
width:100%;
background-color: $primary-color;
}
.wavetop {
position: relative;
bottom: 12px;
height: 12px;
background-image: url("../images/wave_top.png");
background-size: 48px 12px;
background-repeat: repeat-x;
width:100%;
}
.row {
/* FIXME: responsive */
width: 1000px;
max-width: 1000px;
}
/* Template styles */
.template-artists {
img {
display: block;
}
.artists {
font-size: 1.5em;
text-transform: uppercase;
text-align: center;
font-weight: bold;
.artist-box {
a {
color: $primary-color;
span {
display: block;
color: $primary-color;
background-color: white;
}
&:hover {
color: white;
span {
color: white;
background-color: $secondary-color;
}
}
}
}
}
}
/* 404 */
.search {
.screen-reader-text {
display: none;
}
label,
input {
margin-bottom: 10px;
}
input {
width: 300px;
margin: 0 auto;
&[type=text]{
margin-bottom: 1em;
}
&[type=submit] {
text-transform: uppercase;
font-weight: bold;
padding: 0.5em 0.4em;
background-color: $secondary-color;
color: white;
border: 0;
&:hover {
background-color: $primary-color;
}
}
}
}