Difference between revisions of "Template:CCU Taiwan/css"

Line 47: Line 47:
 
padding:0;
 
padding:0;
 
margin:0;
 
margin:0;
        background:#000000;
+
    background:#FFFFFF;
        font-family:'Proxima Nova Soft', 'Helvetica Neue', sans-serif;
+
    font-family:'Proxima Nova Soft', 'Helvetica Neue', sans-serif;
 
}
 
}
  
Line 54: Line 54:
 
margin:0 auto;
 
margin:0 auto;
 
}
 
}
.container {
+
/*.container {
 
position: fixed;
 
position: fixed;
 
width: 100%;
 
width: 100%;
Line 61: Line 61:
 
height: 55px;
 
height: 55px;
 
z-index:3;
 
z-index:3;
}
+
}*/
 
nav {
 
nav {
        margin:0;
+
    margin:0;
 
padding:0;
 
padding:0;
height: 55px;
+
height: 50px;
 +
width: 100%;
 +
background: #F96784;
 
}
 
}
nav ul {
+
.title {
  margin: 0;
+
float:left;
  list-style: none;
+
display: inline-block;
  background:white;
+
position: relative;
 +
padding-top:10px;
 +
left:-3vw;
 +
width: 13.5vw;
 +
height: 42px;
 +
text-align:center;
 +
margin-left:0vw;
 +
margin-right:0vw;
 +
list-style-type: none;
 
}
 
}
nav ul li {
+
.sub {
  float:left;
+
display: none;
  display: inline-block;
+
  position: relative;
+
  padding-top:10px;
+
  width: 13.5vw;
+
  height: 42px;
+
  text-align:center;
+
  margin-left:0vw;
+
  margin-right:0vw;
+
}
+
nav ul li ul{
+
 
position:absolute;
 
position:absolute;
        top:46px;
 
        left:-29.5px;
 
        margin-left:0px;
 
background:black;
 
        width:13.5vw;
 
}
 
nav ul li ul li{
 
margin-left: 0;
 
position: relative;
 
 
text-align: center;
 
text-align: center;
float:none;
+
top:50px;
display: none;
+
width:100vw!important;
border-radius:1px;
+
height:40vh;
 +
margin: 0 auto;
 +
padding:0;
 +
}
 +
#sub_home {
 +
background:#FFB3FF;
 +
}
 +
.list {
 +
float:none;
 +
left: 7vw;
 +
top: 10vh;
 +
height: 5vh;
 +
width: 8vw;
 +
display:block!important;
 +
}
 +
.list a {
 +
font-size:15px;
 
}
 
}
 
nav a {
 
nav a {
   color:#F5F5F5!important;
+
   color:black!important;
 
   font-family: monospace;
 
   font-family: monospace;
 
   font-size: 1.5vw;
 
   font-size: 1.5vw;
 
   text-decoration:none;
 
   text-decoration:none;
 
}
 
}
/*nav a::before {
+
.title:hover {
  content: '';
+
  display: block;
+
  height: 3px;
+
  background-color: blue;
+
  position: absolute;
+
  top: -7px;
+
  width: 0%;
+
  border-radius: 2px;
+
  transition: all ease-in-out 400ms;
+
}*/
+
nav ul li:hover {
+
 
background-color:#F5F5F5;
 
background-color:#F5F5F5;
transition: 200ms;
+
transition: 500ms;
}
+
nav a:hover{
+
color:black!important;
+
        text-decoration:none;
+
}
+
/*nav a:hover::before {
+
  width: 100%;
+
}*/
+
nav ul li:hover ul li{
+
display: block;
+
transition: 300ms;
+
 
}
 
}
 +
 
.parallax {
 
.parallax {
 
     background-image: url("https://static.igem.org/mediawiki/2018/1/11/T--CCU_Taiwan--LGOG_3.gif");
 
     background-image: url("https://static.igem.org/mediawiki/2018/1/11/T--CCU_Taiwan--LGOG_3.gif");

Revision as of 05:52, 8 August 2018