Difference between revisions of "Team:Cambridge-JIC/Wiki Design"

m
Line 26: Line 26:
 
         <div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#fff">
 
         <div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#fff">
 
<h3> Using CSS and JS </h2>
 
<h3> Using CSS and JS </h2>
<p>As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked to in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with <span style="background-color:#fff; color:#123a68"> ?action=raw</span> added. This takes the raw code that was entered.</p>
+
<p>As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked to in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with:
 +
<br>
 +
<span style="background-color:#fff; color:#123a68"> <plaintext> <script src="//2015.igem.org/Team:YourTeam/file?action=raw&ctype=text/javascript"></plaintext> </script> </span>
 +
<br>
 +
for javascript and:
 +
<br>
 +
<span style="background-color:#fff; color:#123a68"> <plaintext><link href="//2015.igem.org/Team:Cambridge-JIC/Assets/OpenSans_css?action=raw&ctype=text/css" rel="stylesheet"></plaintext></span>
 +
<br> for css. This takes the raw code that was entered as if it was an uploaded file.</p>
 
<h3> Bootstrapping your Wiki <h3>
 
<h3> Bootstrapping your Wiki <h3>
  
Line 48: Line 55:
 
<p><ul>
 
<p><ul>
 
<li class="list">We used four different hues that were all cool colours.</li><br>
 
<li class="list">We used four different hues that were all cool colours.</li><br>
<li class="list">Each hue then had two or three shades, made by changing the lightness and saturation.</li><br>
+
<li class="list">Each hue was split into two or three shades, made by changing the lightness and saturation.</li><br>
 
<li class="list">For backgrounds, avoid using highly saturated colours. None of the colours we chose were very saturated, this is to reduce the strain on viewers' eyes. This is why pastel palettes can be so visually pleasing.</li><br>
 
<li class="list">For backgrounds, avoid using highly saturated colours. None of the colours we chose were very saturated, this is to reduce the strain on viewers' eyes. This is why pastel palettes can be so visually pleasing.</li><br>
 
<li class="list"> It's useful to have both dark (around 80/255 lightness) and light (around 220/250 lightness) colours when considering text on backgrounds. High contrast is needed to easily make out the features of words. Note also that fine details in bright blue can be hard to resolve with the human eye due to the lower abundance of S-cone receptor cells in the eye.</li><br>
 
<li class="list"> It's useful to have both dark (around 80/255 lightness) and light (around 220/250 lightness) colours when considering text on backgrounds. High contrast is needed to easily make out the features of words. Note also that fine details in bright blue can be hard to resolve with the human eye due to the lower abundance of S-cone receptor cells in the eye.</li><br>
Line 82: Line 89:
 
</center>
 
</center>
 
<br>
 
<br>
<p> By structuring the website as a 2 layer deep hierarchy, users can travel through our wiki to get an overall idea ang go indepth on anything that catches their eye. Of course, they are also free to teleport to any page with the menu bar above. Finally, our downloads page contain all the possible downloads found throughout the website for ease of access.</p>
+
<p> By structuring the website as a 2 layer deep hierarchy, users can travel through our wiki to get an overall idea and go indepth on anything that catches their eye. Of course, they are also free to teleport to any page with the menu bar above. Finally, our downloads page contain all the possible downloads found throughout the website for ease of access.</p>
 
<center>
 
<center>
 
<hr>
 
<hr>

Revision as of 22:12, 18 September 2015

Wiki Design Guide

Make your wiki more beautiful than our team.


This guide briefly dives into incorporating CSS, Java Script and JQuery into your wiki, a few graphic design tips, and ways to improve the user experience.

Using CSS and JS

As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked to in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with:

