Skip to content

Commit 4f7480b

Browse files
Styling the chapters card.
Added python sprints logo with no text to site_logo folder.
1 parent 16d0a82 commit 4f7480b

File tree

4 files changed

+30
-26
lines changed

4 files changed

+30
-26
lines changed

_sass/style.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,26 @@ a {
433433
box-shadow: rgba(0, 0, 0, 0.76) 5px 5px 5px 0;
434434
}
435435

436+
.chapters__card-container {
437+
margin-top: 1em;
438+
}
439+
440+
.chapters__card-main {
441+
background: rgba(0, 0, 0, 0.7);
442+
box-shadow: rgba(0, 0, 0, 0.76) 5px 5px 5px 0;
443+
border: black 1px solid;
444+
}
445+
446+
.chapters__card-header {
447+
border-bottom: rgba(129, 129, 129, 0.41) 1px solid;
448+
background-color: $dark-blue;
449+
}
450+
451+
.chapters__card-title {
452+
@extend .title-light;
453+
font-size: 1.1em;
454+
}
455+
436456
.events {
437457
margin-top: 15%;
438458
background: $background-dark;

index.html

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -178,34 +178,16 @@ <h2 class="chapters__title">Chapters</h2>
178178

179179
</div>
180180
</div>
181-
<div class="row">
181+
<div class="chapters__card-container row">
182182
<div class="col-12">
183183
<!--place cards with chapter names here-->
184184
<div class="card-deck">
185-
<div class="card">
186-
<div class="card-header">
187-
Featured
188-
</div>
189-
<img class="card-img-top" src="..."
190-
alt="Card image cap">
191-
<div class="card-block">
192-
<h4 class="card-title">Card
193-
title</h4>
194-
<p class="card-text">This is a
195-
longer card with supporting text
196-
below as a natural lead-in to
197-
additional content. This content
198-
is a little bit longer.</p>
199-
<p class="card-text">
200-
<small class="text-muted">Last
201-
updated 3 mins ago
202-
</small>
203-
</p>
204-
</div>
205-
</div>
206-
<div class="card">
207-
<div class="card-header">
208-
Featured
185+
<div class="chapters__card-main card">
186+
<div class="chapters__card-header card-header">
187+
<h2 class="chapters__card-title">
188+
<img src="static/images/site_logo/python_sprints_logo_triangles_no_text_dark_background.png" height="50">
189+
London Python Sprints
190+
</h2>
209191
</div>
210192
<img class="card-img-top" src="..."
211193
alt="Card image cap">

static/credits.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ contact: <a href='https://www.freepik.com/free-photo/blank-business-cards-and-cu
1212

1313
events photo: Photo by Alex Kotliarskyi on Unsplash
1414

15-
passion photo: Photo by Jefferson Santos on Unsplash
15+
passion photo: Photo by Jefferson Santos on Unsplash
16+
17+
8.18 KB
Loading

0 commit comments

Comments
 (0)