Skip to content

Commit

Permalink
Improve sponsorship banner
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed May 25, 2020
1 parent 95e4d68 commit e06a81c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="icon" type="image/x-icon" href="//theme.thephpleague.com/img/favicon.ico" />
<link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?2">
<link rel="stylesheet" href="/custom.css?27">
<link rel="stylesheet" href="/custom.css?28">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.project.google_analytics_tracking_id }}"></script>
<script>
Expand Down Expand Up @@ -108,7 +108,7 @@ <h2>{{ section[0] }}</h2>
</main>

<aside class="sponsors hide">
<p><a class="close" title="hide this message">x</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">monthly sponsorship!</a></p>
<p><a class="close" title="hide this message">&#10799;</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">sponsorship!</a></p>
</aside>

<footer>
Expand Down
4 changes: 2 additions & 2 deletions docs/_layouts/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="icon" type="image/x-icon" href="{{ site.data.images.favicon }}" />
<link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?2">
<link rel="stylesheet" href="/homepage.css?19">
<link rel="stylesheet" href="/homepage.css?20">
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.project.google_analytics_tracking_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand All @@ -36,7 +36,7 @@ <h2>{{ site.data.project.tagline }}</h2>
</header>

<aside class="sponsors hide">
<p><a class="close" title="hide this message">x</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">monthly sponsorship!</a></p>
<p><a class="close" title="hide this message">&#10799;</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">sponsorship!</a></p>
</aside>

<main>
Expand Down
5 changes: 4 additions & 1 deletion docs/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,11 @@ main menu ul li.selected a:hover {
color:#ea0a86;
background: transparent;
font-weight: bold;
font-size:1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:2em;
cursor: pointer;
padding:0;
margin-right:0;
}

.hide {
Expand Down
5 changes: 4 additions & 1 deletion docs/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,11 @@ main div > code {
color:#ea0a86;
background: transparent;
font-weight: bold;
font-size:1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:2em;
cursor: pointer;
padding:0;
margin-right:0;
}

.hide {
Expand Down

0 comments on commit e06a81c

Please sign in to comment.