Commit 24897124 by John Lee

CSS updates to make long lesson titles look better

parent fc086726
...@@ -131,7 +131,7 @@ class SchoolYourselfReviewXBlock(SchoolYourselfXBlock): ...@@ -131,7 +131,7 @@ class SchoolYourselfReviewXBlock(SchoolYourselfXBlock):
<schoolyourself_review <schoolyourself_review
base_url="https://schoolyourself.org" base_url="https://schoolyourself.org"
module_id="algebra/multiplication" module_id="algebra/multiplication"
module_title="Multiplication" module_title="Multiplication, multiplication, multiplication"
shared_key="test" shared_key="test"
/> />
</vertical_demo> </vertical_demo>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
text-align: center; text-align: center;
background: #fff; background: #fff;
float: left;
width: 256px; width: 256px;
height: 192px; height: 192px;
display: inline-block; display: inline-block;
...@@ -66,7 +67,7 @@ ...@@ -66,7 +67,7 @@
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;
padding-left: 40px; padding-left: 40px;
display: inline-block; overflow: hidden;
} }
.schoolyourself-lesson-title, .schoolyourself-lesson-title,
...@@ -74,11 +75,11 @@ ...@@ -74,11 +75,11 @@
.schoolyourself-lesson-title a:visited { .schoolyourself-lesson-title a:visited {
text-transform: uppercase; text-transform: uppercase;
font-size: 24px; font-size: 24px;
margin-bottom: 10px;
font-weight: 300; font-weight: 300;
color: #6eb535; color: #6eb535;
text-decoration: none; text-decoration: none;
margin-bottom: 0 !important; margin-bottom: 0 !important;
margin-top: 0;
} }
.schoolyourself-lesson-block:hover .schoolyourself-lesson-title { .schoolyourself-lesson-block:hover .schoolyourself-lesson-title {
color: #6eb535; color: #6eb535;
...@@ -90,20 +91,22 @@ ...@@ -90,20 +91,22 @@
color: #737c95; color: #737c95;
font-size: 21px; font-size: 21px;
margin-bottom: 5px; margin-bottom: 5px;
height: 44px;
max-width: 320px; max-width: 320px;
} }
.schoolyourself-review-mastery { .schoolyourself-review-mastery {
position: absolute; margin-top: 20px;
bottom: 0; height: 44px;
color: #737c95; color: #737c95;
font-size: 16px; font-size: 16px;
margin-bottom: 5px; margin-bottom: 5px;
height: 44px;
max-width: 320px; max-width: 320px;
} }
.schoolyourself-review-mastery-text {
height: 24px;
}
.schoolyourself-review-mastery-bar { .schoolyourself-review-mastery-bar {
width: 320px; width: 320px;
background: #ddd; background: #ddd;
......
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