]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
formatting
authorEd Kellett <redacted>
Wed, 24 Feb 2016 15:43:14 +0000 (15:43 +0000)
committerEd Kellett <redacted>
Wed, 24 Feb 2016 15:43:14 +0000 (15:43 +0000)
static/css/style.css
templates/index.html

index 14b5b9b4655f3702c21ef27eb69ad9b6bc7c63da..d076d4280a860d8cf9cf082e411c629022af08dc 100644 (file)
@@ -14,7 +14,7 @@
     --box-color: #4c5456;
     --box-hover-color: #292f2f;
     --box-round: 10px;
-    --max-width: 800px;
+    --max-width: 600px;
 }
 
 /* reset css for browser compat */
@@ -90,16 +90,18 @@ a.nav-light {
 
 /* main */
 .container {
-    padding: 50px 0 0;
     width: 100%;
     min-height: 98vh;
+    padding-top: 50px;
     padding-bottom: 11.5rem;
 }
 
 .main {
     margin: 0 auto;
     margin-top: .75em;
+    padding: 0 .75em;
     max-width: var(--max-width);
+    line-height: 140%;
 }
 
 .main h1,
@@ -108,7 +110,7 @@ a.nav-light {
 .main li,
 .main p + p,
 .main ul + p {
-    margin-top: .5em;
+    margin-top: .7em;
 }
 
 .main ul {
@@ -197,17 +199,11 @@ div.artlist {
     flex-wrap: wrap;
     justify-content: flex-start;
     align-items: stretch;
+    max-width: 600px;
+    margin: 0 auto;
     margin-top: .5em;
 }
 
-@media all and (min-width: 800px) {
-    div.artlist {
-        max-width: 50%;
-        margin-right: auto;
-        margin-left: auto;
-    }
-}
-
 div.art:not(:first-child) {
     border-top: 1px solid var(--border-color);
 }
@@ -402,11 +398,6 @@ a.hchild:hover,a.hchild:active {
         border-radius: calc(var(--box-round) / 2);
         margin: 5px 0;
     }
-
-    .main {
-        margin: .75em .75em;
-    }
-
 }
 
 .footer h2,.footer h3 {
index b242f8b704ed446545adef911617ba042de2a2ac..68e068cee3213ac1eff7d1fe180e0fe067fcebf5 100644 (file)
@@ -2,7 +2,7 @@
 {% set title = config.name %}
 {% block content %}
 <div class="jumbotron">
-    <h2 class="child">Welcome to freenodesupporting free and open source communities since 1998</h2>
+    <h2 class="child">Welcome to freenode&thinsp;—&thinsp;supporting free and open source communities since 1998</h2>
     <div class="box-container">
         <a class="box" href="about">
             <i class="fa fa-comment fa-4x"></i>