Skip to content

Commit

Permalink
reformat events-widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Schürholz committed Jan 2, 2025
1 parent b5b6aa4 commit f256bbd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
7 changes: 6 additions & 1 deletion src/scss/components/botc-event-widget.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.botc-event-widget {
#botc-event-widget {
.event {
transition: background-color 0.15s;
}
Expand All @@ -9,4 +9,9 @@
font-size: 1.15rem;
margin: 0;
}
a .bi-person-plus-fill::before {
border-radius: 1em;
padding: 0.5ex;
outline: 1px solid var(--bs-link-color);
}
}
26 changes: 20 additions & 6 deletions src/scss/other.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
color: $dark-purple;
}

$sizes: ( 25: 25%, 50: 50%, 75: 75%, 100: 100%, );
$sizes: (25: 25%, 50: 50%, 75: 75%, 100: 100%,);
@each $breakpoint in map-keys($grid-breakpoints) {
@each $size, $length in $sizes {
@include media-breakpoint-up($breakpoint) {
.w-#{$breakpoint}-#{$size} {width: $length !important;}
.w-#{$breakpoint}-#{$size} {
width: $length !important;
}
}
}
}
Expand All @@ -28,6 +30,7 @@ $sizes: ( 25: 25%, 50: 50%, 75: 75%, 100: 100%, );

footer {
background-color: $dark-purple;

a:hover {
color: #ffffff;
}
Expand All @@ -37,10 +40,16 @@ footer {
color: $dark-purple;
}

#team .card-title svg {
width: 100%;
height: 100%;
color: $dark-purple;
#team {
.card-title svg {
width: 100%;
height: 100%;
color: $dark-purple;
}
h3.card-title {
text-transform: uppercase;
font-family: "Dumbledore 1", #{$font-family-base};
}
}

#koop .card-img-container {
Expand All @@ -58,6 +67,7 @@ footer {
emph.good {
color: $good;
}

emph.bad {
color: $bad;
}
Expand All @@ -67,15 +77,19 @@ emph.bad {
text-decoration: none;
text-transform: none;
}

.dot::after {
content: '.';
}

.ddot::after {
content: ':';
}

.qmark::after {
content: '?';
}

.emark::after {
content: '!';
}
Expand Down

0 comments on commit f256bbd

Please sign in to comment.