app/assets/stylesheets/shared.scss
@import 'theme';
body {
background-color: $background-color;
padding-bottom: 150px;
}
header {
margin: 70px 0px 50px 0px;
text-align: center;
color: $primary-color;
.title {
font-size: 50px;
text-transform: uppercase;
letter-spacing: 8px;
font-family: $classy-font;
font-weight: 300;
a {
color: $primary-color;
&:hover {
background-color: transparent;
text-decoration: none;
color: darken($primary-color, 10%);
} /* &:hover */
} /* a */
} /* h1 */
.subtitle {
font-family: $apology-font;
font-size: 30px;
margin-top: 0;
color: lightgray;
}
} /* header */
h1 {
font-size: 20px;
text-transform: uppercase;
letter-spacing: 3px;
font-family: $classy-font;
font-weight: 300;
color: gray;
} /* h1 */
/* NAVBAR */
ul.copyright {
color: #979797;
padding-top: 13px;
list-style: none;
} /* ul.copyright */
.brand {
font-family: $apology-font;
color: magenta;
} /* .brand */
/* BOOTSTRAP OVERRIDES */
.btn {
font-family: sans-serif;
}
/* SOCIAL-SHARE-BUTTON GEM */
.social-share-button {
$size: 30px;
text-align: center;
margin-top: 20px;
.ssb-icon {
background-size: $size $size;
height: $size;
width: $size;
}
}
/* SCAFFOLD STYLES */
p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
div {
&.field, &.actions {
margin-bottom: 10px;
}
}
@mixin flashes($color) {
text-align: center;
border: 1px solid $color;
border-radius: 5px;
padding: 10px;
color: $color;
width: 100%;
background-color: lighten($color, 65%);
}
#notice {
@include flashes(green);
}
#alert {
@include flashes(red);
}
.field_with_errors {
padding: 2px;
background-color: red;
display: table;
}
#error_explanation {
width: 450px;
border: 2px solid red;
padding: 7px;
padding-bottom: 0;
margin-bottom: 20px;
background-color: #f0f0f0;
h2 {
text-align: left;
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
margin-bottom: 0px;
background-color: #c00;
color: #fff;
}
ul li {
font-size: 12px;
list-style: square;
}
}
/* MEDIA QUERIES */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}/* 480px */