Commit 5b52f3a8 by Christina Roberts

Merge pull request #11636 from eduNEXT/Bound3R/rtl_support_static-pages

rtl support static pages
parents 537dd040 4ddcf31a
...@@ -44,11 +44,11 @@ ...@@ -44,11 +44,11 @@
padding-bottom: 40px; padding-bottom: 40px;
.logo { .logo {
border-right: 1px solid rgb(200,200,200); @include border-right(1px solid rgb(200,200,200));
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
height: 115px; height: 115px;
margin-right: flex-gutter(); @include margin-right(flex-gutter());
text-align: center; text-align: center;
width: flex-grid(3); width: flex-grid(3);
...@@ -61,11 +61,11 @@ ...@@ -61,11 +61,11 @@
h2.mission-quote { h2.mission-quote {
@include box-sizing(border-box); @include box-sizing(border-box);
float: right; @include float(right);
font-style: italic; font-style: italic;
line-height: 1.4; line-height: 1.4;
margin: 0; margin: 0;
padding: 5px 0px 5px 20px; @include padding(5px, 0px, 5px, 20px);
text-transform: none; text-transform: none;
width: flex-grid(9); width: flex-grid(9);
} }
...@@ -108,22 +108,22 @@ ...@@ -108,22 +108,22 @@
> article { > article {
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
padding-left: $baseline; @include padding-left($baseline);
width: flex-grid(9); width: flex-grid(9);
} }
&.left { &.left {
.photo { .photo {
float: left; @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
} }
} }
&.right { &.right {
.photo { .photo {
float: right; @include float(right);
margin-left: flex-gutter(); @include margin-left(flex-gutter());
} }
} }
...@@ -136,11 +136,11 @@ ...@@ -136,11 +136,11 @@
@include clearfix(); @include clearfix();
> article { > article {
float: left; @include float(left);
width: flex-grid(6); width: flex-grid(6);
&:first-child { &:first-child {
margin-right: flex-gutter(); @include margin-right(flex-gutter());
} }
} }
} }
...@@ -153,8 +153,8 @@ ...@@ -153,8 +153,8 @@
nav.categories { nav.categories {
border: 1px solid rgb(220,220,220); border: 1px solid rgb(220,220,220);
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
margin-left: flex-gutter(); @include margin-left(flex-gutter());
padding: 20px; padding: 20px;
width: flex-grid(3); width: flex-grid(3);
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
display: block; display: block;
letter-spacing: 1px; letter-spacing: 1px;
margin: 0px -20px; margin: 0px -20px;
padding: 12px 0px 12px 20px; @include padding(12px, 0px, 12px, 20px);
text-align: left; text-align: left;
&:hover, &:focus { &:hover, &:focus {
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
} }
.responses { .responses {
float: left; @include float(left);
width: flex-grid(9); width: flex-grid(9);
.category { .category {
...@@ -219,9 +219,9 @@ ...@@ -219,9 +219,9 @@
background: rgb(255,255,255); background: rgb(255,255,255);
border: 1px solid rgb(120,120,120); border: 1px solid rgb(120,120,120);
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
height: 140px; height: 140px;
margin-right: flex-gutter(); @include margin-right(flex-gutter());
overflow: hidden; overflow: hidden;
width: flex-grid(2); width: flex-grid(2);
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
} }
.press-info { .press-info {
float: left; @include float(left);
width: flex-grid(10); width: flex-grid(10);
header { header {
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
span.post-date { span.post-date {
color: $lighter-base-font-color; color: $lighter-base-font-color;
margin-right: ($baseline/2); @include margin-right($baseline/2);
} }
} }
} }
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
background: rgb(255,255,255); background: rgb(255,255,255);
border: 1px solid rgb(210,210,210); border: 1px solid rgb(210,210,210);
padding: 1px; padding: 1px;
float: left; @include float(left);
width: flex-grid(3); width: flex-grid(3);
img { img {
...@@ -273,8 +273,8 @@ ...@@ -273,8 +273,8 @@
.contacts { .contacts {
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
padding-left: 40px; @include padding-left(40px);
width: flex-grid(9); width: flex-grid(9);
ul { ul {
......
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
.cta-login-action { .cta-login-action {
@extend %btn-secondary-grey-outline; @extend %btn-secondary-grey-outline;
padding: ($baseline/10) ($baseline*0.75); padding: ($baseline/10) ($baseline*0.75);
margin-left: ($baseline/4); @include margin-left($baseline/4);
} }
} }
} }
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
cursor: text; cursor: text;
&:after { &:after {
margin-left: ($baseline/4); @include margin-left($baseline/4);
} }
} }
...@@ -445,7 +445,7 @@ ...@@ -445,7 +445,7 @@
} }
label:after { label:after {
margin-left: ($baseline/4); @include margin-left($baseline/4);
content: "*"; content: "*";
} }
} }
...@@ -472,11 +472,11 @@ ...@@ -472,11 +472,11 @@
.action-secondary { .action-secondary {
display: block; display: block;
float: right; @include float(right);
width: flex-grid(3,8); width: flex-grid(3,8);
margin: $baseline $baseline 0 0; margin: $baseline $baseline 0 0;
font-size: em(14); font-size: em(14);
text-align: right; @include text-align(right);
} }
&.error { &.error {
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
@extend %t-weight4; @extend %t-weight4;
position: absolute; position: absolute;
top: -($baseline); top: -($baseline);
left: 43%; @include left(43%);
padding: ($baseline/4) ($baseline*1.5); padding: ($baseline/4) ($baseline*1.5);
background: white; background: white;
text-align: center; text-align: center;
...@@ -521,7 +521,7 @@ ...@@ -521,7 +521,7 @@
button[type="submit"] { button[type="submit"] {
@extend %btn-secondary-blue-outline; @extend %btn-secondary-blue-outline;
width: flex-grid(4,8); width: flex-grid(4,8);
margin-right: ($baseline/2); @include margin-right($baseline/2);
.icon { .icon {
@extend %sso-icon; @extend %sso-icon;
......
...@@ -56,14 +56,14 @@ ...@@ -56,14 +56,14 @@
display: inline-block; display: inline-block;
margin: 0; margin: 0;
letter-spacing: 0px; letter-spacing: 0px;
text-align: left; @include text-align(left);
text-shadow: 0 1px rgba(255,255,255, 0.6); text-shadow: 0 1px rgba(255,255,255, 0.6);
a { a {
color: $lighter-base-font-color; color: $lighter-base-font-color;
font: italic 700 0.6em/1em $sans-serif; font: italic 700 0.6em/1em $sans-serif;
letter-spacing: 0px; letter-spacing: 0px;
margin-left: ($baseline*0.75); @include margin-left($baseline*0.75);
text-shadow: 0 1px rgba(255,255,255, 0.6); text-shadow: 0 1px rgba(255,255,255, 0.6);
text-transform: none; text-transform: none;
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
.main-cta { .main-cta {
@include clearfix(); @include clearfix();
float: left; @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
@include transition(all 0.15s linear 0s); @include transition(all 0.15s linear 0s);
width: flex-grid(12); width: flex-grid(12);
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
@include box-sizing(border-box); @include box-sizing(border-box);
border-radius: 3px; border-radius: 3px;
display: block; display: block;
float: left; @include float(left);
font: normal 1.2rem/1.6rem $sans-serif; font: normal 1.2rem/1.6rem $sans-serif;
letter-spacing: 1px; letter-spacing: 1px;
padding: ($baseline/2) 0; padding: ($baseline/2) 0;
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
padding: 10px 0px 8px; padding: 10px 0px 8px;
text-transform: uppercase; text-transform: uppercase;
text-align: center; text-align: center;
float: left; @include float(left);
margin: 1px flex-gutter(8) 0 0; @include margin(1px, flex-gutter(8), 0, 0);
@include transition(none); @include transition(none);
width: flex-grid(5, 8); width: flex-grid(5, 8);
} }
...@@ -190,9 +190,9 @@ ...@@ -190,9 +190,9 @@
box-shadow: 0 1px 12px 0 $shadow-d1; box-shadow: 0 1px 12px 0 $shadow-d1;
border: 2px solid rgba(255,255,255, 0.8); border: 2px solid rgba(255,255,255, 0.8);
height: 80px; height: 80px;
left: 50%; @include left(50%);
margin-top: -40px; margin-top: -40px;
margin-left: -40px; @include margin-left(-40px);
position: absolute; position: absolute;
top: 50%; top: 50%;
width: 80px; width: 80px;
...@@ -202,8 +202,8 @@ ...@@ -202,8 +202,8 @@
content: "\25B6"; content: "\25B6";
display: block; display: block;
font: normal 2em/1em $sans-serif; font: normal 2em/1em $sans-serif;
left: 50%; @include left(50%);
margin-left: -11px; @include margin-left(-11px);
margin-top: -16px; margin-top: -16px;
position: absolute; position: absolute;
text-shadow: 0 -1px rgba(0,0,0, 0.8); text-shadow: 0 -1px rgba(0,0,0, 0.8);
...@@ -246,11 +246,11 @@ ...@@ -246,11 +246,11 @@
.instructor-info-action { .instructor-info-action {
@extend %t-copy-sub2; @extend %t-copy-sub2;
float: right; @include float(right);
padding: ($baseline/4) ($baseline/2); padding: ($baseline/4) ($baseline/2);
border-radius: ($baseline/4); border-radius: ($baseline/4);
background-color: $shadow-l2; background-color: $shadow-l2;
text-align: right; @include text-align(right);
text-transform: uppercase; text-transform: uppercase;
color: $staff-color; color: $staff-color;
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
.details { .details {
@include float(left); @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
width: flex-grid(8); width: flex-grid(8);
font: normal 1em/1.6em $serif; font: normal 1em/1.6em $serif;
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
background: rgb(255,255,255); background: rgb(255,255,255);
border: 1px solid $border-color-2; border: 1px solid $border-color-2;
height: 115px; height: 115px;
float: left; @include float(left);
margin: 0 15px 0px 0; margin: 0 15px 0px 0;
overflow: hidden; overflow: hidden;
padding: 1px; padding: 1px;
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
@include clearfix(); @include clearfix();
.responses { .responses {
float: left; @include float(left);
} }
.response { .response {
...@@ -377,13 +377,13 @@ ...@@ -377,13 +377,13 @@
} }
ul { ul {
padding-left: 0; @include padding-left(0);
margin-bottom: 0; margin-bottom: 0;
} }
li { li {
list-style: none; list-style: none;
padding-left: 29px; @include padding-left(29px);
background: url('#{$static-path}/images/link-icon.png') left center no-repeat; background: url('#{$static-path}/images/link-icon.png') left center no-repeat;
} }
} }
...@@ -412,15 +412,15 @@ ...@@ -412,15 +412,15 @@
} }
a.university-name { a.university-name {
border-right: 1px solid $border-color-2; @include border-right(1px solid $border-color-2);
color: $base-font-color; color: $base-font-color;
font-family: $sans-serif; font-family: $sans-serif;
font-style: italic; font-style: italic;
font-weight: 700; font-weight: 700;
display: inline-block; display: inline-block;
letter-spacing: 0px; letter-spacing: 0px;
margin-right: ($baseline*0.75); @include margin-right($baseline*0.75);
padding-right: 15px; @include padding-right(15px);
&:hover, &:focus { &:hover, &:focus {
color: $lighter-base-font-color; color: $lighter-base-font-color;
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
.social-sharing { .social-sharing {
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
height: 44px; height: 44px;
position: relative; position: relative;
text-align: center; text-align: center;
...@@ -453,12 +453,12 @@ ...@@ -453,12 +453,12 @@
box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5); box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5);
@include box-sizing(border-box); @include box-sizing(border-box);
color: rgb(255,255,255); color: rgb(255,255,255);
float: right; @include float(right);
font-family: $serif; font-family: $serif;
font-size: 0.9em; font-size: 0.9em;
font-style: italic; font-style: italic;
left: 50%; @include left(50%);
margin-left: -110px; @include margin-left(-110px);
opacity: 0; opacity: 0;
padding: 6px 10px; padding: 6px 10px;
position: absolute; position: absolute;
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
display: inline-block; display: inline-block;
height: 35px; height: 35px;
width: 35px; width: 35px;
margin-right: ($baseline); @include margin-right($baseline);
margin-top: ($baseline/4); margin-top: ($baseline/4);
font-size: 1.75em; font-size: 1.75em;
text-decoration: none; text-decoration: none;
...@@ -521,19 +521,19 @@ ...@@ -521,19 +521,19 @@
.important-dates-item-title { .important-dates-item-title {
color: $lighter-base-font-color; color: $lighter-base-font-color;
float: left; @include float(left);
font-family: $sans-serif; font-family: $sans-serif;
} }
.icon { .icon {
float: left; @include float(left);
padding: 1px; padding: 1px;
margin: ($baseline/5) ($baseline/2) 0 0; @include margin(($baseline/5), ($baseline/2), 0, 0);
opacity: .6; opacity: .6;
} }
.important-dates-item-text { .important-dates-item-text {
float: right; @include float(right);
font-weight: 700; font-weight: 700;
} }
} }
...@@ -544,7 +544,7 @@ ...@@ -544,7 +544,7 @@
@extend %text-truncated; @extend %text-truncated;
} }
.tip { .tip {
float: left; @include float(left);
margin: $baseline 0 ($baseline/2); margin: $baseline 0 ($baseline/2);
font-size: 0.8em; font-size: 0.8em;
color: $lighter-base-font-color; color: $lighter-base-font-color;
......
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
font-family: $sans-serif; font-family: $sans-serif;
display: inline-block; display: inline-block;
letter-spacing: 1px; letter-spacing: 1px;
margin-left: ($baseline/4); @include margin-left($baseline/4);
padding: 5px 10px; padding: 5px 10px;
text-shadow: 0 1px rgba(255,255,255, 0.6); text-shadow: 0 1px rgba(255,255,255, 0.6);
...@@ -490,7 +490,7 @@ ...@@ -490,7 +490,7 @@
display: none; display: none;
position: absolute; position: absolute;
top: ($baseline*2); top: ($baseline*2);
right: 19px; @include right(19px);
pointer-events: none; pointer-events: none;
min-width: ($baseline*7); min-width: ($baseline*7);
...@@ -516,7 +516,7 @@ ...@@ -516,7 +516,7 @@
&:after, &:after,
&:before { &:before {
bottom: 100%; bottom: 100%;
right: 6px; @include right(6px);
border: solid transparent; border: solid transparent;
content: " "; content: " ";
height: 0; height: 0;
...@@ -565,7 +565,7 @@ ...@@ -565,7 +565,7 @@
border: 1px solid $border-color-2; border: 1px solid $border-color-2;
box-shadow: 0 1px 0 0 rgba(255,255,255, 0.6); box-shadow: 0 1px 0 0 rgba(255,255,255, 0.6);
margin-top: 17px; margin-top: 17px;
margin-right: flex-gutter(); @include margin-right(flex-gutter());
padding: ($baseline/4); padding: ($baseline/4);
width: flex-grid(8); width: flex-grid(8);
@include float(left); @include float(left);
...@@ -728,7 +728,7 @@ ...@@ -728,7 +728,7 @@
@include font-size(18); @include font-size(18);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin-right: ($baseline/4); @include margin-right($baseline/4);
} }
.message-copy { .message-copy {
...@@ -758,8 +758,8 @@ ...@@ -758,8 +758,8 @@
@extend %btn-primary-green; @extend %btn-primary-green;
@include clearfix(); @include clearfix();
position: relative; position: relative;
left: ($baseline/2); @include left($baseline/2);
padding: ($baseline * 0.4) 0 ($baseline * 0.4) ($baseline * 0.75); @include padding(($baseline * 0.4), 0, ($baseline * 0.4), ($baseline * 0.75));
.action-upgrade-icon{ .action-upgrade-icon{
@include float(left); @include float(left);
...@@ -777,7 +777,7 @@ ...@@ -777,7 +777,7 @@
.deco-graphic { .deco-graphic {
position: absolute; position: absolute;
top: -($baseline/4); top: -($baseline/4);
left: -($baseline*0.75); @include left(-($baseline*0.75));
width: ($baseline*2); width: ($baseline*2);
} }
...@@ -793,7 +793,7 @@ ...@@ -793,7 +793,7 @@
.copy { .copy {
@extend %t-action3; @extend %t-action3;
@extend %t-weight4; @extend %t-weight4;
margin-right: $baseline; @include margin-right($baseline);
} }
.copy-sub { .copy-sub {
...@@ -825,7 +825,7 @@ ...@@ -825,7 +825,7 @@
.credit-btn { .credit-btn {
@extend %btn-pl-yellow-base; @extend %btn-pl-yellow-base;
@include float(right); @include float(right);
margin-right: 5px; @include margin-right(5px);
background-image: none ; background-image: none ;
text-shadow: none; text-shadow: none;
box-shadow: none; box-shadow: none;
...@@ -852,7 +852,7 @@ ...@@ -852,7 +852,7 @@
@extend %btn-pl-black-border; @extend %btn-pl-black-border;
@include float(right); @include float(right);
position: relative; position: relative;
left: 10px; @include left(10px);
padding: ($baseline*0.4) ($baseline*0.6); padding: ($baseline*0.4) ($baseline*0.6);
background-image: none ; background-image: none ;
text-shadow: none; text-shadow: none;
...@@ -891,7 +891,7 @@ ...@@ -891,7 +891,7 @@
@extend %btn-pl-black-base; @extend %btn-pl-black-base;
@include float(right); @include float(right);
position: relative; position: relative;
left: 10px; @include left(10px);
padding: ($baseline*0.4) ($baseline*0.6); padding: ($baseline*0.4) ($baseline*0.6);
background-image: none ; background-image: none ;
text-shadow: none; text-shadow: none;
...@@ -931,7 +931,7 @@ ...@@ -931,7 +931,7 @@
.action { .action {
@include float(left); @include float(left);
margin: 0 15px 0 0; @include margin(0, 15px, 0, 0);
.btn, .cta { .btn, .cta {
display: inline-block; display: inline-block;
...@@ -1261,7 +1261,7 @@ ...@@ -1261,7 +1261,7 @@
.deco-arrow { .deco-arrow {
@include triangle(($baseline/2), $m-gray-d3, up); @include triangle(($baseline/2), $m-gray-d3, up);
position: absolute; position: absolute;
left: 45%; @include left(45%);
top: -6px; top: -6px;
} }
} }
...@@ -1334,7 +1334,7 @@ ...@@ -1334,7 +1334,7 @@
} }
.list--nav { .list--nav {
margin-left: 26px; @include margin-left(26px);
} }
// STATE: is denied // STATE: is denied
...@@ -1348,7 +1348,7 @@ ...@@ -1348,7 +1348,7 @@
// message // message
.msg { .msg {
margin: ($baseline/2) 0 ($baseline/2) 26px; @include margin(($baseline/2), 0, ($baseline/2), 26px);
} }
.msg__title { .msg__title {
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
nav.categories { nav.categories {
border: 1px solid rgb(220,220,220); border: 1px solid rgb(220,220,220);
@include box-sizing(border-box); @include box-sizing(border-box);
float: left; @include float(left);
margin-left: flex-gutter(); @include margin-left(flex-gutter());
padding: 20px; padding: 20px;
width: flex-grid(3); width: flex-grid(3);
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
display: block; display: block;
letter-spacing: 1px; letter-spacing: 1px;
margin: 0px -20px; margin: 0px -20px;
padding: 12px 0px 12px 20px; @include padding(12px, 0px, 12px, 20px);
text-align: left; @include text-align(left);
&:hover, &:focus { &:hover, &:focus {
background: rgb(245,245,245); background: rgb(245,245,245);
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
} }
.responses { .responses {
float: left; @include float(left);
width: flex-grid(9); width: flex-grid(9);
.category { .category {
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
.answer { .answer {
display: none; display: none;
color: #3c3c3c; color: #3c3c3c;
padding-left: 16px; @include padding-left(16px);
font-family: $serif; font-family: $serif;
li { li {
line-height: 1.6em; line-height: 1.6em;
......
...@@ -154,11 +154,11 @@ $course-search-input-height: ($button-size); ...@@ -154,11 +154,11 @@ $course-search-input-height: ($button-size);
background: $white; background: $white;
background: $course-header-bg; background: $course-header-bg;
border: 1px solid $border-color-3; border: 1px solid $border-color-3;
border-left: 0; @include border-left(0);
@include box-sizing(border-box); @include box-sizing(border-box);
// box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5); // box-shadow: 0 4px 25px 0 rgba(0,0,0, 0.5);
height: 120px; height: 120px;
float: left; @include float(left);
padding: 4px; padding: 4px;
position: relative; position: relative;
vertical-align: top; vertical-align: top;
...@@ -183,9 +183,9 @@ $course-search-input-height: ($button-size); ...@@ -183,9 +183,9 @@ $course-search-input-height: ($button-size);
@include box-sizing(border-box); @include box-sizing(border-box);
border: 2px solid rgba(255,255,255, 0.8); border: 2px solid rgba(255,255,255, 0.8);
height: 60px; height: 60px;
left: 50%; @include left(50%);
margin-top: -30px; margin-top: -30px;
margin-left: -($baseline*1.5); @include margin-left(-($baseline*1.5));
position: absolute; position: absolute;
top: 50%; top: 50%;
@include transition(all 0.15s linear 0s); @include transition(all 0.15s linear 0s);
...@@ -197,8 +197,8 @@ $course-search-input-height: ($button-size); ...@@ -197,8 +197,8 @@ $course-search-input-height: ($button-size);
content: "\25B6"; content: "\25B6";
display: block; display: block;
font: normal 2em/1em $sans-serif; font: normal 2em/1em $sans-serif;
left: 50%; @include left(50%);
margin-left: -11px; @include margin-left(-11px);
margin-top: -16px; margin-top: -16px;
position: absolute; position: absolute;
text-shadow: 0 -1px rgba(0,0,0, 0.8); text-shadow: 0 -1px rgba(0,0,0, 0.8);
...@@ -305,7 +305,7 @@ $course-search-input-height: ($button-size); ...@@ -305,7 +305,7 @@ $course-search-input-height: ($button-size);
content: ""; content: "";
display: block; display: block;
height: 80px; height: 80px;
right: 0px; @include right(0);
position: absolute; position: absolute;
top: -5px; top: -5px;
width: 1px; width: 1px;
...@@ -316,7 +316,7 @@ $course-search-input-height: ($button-size); ...@@ -316,7 +316,7 @@ $course-search-input-height: ($button-size);
content: ""; content: "";
display: block; display: block;
height: 80px; height: 80px;
right: 1px; @include right(1px);
position: absolute; position: absolute;
top: -5px; top: -5px;
width: 1px; width: 1px;
...@@ -341,8 +341,8 @@ $course-search-input-height: ($button-size); ...@@ -341,8 +341,8 @@ $course-search-input-height: ($button-size);
content: ""; content: "";
display: block; display: block;
height: 200px; height: 200px;
left: 50%; @include left(50%);
margin-left: -100px; @include margin-left(-100px);
margin-top: -100px; margin-top: -100px;
opacity: 0; opacity: 0;
width: 200px; width: 200px;
...@@ -354,7 +354,7 @@ $course-search-input-height: ($button-size); ...@@ -354,7 +354,7 @@ $course-search-input-height: ($button-size);
.name { .name {
bottom: -60px; bottom: -60px;
left: 0px; @include left(0);
position: absolute; position: absolute;
text-align: center; text-align: center;
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
...@@ -405,14 +405,14 @@ $course-search-input-height: ($button-size); ...@@ -405,14 +405,14 @@ $course-search-input-height: ($button-size);
.partners { .partners {
@include box-sizing(border-box); @include box-sizing(border-box);
@include clearfix(); @include clearfix();
margin-left: 60px; @include margin-left(60px);
padding: 12px 0; padding: 12px 0;
.partner { .partner {
@include box-sizing(border-box); @include box-sizing(border-box);
width: flex-grid(2, 12); width: flex-grid(2, 12);
display: block; display: block;
float: left; @include float(left);
padding: 0 12px; padding: 0 12px;
a { a {
...@@ -450,13 +450,13 @@ $course-search-input-height: ($button-size); ...@@ -450,13 +450,13 @@ $course-search-input-height: ($button-size);
position: relative; position: relative;
h2 { h2 {
float: left; @include float(left);
margin: 0; margin: 0;
text-shadow: 0 1px rgba(255,255,255, 0.6); text-shadow: 0 1px rgba(255,255,255, 0.6);
} }
.action.action-mediakit { .action.action-mediakit {
float: right; @include float(right);
position: relative; position: relative;
top: 1px; top: 1px;
font-family: $sans-serif; font-family: $sans-serif;
...@@ -467,7 +467,7 @@ $course-search-input-height: ($button-size); ...@@ -467,7 +467,7 @@ $course-search-input-height: ($button-size);
position: relative; position: relative;
top: -1px; top: -1px;
display: inline-block; display: inline-block;
margin: 0 0 0 5px; @include margin(0, 0, 0, 5px);
content: "➤"; content: "➤";
font-size: 11px; font-size: 11px;
} }
...@@ -497,8 +497,8 @@ $course-search-input-height: ($button-size); ...@@ -497,8 +497,8 @@ $course-search-input-height: ($button-size);
border-color: $border-color-2; border-color: $border-color-2;
@include box-sizing(border-box); @include box-sizing(border-box);
@include clearfix(); @include clearfix();
float: left; @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
padding: 10px; padding: 10px;
@include transition(all 0.15s linear 0s); @include transition(all 0.15s linear 0s);
width: flex-grid(4); width: flex-grid(4);
...@@ -510,16 +510,16 @@ $course-search-input-height: ($button-size); ...@@ -510,16 +510,16 @@ $course-search-input-height: ($button-size);
} }
&:last-child { &:last-child {
margin-right: 0; @include margin-right(0);
} }
.post-graphics { .post-graphics {
border: 1px solid $border-color-1; border: 1px solid $border-color-1;
@include box-sizing(border-box); @include box-sizing(border-box);
display: block; display: block;
float: left; @include float(left);
height: 84px; height: 84px;
margin-right: flex-gutter(); @include margin-right(flex-gutter());
overflow: hidden; overflow: hidden;
width: flex-grid(4); width: flex-grid(4);
vertical-align: top; vertical-align: top;
...@@ -531,7 +531,7 @@ $course-search-input-height: ($button-size); ...@@ -531,7 +531,7 @@ $course-search-input-height: ($button-size);
} }
.post-name { .post-name {
float: left; @include float(left);
width: flex-grid(8); width: flex-grid(8);
vertical-align: top; vertical-align: top;
...@@ -566,10 +566,10 @@ $course-search-input-height: ($button-size); ...@@ -566,10 +566,10 @@ $course-search-input-height: ($button-size);
line-height: 1.6em; line-height: 1.6em;
font-family: $serif; font-family: $serif;
font-style: italic; font-style: italic;
margin-left: ($baseline/2); @include margin-left($baseline/2);
&.read-more { &.read-more {
float: right; @include float(right);
color: lighten($base-font-color, 50%); color: lighten($base-font-color, 50%);
&:hover, &:focus { &:hover, &:focus {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
} }
small.author { small.author {
text-align: right; @include text-align(right);
display: block; display: block;
color: rgb(100, 100, 100); color: rgb(100, 100, 100);
} }
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
.photo { .photo {
background: rgb(255,255,255); background: rgb(255,255,255);
border: 1px solid rgb(210,210,210); border: 1px solid rgb(210,210,210);
float: left; @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
padding: 1px; padding: 1px;
width: flex-grid(4); width: flex-grid(4);
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
} }
header { header {
float: left; @include float(left);
width: flex-grid(7); width: flex-grid(7);
blockquote { blockquote {
margin-left: 0; @include margin-left(0);
margin-bottom: ($baseline*2); margin-bottom: ($baseline*2);
&:last-child { &:last-child {
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
p { p {
margin-left: 0; @include margin-left(0);
font-style: italic; font-style: italic;
line-height: 1.6; line-height: 1.6;
font-size: 1.1em; font-size: 1.1em;
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
.jobs-wrapper { .jobs-wrapper {
@include clearfix(); @include clearfix();
float: left; @include float(left);
padding-top: 80px; padding-top: 80px;
width: flex-grid(12); width: flex-grid(12);
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
.jobs-sidebar { .jobs-sidebar {
@include box-sizing(border-box); @include box-sizing(border-box);
border: 1px solid rgb(220,220,220); border: 1px solid rgb(220,220,220);
float: left; @include float(left);
padding: 20px; padding: 20px;
width: flex-grid(3); width: flex-grid(3);
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
display: block; display: block;
letter-spacing: 1px; letter-spacing: 1px;
margin: 0px -20px; margin: 0px -20px;
padding: 12px 0px 12px 20px; @include padding(12px, 0px, 12px, 20px);
text-align: left; @include text-align(left);
&:hover, &:focus { &:hover, &:focus {
background: rgb(245,245,245); background: rgb(245,245,245);
...@@ -110,8 +110,8 @@ ...@@ -110,8 +110,8 @@
} }
.jobs-listing { .jobs-listing {
float: left; @include float(left);
margin-right: flex-gutter(); @include margin-right(flex-gutter());
width: flex-grid(9); width: flex-grid(9);
.job { .job {
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
} }
ul { ul {
padding-left: 50px; @include padding-left(50px);
} }
li { li {
......
...@@ -71,7 +71,7 @@ $white: rgb(255,255,255); ...@@ -71,7 +71,7 @@ $white: rgb(255,255,255);
&:before { &:before {
position: relative; position: relative;
top: -1px; top: -1px;
margin: 0 5px 0 0; @include margin(0, 5px, 0, 0);
content: "➤"; content: "➤";
font-size: 11px; font-size: 11px;
} }
...@@ -90,7 +90,7 @@ $white: rgb(255,255,255); ...@@ -90,7 +90,7 @@ $white: rgb(255,255,255);
@include clearfix(); @include clearfix();
header { header {
margin: 0 0 ($baseline*1.5) 0; @include margin(0, 0, ($baseline*1.5), 0);
h2 { h2 {
margin: 0; margin: 0;
...@@ -108,8 +108,8 @@ $white: rgb(255,255,255); ...@@ -108,8 +108,8 @@ $white: rgb(255,255,255);
article { article {
@include box-sizing(border-box); @include box-sizing(border-box);
width: 500px; width: 500px;
margin-right: $baseline; @include margin-right($baseline);
float: left; @include float(left);
} }
aside { aside {
...@@ -117,7 +117,7 @@ $white: rgb(255,255,255); ...@@ -117,7 +117,7 @@ $white: rgb(255,255,255);
@include box-sizing(border-box); @include box-sizing(border-box);
box-shadow: 0 1px 4px 0 $shadow; box-shadow: 0 1px 4px 0 $shadow;
width: 330px; width: 330px;
float: left; @include float(left);
border: 3px solid tint(rgb(96, 155, 216), 35%); border: 3px solid tint(rgb(96, 155, 216), 35%);
background: tint(rgb(96, 155, 216), 35%); background: tint(rgb(96, 155, 216), 35%);
...@@ -208,12 +208,12 @@ $white: rgb(255,255,255); ...@@ -208,12 +208,12 @@ $white: rgb(255,255,255);
li { li {
@include box-sizing(border-box); @include box-sizing(border-box);
overflow-y: auto; overflow-y: auto;
float: left; @include float(left);
width: 350px; width: 350px;
margin: 0 0 $baseline 0; @include margin(0, 0, $baseline, 0);
&:nth-child(odd) { &:nth-child(odd) {
margin-right: ($baseline*3.5); @include margin-right($baseline*3.5);
} }
} }
...@@ -236,7 +236,7 @@ $white: rgb(255,255,255); ...@@ -236,7 +236,7 @@ $white: rgb(255,255,255);
img { img {
display: block; display: block;
border: 2px solid tint($light-gray,80%); border: 2px solid tint($light-gray,80%);
margin: 0 auto ($baseline*0.75) auto; margin: 0 auto ($baseline*0.75);
} }
figcaption { figcaption {
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
@include box-sizing(border-box); @include box-sizing(border-box);
box-shadow: 0 2px 16px 0 $shadow-l1; box-shadow: 0 2px 16px 0 $shadow-l1;
margin: 0 auto; margin: 0 auto;
padding: 80px 80px 40px 80px; padding: 80px 80px 40px;
width: flex-grid(10); width: flex-grid(10);
.footer { .footer {
...@@ -51,8 +51,8 @@ ...@@ -51,8 +51,8 @@
figure { figure {
display: block; display: block;
float: right; @include float(right);
margin: 20px 0px 60px 20px; @include margin(20px, 0px, 60px, 20px);
width: 300px; width: 300px;
img { img {
...@@ -98,19 +98,19 @@ ...@@ -98,19 +98,19 @@
.fb-like { .fb-like {
margin-top: 8px; margin-top: 8px;
margin-left: ($baseline/2); @include margin-left($baseline/2);
float: left; @include float(left);
} }
p { p {
float: left; @include float(left);
margin-top: 8px; margin-top: 8px;
margin-right: ($baseline/2); @include margin-right($baseline/2);
} }
a { a {
display: block; display: block;
float: left; @include float(left);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment