[gimp-web/gimp-web-static] Styling modifications for responsive-width figure/img and line wrapping



commit 34c38b29d40076223984d8fec2ddc9cfba0f78c4
Author: Pat David <pat patdavid net>
Date:   Tue Aug 18 21:21:08 2015 -0500

    Styling modifications for responsive-width figure/img and line wrapping

 content/about/ancient_history.md   |    2 +-
 themes/newgimp/static/css/gimp.css |    7 +++++++
 themes/newgimp/static/css/page.css |    3 ++-
 3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/content/about/ancient_history.md b/content/about/ancient_history.md
index 5d026b0..92f3ed8 100644
--- a/content/about/ancient_history.md
+++ b/content/about/ancient_history.md
@@ -84,7 +84,7 @@ In the new system, there are designated team members; Manish Singh (yosh), for e
 
 In the past year or so, several very specific sites have sprung up that are meant to cater to a particular 
crowd of the GIMP user and developer base.
 
-On April 13th, 1997, <http://xach.dorknet.com/gimp/news/>GIMP News was born. Zach headed this effort. This 
site aimed to become a site to check daily if you wanted to stay on the bleeding edge of GIMP development. If 
you made a plug-in, Zach found out and told the world about it. If a new release was made, it often beat the 
mailing list in getting the news to you. His tutorials and a bug report form (added later) were linked off of 
the news page.
+On April 13th, 1997, <http://xach.dorknet.com/gimp/news/>, GIMP News was born. Zach headed this effort. This 
site aimed to become a site to check daily if you wanted to stay on the bleeding edge of GIMP development. If 
you made a plug-in, Zach found out and told the world about it. If a new release was made, it often beat the 
mailing list in getting the news to you. His tutorials and a bug report form (added later) were linked off of 
the news page.
 
 At about the same time, a huge help in keeping track of the large quantity of plug-ins and planned plug-ins 
appeared on the horizon. The [GIMP Plug-In Registry](http://registry.gimp.org/) allows authors to update 
their plug-ins, and people to register their plans for future plug-ins. If you are a plug-in author, you 
register it here; it stays up-to-date this way, and as a user you can download and compile the newest 
plug-ins that are not included in the distribution selectively. There's even a 'shopping list' that will tar 
up the ones you want and send them all at once.
 
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index 61bb56d..50e4c8e 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -70,6 +70,12 @@ h1 {
 
 p {
     font-weight: 300;
+    -ms-word-break: break-all;
+    word-break: break-all;
+    word-break: break-word;
+    -webkit-hyphens: auto;
+    -moz-hyphens: auto;
+    hyphens: auto;
 }
 
 nav#menu {
@@ -151,6 +157,7 @@ img {
     height: initial;
     margin: 0;
     width: initial;
+    max-width: 100%;
 }
 
 dl {
diff --git a/themes/newgimp/static/css/page.css b/themes/newgimp/static/css/page.css
index 6f720cf..37dac33 100644
--- a/themes/newgimp/static/css/page.css
+++ b/themes/newgimp/static/css/page.css
@@ -61,7 +61,8 @@ figure img {
     max-width: 100%;
     /* margin-bottom: 0.5rem;
      */
-    max-width: 35rem;
+    /*max-width: 35rem;
+     */
 }
 
 figure figcaption {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]