Randomize order.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Wed, 10 Sep 2014 16:39:31 +0000 (18:39 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Wed, 10 Sep 2014 16:39:31 +0000 (18:39 +0200)
aboutus.html

index eab29cf5db3ab676db7ac40067ac582ab6c3a992..bd3f2ba76818f7c16098ea9de0a4c4a75b7c796c 100644 (file)
@@ -21,7 +21,6 @@
       .mlp {
           max-width: 20em;
           margin: auto;
-          text-align: center;
           list-style-type: none;
           margin-bottom: 2em;
           margin-top: 1em;
           border-radius: 10%;
           border-color: rgb(244, 126, 126);
       }
+
     </style>
+    <script>
+      window.addEventListener('DOMContentLoaded', function () {
+          var es = document.getElementById('entities');
+          for (var i = es.children.length; i >= 0; i--) {
+              es.appendChild(es.children[Math.random() * i | 0]);
+          }
+      });
+    </script>
   </head>
   <body>
     <header>
@@ -67,7 +75,7 @@
       <h1>About Us</h1>
     </header>
     <main>
-      <div style="text-align: center">
+      <div id=entities>
         <div class=entity>
           <h4><a href="https://korewanetadesu.com/">Joe</a></h4>
           <a href="https://korewanetadesu.com/"><img src=joe.jpg></a>
           </p>
         </div>
       </div>
-      <p style='text-align: center'>
+      <p>
         We make games and game-like things and other things.
       </p>
-      <p style='text-align: center'>
+      <p>
         Manifestos are boring so here are some things we like that you
         should check out. They intersect with our views but also
         they're consistently great.