Skip to content
Snippets Groups Projects
Commit 51dd1e63 authored by Ashrith Sagar Yedlapalli's avatar Ashrith Sagar Yedlapalli :speech_balloon:
Browse files

c0.1.127 CSS Responsive fishEye

parent 7b568ab4
No related branches found
No related tags found
No related merge requests found
Pipeline #186827 passed
......@@ -289,6 +289,68 @@ b {
}
}
/* --------------------------------------------------------------------------- */
/* Description Page */
#fishBody {
width: 40%;
position: relative;
}
#fishEye {
visibility: hidden;
}
@media screen and (min-width: 576px) {
#fishEye {
position: relative;
top: -112px;
left: -79px;
width: 5%;
visibility: visible;
}
}
@media screen and (min-width: 768px) {
#fishEye {
position: relative;
top: -151px;
left: -106px;
width: 5%;
visibility: visible;
}
}
@media screen and (min-width: 992px) {
#fishEye {
position: relative;
top: -203px;
left: -143px;
width: 5%;
visibility: visible;
}
}
@media screen and (min-width: 1200px) {
#fishEye {
position: relative;
top: -242px;
left: -170px;
width: 5%;
visibility: visible;
}
}
@media screen and (min-width: 1400px) {
#fishEye {
position: relative;
top: -282px;
left: -198px;
width: 5%;
visibility: visible;
}
}
/* --------------------------------------------------------------------------- */
/* IHP Page */
......
......@@ -50,10 +50,10 @@
<div>
<img src="https://static.igem.wiki/teams/4200/wiki/description/fishwithvibriosis.png"
alt="Image of fish having vibriosis" style="width: 40%; position: relative;" id="fishBody">
alt="Image of fish having vibriosis" id="fishBody">
<img src="https://static.igem.wiki/teams/4200/wiki/description/fishwithvibriosis-eye-no-bg.png"
alt="Image of fish having vibriosis" style="position: relative;top: -203px;left: -143px;width: 5%;" id="fishEye">
alt="Image of fish having vibriosis" id="fishEye">
</div>
<p class="reveal-on-scroll">Our bacteria of interest to tackle this infection in fish is <em>V.parahaemolyticus</em>. It
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment