]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Merge pull request #9 from freenode/design-boxes
[irc/freenode/web-7.0.git] / static / css / style.css
index 23222026c844bf233eeaa7c5b5f9b443926e9d37..df7fc4c33158db000513d4283d339ad596641860 100644 (file)
@@ -19,7 +19,7 @@ body {
 }
 
 a {
-  color: #000;
+  color: rgb(66,139,202);
   text-decoration: none;
 }
 
@@ -125,10 +125,11 @@ a {
 }
 
 .box {
-  text-align: center;
+  text-align: left;
   text-decoration: none;
   color: #333;
   margin-bottom: 5px;
+  padding: 5px;
   -webkit-flex-basis: 30%;
   -ms-flex-preferred-size: 30%;
   flex-basis: 30%;
@@ -140,7 +141,17 @@ a {
 
 .box:hover,
 .box:active {
-  background-color: #eee;
+  background-color: #ddd;
+}
+
+.box div {
+  font-size: 28px;
+  line-height: 28px;
+  padding-left: 8px;
+  font-weight: 700;
+  position: relative;
+  display: inline;
+  top: -10px;
 }
 
 .fa-users {
@@ -152,6 +163,10 @@ a {
   margin-bottom: 5px;
 }
 
+.fa-4x {
+  padding-left: 8px;
+}
+
 .title {
   text-align: center;
 }
@@ -197,6 +212,8 @@ p.art-link {
   margin-top: 0;
 }
 
+/* Article */
+
 /* help */
 
 .hmain {
@@ -228,7 +245,7 @@ a.hchild {
 
 a.hchild:hover,
 a.hchild:active {
-  background-color: #eee;
+  background-color: #ddd;
 }
 
 .hchild:first-child {
@@ -325,6 +342,31 @@ a.hchild:active {
   .hdn {
     display: none;
   }
+
+  .box {
+    text-align: center;
+  }
+
+  .child {
+    font-size: 20px;
+    line-height: 30px;
+    padding: 10px 0 5px;
+  }
+
+  .fa-4x {
+    padding: 0;
+    margin: 0;
+  }
+
+  .box div {
+    position: relative;
+    top: initial;
+    font-size: 16px;
+    font-weight: normal;
+    line-height: 16px;
+    padding: 10px 0;
+    display: block;
+  }
 }
 
 .footer h2,