Difference between revisions of "Template:Manchester/CSS"

m
Line 2: Line 2:
 
<head>
 
<head>
 
<style>
 
<style>
body {margin:0;}
+
body {
 +
    background-color:#111;
 +
    margin:10px 150px;}
 +
 
 +
 
 +
/********************************* Hyperlink formitting********************************/
 +
a:link {
 +
    color: green;
 +
    background-color: transparent;
 +
    text-decoration: none;
 +
}
 +
a:visited {
 +
    color: green;
 +
    background-color: transparent;
 +
    text-decoration: none;
 +
}
 +
a:hover {
 +
    color: gold;
 +
    background-color: transparent;
 +
    text-decoration: none;
 +
}
 +
a:active {
 +
    color: gold;
 +
    background-color: purple;
 +
    text-decoration: underline;
 +
}
 +
 
 
/********************************* menu bar formatting ********************************/
 
/********************************* menu bar formatting ********************************/
 
menu_ul{
 
menu_ul{
 
     color: #4CAF50;
 
     color: #4CAF50;
     margin: -15px;
+
     margin-top: -15px;
 
     overflow: hidden;
 
     overflow: hidden;
 
     background-color: #444;
 
     background-color: #444;
Line 16: Line 42:
  
 
menu_li {
 
menu_li {
 +
    margin:1px;
 
     float: left;
 
     float: left;
 
}
 
}
Line 29: Line 56:
 
}
 
}
  
menu_li a:hover:not(.active){
+
menu_li:hover:not(.active){
 
     color:white;
 
     color:white;
 
     background-color:purple;
 
     background-color:purple;
 +
    text-decoration: none;
 
}
 
}
  
Line 38: Line 66:
 
}
 
}
  
/********************************* Hyperlink formitting********************************/
+
.active a:hover {
a:link {
+
  color:#4CAF50;
    color: green;
+
    background-color: transparent;
+
    text-decoration: none;
+
}
+
a:visited {
+
    color: green;
+
    background-color: transparent;
+
    text-decoration: none;
+
}
+
a:hover {https://2016.igem.org/Team:Manchester
+
    color: gold;
+
    background-color: transparent;
+
    text-decoration: underline;
+
}
+
a:active {
+
    color: gold;
+
    background-color: purple;
+
    text-decoration: underline;
+
 
}
 
}
</
+
   
  
 
/********************************* CONTENT OF THE PAGE ********************************/
 
/********************************* CONTENT OF THE PAGE ********************************/

Revision as of 17:55, 12 July 2016

Home Team Project