Skip to content

Commit

Permalink
Put a white background in CSS on all logos, pad, outline, etc.
Browse files Browse the repository at this point in the history
Looks decent on large screens, small screens, and dark/light modes.
  • Loading branch information
ts4z committed Jan 31, 2025
1 parent 4cd0e15 commit 4a5fb30
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 14 deletions.
14 changes: 9 additions & 5 deletions assets/css/extended/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ body {
clear: right;
}

.logoright {
float: right;
.logo-pad {
float: left;
padding-right: 20px;
width: 40%;
clear: right;
backdrop-filter: blur(10%);
background-color: rgba(80, 80, 80, 0.4);
}

.logo-left {
background-color: #ffffff;
padding: 10px;
border: solid;
border-width: 1px;
border-radius: 20px;
}

Expand Down
24 changes: 15 additions & 9 deletions content/other-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,29 @@ tags:
We also organize events in Atlantic City, Connecticut, Maryland, and a second
event in Las Vegas!

{{< figure src="/logos/AtLarge_v5.png" class="logoright" >}}
{{< logo-left href="https://www.atlargepoker.com/" src="/logos/AtLarge_v5.png" >}}

## ATLARGE

For more information about ATLARGE, including our email list registration link, please visit [www.atlargepoker.com](https://www.atlargepoker.com)!
ATLARGE 2025 will take place April 4-6 at the Borgata in Atlantic City, NJ.

For more information about ATLARGE, including our email list registration link,
please visit [www.atlargepoker.com](https://www.atlargepoker.com)!

{{< hr-clear >}}

{{< figure src="/logos/fargo_logo_v1.png" class="logoright" >}}
{{< logo-left href=http://www.fargopoker.org/ src=/logos/fargo_logo_v1.png >}}

## FARGO

FARGO 2025 will be October 16-19.
FARGO takes place each fall in Connecticut. FARGO 2025 will be October 16-19.

Visit [www.fargopoker.org](https://www.fargopoker.org) for additional
Visit [www.fargopoker.org](http://www.fargopoker.org/) for additional
information.

{{< hr-clear >}}

{{< figure src="/logos/argem+logo-504w.jpg" class="logoright" >}}
{{< logo-left href=https://argempoker.com src="/logos/argem.png" >}}

## ARGEM

Expand All @@ -42,10 +45,13 @@ information...hope to see you in the future!

{{< hr-clear >}}

{{< figure src="/logos/embargo_logo_2025.png" class="logoright" >}}
{{< logo-left src="/logos/embargo_logo_2025.png" href=/embargo/ >}}

## EMBARGO

[EMBARGO](/embargo/) is held in January or February. [EMBARGO 2025](/embargo/2025/) is already in the books.
[Results are here](/embargo/results/2025/).
[EMBARGO](/embargo/) is held in January or February in or around Las Vegas.

[EMBARGO 2025](/embargo/2025/) is already in the books. [Results are
here](/embargo/results/2025/).

{{< hr-clear >}}
9 changes: 9 additions & 0 deletions layouts/shortcodes/logo-left.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{ $local := resources.Get .Params.src }}
{{ $inline := $local.Fit "500x500" }}

<a href="{{ .Get "href" }}">
<span class="logo-pad">
<img class="logo-left"
src="{{- $inline.RelPermalink -}}">
</span>
</a>

0 comments on commit 4a5fb30

Please sign in to comment.