Evan pepper (Talk | contribs) |
Evan pepper (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{UCSC-Header}} | {{UCSC-Header}} | ||
+ | |||
<html> | <html> | ||
− | |||
− | + | <style type="overlap-button-text/css"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.proj-button { | .proj-button { | ||
Line 39: | Line 18: | ||
transition: .5s ease; | transition: .5s ease; | ||
backface-visibility: hidden; | backface-visibility: hidden; | ||
+ | margin: 20px; | ||
} | } | ||
Line 69: | Line 49: | ||
} | } | ||
− | . | + | .desktop-frontpage { |
− | + | display: block; | |
+ | user-drag: none; | ||
+ | user-select: none; | ||
+ | -moz-user-select: none; | ||
+ | -webkit-user-drag: none; | ||
+ | -webkit-user-select: none; | ||
+ | -ms-user-select: none; | ||
+ | background: honeydew; | ||
+ | width: 80%; | ||
+ | padding: 50px 0px; | ||
+ | } | ||
− | } | + | .mobile-frontpage { |
+ | display: none; | ||
+ | } | ||
− | + | @media (max-width: 768px) { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | .overlap-button-text { |
− | + | background-color: rgba(94, 94, 94, 0.5); | |
− | + | border-radius: 60px; | |
− | } | + | color: white; |
+ | } | ||
− | . | + | .proj-button-image { |
− | + | opacity: 0.7; | |
− | + | display: inline-block; | |
− | } | + | width: 30%; |
+ | height: auto; | ||
+ | transition: .5s ease; | ||
+ | backface-visibility: hidden; | ||
+ | } | ||
− | . | + | .desktop-frontpage { |
− | + | width: 95%; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.proj-button-desc { | .proj-button-desc { | ||
Line 152: | Line 96: | ||
-ms-transform: translate(-50%, -50%) | -ms-transform: translate(-50%, -50%) | ||
} | } | ||
+ | } | ||
− | + | @media (max-width: 576px) { | |
− | + | ||
− | + | ||
− | + | ||
− | + | .proj-button-image { | |
− | + | opacity: 0.7; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | opacity: | + | |
display: inline-block; | display: inline-block; | ||
− | width: | + | width: 50%; |
height: auto; | height: auto; | ||
transition: .5s ease; | transition: .5s ease; | ||
Line 193: | Line 119: | ||
} | } | ||
− | + | .desktop-frontpage { | |
− | + | display: none; | |
− | + | } | |
− | + | ||
− | + | .mobile-frontpage { | |
− | + | display: block; | |
− | + | user-drag: none; | |
− | + | user-select: none; | |
− | + | -moz-user-select: none; | |
− | + | -webkit-user-drag: none; | |
− | + | -webkit-user-select: none; | |
− | + | -ms-user-select: none; | |
− | + | background: honeydew; | |
− | + | width: 100%; | |
− | + | padding-top: 0px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
</style> | </style> | ||
+ | <head> | ||
+ | <meta name="UCSC IGEM" content="The legendary, UCSC igem Science Superheros"> | ||
+ | <title>Santa Cruz IGEM</title> | ||
+ | </head> | ||
− | < | + | <div class="page"> |
− | <div | + | <center> |
+ | <div class="desktop-frontpage"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/e/e6/UCSC-Frontpage.png" style="width: 100%;"> | ||
+ | </div> | ||
<center> | <center> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | <div class="mobile-frontpage"> |
+ | <img src="https://static.igem.org/mediawiki/2017/c/cb/Mobile_frontpage.png" style="width: 100%;"> | ||
+ | </div> | ||
<div class="row"> | <div class="row"> | ||
− | <a href="https://2017.igem.org/Team:UCSC/ | + | <a href="https://2017.igem.org/Team:UCSC/Team1" class="proj-button"> |
− | <img src="https://static.igem.org/mediawiki/2017/ | + | <img src="https://static.igem.org/mediawiki/2017/0/0b/Cyano_button_icon.png" class="proj-button-image"> |
<div class="proj-button-desc"> | <div class="proj-button-desc"> | ||
− | <div class="overlap-button-text"> | + | <div class="overlap-button-text">Meet The Team</div> |
</div> | </div> | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team:UCSC/ | + | <a href="https://2017.igem.org/Team:UCSC/Project" class="proj-button"> |
− | <img src="https://static.igem.org/mediawiki/2017/ | + | <img src="https://static.igem.org/mediawiki/2017/0/0b/Cyano_button_icon.png" class="proj-button-image"> |
<div class="proj-button-desc"> | <div class="proj-button-desc"> | ||
− | <div class="overlap-button-text"> | + | <div class="overlap-button-text">The Project</div> |
</div> | </div> | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team:UCSC/ | + | <a href="https://2017.igem.org/Team:UCSC/Integrated-Human-Practices" class="proj-button"> |
− | <img src="https://static.igem.org/mediawiki/2017/ | + | <img src="https://static.igem.org/mediawiki/2017/0/0b/Cyano_button_icon.png" class="proj-button-image"> |
<div class="proj-button-desc"> | <div class="proj-button-desc"> | ||
− | <div class="overlap-button-text"> | + | <div class="overlap-button-text">Human Practices</div> |
</div> | </div> | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team:UCSC/ | + | <a href="https://2017.igem.org/Team:UCSC/Judging" class="proj-button"> |
− | <img src="https://static.igem.org/mediawiki/2017/ | + | <img src="https://static.igem.org/mediawiki/2017/2/2d/Medal_button.png" class="proj-button-image"> |
<div class="proj-button-desc"> | <div class="proj-button-desc"> | ||
− | <div class="overlap-button-text"> | + | <div class="overlap-button-text">Judging</div> |
</div> | </div> | ||
</a> | </a> | ||
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
</html> | </html> | ||
+ | |||
{{UCSC-Footer}} | {{UCSC-Footer}} |
Revision as of 22:33, 16 October 2017