Allen850413 (Talk | contribs) |
|||
Line 60: | Line 60: | ||
} | } | ||
+ | body::-webkit-scrollbar { | ||
+ | display: none; | ||
+ | } | ||
+ | .background { | ||
+ | width:100%; | ||
+ | height: 100%; | ||
+ | z-index:1; | ||
+ | margin-bottom:-10%; | ||
+ | padding-top:10%; | ||
+ | padding-bottom:10%; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2018/0/0a/T--CCU_Taiwan--BC.PNG'); | ||
+ | } | ||
header{ | header{ | ||
margin:0 auto; | margin:0 auto; | ||
Line 65: | Line 77: | ||
width:100%; | width:100%; | ||
position: fixed; | position: fixed; | ||
− | + | z-index:10; | |
} | } | ||
Line 78: | Line 90: | ||
width: 100%; | width: 100%; | ||
background:#41ce6f; | background:#41ce6f; | ||
+ | box-shadow:0px 4px 6px 0px #444444; | ||
} | } | ||
.front { | .front { | ||
Line 87: | Line 100: | ||
position: relative; | position: relative; | ||
padding-top:10px; | padding-top:10px; | ||
− | left: | + | left:4vw; |
width: 13.5vw; | width: 13.5vw; | ||
height: 5.5vh; | height: 5.5vh; | ||
Line 101: | Line 114: | ||
position:absolute; | position:absolute; | ||
left:0vw; | left:0vw; | ||
− | width:5vw; | + | width:5.5vw; |
height:7vh; | height:7vh; | ||
text-align:center; | text-align:center; | ||
z-index:10; | z-index:10; | ||
background:#9c957e; | background:#9c957e; | ||
− | |||
} | } | ||
#home_button img { | #home_button img { | ||
Line 119: | Line 131: | ||
} | } | ||
− | |||
− | |||
− | |||
.sub { | .sub { | ||
Line 127: | Line 136: | ||
position:absolute; | position:absolute; | ||
text-align: center; | text-align: center; | ||
+ | right:0vw; | ||
top:6.2vh; | top:6.2vh; | ||
− | width: | + | width:13.5vw!important; |
− | height: | + | height:40vh; |
margin: 0 auto; | margin: 0 auto; | ||
padding:0; | padding:0; | ||
z-index:9!important; | z-index:9!important; | ||
− | background:# | + | background:#36BF36; |
+ | box-shadow:3px 3px 3px 0px #444444; | ||
} | } | ||
− | + | ||
− | + | #sub_home{ | |
+ | height:32.5vh; | ||
} | } | ||
− | # | + | |
− | + | #sub_project{ | |
+ | height:40.5vh; | ||
} | } | ||
− | # | + | |
− | + | #sub_parts{ | |
+ | height:32.5vh; | ||
} | } | ||
− | # | + | #sub_modeling{ |
− | + | height:32.5vh; | |
} | } | ||
− | # | + | #sub_drylab{ |
− | + | height:24.5vh; | |
} | } | ||
− | # | + | #sub_human_practice{ |
− | + | height:32.5vh; | |
} | } | ||
− | # | + | #sub_notebook{ |
− | + | height:40.5vh; | |
} | } | ||
− | + | .sub a { | |
− | + | color: #F5F5F5; | |
} | } | ||
.sub li { | .sub li { | ||
float:none; | float:none; | ||
− | margin | + | margin: auto; |
− | margin-top: 1vh; | + | /*margin-top: 1vh;*/ |
− | height: | + | height: 8vh; |
− | width: | + | width: 13.5vw; |
display:block!important; | display:block!important; | ||
+ | border-top-style:solid; | ||
+ | border-top-width:1px; | ||
+ | border-top-color: #F8F8FF; | ||
} | } | ||
− | . | + | .sub a { |
font-size:15px; | font-size:15px; | ||
+ | line-height:8vh; | ||
} | } | ||
nav a { | nav a { | ||
Line 193: | Line 211: | ||
background-color:#000; | background-color:#000; | ||
transition: 500ms; | transition: 500ms; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/*! | /*! |
Revision as of 14:58, 10 October 2018