Difference between revisions of "Team:NTU-LIHPAO-Taiwan"

Line 200: Line 200:
 
left: 28.5%;
 
left: 28.5%;
 
right: auto;
 
right: auto;
    list-style:none;
+
list-style:none;
    margin:0;
+
margin:0;
    padding:0;
+
padding:0;
    /*background:rgba(100%,100%,100%,0); 主選單色系選擇*/
+
/*background:rgba(100%,100%,100%,0); 主選單色系選擇*/
 
}
 
}
  
 
.nav ul {
 
.nav ul {
    *zoom:1;
+
*zoom:1;
    list-style:none;
+
list-style:none;
    margin:0;
+
margin:0;
    padding:0;
+
padding:0;
    /*background:rgba(100%,100%,100%,0); 主選單色系選擇*/
+
/*background:rgba(100%,100%,100%,0); 主選單色系選擇*/
 
}
 
}
  
 
.nav ul:before,.nav ul:after {
 
.nav ul:before,.nav ul:after {
    content:"";
+
content:"";
    display:table;
+
display:table;
 
}
 
}
  
 
.nav ul:after {
 
.nav ul:after {
    clear:both;
+
clear:both;
 
}
 
}
  
Line 245: Line 245:
  
 
.nav li ul {
 
.nav li ul {
    position:absolute;
+
position:absolute;
    left:0;
+
left:0;
    top:24px;
+
top:24px;
    z-index:1;
+
z-index:1;
 
}
 
}
  
 
.nav li ul li {
 
.nav li ul li {
    overflow:hidden;
+
overflow:hidden;
    height:0;
+
height:0;
 
}
 
}
  
 
.nav li ul a {
 
.nav li ul a {
    border:none;
+
border:none;
    background:rgba(255,255,255,0.9); /*--改拉出選單顏色--*/
+
background:rgba(255,255,255,0.9); /*--改拉出選單顏色--*/
 
-webkit-transition:background 300ms ease-in-out;
 
-webkit-transition:background 300ms ease-in-out;
    -moz-transition:background 300ms ease-in-out;
+
-moz-transition:background 300ms ease-in-out;
    -o-transition:background 300ms ease-in-out;
+
-o-transition:background 300ms ease-in-out;
    transition:background 300ms ease-in-out;
+
transition:background 300ms ease-in-out;
 
}
 
}
  
Line 271: Line 271:
 
.nav ul > li {
 
.nav ul > li {
 
text-decoration:none;
 
text-decoration:none;
    float:left;
+
float:left;
    position:relative;
+
position:relative;
 
height: 24px; /*--改主要選單高度--*/
 
height: 24px; /*--改主要選單高度--*/
 
width: 115px; /*--改主要選單寬度--*/
 
width: 115px; /*--改主要選單寬度--*/
Line 278: Line 278:
  
 
.nav ul > li:hover ul.subs {
 
.nav ul > li:hover ul.subs {
    height: auto;
+
height: auto;
    width: 150px; /*--改拉出的選單寬度--*/
+
width: 150px; /*--改拉出的選單寬度--*/
 
}
 
}
  
Line 314: Line 314:
 
}
 
}
 
@font-face {
 
@font-face {
  font-family: 'flexslider-icon';
+
font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
+
src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
+
src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
+
font-weight: normal;
  font-style: normal;
+
font-style: normal;
 
}
 
}
 
.flex-container a:hover,
 
.flex-container a:hover,
Line 324: Line 324:
 
.flex-container a:focus,
 
.flex-container a:focus,
 
.flex-slider a:focus {
 
.flex-slider a:focus {
  outline: none;
+
outline: none;
 
}
 
}
 
.slides,
 
.slides,
Line 330: Line 330:
 
.flex-control-nav,
 
.flex-control-nav,
 
.flex-direction-nav {
 
.flex-direction-nav {
  margin: 0;
+
margin: 0;
  padding: 0;
+
padding: 0;
  list-style: none;
+
list-style: none;
 
}
 
}
 
