Merge branch 'main' of git://github.com/khalby786/community into khalby786-main

This commit is contained in:
Anand Chitipothu
2021-05-04 23:21:21 +05:30
4 changed files with 33 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
</div> </div>
<div class="course-footer"> <div class="course-footer">
<div class="course-author"> <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> </div>
</div> </div>

View File

@@ -32,7 +32,6 @@
body { body {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
background: white;
} }
.course-header { .course-header {
@@ -40,7 +39,14 @@ body {
padding: 20px; padding: 20px;
background: var(--header-bg); background: var(--header-bg);
color: var(--header-color); 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 { .course-header h1 {
@@ -291,3 +297,9 @@ img.profile-photo {
display: inline-block; display: inline-block;
width: 95%; width: 95%;
} }
.display-4 {
color: #2D005A;
font-weight: 600;
line-height: 51px;
}

View File

@@ -1,9 +1,14 @@
@primary-color: #08B74F; @primary-color: #08B74F;
@import url('https://rsms.me/inter/inter.css');
body {
font-family: "Inter", sans-serif;
}
.teaser { .teaser {
background: white; background: white;
border-radius: 10px; border-radius: 9px;
border: 1px solid #ddd; border: 1px solid #C4C4C4;
.teaser-body { .teaser-body {
padding: 20px; padding: 20px;
@@ -16,6 +21,8 @@
.sketch-teaser { .sketch-teaser {
.teaser(); .teaser();
width: 220px; width: 220px;
margin-bottom: 30px;
margin-top: 30px;
svg { svg {
width: 200px; width: 200px;
@@ -25,8 +32,9 @@
padding: 10px; padding: 10px;
} }
.sketch-footer { .sketch-footer {
border-top: 1px solid#C4C4C4;
padding: 10px; padding: 10px;
background: #eee; background: #F6F6F6;
border-radius: 0px 0px 10px 10px; border-radius: 0px 0px 10px 10px;
} }
} }
@@ -34,6 +42,8 @@
.course-teaser { .course-teaser {
.teaser(); .teaser();
color: #444; color: #444;
margin-bottom: 20px;
margin-top: 20px;
h3, h4 { h3, h4 {
color: black; color: black;
@@ -64,10 +74,13 @@ section {
section h2 { section h2 {
margin-bottom: 40px; margin-bottom: 40px;
font-size: 48px;
line-height: 58px;
font-weight: bold;
} }
section.lightgray { section.lightgray {
background: #f8f8f8; background: #F6F6F6;
} }
#hero .jumbotron { #hero .jumbotron {

View File

@@ -10,7 +10,7 @@
<section id="hero"> <section id="hero">
<div class="container"> <div class="container">
<div class="jumbotron"> <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">Hands-on online courses designed by experts, delivered by passionate mentors.</p>
{{ widgets.RequestInvite() }} {{ widgets.RequestInvite() }}
</div> </div>