Difference between revisions of "Code Documentation"

Line 51: Line 51:
  
  
<h3>Buttons </h3>
 
  
 +
 +
 +
<h3> Creating a Page</h3>
 +
 +
 +
<p> {{2015CSS}}<br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <html><br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- change the page title --><br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div id="pageTitle"> <br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h2> 2015 DNA Distribution</h2><br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></div><br>
 +
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div id="grayLine_Clear"></div><br>
 +
 +
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div id="fullWidth"> <br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!-- alert message, the text can be edited -->  <br>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div id="alertMessage"> <p> Please note that all information on this page is in a draft version. <br>Please check back often for details. </p></div><br>
 +
 +
<br>
 +
<!-- start of content ---------------------------------------->
 +
 +
</p>
 +
 +
<div class="clear"></div>
 +
 +
<h3>Buttons </h3>
  
 
<div class="leftCode">  
 
<div class="leftCode">  

Revision as of 20:57, 30 January 2015

CSS and HTML used in iGEM 2015

This page documents and explains the CSS and HTML used in the 2015 site.

General wrapping div of the page

/* General wrap for the page*/

#contentWrap {
      width: 980px;
      height: auto;
      margin-left: 20px;
      float:left;
      margin-right: auto;
      background-color: #ffffff;
}

Creating a Page

{{2015CSS}}
     
     
     


          

2015 DNA Distribution


          

          

          

          
          

Please note that all information on this page is in a draft version.
Please check back often for details.



Buttons

CSS button

/* Button class*/

.button {
      width: 130px;
      border: 1px solid #cccccc;
      background-color: fff;
      height: 30px;
      text-align: center;
      border-radius: 5px;
      padding: 10px 5px 0px 5px;
      margin: auto;
}

.button:hover {
      background-color: #c1dfa6; }

Creating a button

< div class="button" > < a href="your link" >