Difference between revisions of "Team:Cambridge-JIC/Wiki Design"
Simonhkswan (Talk | contribs) |
Simonhkswan (Talk | contribs) |
||
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 | + | <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 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:</p> |
<br> | <br> | ||
<code> <script src="//2015.igem.org/Team:YourTeam/file?action=raw&ctype=text/javascript"></script></code> | <code> <script src="//2015.igem.org/Team:YourTeam/file?action=raw&ctype=text/javascript"></script></code> | ||
<br> | <br> | ||
− | for javascript and: | + | <p> |
+ | for javascript and:</p> | ||
<br> | <br> | ||
<code><link href="//2015.igem.org/Team:Cambridge-JIC/Assets/OpenSans_css?action=raw&ctype=text/css" rel="stylesheet"></code> | <code><link href="//2015.igem.org/Team:Cambridge-JIC/Assets/OpenSans_css?action=raw&ctype=text/css" rel="stylesheet"></code> | ||
− | <br> for css. This takes the raw code that was entered as if it was an uploaded file.</p> | + | <br> <p>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 61: | Line 62: | ||
</ul></p> | </ul></p> | ||
<h3> Fonts </h3> | <h3> Fonts </h3> | ||
− | <p>Unify your fonts across your webpage. Ideally, decide on one or | + | <p>Unify your fonts across your webpage. Ideally, decide on one or two 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> | <center> | ||
<hr> | <hr> |
Revision as of 22:38, 18 September 2015