Commit ce87896f by Harry Rein Committed by GitHub

Merge pull request #15609 from edx/HarryRein/LEARNER-1879-updates-image-styling

Update Image Styling on Welcome Message and Updates
parents 1922faf1 2658646e
...@@ -141,6 +141,11 @@ ...@@ -141,6 +141,11 @@
background: none; background: none;
padding: 0; padding: 0;
} }
img {
margin: $baseline/2;
max-width: 100%;
}
} }
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
@include border-left(solid 4px $black); @include border-left(solid 4px $black);
margin-bottom: $baseline; margin-bottom: $baseline;
padding: $baseline; padding: $baseline;
overflow: hidden;
h1, h2, h3 { h1, h2, h3 {
font-size: font-size(large); font-size: font-size(large);
...@@ -11,8 +12,14 @@ ...@@ -11,8 +12,14 @@
color: $black; color: $black;
} }
img {
@include float(left);
margin: $baseline/2;
max-width: 100%;
}
.dismiss-message { .dismiss-message {
@include float(right); @include float(right);
} }
} }
...@@ -128,8 +135,8 @@ ...@@ -128,8 +135,8 @@
.date-summary-container { .date-summary-container {
.date-summary { .date-summary {
@include clearfix; @include clearfix;
padding: 10px;
@include border-left(3px solid $gray-l3); @include border-left(3px solid $gray-l3);
padding: $baseline/2;
.heading { .heading {
font-size: 1.1rem; font-size: 1.1rem;
...@@ -186,15 +193,22 @@ ...@@ -186,15 +193,22 @@
margin: ($baseline*6/5) 0; margin: ($baseline*6/5) 0;
padding-bottom: ($baseline*6/5); padding-bottom: ($baseline*6/5);
border-bottom: 1px solid $lms-border-color; border-bottom: 1px solid $lms-border-color;
.date { .date {
font-size: font-size(small); font-size: font-size(small);
font-weight: 300; font-weight: $font-light;
float: none; float: none;
padding-bottom: ($baseline/4); padding-bottom: ($baseline/4);
} }
&:last-child { &:last-child {
border-bottom: 0; border-bottom: 0;
} }
img {
margin: $baseline/2;
max-width: 100%;
}
} }
} }
} }
......
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