[pypy-commit] pypy.org nikola: restore deleted css to format content

mattip pypy.commits at gmail.com
Sun Feb 9 10:37:52 EST 2020


Author: Matti Picus <matti.picus at gmail.com>
Branch: nikola
Changeset: r975:62179781e13a
Date: 2020-02-09 17:37 +0200
http://bitbucket.org/pypy/pypy.org/changeset/62179781e13a/

Log:	restore deleted css to format content

diff --git a/public/assets/css/styles.css b/public/assets/css/styles.css
--- a/public/assets/css/styles.css
+++ b/public/assets/css/styles.css
@@ -1,5 +1,5 @@
 :root {
-  --content-width: 1000px;
+  --content-width: 900px;
   --breakpoint: 799px;
   --nav-height: 70px;
   --nav-background: #d0dad5;
@@ -49,6 +49,43 @@
   padding-top: 18px;
 }
 
+
+/* For flex layout */
+.row {
+  display: flex;
+  flex-direction: column;
+  padding: 0;
+  width: 100%; }
+  .row .column {
+    display: block;
+    flex: 1 1 auto;
+    margin-left: 0;
+    max-width: 100%;
+    width: 100%; }
+
+ at media (min-width: 40rem) {
+  .row {
+    flex-direction: row;
+    margin-left: -1.0rem;
+    width: calc(100% + 2.0rem); }
+    .row .column {
+      margin-bottom: inherit;
+      padding: 0 1.0rem; } }
+
+ at media screen and (max-width: 40rem) {
+  .row .column {
+    text-align: center; } }
+
+.pb-4 {
+  padding-bottom: 6rem; }
+
+.text-sm {
+  font-size: 1rem; }
+
+.text-lg {
+  font-size: 2rem; }
+
+
 /* For the responsive navbar, adapted from https://www.taniarascia.com/responsive-dropdown-navigation-bar */
 
 @charset "UTF-8";
diff --git a/public/sitemap.xml b/public/sitemap.xml
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -11,7 +11,7 @@
  </url>
  <url>
   <loc>https://www.pypy.org/archive.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/blog/</loc>
@@ -23,26 +23,26 @@
  </url>
  <url>
   <loc>https://www.pypy.org/compat.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/contact.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/download.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/features.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/people.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
  <url>
   <loc>https://www.pypy.org/performance.html</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </url>
 </urlset>
\ No newline at end of file
diff --git a/public/sitemapindex.xml b/public/sitemapindex.xml
--- a/public/sitemapindex.xml
+++ b/public/sitemapindex.xml
@@ -11,6 +11,6 @@
  </sitemap>
  <sitemap>
   <loc>https://www.pypy.org/sitemap.xml</loc>
-  <lastmod>2020-02-09T13:13:00Z</lastmod>
+  <lastmod>2020-02-09T15:31:00Z</lastmod>
  </sitemap>
 </sitemapindex>
\ No newline at end of file
diff --git a/themes/pypy/assets/css/styles.css b/themes/pypy/assets/css/styles.css
--- a/themes/pypy/assets/css/styles.css
+++ b/themes/pypy/assets/css/styles.css
@@ -1,5 +1,5 @@
 :root {
-  --content-width: 1000px;
+  --content-width: 900px;
   --breakpoint: 799px;
   --nav-height: 70px;
   --nav-background: #d0dad5;
@@ -49,6 +49,43 @@
   padding-top: 18px;
 }
 
+
+/* For flex layout */
+.row {
+  display: flex;
+  flex-direction: column;
+  padding: 0;
+  width: 100%; }
+  .row .column {
+    display: block;
+    flex: 1 1 auto;
+    margin-left: 0;
+    max-width: 100%;
+    width: 100%; }
+
+ at media (min-width: 40rem) {
+  .row {
+    flex-direction: row;
+    margin-left: -1.0rem;
+    width: calc(100% + 2.0rem); }
+    .row .column {
+      margin-bottom: inherit;
+      padding: 0 1.0rem; } }
+
+ at media screen and (max-width: 40rem) {
+  .row .column {
+    text-align: center; } }
+
+.pb-4 {
+  padding-bottom: 6rem; }
+
+.text-sm {
+  font-size: 1rem; }
+
+.text-lg {
+  font-size: 2rem; }
+
+
 /* For the responsive navbar, adapted from https://www.taniarascia.com/responsive-dropdown-navigation-bar */
 
 @charset "UTF-8";


More information about the pypy-commit mailing list