Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NumFOCUS logo to website #87

Merged
merged 4 commits into from Apr 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -194,6 +194,7 @@ GEM
tzinfo-data (1.2017.2)
tzinfo (>= 1.0.0)
unicode-display_width (1.1.3)
wdm (0.1.1)

PLATFORMS
ruby
Expand All @@ -204,6 +205,7 @@ DEPENDENCIES
kramdown
rouge
tzinfo-data
wdm (~> 0.1.0)

BUNDLED WITH
1.14.6
11 changes: 3 additions & 8 deletions _includes/footer.html
@@ -1,8 +1,3 @@
<div class="container">
{% include social-buttons.html %}

<p>Built with <a href="http://getbootstrap.com">Bootstrap</a></p>
<ul class="footer-links">
<li>Currently v{{ site.current_version }}</li>
</ul>
</div>
<footer class="container">
{% include social-buttons.html %}
</footer>
2 changes: 1 addition & 1 deletion _includes/js_footer.html
Expand Up @@ -3,7 +3,7 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="{{ site.url }}/js/bootstrap.min.js"></script>

<script src="{{ site.url }}/docs-assets/js/version.js"></script>
<script src="{{ site.url }}/docs-assets/js/holder.js"></script>

<script src="{{ site.url }}/docs-assets/js/application.js"></script>
Expand Down
10 changes: 9 additions & 1 deletion _includes/social-buttons.html
@@ -1,6 +1,14 @@
<div class="bs-social">
<ul class="bs-social-buttons">
<li>
<li>
<p> A
<a href="https://www.numfocus.org/">
<img src="/docs-assets/img/numfocus-logo.svg" width="150px;" height="50px;" alt="Numfocus">
</a>
Fiscally Sponsored Project.
</p>
</li>
<li>
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=sunpy&amp;repo=sunpy&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
</li>
<li>
Expand Down
5 changes: 2 additions & 3 deletions _layouts/default.html
Expand Up @@ -54,12 +54,11 @@ <h1>{{ page.title }}</h1>

</div>

<!-- Footer
==================================================
<!-- Footer -->
<footer class="bs-footer" role="contentinfo">
{% include footer.html %}
</footer>
-->

<!-- JS and analytics only. -->
{% include js_footer.html %}

Expand Down
15 changes: 15 additions & 0 deletions about.html
Expand Up @@ -172,3 +172,18 @@ <h1 id="thanks">Special Thanks</h1>
SunPy would like to thank both of these programs for their support.
</p>
</div>


<div class="bs-docs-section">
<div class="page-header">
<h1 id="sponsored">Financial Support</h1>
</div>
<p class="lead">SunPy is fiscally sponsored by <a href="http://numfocus.org/">NumFOCUS</a></p>
<p> If you like SunPy and want to support our goal that is to facilitate and promote the use and development of a community-led, free and open-source solar data-analysis software based on the scientific Python environment, consider making a <a href="https://www.flipcause.com/widget/give_now/MTgxMTU=">donation</a> to our project.</p>
<a href="http://numfocus.org/"><img src="/docs-assets/img/numfocus-logo.svg" width="375px;" height="125px;" alt="numfocus-logo" style="padding-bottom:20px;padding-top:10px;display:block;
margin: 0 auto;"></a>
<p>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://www.flipcause.com/widget/give_now/MTgxMTU=" data-text="Donate to the SunPy Project" data-via="SunPyProject" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</p>
</div>
32 changes: 5 additions & 27 deletions docs-assets/css/docs.css
Expand Up @@ -125,29 +125,15 @@ body {
*/

.bs-footer {
padding-top: 40px;
padding-bottom: 30px;
margin-top: 100px;
background-color: #e5e5e5;
padding-top: 10px;
padding-bottom: 10px;
color: #777;
text-align: center;
border-top: 1px solid #e5e5e5;
}
.footer-links {
margin: 10px 0;
padding-left: 0;
}
.footer-links li {
display: inline;
padding: 0 2px;
}
.footer-links li:first-child {
padding-left: 0;
}

@media (min-width: 768px) {
.bs-footer {
text-align: left;
}
.bs-footer p {
margin-bottom: 0;
}
Expand All @@ -161,8 +147,6 @@ body {
*/

.bs-social {
margin-top: 20px;
margin-bottom: 20px;
text-align: center;
}
.bs-social-buttons {
Expand All @@ -176,12 +160,6 @@ body {
line-height: 1;
padding: 5px 8px;
}
.bs-social-buttons .twitter-follow-button {
width: 225px !important;
}
.bs-social-buttons .twitter-share-button {
width: 98px !important;
}
/* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn {
border: 0;
Expand All @@ -190,10 +168,10 @@ body {

@media (min-width: 768px) {
.bs-social {
text-align: left;
text-align: center;
}
.bs-social-buttons li:first-child {
padding-left: 0;
padding-right: : 0;
}
}

Expand Down
1 change: 1 addition & 0 deletions docs-assets/css/sunpy.css
Expand Up @@ -141,3 +141,4 @@ body {
color: #fed20b;
text-shadow: 0 1px 0 #000;
}

128 changes: 128 additions & 0 deletions docs-assets/img/numfocus-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.