.flex-pauseplay span {
 
.flex-pauseplay span {
  text-transform: capitalize;
+
text-transform: capitalize;
 
}
 
}
 
.flexslider {
 
.flexslider {
Line 341: Line 341:
 
}
 
}
 
.flexslider .slides > li {
 
.flexslider .slides > li {
  display: none;
+
display: none;
  -webkit-backface-visibility: hidden;
+
-webkit-backface-visibility: hidden;
 
}
 
}
 
.flexslider .slides img {
 
.flexslider .slides img {
  width: 100%;
+
width: 100%;
  display: block;
+
display: block;
 
}
 
}
 
.flexslider .slides:after {
 
.flexslider .slides:after {
  content: "\0020";
+
content: "\0020";
  display: block;
+
display: block;
  clear: both;
+
clear: both;
  visibility: hidden;
+
visibility: hidden;
  line-height: 0;
+
line-height: 0;
  height: 0;
+
height: 0;
 
}
 
}
 
html[xmlns] .flexslider .slides {
 
html[xmlns] .flexslider .slides {
  display: block;
+
display: block;
 
}
 
}
 
* html .flexslider .slides {
 
* html .flexslider .slides {
  height: 1%;
+
height: 1%;
 
}
 
}
 
.no-js .flexslider .slides > li:first-child {
 
.no-js .flexslider .slides > li:first-child {
  display: block;
+
display: block;
 
}
 
}
 
.flexslider {
 
.flexslider {
  margin: 0 0 60px;
+
margin: 0 0 60px;
  background: #ffffff;
+
background: #ffffff;
  border: 4px solid #ffffff;
+
border: 4px solid #ffffff;
  position: absolute;
+
position: absolute;
  zoom: 1;
+
zoom: 1;
  -webkit-border-radius: 4px;
+
-webkit-border-radius: 4px;
  -moz-border-radius: 4px;
+
-moz-border-radius: 4px;
  border-radius: 4px;
+
border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
+
-webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
+
-moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
+
-o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
+
box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
 
}
 
}
 
.flexslider .slides {
 
.flexslider .slides {
  zoom: 1;
+
zoom: 1;
 
}
 
}
 
.flexslider .slides img {
 
.flexslider .slides img {
  height: auto;
+
height: auto;
 
}
 
}
 
.flex-viewport {
 
.flex-viewport {
  max-height: 2000px;
+
max-height: 2000px;
  -webkit-transition: all 1s ease;
+
-webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
+
-moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
+
-ms-transition: all 1s ease;
  -o-transition: all 1s ease;
+
-o-transition: all 1s ease;
  transition: all 1s ease;
+
transition: all 1s ease;
 
}
 
}
 
.loading .flex-viewport {
 
.loading .flex-viewport {
  max-height: 300px;
+
max-height: 300px;
 
}
 
}
 
.carousel li {
 
.carousel li {
  margin-right: 5px;
+
margin-right: 5px;
 
}
 
}
 
.flex-direction-nav {
 
.flex-direction-nav {
  *height: 0;
+
*height: 0;
 
}
 
}
 
.flex-direction-nav a {
 
.flex-direction-nav a {
  text-decoration: none;
+
text-decoration: none;
  display: block;
+
display: block;
  width: 40px;
+
width: 40px;
  height: 40px;
+
height: 40px;
  margin: -20px 0 0;
+
margin: -20px 0 0;
  position: absolute;
+
position: absolute;
  top: 50%;
+
top: 50%;
  z-index: 10;
+
z-index: 10;
  overflow: hidden;
+
overflow: hidden;
  opacity: 0;
+
opacity: 0;
  cursor: pointer;
+
cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
+
color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
+
-webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
+
-moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
+
-ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
+
-o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
+
transition: all 0.3s ease-in-out;
 
}
 
}
 
