Line 112: | Line 112: | ||
} | } | ||
− | . | + | .right { |
− | + | float: right; | |
− | + | width: 300px; | |
− | + | padding: 10px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .left { | |
− | . | + | float: left; |
− | + | width: 300px; | |
− | width: | + | padding: 10px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | padding: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | /* | + | |
− | . | + | .round { |
− | + | border-radius: 50%; | |
− | + | overflow: hidden; | |
− | + | width: 400px; | |
− | + | height: 400px; | |
− | + | } | |
− | + | .round img { | |
− | + | display: block; | |
− | + | /* Stretch | |
+ | height: 100%; | ||
+ | width: 100%; */ | ||
+ | min-width: 100%; | ||
+ | min-height: 100%; | ||
+ | } | ||
+ | |||
+ | .rightcontainer { | ||
+ | clear: both; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .rightcontainer .rightarrow { | ||
+ | width: 12px; | ||
+ | height: 20px; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | top: 6px; | ||
+ | right: -1px; | ||
+ | } | ||
+ | |||
+ | .rightcontainer .rightarrow .rightouter { | ||
+ | width: 0; | ||
+ | height: 0; | ||
+ | border-right: 20px solid #000000; | ||
+ | border-top: 10px solid transparent; | ||
+ | border-bottom: 10px solid transparent; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | .rightcontainer .rightarrow .rightinner { | ||
+ | width: 0; | ||
+ | height: 0; | ||
+ | border-right: 20px solid #ffffff; | ||
+ | border-top: 10px solid transparent; | ||
+ | border-bottom: 10px solid transparent; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 2px; | ||
+ | } | ||
+ | |||
+ | .rightcontainer .rightmessage-body { | ||
+ | float: left; | ||
+ | width: 300px; | ||
+ | height: auto; | ||
+ | border: 1px solid #CCC; | ||
+ | background-color: #ffffff; | ||
+ | border: 1px solid #000000; | ||
+ | padding: 6px 8px; | ||
+ | -webkit-border-radius: 5px; | ||
+ | -moz-border-radius: 5px; | ||
+ | -o-border-radius: 5px; | ||
+ | border-radius: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .leftcontainer { | ||
+ | clear: both; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .leftcontainer .leftarrow { | ||
+ | width: 12px; | ||
+ | height: 20px; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | float: right; | ||
+ | top: 6px; | ||
+ | right: 3px; | ||
} | } | ||
− | + | .leftcontainer .leftarrow .leftouter { | |
− | . | + | width: 0; |
− | + | height: 0; | |
− | + | border-left: 20px solid #000000; | |
− | + | border-top: 10px solid transparent; | |
+ | border-bottom: 10px solid transparent; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
} | } | ||
− | + | .leftcontainer .leftarrow .leftinner { | |
− | + | width: 0; | |
− | + | height: 0; | |
− | + | border-left: 20px solid #ffffff; | |
+ | border-top: 10px solid transparent; | ||
+ | border-bottom: 10px solid transparent; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: -2px; | ||
} | } | ||
− | + | .leftcontainer .leftmessage-body { | |
− | + | float: right; | |
− | + | width: 300px; | |
+ | height: auto; | ||
+ | border: 1px solid #CCC; | ||
+ | background-color: #ffffff; | ||
+ | border: 1px solid #000000; | ||
+ | padding: 6px 8px; | ||
+ | -webkit-border-radius: 5px; | ||
+ | -moz-border-radius: 5px; | ||
+ | -o-border-radius: 5px; | ||
+ | border-radius: 5px; | ||
} | } | ||
Line 249: | Line 324: | ||
<br> | <br> | ||
− | + | <div class="left"> | |
− | <div class=" | + | <div class="leftcontainer"> |
− | <div class=" | + | <div class="leftarrow"> |
− | <div class=" | + | <div class="leftouter"></div> |
− | + | <div class="leftinner"></div> | |
− | + | </div> | |
− | < | + | <div class="leftmessage-body"> |
− | </div> | + | <p align="justify"> |
− | </div> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <div class=" | + | |
− | + | ||
− | + | ||
<br> | <br> | ||
<font color="#8A0808" size="5" ><b>Name: Ching Yuet To</b></font> | <font color="#8A0808" size="5" ><b>Name: Ching Yuet To</b></font> | ||
Line 297: | Line 355: | ||
I am looking most forward to meet all the interesting people in Jamboree! I believe that I can learn a lot and make many international friends in Boston!</font> | I am looking most forward to meet all the interesting people in Jamboree! I believe that I can learn a lot and make many international friends in Boston!</font> | ||
</p> | </p> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div class="right"> | ||
+ | |||
+ | <div class="round"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/2/26/Andrew.PNG" alt=""/> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | // When the user clicks on div, open the popup | ||
+ | function myFunction() { | ||
+ | var popup = document.getElementById("myPopup"); | ||
+ | popup.classList.toggle("show"); | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div class="flip-container" ontouchstart="this.classList.toggle('hover');"> | ||
+ | <div class="flipper"> | ||
+ | <div class="back"> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 17:28, 24 July 2017