Template:Team:NTNU-Trondheim/Press/css

From 2013.igem.org

(Difference between revisions)
 
(24 intermediate revisions not shown)
Line 48: Line 48:
background: url(https://static.igem.org/mediawiki/2013/b/b2/Marialab.jpg) no-repeat;
background: url(https://static.igem.org/mediawiki/2013/b/b2/Marialab.jpg) no-repeat;
}
}
-
#navbar ul {
 
-
margin: 0;
 
-
padding: 5px;
 
-
list-style-type: none;
 
-
text-align: center;
 
-
background-color: #7352B0;
 
-
}
 
   
   
-
#navbar ul li {
+
.circular3 {
-
display: inline;  
+
width: 230px;
-
}
+
height: 230px;
-
+
border-radius: 115px;
-
#navbar ul li a {
+
-webkit-border-radius: 115px;
-
text-decoration: none;  
+
-moz-border-radius: 115px;
-
padding: .2em 1em;  
+
background: url(https://static.igem.org/mediawiki/2013/b/b2/Marialab.jpg) no-repeat;
-
color: black;  
+
}
-
background-color: #7352B0;  
+
-
}
+
-
+
-
#navbar ul li a:hover {
+
-
color: black;
+
-
background-color: #7352B0;  
+
-
}  
+
-
#menu{
+
#cssmenu ul,
-
position:absolute;
+
#cssmenu li,
-
top:150px;
+
#cssmenu span,
-
left:8%;
+
 
-
padding:0;
+
#cssmenu a {
-
margin:0;
+
  margin: 0;
 +
  padding: 0;
 +
  position: relative;
}
}
-
#menu ul{
+
#cssmenu {
-
padding:0;
+
  height: 49px;
-
margin:0;
+
  border-radius: 5px 5px 0 0;
-
line-height:30px;
+
  -moz-border-radius: 5px 5px 0 0;
 +
  -webkit-border-radius: 5px 5px 0 0;
 +
  background: #fefefe;
 +
  background: -moz-linear-gradient(top, #fefefe 0%, #eee9f0 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fefefe), color-stop(100%, #eee9f0));
 +
  background: -webkit-linear-gradient(top, #fefefe 0%, #eee9f0 100%);
 +
  background: -o-linear-gradient(top, #fefefe 0%, #eee9f0 100%);
 +
  background: -ms-linear-gradient(top, #fefefe 0%, #eee9f0 100%);
 +
  background: linear-gradient(top, #fefefe 0%, #eee9f0 100%);
 +
  border-bottom: 2px solid #C3A7F3;
 +
  width: auto;
 +
  margin-top: 340px;
}
}
-
#menu li{
+
#cssmenu:after,
-
position:relative;
+
#cssmenu ul:after {
-
float:left;
+
  content: '';
-
list-style:none;
+
  display: block;
-
background:rgba(0,0,0,1);
+
  clear: both;
-
border-radius:5px;
+
}
}
-
#menu ul ul{
+
#cssmenu a {
-
position:absolute;
+
  background: #fefefe;
-
visibility:hidden;
+
  background: -moz-linear-gradient(top, #fefefe 0%, #ececec 100%);
-
padding:0;
+
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fefefe), color-stop(100%, #ececec));
-
margin:0;
+
  background: -webkit-linear-gradient(top, #fefefe 0%, #ececec 100%);
-
top:30px;
+
  background: -o-linear-gradient(top, #fefefe 0%, #ececec 100%);
 +
  background: -ms-linear-gradient(top, #fefefe 0%, #ececec 100%);
 +
  background: linear-gradient(top, #fefefe 0%, #ececec 100%);
 +
  color: black;
 +
  display: inline-block;
 +
  font-family: Helvetica, Arial, Verdana, sans-serif;
 +
  font-size: 12px;
 +
  line-height: 49px;
 +
  padding: 0 20px;
 +
  text-decoration: none;
}
}
-
#menu ul li a{
+
#cssmenu ul {
-
text-align:center;
+
  list-style: none;
-
font:"Arial Black", Arial;
+
-
font-size:24px;
+
-
color:rgba(255,255,255,9);
+
-
width:150px;
+
-
height:30px;
+
-
display:block;
+
-
text-decoration:none;
+
}
}
-
#menu ul li:hover{
+
#cssmenu > ul {
-
background-color:rgba(128,128,128,1);
+
  float: left;
-
text-decoration:none;
+
}
}
-
#menu ul li:hover ul{
+
#cssmenu > ul > li {
-
visibility:visible;
+
  float: left;