.flex-direction-nav a:before  {  
 
.flex-direction-nav a:before  {  
    content: " ";
+
content: " ";
    display: block;
+
display: block;
    background: url('Symbol_P.png') no-repeat;
+
background: url('Symbol_P.png') no-repeat;
    width: 40px;
+
width: 40px;
    height: 40px;
+
height: 40px;
 
}
 
}
 
.flex-direction-nav a.flex-next:before  {  
 
.flex-direction-nav a.flex-next:before  {  
    content: " ";
+
content: " ";
    display: block;
+
display: block;
    background: url('Symbol_Y.png') no-repeat;
+
background: url('Symbol_Y.png') no-repeat;
    width: 40px;
+
width: 40px;
    height: 40px;
+
height: 40px;
 
}
 
}
 
.flex-direction-nav .flex-prev {
 
.flex-direction-nav .flex-prev {
  left: 25px;
+
left: 25px;
 
}
 
}
 
.flex-direction-nav .flex-next {
 
.flex-direction-nav .flex-next {
  right: 25px;
+
right: 25px;
  text-align: right;
+
text-align: right;
 
}
 
}
 
.flexslider:hover .flex-direction-nav .flex-prev {
 
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
+
opacity: 0.7;
  left: 10px;
+
left: 10px;
 
}
 
}
 
.flexslider:hover .flex-direction-nav .flex-prev:hover {
 
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
+
opacity: 1;
 
}
 
}
 
.flexslider:hover .flex-direction-nav .flex-next {
 
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
+
opacity: 0.7;
  right: 10px;
+
right: 10px;
 
}
 
}
 
.flexslider:hover .flex-direction-nav .flex-next:hover {
 
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
+
opacity: 1;
 
}
 
}
 
.flex-direction-nav .flex-disabled {
 
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
+
opacity: 0!important;
  filter: alpha(opacity=0);
+
filter: alpha(opacity=0);
  cursor: default;
+
cursor: default;
 
}
 
}
 
.flex-pauseplay a {
 
.flex-pauseplay a {
  display: block;
+
display: block;
  width: 20px;
+
width: 20px;
  height: 20px;
+
height: 20px;
  position: absolute;
+
position: absolute;
  bottom: 5px;
+
bottom: 5px;
  left: 10px;
+
left: 10px;
  opacity: 0.8;
+
opacity: 0.8;
  z-index: 10;
+
z-index: 10;
  overflow: hidden;
+
overflow: hidden;
  cursor: pointer;
+
cursor: pointer;
  color: #000;
+
color: #000;
 
}
 
}
 
.flex-pauseplay a:before {
 
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
+
font-family: "flexslider-icon";
  font-size: 20px;
+
font-size: 20px;
  display: inline-block;
+
display: inline-block;
  content: '\f004';
+
content: '\f004';
 
}
 
}
 
.flex-pauseplay a:hover {
 
.flex-pauseplay a:hover {
  opacity: 1;
+
opacity: 1;
 
}
 
}
 
.flex-pauseplay a.flex-play:before {
 
.flex-pauseplay a.flex-play:before {
  content: '\f003';
+
content: '\f003';
 
}
 
}
 
.flex-control-nav {
 
.flex-control-nav {
  width: 100%;
+
width: 100%;
  position: absolute;
+
position: absolute;
  bottom: -40px;
+
bottom: -40px;
  text-align: center;
+
text-align: center;
 
}
 
}
 
.flex-control-nav li {
 
.flex-control-nav li {
  margin: 0 6px;
+
margin: 0 6px;
  display: inline-block;
+
display: inline-block;
  zoom: 1;
+
zoom: 1;
  *display: inline;
+
*display: inline;
 
}
 
}
 
.flex-control-paging li a {
 
.flex-control-paging li a {
  width: 11px;
+
width: 11px;
  height: 11px;
+
height: 11px;
  display: block;
+
display: block;
  background: #666;
+
background: #666;
  background: rgba(0,0,0,0.5);
+
background: rgba(0,0,0,0.5);
  cursor: pointer;
+
cursor: pointer;
  text-indent: -9999px;
+
text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
+
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
+
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
+
-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 1);
  -webkit-border-radius: 20px;
+
-webkit-border-radius: 20px;
  -moz-border-radius: 20px;
+
-moz-border-radius: 20px;
  border-radius: 20px;
+
border-radius: 20px;
 
}
 
}
 
