Skip to content

Commit 020379c

Browse files
committed
design: change info columns into cards
1 parent 6625edf commit 020379c

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

images/pillow-logo-248x250.png

88.4 KB
Loading

index.html

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h1 class="display-6 fw-bold">Pillow</h1>
9090
</div>
9191
<div class="row">
9292
<div class="col-md-12">
93-
<div class="p-4 mb-4 text-center">
93+
<div class="p-4 mb-3 text-center">
9494
<h2>
9595
<a target="_blank"
9696
class="text-decoration-none text-dark"
@@ -99,33 +99,39 @@ <h2>
9999
</div>
100100
</div>
101101
</div>
102-
<div class="row align-items-md-stretch">
103-
<div class="col-md-4">
104-
<div class="h-100 p-5 bg-dark text-light rounded-3">
105-
<h2>Documentation</h2>
106-
<p>
107-
Our <a target="_blank" href="https://pillow.readthedocs.io/">documentation</a> is hosted by Read the Docs and includes
108-
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/installation.html">installation instructions</a>,
109-
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/handbook/index.html">handbook</a>,
110-
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/reference/index.html">API reference</a> and
111-
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/releasenotes/index.html">release notes</a>.
112-
</p>
102+
<div class="row row-cols-1 row-cols-lg-3 g-4">
103+
<div class="col">
104+
<div class="card h-100 p-4 bg-dark text-light rounded-3">
105+
<div class="card-body">
106+
<h2 class="card-title">Documentation</h2>
107+
<p class="card-text">
108+
Our <a target="_blank" href="https://pillow.readthedocs.io/">documentation</a> is hosted by Read the Docs and includes
109+
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/installation.html">installation instructions</a>,
110+
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/handbook/index.html">handbook</a>,
111+
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/reference/index.html">API reference</a> and
112+
<a target="_blank" href="https://pillow.readthedocs.io/en/stable/releasenotes/index.html">release notes</a>.
113+
</p>
114+
</div>
113115
</div>
114116
</div>
115-
<div class="col-md-4">
116-
<div class="h-100 p-5 bg-white border rounded-3">
117-
<h2>Discussion</h2>
118-
<p>
119-
Discussion about Pillow development, programming and technical issues occurs on
120-
<a target="_blank" href="https://github.com/python-pillow/Pillow/issues">GitHub</a>,
121-
<a target="_blank" href="https://stackoverflow.com/questions/tagged/python-imaging-library">Stack Overflow</a> and
122-
<a target="_blank" href="https://gitter.im/python-pillow/Pillow">Gitter</a>.
117+
<div class="col">
118+
<div class="card h-100 p-4 bg-white border rounded-3">
119+
<div class="card-body">
120+
<h2 class="card-title">Discussion</h2>
121+
<p class="card-text">
122+
Discussion about Pillow development, programming and technical issues occurs on
123+
<a target="_blank" href="https://github.com/python-pillow/Pillow/issues">GitHub</a>,
124+
<a target="_blank" href="https://stackoverflow.com/questions/tagged/python-imaging-library">Stack Overflow</a> and
125+
<a target="_blank" href="https://gitter.im/python-pillow/Pillow">Gitter</a>.
126+
</p>
123127
</div>
124128
</div>
125-
<div class="col-md-4">
126-
<div class="h-100 p-5 bg-dark text-light rounded-3">
127-
<h2>Source Code</h2>
128-
<p>
129+
</div>
130+
<div class="col">
131+
<div class="card h-100 p-4 bg-dark text-light rounded-3">
132+
<div class="card-body">
133+
<h2 class="card-title">Source Code</h2>
134+
<p class="card-text">
129135
Our <a target="_blank" href= "https://github.com/python-pillow/Pillow">source code</a> is hosted by GitHub and tested on
130136
<a target="_blank" href="https://github.com/python-pillow/Pillow/actions">GitHub Actions</a>,
131137
<a target="_blank" href="https://ci.appveyor.com/project/python-pillow/Pillow">AppVeyor</a>,
@@ -136,6 +142,7 @@ <h2>Source Code</h2>
136142
</div>
137143
</div>
138144
</div>
145+
</div>
139146
<div class="h-100 p-5 rounded-3 text-center bg-white rounded-3 border my-5">
140147
<h2 class="py-5">For Enterprise</h2>
141148
<img class="img-fluid" src="images/Tidelift_primary-logo.png">

0 commit comments

Comments
 (0)