Skip to content

Commit 03c1a3d

Browse files
WEB: Adding new pandas logo (#28948)
1 parent ef77b57 commit 03c1a3d

11 files changed

+316
-7
lines changed

web/pandas/_templates/layout.html

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<title>pandas - Python Data Analysis Library</title>
1313
<meta charset="utf-8">
1414
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
15+
<link rel='shortcut icon' type='image/x-icon' href='{{ base_url }}/static/img/favicon.ico'/>
1516
<link rel="stylesheet"
1617
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
1718
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"

web/pandas/about/citing.md

+81-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,91 @@ If you use _pandas_ for a scientific publication, we would appreciate citations
3333

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

36-
The official logo of _pandas_ is:
36+
The official logos of _pandas_ are:
3737

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

40-
You can download a `svg` version of the logo [here]({{ base_url }}/static/img/pandas.svg).
40+
<table class="table logo">
41+
<tr>
42+
<td>
43+
<img alt="" src="{{ base_url }}/static/img/pandas.svg"/>
44+
</td>
45+
<td style="background-color: #150458">
46+
<img alt="" src="{{ base_url }}/static/img/pandas_white.svg"/>
47+
</td>
48+
</tr>
49+
</table>
50+
51+
### Secondary logo
52+
53+
<table class="table logo">
54+
<tr>
55+
<td>
56+
<img alt="" src="{{ base_url }}/static/img/pandas_secondary.svg"/>
57+
</td>
58+
<td style="background-color: #150458">
59+
<img alt="" src="{{ base_url }}/static/img/pandas_secondary_white.svg"/>
60+
</td>
61+
</tr>
62+
</table>
63+
64+
### Logo mark
65+
66+
<table class="table logo">
67+
<tr>
68+
<td>
69+
<img alt="" src="{{ base_url }}/static/img/pandas_mark.svg"/>
70+
</td>
71+
<td style="background-color: #150458">
72+
<img alt="" src="{{ base_url }}/static/img/pandas_mark_white.svg"/>
73+
</td>
74+
</tr>
75+
</table>
76+
77+
### Logo usage
78+
79+
The pandas logo is available in full color and white accent.
80+
The full color logo should only appear against white backgrounds.
81+
The white accent logo should go against contrasting color background.
4182

4283
When using the logo, please follow the next directives:
4384

44-
- Leave enough margin around the logo
85+
- Primary logo should never be seen under 1 inch in size for printing and 72px for web
86+
- The secondary logo should never be seen under 0.75 inch in size for printing and 55px for web
87+
- Leave enough margin around the logo (leave the height of the logo in the top, bottom and both sides)
4588
- Do not distort the logo by changing its proportions
4689
- Do not place text or other elements on top of the logo
90+
91+
### Colors
92+
93+
<table class="table">
94+
<tr>
95+
<td style="text-align: center;">
96+
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
97+
<circle cx="50" cy="50" r="50" fill="#150458"/>
98+
</svg>
99+
<br/>
100+
<b style="color: #150458;">Blue</b><br/>
101+
RGB: R21 G4 B88<br/>
102+
HEX: #150458
103+
</td>
104+
<td style="text-align: center;">
105+
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
106+
<circle cx="50" cy="50" r="50" fill="#ffca00"/>
107+
</svg>
108+
<br/>
109+
<b style="color: #150458;">Yellow</b><br/>
110+
RGB: R255 G202 B0<br/>
111+
HEX: #FFCA00
112+
</td>
113+
<td style="text-align: center;">
114+
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
115+
<circle cx="50" cy="50" r="50" fill="#e70488"/>
116+
</svg>
117+
<br/>
118+
<b style="color: #150458;">Pink</b><br/>
119+
RGB: R231 G4 B136<br/>
120+
HEX: #E70488
121+
</td>
122+
</tr>
123+
</table>

web/pandas/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ main:
1616
- tables
1717
- fenced_code
1818
static:
19-
logo: # /static/img/pandas.svg
19+
logo: /static/img/pandas_white.svg
2020
css:
2121
- /static/css/pandas.css
2222
navbar:

web/pandas/static/css/pandas.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ code {
3131
color: #130654;
3232
}
3333
a.navbar-brand img {
34-
max-height: 2em;
34+
height: 3rem;
3535
}
3636
div.card {
3737
margin: 0 0 .2em .2em !important;
@@ -52,3 +52,9 @@ div.card .card-title {
5252
.navbar-dark .navbar-nav .nav-link:hover {
5353
color: white;
5454
}
55+
table.logo td {
56+
text-align: center;
57+
}
58+
table.logo img {
59+
height: 4rem;
60+
}

web/pandas/static/img/favicon.ico

1.12 KB
Binary file not shown.

web/pandas/static/img/pandas.svg

-1
This file was deleted.

web/pandas/static/img/pandas.svg

+1
Loading

web/pandas/static/img/pandas_mark.svg

+111
Loading
+111
Loading
Loading
Loading
+1
Loading

0 commit comments

Comments
 (0)