.flex-control-paging li a:hover {
 
.flex-control-paging li a:hover {
  background: #333;
+
background: #333;
  background: rgba(0, 0, 0, 0.7);
+
background: rgba(0, 0, 0, 0.7);
 
}
 
}
 
.flex-control-paging li a.flex-active {
 
.flex-control-paging li a.flex-active {
  background: #000;
+
background: #000;
  background: rgba(0, 0, 0, 0.9);
+
background: rgba(0, 0, 0, 0.9);
  cursor: default;
+
cursor: default;
 
}
 
}
 
.flex-control-thumbs {
 
.flex-control-thumbs {
  margin: 5px 0 0;
+
margin: 5px 0 0;
  position: static;
+
position: static;
  overflow: hidden;
+
overflow: hidden;
 
}
 
}
 
.flex-control-thumbs li {
 
.flex-control-thumbs li {
  width: 25%;
+
width: 25%;
  float: left;
+
float: left;
  margin: 0;
+
margin: 0;
 
}
 
}
 
.flex-control-thumbs img {
 
.flex-control-thumbs img {
  width: 100%;
+
width: 100%;
  height: auto;
+
height: auto;
  display: block;
+
display: block;
  opacity: .7;
+
opacity: .7;
  cursor: pointer;
+
cursor: pointer;
  -webkit-transition: all 1s ease;
+
-webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
+
-moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
+
-ms-transition: all 1s ease;
  -o-transition: all 1s ease;
+
-o-transition: all 1s ease;
  transition: all 1s ease;
+
transition: all 1s ease;
 
}
 
}
 
.flex-control-thumbs img:hover {
 
.flex-control-thumbs img:hover {
  opacity: 5;
+
opacity: 5;
 
}
 
}
 
.flex-control-thumbs .flex-active {
 
.flex-control-thumbs .flex-active {
  opacity: 1;
+
opacity: 1;
  cursor: default;
+
cursor: default;
 
}
 
}
 
@media screen and (max-width: 860px) {
 
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
+
.flex-direction-nav .flex-prev {
    opacity: 1;
+
opacity: 1;
    left: 10px;
+
left: 10px;
  }
+
}
  .flex-direction-nav .flex-next {
+
.flex-direction-nav .flex-next {
    opacity: 1;
+
opacity: 1;
    right: 10px;
+
right: 10px;
  }
+
}
 
}
 
}
  
Line 673: Line 673:
 
                  
 
                  
 
                 <li><a href="#">Modeling</a>
 
                 <li><a href="#">Modeling</a>
                    <ul class="subs">
+
<ul class="subs">
 
                 <li><a href="#">Subnav Item</a></li>
 
                 <li><a href="#">Subnav Item</a></li>
 
                 <li><a href="#">Subnav Item</a></li>
 
                 <li><a href="#">Subnav Item</a></li>
Line 710: Line 710:
 
<div class="flexslider">
 
<div class="flexslider">
 
<ul class="slides">
 
<ul class="slides">
<li>
+
<li><img src="slide4.jpg"></li>
<img src="slide4.jpg" />
+
<li><img src="slide4.jpg"></li>
</li>
+
<li><img src="slide4.jpg"></li>
            <li>
+
<img src="slide4.jpg" />
+
</li>
+
            <li>
+
<img src="slide4.jpg" />
+
</li>
+
 
</ul>
 
</ul>
 
</div>
 
</div>
Line 736: Line 730:
 
         <div class="Container_intro_text">
 
         <div class="Container_intro_text">
 
        
 
        
         </div>
+
         </div>    
       
+
       
+
 
     </div>
 
     </div>
   
 
 
   
 
 
</div>
 
</div>
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 12:49, 26 July 2015

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 無標題文件