Skip to content

Commit e6fc5f4

Browse files
Created minimal style for the events / chapters.
1 parent 095736e commit e6fc5f4

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

_sass/buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
transition: all 0.5s ease-in-out;
2424
&:hover {
2525
color: $orange;
26-
//background: $button-background-hover;
26+
background: transparent;
2727
border: $black 1px solid;
2828
}
2929
}

_sass/style.scss

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ a {
436436
width: 100%;
437437
border-radius: 5px;
438438
border: black 1px solid;
439-
box-shadow: rgba(0, 0, 0, 0.76) 5px 5px 5px 0;
439+
//box-shadow: rgba(0, 0, 0, 0.76) 2px 2px 2px 0;
440440
}
441441

442442
.chapters__card-container {
@@ -454,19 +454,22 @@ a {
454454
}
455455

456456
.chapters__card-main {
457-
background: rgba(0, 0, 0, 0.7);
458-
box-shadow: rgba(0, 0, 0, 0.76) 5px 5px 5px 0;
457+
//background: rgba(0, 0, 0, 0.7);
458+
background: rgba(250, 235, 215, 0.85);
459+
//box-shadow: rgba(0, 0, 0, 0.76) 2px 2px 2px 0;
459460
border: black 1px solid;
460461
}
461462

462463
.chapters__card-header {
463464
border-bottom: rgba(129, 129, 129, 0.41) 1px solid;
464-
background-color: $dark-blue;
465+
//background-color: $dark-blue;
466+
background: rgba(129, 129, 129, 0.61);
465467
padding: 0;
466468
}
467469

468470
.chapters__card-title {
469-
@extend .title-light;
471+
@extend .title;
472+
color: $black;
470473
text-align: center;
471474
font-size: 1.25em;
472475
padding-top: 0.25em;
@@ -476,7 +479,7 @@ a {
476479

477480
.chapters__card-paragraph {
478481
@extend .paragraph;
479-
color: $light-blue;
482+
color: $very-dark-blue;
480483
}
481484

482485
.chapters__flag {
@@ -488,18 +491,18 @@ a {
488491
}
489492

490493
.chapters__card-button {
491-
@extend .button-standard;
494+
@extend .button-minimal;
492495
min-width: 50%;
493496
padding: 0;
494497
margin-bottom: 0.25em;
495498
&:hover > .chapters__card-icon {
496-
color: $button-text-hover;
499+
color: $orange;
497500
}
498501
}
499502

500503
.chapters__card-icon {
501504
text-align: center;
502-
color: $button-text;
505+
color: $black;
503506
font-size: 1em;
504507
transition: all 0.5s ease-in;
505508
min-width: 100%;

index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,14 @@ <h2 class="chapters__card-title">London Python Sprints</h2>
142142
</div>
143143
<div class="row">
144144
<div class="col-12 text-center">
145-
<a class="chapters__card-button btn btn-primary btn-lg text-center" href="https://www.meetup.com/Python-Sprints/">
146-
<i class="chapters__card-icon fab fa-meetup"></i>
147-
</a>
145+
<a class="chapters__link" href="https://www.meetup.com/Python-Sprints/">
146+
<button class="chapters__card-button button-minimal btn">
147+
<i class="chapters__card-icon fas fa-info-circle"></i>
148+
</button>
149+
</a>
150+
<!--<a class="chapters__card-button btn text-center" href="https://www.meetup.com/Python-Sprints/">-->
151+
<!--<i class="chapters__card-icon fab fa-meetup"></i>-->
152+
<!--</a>-->
148153
</div>
149154
</div>
150155
</div>

0 commit comments

Comments
 (0)