Skip to content

WEB: Adding new pandas logo #28948

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2019
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/pandas/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<title>pandas - Python Data Analysis Library</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel='shortcut icon' type='image/x-icon' href='{{ base_url }}/static/img/favicon.ico'/>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
Expand Down
85 changes: 81 additions & 4 deletions web/pandas/about/citing.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,91 @@ If you use _pandas_ for a scientific publication, we would appreciate citations

When using the project name _pandas_, please use it in lower case, even at the beginning of a sentence.

The official logo of _pandas_ is:
The official logos of _pandas_ are:

![]({{ base_url }}/static/img/pandas.svg)
### Primary logo

You can download a `svg` version of the logo [here]({{ base_url }}/static/img/pandas.svg).
<table class="table logo">
<tr>
<td>
<img alt="" src="{{ base_url }}/static/img/pandas.svg"/>
</td>
<td style="background-color: #150458">
<img alt="" src="{{ base_url }}/static/img/pandas_white.svg"/>
</td>
</tr>
</table>

### Secondary logo

<table class="table logo">
<tr>
<td>
<img alt="" src="{{ base_url }}/static/img/pandas_secondary.svg"/>
</td>
<td style="background-color: #150458">
<img alt="" src="{{ base_url }}/static/img/pandas_secondary_white.svg"/>
</td>
</tr>
</table>

### Logo mark

<table class="table logo">
<tr>
<td>
<img alt="" src="{{ base_url }}/static/img/pandas_mark.svg"/>
</td>
<td style="background-color: #150458">
<img alt="" src="{{ base_url }}/static/img/pandas_mark_white.svg"/>
</td>
</tr>
</table>

### Logo usage

The pandas logo is available in full color and white accent.
The full color logo should only appear against white backgrounds.
The white accent logo should go against contrasting color background.

When using the logo, please follow the next directives:

- Leave enough margin around the logo
- Primary logo should never be seen under 1 inch in size for printing and 72px for web
- The secondary logo should never be seen under 0.75 inch in size for printing and 55px for web
- Leave enough margin around the logo (leave the height of the logo in the top, bottom and both sides)
- Do not distort the logo by changing its proportions
- Do not place text or other elements on top of the logo

### Colors

<table class="table">
<tr>
<td style="text-align: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<circle cx="50" cy="50" r="50" fill="#150458"/>
</svg>
<br/>
<b style="color: #150458;">Blue</b><br/>
RGB: R21 G4 B88<br/>
HEX: #150458
</td>
<td style="text-align: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<circle cx="50" cy="50" r="50" fill="#ffca00"/>
</svg>
<br/>
<b style="color: #150458;">Yellow</b><br/>
RGB: R255 G202 B0<br/>
HEX: #FFCA00
</td>
<td style="text-align: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<circle cx="50" cy="50" r="50" fill="#e70488"/>
</svg>
<br/>
<b style="color: #150458;">Pink</b><br/>
RGB: R231 G4 B136<br/>
HEX: #E70488
</td>
</tr>
</table>
2 changes: 1 addition & 1 deletion web/pandas/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ main:
- tables
- fenced_code
static:
logo: # /static/img/pandas.svg
logo: /static/img/pandas_white.svg
css:
- /static/css/pandas.css
navbar:
Expand Down
8 changes: 7 additions & 1 deletion web/pandas/static/css/pandas.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ code {
color: #130654;
}
a.navbar-brand img {
max-height: 2em;
height: 3rem;
}
div.card {
margin: 0 0 .2em .2em !important;
Expand All @@ -52,3 +52,9 @@ div.card .card-title {
.navbar-dark .navbar-nav .nav-link:hover {
color: white;
}
table.logo td {
text-align: center;
}
table.logo img {
height: 4rem;
}
Binary file added web/pandas/static/img/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion web/pandas/static/img/pandas.svg

This file was deleted.

1 change: 1 addition & 0 deletions web/pandas/static/img/pandas.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 111 additions & 0 deletions web/pandas/static/img/pandas_mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 111 additions & 0 deletions web/pandas/static/img/pandas_mark_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/pandas/static/img/pandas_secondary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/pandas/static/img/pandas_secondary_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/pandas/static/img/pandas_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.