feat: design homepage based on figma design
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="course-footer">
|
||||
<div class="course-author">
|
||||
{{ course.get_instructor().full_name }}
|
||||
<img class="course-author-avatar" src="{{ course.get_instructor().avatar }}" />{{ course.get_instructor().full_name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.course-header {
|
||||
@@ -40,7 +39,14 @@ body {
|
||||
padding: 20px;
|
||||
background: var(--header-bg);
|
||||
color: var(--header-color);
|
||||
border-radius: 10px;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.course-author-avatar {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.course-header h1 {
|
||||
@@ -290,3 +296,9 @@ img.profile-photo {
|
||||
margin-left: 5%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.display-4 {
|
||||
color: #2D005A;
|
||||
font-weight: 600;
|
||||
line-height: 51px;
|
||||
}
|
||||
@@ -1,14 +1,21 @@
|
||||
@primary-color: #08B74F;
|
||||
@import url('https://rsms.me/inter/inter.css');
|
||||
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
}
|
||||
|
||||
.teaser {
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 9px;
|
||||
border: 1px solid #C4C4C4;
|
||||
}
|
||||
|
||||
.sketch-teaser {
|
||||
.teaser();
|
||||
width: 220px;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 30px;
|
||||
|
||||
svg {
|
||||
width: 200px;
|
||||
@@ -18,8 +25,9 @@
|
||||
padding: 10px;
|
||||
}
|
||||
.sketch-footer {
|
||||
border-top: 1px solid#C4C4C4;
|
||||
padding: 10px;
|
||||
background: #eee;
|
||||
background: #F6F6F6;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
}
|
||||
}
|
||||
@@ -27,6 +35,8 @@
|
||||
.course-teaser {
|
||||
.teaser();
|
||||
color: #444;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 20px;
|
||||
|
||||
h3, h4 {
|
||||
color: black;
|
||||
@@ -57,10 +67,13 @@ section {
|
||||
|
||||
section h2 {
|
||||
margin-bottom: 40px;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
section.lightgray {
|
||||
background: #f8f8f8;
|
||||
background: #F6F6F6;
|
||||
}
|
||||
|
||||
#hero .jumbotron {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<section id="hero">
|
||||
<div class="container">
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4">Guided online courses, with a mentor at your back.</h1>
|
||||
<h1 class="display-4">Guided online courses, with a <br />mentor at your back.</h1>
|
||||
<p class="lead">Hands-on online courses designed by experts, delivered by passionate mentors.</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="#" role="button">Request Invite</a>
|
||||
|
||||
Reference in New Issue
Block a user