Skip to content

Commit 6f840a8

Browse files
committed
fix: more visible sponsors button on prospectus
1 parent c0487b8 commit 6f840a8

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

assets/_scss/_buttons.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Most btn classes come from Bootstrap
2+
// See node_modules/bootstrap/scss/_buttons.scss
3+
.btn-extra-lg {
4+
padding: 1.25rem 2.5rem;
5+
font-size: 1.4rem;
6+
line-height: 1.5;
7+
border-radius: 0.3rem;
8+
}

assets/css/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929
@import 'forms-pages';
3030
@import 'lanyards';
3131
@import 'a11y-fixes';
32+
@import 'buttons';

prospectus/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ <h1>Code4Lib {{site.data.conf.year}} Sponsor Prospectus</h1>
1212
<p>
1313
<img src="{{ site.baseurl }}/assets/img/persistent/prospectus-collage.jpg" title="Credit sdellis on Twitter" alt="Code4Lib Collage" width="100%">
1414
</p>
15+
{% if site.data.conf.sponsor-btn-link != nil %}
16+
<p class="text-center">
17+
<a class="btn btn-primary btn-extra-lg" href="{{site.data.conf.sponsor-btn-link}}">Sponsor Code4Lib {{site.data.conf.year}}</a>
18+
</p>
19+
{% endif %}
1520
<p>
1621
The Code4Lib {{site.data.conf.year}} Conference, scheduled for {{site.data.conf.days[1].date-data | date: "%B %-d"}} - {{site.data.conf.days.last.date-data | date: "%-d"}}{% if site.data.conf.online-only-conference == false %} in {{site.data.conf.location}}{% endif %}, presents an opportunity for vendors, organizations, libraries, and projects to show their support for open and collaborative solutions for higher education, libraries, museums, and archives by providing financial support and attending the conference.
1722
</p>

0 commit comments

Comments
 (0)