<script src="//2015.igem.org/Team:YourTeam/file?action=raw&amp;ctype=text/javascript"></plaintext> </script> </span> <br> for javascript and: <br> <span style="background-color:#fff; color:#123a68"> <plaintext><link href="//2015.igem.org/Team:Cambridge-JIC/Assets/OpenSans_css?action=raw&amp;ctype=text/css" rel="stylesheet"></plaintext></span> <br> for css. This takes the raw code that was entered as if it was an uploaded file.</p> <h3> Bootstrapping your Wiki <h3> <h3> JQuery <h3> </div></div></section> <section style="background-color:#fff"> <div class="slide" style="min-height:0px"> <div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#123a68"> <h2> Graphic Design </h2> <h3> Colours </h3> <p>Before creating too many images and colouring in your wiki, deciding on a colour scheme can ensure your wiki looks professional. </p> <p>Colours in HTML are given as RGB values. These can be difficult to visualise and match. Instead pick your colours first with HSL (hue, saturation and lightness) values. As a guide, three to four different hues is easy to work with.</p> <center> <hr> <img src="//2015.igem.org/wiki/images/2/2f/CamJIC-Colours.png" style="height: 300px; margin-right: 70px"> <hr> </center> <p><ul> <li class="list">We used four different hues that were all cool colours.</li><br> <li class="list">Each hue was split into two or three shades, made by changing the lightness and saturation.</li><br> <li class="list">For backgrounds, avoid using highly saturated colours. None of the colours we chose were very saturated, this is to reduce the strain on viewers' eyes. This is why pastel palettes can be so visually pleasing.</li><br> <li class="list"> It's useful to have both dark (around 80/255 lightness) and light (around 220/250 lightness) colours when considering text on backgrounds. High contrast is needed to easily make out the features of words. Note also that fine details in bright blue can be hard to resolve with the human eye due to the lower abundance of S-cone receptor cells in the eye.</li><br> <li class="list"> Once you have picked a few colours then find their RGB values, ready to use for your website!</li><br> </ul></p> <h3> Fonts </h3> <p>Unify your fonts across your webpage. Ideally, decide on one or to serif fonts and one or two sans-serif fonts. Serifs are the ticks on text that can make it easier to read, as letters are identified more easily. Our wiki uses three fonts: Sabon - a serif font, Open Sans, and Hiragino Sans GB.</p> <center> <hr> <img src="//2015.igem.org/wiki/images/5/5b/CamJIC-Font.png" style="width: 600px; margin-right: 70px"> </center> <hr> <p>When including fonts in style tags in your wiki, assign a family of fonts using <span style="background-color:#123a68; color:#fff"> font-family: font1, font2,...</span> where font1, font2,... is the preferential order of similar fonts to be displayed in case a certain font isn't supported by the user's browser.</p><br> <h3> Making Images with Inkscape </h3> <p>Almost all of our images have been made on the program Inkscape. Inkscape is a free multi platform graphic designing software which is extremely easy to pick up and make graphics with. Three of our team learned the basics over night and created all of the back-panels of this website subsequently with it.</p> <p> Check out Inkscape <a href="//inkscape.org">here</a>.</p> </div></div></section> <section style="background-color:#123a68"> <div class="slide" style="min-height:0px"> <div style="width: 100%; padding:0% 10%; margin: 30px 0px;color:#fff"> <h2> User Experience </h2> <h3>Navigation</h3> <p>Navigation is really important in an iGEM wiki. Users need to be guided through the website, with out losing the freedom to navigate quickly to any other location. Whereever you are in a team's wiki, having an impression of how much information is on the page, and on the other pages keeps the user from feeling lost.</p> <p>Our approach to the navigation of our website involves two depth levels of information. The top menu bar contains the six different aspects of our project and going one by one through these allows for a brief overview of everything that we've done. Links to each of these pages are available from our home page. Each page has links to the deeper level of information, clicking on one of these from our home page gives you the details and specifics, including downloads and reports.</p> <p> And the best part, at any point you can swap between the brief overviews and detailed information. Just click "learn more" for details.</p> <br> <center> <img src="//2015.igem.org/wiki/images/e/ea/CamJIC-SiteMap.png" style="width:90%"> </center> <br> <p> By structuring the website as a 2 layer deep hierarchy, users can travel through our wiki to get an overall idea and go indepth on anything that catches their eye. Of course, they are also free to teleport to any page with the menu bar above. Finally, our downloads page contain all the possible downloads found throughout the website for ease of access.</p> <center> <hr> <p>Happy Navigating!</p> </center> </div></div></section> <style>img.sponsor{max-width:90%; filter: grayscale(100%);-webkit-filter: grayscale(100%); opacity:0.7; max-height:30px; margin:10px} img.sponsor:hover {filter:grayscale(0%); -webkit-filter: grayscale(0%);opacity:1; max-height:30px; margin:10px}</style> <section id="footer-sec"> <div class="container"> <div class="row pad-bottom"> <div class="col-md-3"> <h4> <strong>ABOUT US</strong> </h4> <p> We are a team of Cambridge undergraduates, competing in the Hardware track in iGEM 2015. </p> <a href="//2015.igem.org/Team:Cambridge-JIC/Team">read more</a> </div> <div class="col-md-3"> <h4> <strong>FOLLOW US ON</strong> </h4> <p> <a href="https://www.facebook.com/CambridgeJIC2015" target="_blank"><i class="fa fa-facebook-square fa-3x"></i></a> <a href="https://twitter.com/iGEMCambridge" target="_blank"><i class="fa fa-twitter-square fa-3x"></i></a> <a href="https://instagram.com/iGEMCambridge" target="_blank"><i class="fa fa-instagram fa-3x"></i></a> </p> </div> <div class="col-md-3"> <h4> <strong>LOCATION</strong> </h4> <p> Department of Plant Sciences, <br> University of Cambridge <br> Downing Street <br> CB2 3EA </p> </div> <div class="col-md-3"> <h4> <strong>CONTACT US</strong> </h4> <p> Email: <a href="mailto:&#105;&#103;&#101;&#109;&#99;&#97;&#109;&#98;&#114;&#105;&#100;&#103;&#101;&#50;&#48;&#49;&#53;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">&#105;&#103;&#101;&#109;&#99;&#97;&#109;&#98;&#114;&#105;&#100;&#103;&#101;&#50;&#48;&#49;&#53;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;</a> <br> Tel: <a href="tel:+447721944314">+447721944314</a> </p> </div> </div> </div> </section> <section style="background-color: white" id="footer-sec2"> <div style="padding: 20px;"> <section style="text-align: center; padding: 0px; margin: 0px"> <a href="http://www.eng.cam.ac.uk"><img src="//2015.igem.org/wiki/images/b/b9/CamJIC-Sponsors-Engineering.png" style="margin:10px" class="sponsor"></a> <a href="http://www.plantsci.cam.ac.uk"><img src="//2015.igem.org/wiki/images/d/df/CamJIC-Sponsors-PlantScience.png" class="sponsor"></a> <a href="https://www.jic.ac.uk"><img src="//2015.igem.org/wiki/images/b/bb/CamJIC-Sponsors-JIC.png" class="sponsor" ></a> <a href="http://www.wellcome.ac.uk"><img src="//2015.igem.org/wiki/images/7/74/CamJIC-Sponsors-WT.png" class="sponsor"></a> <a href="http://www.bbsrc.ac.uk"><img src="//2015.igem.org/wiki/images/8/81/CamJIC-Sponsors-BBSRC.png" class="sponsor"></a> <a href="https://www.idtdna.com"><img src="//2015.igem.org/wiki/images/8/80/IDT_logo.png" class="sponsor"></a> <a href="http://www.phy.cam.ac.uk"><img src="//2015.igem.org/wiki/images/0/06/CamJIC-Sponsors-Cavendish.gif" class="sponsor"></a> <a href="http://www.bibby-scientific.com"><img src="//2015.igem.org/wiki/images/0/09/CamJIC-Sponsors-BibbyScientific.jpg" class="sponsor"></a> <a href="http://shop.pimoroni.com"><img src="//2015.igem.org/wiki/images/3/3d/CamJIC-Pimoroni.jpg" class="sponsor"></a> <a href=""><img src="//2015.igem.org/wiki/images/8/84/CamJIC-Sponsors-OpenIOLabsLogo_lg.png" class="sponsor"></a> </section> </div> </section> </div> </p> <!-- NewPP limit report CPU time usage: 0.004 seconds Real time usage: 0.008 seconds Preprocessor visited node count: 14/1000000 Preprocessor generated node count: 64/1000000 Post‐expand include size: 82/2097152 bytes Template argument size: 0/2097152 bytes Highest expansion depth: 2/40 Expensive parser function count: 0/100 --> </div> <div class="visualClear"></div> </div> </div> </div> </body> </html>