Improve credits page with some word breaking magic CSS

This commit is contained in:
Skylar Ittner 2019-09-10 22:41:59 -06:00
parent c2566d4311
commit a15a483dcb
2 changed files with 93 additions and 91 deletions

View File

@ -25,12 +25,12 @@
</div>
<div class="block">
<h3>Map Data and Styles</h3>
<h2>Map Data and Styles</h2>
<p>
Map data &copy; <a href="http://www.openmaptiles.org/" target="_system">OpenMapTiles</a>, &copy; <a href="https://www.openstreetmap.org/copyright" target="_system">OpenStreetMap</a> contributors.
</p>
<h4>OSM Liberty map style</h4>
<pre>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
Mapbox Open Styles are copyright (c) 2014, Mapbox, all rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
@ -61,7 +61,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The visual design features of the Klokantech Terrain style (also known as the "look and feel" of
the map) are licensed under the <a href="http://creativecommons.org/licenses/by/4.0/" target="_system">Creative Commons Attribution 4.0 license</a>.
</p>
<pre>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
Copyright (c) 2016, KlokanTech.com & OpenMapTiles contributors.
Copyright (c) 2014, Mapbox.
All rights reserved.
@ -100,7 +100,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</div>
<div class="block">
<pre>
<h2>Code and Libraries</h2>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE PACKAGEHELPER PRODUCT.
-----

View File

@ -25,12 +25,12 @@
</div>
<div class="block">
<h3>Map Data and Styles</h3>
<h2>Map Data and Styles</h2>
<p>
Map data &copy; <a href="http://www.openmaptiles.org/" target="_system">OpenMapTiles</a>, &copy; <a href="https://www.openstreetmap.org/copyright" target="_system">OpenStreetMap</a> contributors.
</p>
<h4>OSM Liberty map style</h4>
<pre>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
Mapbox Open Styles are copyright (c) 2014, Mapbox, all rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
@ -61,7 +61,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The visual design features of the Klokantech Terrain style (also known as the "look and feel" of
the map) are licensed under the <a href="http://creativecommons.org/licenses/by/4.0/" target="_system">Creative Commons Attribution 4.0 license</a>.
</p>
<pre>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
Copyright (c) 2016, KlokanTech.com & OpenMapTiles contributors.
Copyright (c) 2014, Mapbox.
All rights reserved.
@ -100,7 +100,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</div>
<div class="block">
<pre>
<h2>Code and Libraries</h2>
<pre style="white-space: pre-line; overflow-wrap: break-word;">
{{credits}}
</pre>
</div>