Skip to content

Commit fe97441

Browse files
Introduced event subtitle - short description of main tasks during the event.
Added address variable to the event. Added time variable to the event. Styled base event card. Constructed base event card for the home page.
1 parent d4223a6 commit fe97441

File tree

3 files changed

+175
-213
lines changed

3 files changed

+175
-213
lines changed

_posts/2018-03-20-Pandas-Beginners-Friendly.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
22
layout: post
33
title: Pandas, Beginners Friendly
4+
subtitle: Improving Pandas documentation
45
project: Pandas
56
project_description: Powerful Python data analysis toolkit
67
project_logo: static/images/events/pandas_logo_donation.png
78
project_link: http://pandas.pydata.org/index.html
89
date: 2018-03-20
9-
venue: Harvey Nash
10+
time: "18:30"
11+
venue: Harvey Nash, London
12+
address: 110 Bishopsgate,<br>London,<br>EC2N 4AY
1013
meetup_link: https://www.meetup.com/Python-Sprints/events/248711552/
1114
event_link:
1215
image:

_sass/style.scss

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -275,32 +275,32 @@ a {
275275
url($background-url);
276276
}
277277

278-
.events-chapters-container {
278+
.upcoming-chapters-container {
279279
@include base-background("../images/events/events-chapters_background_480x205px.jpeg");
280280
}
281281

282282
@media (min-width: 481px){
283-
.events-chapters-container {
283+
.upcoming-chapters-container {
284284
@include base-background("../images/events/events-chapters_background_960x540px.jpeg");
285285
}
286286
}
287287

288288
@media (min-width: 961px){
289-
.events-chapters-container {
289+
.upcoming-chapters-container {
290290
@include base-background("../images/events/events-chapters_background_1920x1080px.jpeg");
291291
}
292292
}
293293

294294
@media (min-width: 1921px){
295-
.events-chapters-container {
295+
.upcoming-chapters-container {
296296
@include base-background("../images/events/events-chapters_background_3840x2160px.jpeg");
297297
}
298298
}
299299

300-
.events-chapters-container {
300+
.upcoming-chapters-container {
301301
background-size: cover;
302302
background-position: center center;
303-
border-top: rgba(129, 129, 129, 0.51) 1px solid;
303+
//border-top: rgba(129, 129, 129, 0.51) 1px solid;
304304

305305
//border-top: rgba(7, 41, 72, 0.71) 1px solid;
306306
min-height: 100vh;
@@ -314,7 +314,7 @@ a {
314314
.upcoming {
315315
//margin-left: 2%;
316316
//margin-right: 2%;
317-
height: 100vh;
317+
//height: 100vh;
318318
}
319319

320320
@media (min-width: 768px) {
@@ -342,8 +342,8 @@ a {
342342
@media (min-width: 768px) {
343343
.upcoming__col {
344344
margin-top: 0;
345-
margin-left: auto;
346-
margin-right: auto;
345+
//margin-left: auto;
346+
//margin-right: auto;
347347
}
348348
}
349349

@@ -353,27 +353,44 @@ a {
353353
width: 100%;
354354
font-size: 2.5em;
355355
color: $title-light;
356-
margin-top: 0;
356+
margin-top: 2em;
357357
margin-bottom: 0;
358358
padding-top: 0.5em;
359359
padding-bottom: 0.5em;
360360
//border-top-left-radius: 20px;
361361
//border-top-right-radius: 20px;
362-
border-bottom: rgba(129, 129, 129, 0.51) 1px solid;
362+
//border-bottom: rgba(129, 129, 129, 0.51) 1px solid;
363363

364364
//border-bottom: rgba(250, 235, 215, 0.85) 1px solid;
365365
}
366+
//
367+
//.upcoming__event-label {
368+
// @extend .event-label;
369+
//}
366370

367-
.upcoming__event-label {
368-
@extend .event-label;
371+
.upcoming__event-title {
372+
@extend .title-light;
373+
font-size: 2em;
374+
margin-top: 0.5em;
375+
margin-bottom: 0.1em;
369376
}
370377

371-
.upcoming__event-title {
372-
@extend .event-title;
373-
background: rgba(7, 41, 72, 0.7);
378+
.upcoming__event-subtitle {
379+
@extend .subtitle;
380+
font-size: 1.25em;
374381
margin-bottom: 0.5em;
375382
}
376383

384+
.upcoming__paragraph {
385+
@extend .subtitle;
386+
color: $light-blue;
387+
margin-bottom: 0.25em;
388+
}
389+
390+
.upcoming__icon {
391+
margin-right: 0.5em;
392+
}
393+
377394
.upcoming__sponsor-col {
378395
background: rgba(7, 41, 72, 0.52);
379396
border: $dark-blue 2px groove;

0 commit comments

Comments
 (0)