-
z-index:1;
+
}
}
-
#menu ul li:hover ul li a{
+
#cssmenu > ul > li > a {
-
background:rgba(0,0,0,9);
+
  color: #000;
-
z-index:1;
+
  font-size: 12px;
-
border-bottom:1px solid rgba(160,160,164,1);
+
-
opacity:0.9;
+
-
text-decoration:none;
+
-
border-radius:5px;
+
}
}
-
#menu ul li ul li:hover{
+
#cssmenu > ul > li:hover:after {
-
background:rgba(128,128,128,1);
+
  content: '';
-
opacity:0.8;
+
  display: block;
-
text-decoration:underline;
+
  width: 0;
 +
  height: 0;
 +
  position: absolute;
 +
  left: 50%;
 +
  bottom: 0;
 +
  border-left: 10px solid transparent;
 +
  border-right: 10px solid transparent;
 +
  border-bottom: 10px solid #C3A7F3;
 +
  margin-left: -10px;
}
}
 +
#cssmenu > ul > li:first-child > a {
 +
  border-radius: 5px 0 0 0;
 +
  -moz-border-radius: 5px 0 0 0;
 +
  -webkit-border-radius: 5px 0 0 0;
 +
}
 +
#cssmenu > ul > li.active:after {
 +
  content: '';
 +
  display: block;
 +
  width: 0;
 +
  height: 0;
 +
  position: absolute;
 +
  left: 50%;
 +
  bottom: 0;
 +
  border-left: 10px solid transparent;
 +
  border-right: 10px solid transparent;
 +
  border-bottom: 10px solid #C3A7F3;
 +
  margin-left: -10px;
 +
}
 +
#cssmenu > ul > li.active > a {
 +
  -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
  background: #ececec;
 +
  background: -moz-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #ffeeff ef));
 +
  background: -webkit-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -o-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -ms-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
}
 +
#cssmenu > ul > li:hover > a {
 +
  background: #ececec;
 +
  background: -moz-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #ffeeff ef));
 +
  background: -webkit-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -o-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: -ms-linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  background: linear-gradient(top, #ececec 0%, #ffeeff ef 100%);
 +
  -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
  -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
 +
}
 +
#cssmenu .has-sub {
 +
  z-index: 1;
 +
}
 +
#cssmenu .has-sub:hover > ul {
 +
  display: block;
 +
}
 +
#cssmenu .has-sub ul {
 +
  display: none;
 +
  position: absolute;
 +
  width: 200px;
 +
  top: 100%;
 +
  left: 0;
 +
}
 +
#cssmenu .has-sub ul li {
 +
  *margin-bottom: -1px;
 +
}
 +
#cssmenu .has-sub ul li a {
 +
  background: #C3A7F3;
 +
  border-bottom: 1px dotted #C3A7F3;
 +
  filter: none;
 +
  font-size: 11px;
 +
  display: block;
 +
  line-height: 120%;
 +
  padding: 10px;
 +
  color: black;
 +
}
 +
#cssmenu .has-sub ul li:hover a {
 +
  background: #C3A7F3;
 +
}
 +
#cssmenu .has-sub .has-sub:hover > ul {
 +
  display: block;
 +
}
 +
#cssmenu .has-sub .has-sub ul {
 +
  display: none;
 +
  position: absolute;
 +
  left: 100%;
 +
  top: 0;
 +
}
 +
#cssmenu .has-sub .has-sub ul li a {
 +
  background: #C3A7F3;
 +
  border-bottom: 1px dotted #C3A7F3;
 +
}
 +
#cssmenu .has-sub .has-sub ul li a:hover {
 +
  background: #C3A7F3;
 +
}
 +
</style>
</style>
</html>
</html>

Latest revision as of 12:52, 4 October 2013