Difference between revisions of "Template:Vilnius-Lithuania/CSS/ContentPage"

m
Line 1: Line 1:
body, html {
+
 
  margin: 0;
+
body,
  padding: 0;
+
html {
  color: #222222;
+
    margin: 0;
  font-family: "lato-regular";
+
    padding: 0;
 +
    color: #222222;
 +
    font-family: "lato-regular";
 
}
 
}
  
.igem_column_wrapper > p {
+
.igem_column_wrapper>p {
  margin: 0;
+
    margin: 0;
 
}
 
}
  
 
main .content .content-paragraph,
 
main .content .content-paragraph,
main .content .reference, #HQ_page main .content .content-paragraph,
+
main .content .reference,
 +
#HQ_page main .content .content-paragraph,
 
#HQ_page main .content .reference {
 
#HQ_page main .content .reference {
  font-family: "lato-light";
+
    font-family: "lato-light";
  margin: 0;
+
    margin: 0;
  font-size: 1.2rem;
+
    font-size: 1.2rem;
  line-height: 1.5;
+
    line-height: 1.5;
  margin-top: 20px;
+
    margin-top: 20px;
  margin-bottom: 40px;
+
    margin-bottom: 40px;
  text-align: left;
+
    text-align: left;
 
}
 
}
 +
 
@media (max-width: 480px) {
 
@media (max-width: 480px) {
  main .content .content-paragraph,
+
    main .content .content-paragraph,
main .content .reference, #HQ_page main .content .content-paragraph,
+
    main .content .reference,
 +
    #HQ_page main .content .content-paragraph,
 +
    #HQ_page main .content .reference {
 +
        font-size: 1rem;
 +
    }
 +
}
 +
 
 +
main .content .reference,
 
#HQ_page main .content .reference {
 
#HQ_page main .content .reference {
     font-size: 1rem;
+
     word-break: break-word;
  }
+
 
}
 
}
main .content .reference, #HQ_page main .content .reference {
+
 
  word-break: break-word;
+
main .content .h3,
 +
#HQ_page main .content .h3 {
 +
    font-size: 2rem;
 
}
 
}
main .content .h3, #HQ_page main .content .h3 {
+
 
  font-size: 2rem;
+
main .content .beforeWave::before,
 +
#HQ_page main .content .beforeWave::before {
 +
    background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
 +
    background-size: contain;
 +
    background-repeat: no-repeat;
 +
    content: "";
 +
    margin-bottom: 16px;
 +
    display: block;
 +
    width: 100px;
 +
    height: 18px;
 
}
 
}
main .content .beforeWave::before, #HQ_page main .content .beforeWave::before {
+
 
  background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
+
main .content .afterWave::after,
  background-size: contain;
+
#HQ_page main .content .afterWave::after {
  background-repeat: no-repeat;
+
    background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
  content: "";
+
    background-size: contain;
  margin-bottom: 16px;
+
    background-repeat: no-repeat;
  display: block;
+
    content: "";
  width: 100px;
+
    margin-top: 16px;
  height: 18px;
+
    display: block;
}
+
    width: 100px;
main .content .afterWave::after, #HQ_page main .content .afterWave::after {
+
    height: 18px;
  background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
+
  background-size: contain;
+
  background-repeat: no-repeat;
+
  content: "";
+
  margin-top: 16px;
+
  display: block;
+
  width: 100px;
+
  height: 18px;
+
 
}
 
}
  
 
main {
 
main {
  font-size: initial;
+
    font-size: initial;
 
}
 
}
  
Line 65: Line 78:
 
div.h5,
 
div.h5,
 
div.h6 {
 
div.h6 {
  font-family: "montserrat-bold";
+
    font-family: "montserrat-bold";
  font-weight: 800;
+
    font-weight: 800;
  margin-bottom: 0.4em;
+
    margin-bottom: 0.4em;
  margin-top: 1rem;
+
    margin-top: 1rem;
 
}
 
}
 +
 
div.h1.larger,
 
div.h1.larger,
 
div.h2.larger,
 
div.h2.larger,
Line 76: Line 90:
 
div.h5.larger,
 
div.h5.larger,
 
div.h6.larger {
 
div.h6.larger {
  font-size: 2.5rem;
+
    font-size: 2.5rem;
 
}
 
}
  
 
.introContainer {
 
.introContainer {
  width: 100%;
+
    width: 100%;
  height: calc(100vh - 18px);
+
    height: calc(100vh - 18px);
  display: flex;
+
    display: flex;
  justify-content: center;
+
    justify-content: center;
  align-items: center;
+
    align-items: center;
  background-color: #121212;
+
    background-color: #121212;
  background-image: url(https://static.igem.org/mediawiki/2020/7/7f/T--Vilnius-Lithuania--backgroundWaves.png);
+
    background-image: url(https://static.igem.org/mediawiki/2020/7/7f/T--Vilnius-Lithuania--backgroundWaves.png);
  background-size: cover;
+
    background-size: cover;
 
}
 
}
.introContainer > span {
+
 
  width: 80vw;
+
.introContainer>span {
  height: 80vw;
+
    width: 80vw;
  border-radius: 1000px;
+
    height: 80vw;
  position: relative;
+
    border-radius: 1000px;
  background-size: cover;
+
    position: relative;
  background-position: 0px 0px;
+
    background-size: cover;
  background-attachment: fixed;
+
    background-position: 0px 0px;
  overflow: hidden;
+
    background-attachment: fixed;
 +
    overflow: hidden;
 
}
 
}
 +
 
@media (min-aspect-ratio: 1/1) {
 
@media (min-aspect-ratio: 1/1) {
  .introContainer > span {
+
    .introContainer>span {
    width: 80vh;
+
        width: 80vh;
    height: 80vh;
+
        height: 80vh;
  }
+
    }
 
}
 
}
.introContainer > span #image-overlay {
+
 
  width: 100%;
+
.introContainer>span #image-overlay {
  height: 100%;
+
    width: 100%;
  position: absolute;
+
    height: 100%;
  background-color: #6281EF;
+
    position: absolute;
  mix-blend-mode: multiply;
+
    background-color: #6281EF;
 +
    mix-blend-mode: multiply;
 
}
 
}
 +
 
.introContainer .heading {
 
.introContainer .heading {
  z-index: 3;
+
    z-index: 3;
  position: absolute;
+
    position: absolute;
  font-size: 5.7vh;
+
    font-size: 5.7vh;
  font-size: calc(2.5vh + 2vw);
+
    font-size: calc(2.5vh + 2vw);
  color: #FAFAFC;
+
    color: #FAFAFC;
  text-transform: uppercase;
+
    text-transform: uppercase;
  text-align: center;
+
    text-align: center;
  font-family: "montserrat-black";
+
    font-family: "montserrat-black";
 
}
 
}
 +
 
.introContainer .heading.other {
 
.introContainer .heading.other {
  padding-top: 0.3em;
+
    padding-top: 0.3em;
  pointer-events: none;
+
    pointer-events: none;
  color: transparent;
+
    color: transparent;
  -webkit-text-stroke-width: 1px;
+
    -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #FAFAFC;
+
    -webkit-text-stroke-color: #FAFAFC;
 
}
 
}
 +
 
@media (min-aspect-ratio: 1/1) {
 
@media (min-aspect-ratio: 1/1) {
  .introContainer .heading {
+
    .introContainer .heading {
    font-size: 6.5vw;
+
        font-size: 6.5vw;
  }
+
    }
 
}
 
}
  
 
.milkWaveContentPage {
 
.milkWaveContentPage {
  z-index: 2;
+
    z-index: 2;
  width: 100%;
+
    width: 100%;
  top: 0;
+
    top: 0;
  height: calc(100vh - 18px);
+
    height: calc(100vh - 18px);
  position: absolute;
+
    position: absolute;
  content: "";
+
    content: "";
  pointer-events: none;
+
    pointer-events: none;
  background-position: bottom;
+
    background-position: bottom;
  background-origin: border-box;
+
    background-origin: border-box;
  background-size: 100%;
+
    background-size: 100%;
  background-repeat: no-repeat;
+
    background-repeat: no-repeat;
  background-image: url(https://static.igem.org/mediawiki/2020/e/e7/T--Vilnius-Lithuania--milkTeam.svg);
+
    background-image: url(https://static.igem.org/mediawiki/2020/e/e7/T--Vilnius-Lithuania--milkTeam.svg);
 
}
 
}
  
 
main {
 
main {
  margin-top: -5px;
+
    margin-top: -5px;
  width: 100%;
+
    width: 100%;
  background-color: #FAFAFC;
+
    background-color: #FAFAFC;
  z-index: 10;
+
    z-index: 10;
  position: relative;
+
    position: relative;
  padding-bottom: 50px;
+
    padding-bottom: 50px;
  display: flex;
+
    display: flex;
  flex-direction: row;
+
    flex-direction: row;
  align-items: flex-start;
+
    align-items: flex-start;
  justify-content: space-evenly;
+
    justify-content: space-evenly;
 
}
 
}
 +
 
main::after {
 
main::after {
  content: "";
+
    content: "";
  clear: both;
+
    clear: both;
  display: table;
+
    display: table;
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  main {
+
    main {
    justify-content: center;
+
        justify-content: center;
  }
+
    }
 
}
 
}
  
 
.indexbutton {
 
.indexbutton {
  display: none;
+
    display: none;
  color: #FAFAFC;
+
    color: #FAFAFC;
  text-transform: capitalize;
+
    text-transform: capitalize;
  font-size: 1.4rem;
+
    font-size: 1.4rem;
  width: 100%;
+
    width: 100%;
  text-align: center;
+
    text-align: center;
  font-weight: bold;
+
    font-weight: bold;
  padding: 16px 0;
+
    padding: 16px 0;
  height: 62px;
+
    height: 62px;
  box-sizing: border-box;
+
    box-sizing: border-box;
  cursor: pointer;
+
    cursor: pointer;
  background-color: #6281EF;
+
    background-color: #6281EF;
  z-index: 21;
+
    z-index: 21;
  transition: 0.5s;
+
    transition: 0.5s;
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  .indexbutton {
+
    .indexbutton {
    display: block;
+
        display: block;
  }
+
    }
 
}
 
}
  
 
.sideBlock {
 
.sideBlock {
  text-transform: uppercase;
+
    text-transform: uppercase;
  float: left;
+
    float: left;
  margin-left: 10vw;
+
    margin-left: 10vw;
  position: -webkit-sticky;
+
    position: -webkit-sticky;
  position: sticky;
+
    position: sticky;
  top: 50%;
+
    top: 50%;
  margin: 200px 32px 0 4vw;
+
    margin: 200px 32px 0 4vw;
  transform: translateY(-50%);
+
    transform: translateY(-50%);
  min-width: 220px;
+
    min-width: 220px;
  max-width: 350px;
+
    max-width: 350px;
 
}
 
}
 +
 
@media (max-width: 1024px) {
 
@media (max-width: 1024px) {
  .sideBlock {
+
    .sideBlock {
    margin: 200px 32px 0 4vw;
+
        margin: 200px 32px 0 4vw;
  }
+
    }
 
}
 
}
 +
 
.sideBlock b {
 
.sideBlock b {
  font-family: "montserrat-bold";
+
    font-family: "montserrat-bold";
  font-size: 1.4rem;
+
    font-size: 1.4rem;
  font-weight: bold;
+
    font-weight: bold;
  margin-left: 0.25em;
+
    margin-left: 0.25em;
  display: block;
+
    display: block;
 
}
 
}
 +
 
.sideBlock ul {
 
.sideBlock ul {
  margin: 1em 0;
+
    margin: 1em 0;
  padding: 0;
+
    padding: 0;
 
}
 
}
 +
 
.sideBlock a {
 
.sideBlock a {
  color: #121212;
+
    color: #121212;
  text-decoration: none;
+
    text-decoration: none;
  font-family: "lato-light", sans-serif;
+
    font-family: "lato-light", sans-serif;
 
}
 
}
 +
 
.sideBlock li {
 
.sideBlock li {
  margin: 24px;
+
    margin: 24px;
  list-style: none;
+
    list-style: none;
  color: #121212;
+
    color: #121212;
  font-size: 1.1rem;
+
    font-size: 1.1rem;
  cursor: pointer;
+
    cursor: pointer;
  display: flex;
+
    display: flex;
  align-items: center;
+
    align-items: center;
  margin-left: 0.25em;
+
    margin-left: 0.25em;
 
}
 
}
 +
 
.sideBlock li:last-child {
 
.sideBlock li:last-child {
  margin-bottom: 0;
+
    margin-bottom: 0;
 
}
 
}
 +
 
.sideBlock li div {
 
.sideBlock li div {
  max-width: 15px;
+
    max-width: 15px;
  max-height: 15px;
+
    max-height: 15px;
  box-sizing: border-box;
+
    box-sizing: border-box;
  border: 1px solid;
+
    border: 1px solid;
  color: #2E64EC;
+
    color: #2E64EC;
  border-radius: 20px;
+
    border-radius: 20px;
  transition: 0.5s;
+
    transition: 0.5s;
  margin-right: 8px;
+
    margin-right: 8px;
  height: 10vw;
+
    height: 10vw;
  width: 10vh;
+
    width: 10vh;
 
}
 
}
 +
 
.sideBlock li.active div {
 
.sideBlock li.active div {
  background-color: #2E64EC;
+
    background-color: #2E64EC;
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  .sideBlock {
+
    .sideBlock {
    position: fixed;
+
        position: fixed;
    bottom: 0;
+
        bottom: 0;
    padding: 0 64px;
+
        padding: 0 64px;
    background-color: #6281EF;
+
        background-color: #6281EF;
    color: #FAFAFC;
+
        color: #FAFAFC;
    float: unset;
+
        float: unset;
    margin: 0;
+
        margin: 0;
    z-index: 20;
+
        z-index: 20;
    width: 100%;
+
        width: 100%;
    box-sizing: border-box;
+
        box-sizing: border-box;
    min-width: unset;
+
        min-width: unset;
    max-width: unset;
+
        max-width: unset;
    text-align: center;
+
        text-align: center;
    transition: transform 0.5s;
+
        transition: transform 0.5s;
    top: unset;
+
        top: unset;
    transform: translateY(calc(100% - 62px));
+
        transform: translateY(calc(100% - 62px));
    display: flex;
+
        display: flex;
    flex-direction: column;
+
        flex-direction: column;
    align-items: center;
+
        align-items: center;
  }
+
    }
  .sideBlock b {
+
    .sideBlock b {
    display: block;
+
        display: block;
    margin: 0;
+
        margin: 0;
  }
+
    }
  .sideBlock ul {
+
    .sideBlock ul {
    display: inline-block;
+
        display: inline-block;
    text-align: start;
+
        text-align: start;
    margin-top: 0;
+
        margin-top: 0;
    margin-bottom: 30px;
+
        margin-bottom: 30px;
  }
+
    }
  .sideBlock li {
+
    .sideBlock li {
    font-weight: bold;
+
        font-weight: bold;
  }
+
    }
  .sideBlock li a {
+
    .sideBlock li a {
    color: #FAFAFC;
+
        color: #FAFAFC;
  }
+
    }
  .sideBlock li div {
+
    .sideBlock li div {
    color: #FAFAFC;
+
        color: #FAFAFC;
  }
+
    }
  .sideBlock li.active div {
+
    .sideBlock li.active div {
    background-color: #FAFAFC;
+
        background-color: #FAFAFC;
  }
+
    }
  .sideBlock.notshow {
+
    .sideBlock.notshow {
    transform: translateY(calc(100% - 0px));
+
        transform: translateY(calc(100% - 0px));
  }
+
    }
  .sideBlock.open {
+
    .sideBlock.open {
    transform: translateY(0);
+
        transform: translateY(0);
  }
+
    }
 
}
 
}
  
 
.contentBlock {
 
.contentBlock {
  width: 64vw;
+
    width: 64vw;
  max-width: 700px;
+
    max-width: 700px;
  float: right;
+
    float: right;
  display: flex;
+
    display: flex;
  flex-direction: column;
+
    flex-direction: column;
 
}
 
}
 +
 
@media (max-width: 1024px) {
 
@media (max-width: 1024px) {
  .contentBlock {
+
    .contentBlock {
    margin-right: 5vw;
+
        margin-right: 5vw;
  }
+
    }
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  .contentBlock {
+
    .contentBlock {
    margin-right: unset;
+
        margin-right: unset;
    width: 90%;
+
        width: 90%;
    box-sizing: border-box;
+
        box-sizing: border-box;
    max-width: 650px;
+
        max-width: 650px;
  }
+
    }
 
}
 
}
  
 
.content {
 
.content {
  padding: 64px;
+
    padding: 64px;
  border-radius: 5px;
+
    border-radius: 5px;
  box-shadow: 0 0 10px lightgray;
+
    box-shadow: 0 0 10px lightgray;
  color: #121212;
+
    color: #121212;
  margin-top: 40px;
+
    margin-top: 40px;
  overflow: hidden;
+
    overflow: hidden;
  display: flex;
+
    display: flex;
  flex-direction: column;
+
    flex-direction: column;
  font-family: "lato-light";
+
    font-family: "lato-light";
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  .content {
+
    .content {
    margin: 0 auto;
+
        margin: 0 auto;
    box-shadow: unset;
+
        box-shadow: unset;
    padding: 35px;
+
        padding: 35px;
    width: 100%;
+
        width: 100%;
    box-sizing: border-box;
+
        box-sizing: border-box;
  }
+
    }
 
}
 
}
 +
 
@media (max-width: 400px) {
 
@media (max-width: 400px) {
  .content {
+
    .content {
    padding: 20px;
+
        padding: 20px;
  }
+
    }
 
}
 
}
 +
 
.content p:first-child {
 
.content p:first-child {
  margin-top: 0;
+
    margin-top: 0;
 
}
 
}
 +
 
.content ul,
 
.content ul,
 
.content ol {
 
.content ol {
  font-family: "lato-light", sans-serif;
+
    font-family: "lato-light", sans-serif;
 
}
 
}
.content ul li::marker {
+
 
  color: #6281ef;
+
.content ul {
 +
    padding-inline-start: 20px;
 +
    list-style-image: none;
 +
    list-style-type: none;
 
}
 
}
 +
 +
.content ul li {
 +
    display: flex;
 +
}
 +
 +
.content ul li::before {
 +
    content: "•";
 +
    color: #6281ef;
 +
}
 +
 
.content li {
 
.content li {
  margin: 10px;
+
    margin: 10px;
 
}
 
}
 +
 
.content li::marker {
 
.content li::marker {
  color: #6281ef;
+
    color: #6281ef;
  font-family: "lato-heavy";
+
    font-family: "lato-heavy";
  font-size: 1.3em;
+
    font-size: 1.3em;
 
}
 
}
.content h4 {
+
 
  font-family: "montserrat-bold", sans-serif;
+
.content h4,
  font-size: 1.2em;
+
.content h5 {
  text-transform: uppercase;
+
    font-family: "montserrat-bold", sans-serif;
  margin-block-end: 0.2em;
+
    font-size: 1.2em;
  margin-block-start: 60px;
+
    text-transform: uppercase;
 +
    margin-block-end: 0.2em;
 +
    margin-block-start: 60px;
 
}
 
}
 +
 +
.content h5 {
 +
    font-size: 1em;
 +
}
 +
 
.content a {
 
.content a {
  color: #2e64ec;
+
    color: #2e64ec;
  text-decoration: none;
+
    text-decoration: none;
  text-align: center;
+
    text-align: center;
  cursor: pointer;
+
    cursor: pointer;
 
}
 
}
 +
 
.content a.citation {
 
.content a.citation {
  font-size: 0.6em;
+
    font-size: 0.6em;
  vertical-align: super;
+
    vertical-align: super;
 
}
 
}
 +
 
.content a button {
 
.content a button {
  display: flex;
+
    display: flex;
  align-items: center;
+
    align-items: center;
  justify-content: center;
+
    justify-content: center;
  font-family: "lato-semibold", sans-serif;
+
    font-family: "lato-semibold", sans-serif;
  color: #FAFAFC;
+
    color: #FAFAFC;
  padding: 32px 56px;
+
    padding: 32px 56px;
  font-size: 1.2rem;
+
    font-size: 1.2rem;
  max-width: 7;
+
    max-width: 7;
  text-align: center;
+
    text-align: center;
  border-radius: 1000px;
+
    border-radius: 1000px;
  margin: 40px auto;
+
    margin: 40px auto;
  transition: 0.3s ease-out;
+
    transition: 0.3s ease-out;
  background-color: #6281ef;
+
    background-color: #6281ef;
  box-shadow: 0 16px 32px -12px #3658cf;
+
    box-shadow: 0 16px 32px -12px #3658cf;
  border: none;
+
    border: none;
  position: relative;
+
    position: relative;
  top: 0;
+
    top: 0;
  font-variant-position: normal;
+
    font-variant-position: normal;
  cursor: pointer;
+
    cursor: pointer;
  text-transform: uppercase;
+
    text-transform: uppercase;
 
}
 
}
 +
 
.content a button:hover {
 
.content a button:hover {
  top: -5px;
+
    top: -5px;
  box-shadow: 0 16px 32px -16px #3658cf;
+
    box-shadow: 0 16px 32px -16px #3658cf;
 
}
 
}
 +
 
.content p b {
 
.content p b {
  font-family: "lato-regular", sans-serif;
+
    font-family: "lato-regular", sans-serif;
  color: #000;
+
    color: #000;
 
}
 
}
 +
 
.content p a:not(.citation) {
 
.content p a:not(.citation) {
  text-decoration: none;
+
    text-decoration: none;
  font-variant-position: normal;
+
    font-variant-position: normal;
  color: #121212;
+
    color: #121212;
  box-shadow: inset 0 -0.5em 0 -1px #fcbd1b;
+
    box-shadow: inset 0 -0.5em 0 -1px #fcbd1b;
  transition: 0.3s ease-out;
+
    transition: 0.3s ease-out;
 
}
 
}
 +
 
.content p a:not(.citation):hover {
 
.content p a:not(.citation):hover {
  box-shadow: inset 0 -1.2em 0 -1px #fcbd1b;
+
    box-shadow: inset 0 -1.2em 0 -1px #fcbd1b;
 
}
 
}
  
Line 433: Line 498:
 
_:future,
 
_:future,
 
:root {
 
:root {
  transition-duration: unset;
+
    transition-duration: unset;
 
}
 
}
  
 
.photos-wrapper.full-width {
 
.photos-wrapper.full-width {
  width: 100%;
+
    width: 100%;
 
}
 
}
 +
 
.photos-wrapper.full-width::after {
 
.photos-wrapper.full-width::after {
  transform: rotate(180deg) translate(-520px, 50px);
+
    transform: rotate(180deg) translate(-520px, 50px);
 
}
 
}
 +
 
.photos-wrapper .photos {
 
.photos-wrapper .photos {
  display: flex;
+
    padding: 20px;
  justify-content: space-between;
+
    height: fit-content;
  padding: 20px;
+
    width: 100%;
  height: 200px;
+
    box-sizing: border-box;
  width: 100%;
+
    overflow: hidden;
  box-sizing: border-box;
+
 
}
 
}
.photos-wrapper .photos img {
+
 
  height: 100%;
+
.photos-wrapper .photos.phone {
  box-shadow: 5px 5px 7px #00000029;
+
    display: flex;
  border-radius: 100px;
+
    justify-content: space-around;
 
}
 
}
 +
 +
.photos-wrapper .photos.phone img {
 +
    height: 400px;
 +
    border-radius: 0;
 +
    box-shadow: none;
 +
    max-width: none;
 +
    max-height: none;
 +
    width: auto;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid {
 +
    display: grid;
 +
    align-items: center;
 +
    justify-items: center;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid.three-part {
 +
    grid-template-columns: 1fr 1fr 1fr;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid.two-part {
 +
    grid-template-columns: 1fr 1fr;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid.one-part {
 +
    grid-template-columns: 1fr;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid.round-corners img {
 +
    border-radius: 200px;
 +
}
 +
 +
.photos-wrapper .photos.photo-grid img {
 +
    box-shadow: 5px 5px 7px #00000029;
 +
    width: 90%;
 +
}
 +
 
.photos-wrapper.half-width {
 
.photos-wrapper.half-width {
  width: 50%;
+
    width: 50%;
  align-self: center;
+
    align-self: center;
 
}
 
}
 +
 
.photos-wrapper.half-width .photos {
 
.photos-wrapper.half-width .photos {
  height: fit-content;
+
    height: fit-content;
 
}
 
}
 +
 
.photos-wrapper.half-width .photos img {
 
.photos-wrapper.half-width .photos img {
  width: 100%;
+
    width: 100%;
 
}
 
}
 +
 
.photos-wrapper.half-width::after {
 
.photos-wrapper.half-width::after {
  transform: rotate(180deg) translate(-235px, 50px);
+
    transform: rotate(180deg) translate(-235px, 50px);
 +
}
 +
 
 +
video {
 +
    width: 100%;
 
}
 
}
  
 
.content p.photo-desc {
 
.content p.photo-desc {
  text-align: left !important;
+
    text-align: left !important;
  font-size: 0.8em !important;
+
    font-size: 0.8em !important;
 
}
 
}
 +
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
  .content p.photo-desc {
+
    .content p.photo-desc {
    font-size: 0.6em;
+
        font-size: 0.6em;
  }
+
    }
 
}
 
}
  
 
.references {
 
.references {
  font-size: 1.9rem;
+
    font-size: 1.9rem;
 
}
 
}
 +
 
.references svg {
 
.references svg {
  max-width: 100px;
+
    max-width: 100px;
 
}
 
}
 +
 
.references h3 {
 
.references h3 {
  margin-block-start: 0em;
+
    margin-block-start: 0em;
  font-size: 0.8em;
+
    font-size: 0.8em;
  font-family: "montserrat-bold", sans-serif;
+
    font-family: "montserrat-bold", sans-serif;
 
}
 
}
 +
 
.references ol {
 
.references ol {
  margin: initial;
+
    margin: initial;
  padding-inline-start: 10px;
+
    padding-inline-start: 10px;
 
}
 
}
 +
 
.references ol li {
 
.references ol li {
  font-size: 0.4em;
+
    font-size: 0.4em;
  font-family: "lato-light", sans-serif;
+
    font-family: "lato-light", sans-serif;
 
}
 
}
 +
 
.references ol li::marker {
 
.references ol li::marker {
  color: initial;
+
    color: initial;
  font-family: "lato-light", sans-serif;
+
    font-family: "lato-light", sans-serif;
  font-size: 1em;
+
    font-size: 1em;
 
}
 
}

Revision as of 13:52, 26 October 2020

body, html {

   margin: 0;
   padding: 0;
   color: #222222;
   font-family: "lato-regular";

}

.igem_column_wrapper>p {

   margin: 0;

}

main .content .content-paragraph, main .content .reference,

  1. HQ_page main .content .content-paragraph,
  2. HQ_page main .content .reference {
   font-family: "lato-light";
   margin: 0;
   font-size: 1.2rem;
   line-height: 1.5;
   margin-top: 20px;
   margin-bottom: 40px;
   text-align: left;

}

@media (max-width: 480px) {

   main .content .content-paragraph,
   main .content .reference,
   #HQ_page main .content .content-paragraph,
   #HQ_page main .content .reference {
       font-size: 1rem;
   }

}

main .content .reference,

  1. HQ_page main .content .reference {
   word-break: break-word;

}

main .content .h3,

  1. HQ_page main .content .h3 {
   font-size: 2rem;

}

main .content .beforeWave::before,

  1. HQ_page main .content .beforeWave::before {
   background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
   background-size: contain;
   background-repeat: no-repeat;
   content: "";
   margin-bottom: 16px;
   display: block;
   width: 100px;
   height: 18px;

}

main .content .afterWave::after,

  1. HQ_page main .content .afterWave::after {
   background-image: url(https://static.igem.org/mediawiki/2020/d/df/T--Vilnius-Lithuania--separator.svg);
   background-size: contain;
   background-repeat: no-repeat;
   content: "";
   margin-top: 16px;
   display: block;
   width: 100px;
   height: 18px;

}

main {

   font-size: initial;

}

div.h1, div.h2, div.h3, div.h4, div.h5, div.h6 {

   font-family: "montserrat-bold";
   font-weight: 800;
   margin-bottom: 0.4em;
   margin-top: 1rem;

}

div.h1.larger, div.h2.larger, div.h3.larger, div.h4.larger, div.h5.larger, div.h6.larger {

   font-size: 2.5rem;

}

.introContainer {

   width: 100%;
   height: calc(100vh - 18px);
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: #121212;
   background-image: url(T--Vilnius-Lithuania--backgroundWaves.png);
   background-size: cover;

}

.introContainer>span {

   width: 80vw;
   height: 80vw;
   border-radius: 1000px;
   position: relative;
   background-size: cover;
   background-position: 0px 0px;
   background-attachment: fixed;
   overflow: hidden;

}

@media (min-aspect-ratio: 1/1) {

   .introContainer>span {
       width: 80vh;
       height: 80vh;
   }

}

.introContainer>span #image-overlay {

   width: 100%;
   height: 100%;
   position: absolute;
   background-color: #6281EF;
   mix-blend-mode: multiply;

}

.introContainer .heading {

   z-index: 3;
   position: absolute;
   font-size: 5.7vh;
   font-size: calc(2.5vh + 2vw);
   color: #FAFAFC;
   text-transform: uppercase;
   text-align: center;
   font-family: "montserrat-black";

}

.introContainer .heading.other {

   padding-top: 0.3em;
   pointer-events: none;
   color: transparent;
   -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: #FAFAFC;

}

@media (min-aspect-ratio: 1/1) {

   .introContainer .heading {
       font-size: 6.5vw;
   }

}

.milkWaveContentPage {

   z-index: 2;
   width: 100%;
   top: 0;
   height: calc(100vh - 18px);
   position: absolute;
   content: "";
   pointer-events: none;
   background-position: bottom;
   background-origin: border-box;
   background-size: 100%;
   background-repeat: no-repeat;
   background-image: url(https://static.igem.org/mediawiki/2020/e/e7/T--Vilnius-Lithuania--milkTeam.svg);

}

main {

   margin-top: -5px;
   width: 100%;
   background-color: #FAFAFC;
   z-index: 10;
   position: relative;
   padding-bottom: 50px;
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: space-evenly;

}

main::after {

   content: "";
   clear: both;
   display: table;

}

@media (max-width: 800px) {

   main {
       justify-content: center;
   }

}

.indexbutton {

   display: none;
   color: #FAFAFC;
   text-transform: capitalize;
   font-size: 1.4rem;
   width: 100%;
   text-align: center;
   font-weight: bold;
   padding: 16px 0;
   height: 62px;
   box-sizing: border-box;
   cursor: pointer;
   background-color: #6281EF;
   z-index: 21;
   transition: 0.5s;

}

@media (max-width: 800px) {

   .indexbutton {
       display: block;
   }

}

.sideBlock {

   text-transform: uppercase;
   float: left;
   margin-left: 10vw;
   position: -webkit-sticky;
   position: sticky;
   top: 50%;
   margin: 200px 32px 0 4vw;
   transform: translateY(-50%);
   min-width: 220px;
   max-width: 350px;

}

@media (max-width: 1024px) {

   .sideBlock {
       margin: 200px 32px 0 4vw;
   }

}

.sideBlock b {

   font-family: "montserrat-bold";
   font-size: 1.4rem;
   font-weight: bold;
   margin-left: 0.25em;
   display: block;

}

.sideBlock ul {

   margin: 1em 0;
   padding: 0;

}

.sideBlock a {

   color: #121212;
   text-decoration: none;
   font-family: "lato-light", sans-serif;

}

.sideBlock li {

   margin: 24px;
   list-style: none;
   color: #121212;
   font-size: 1.1rem;
   cursor: pointer;
   display: flex;
   align-items: center;
   margin-left: 0.25em;

}

.sideBlock li:last-child {

   margin-bottom: 0;

}

.sideBlock li div {

   max-width: 15px;
   max-height: 15px;
   box-sizing: border-box;
   border: 1px solid;
   color: #2E64EC;
   border-radius: 20px;
   transition: 0.5s;
   margin-right: 8px;
   height: 10vw;
   width: 10vh;

}

.sideBlock li.active div {

   background-color: #2E64EC;

}

@media (max-width: 800px) {

   .sideBlock {
       position: fixed;
       bottom: 0;
       padding: 0 64px;
       background-color: #6281EF;
       color: #FAFAFC;
       float: unset;
       margin: 0;
       z-index: 20;
       width: 100%;
       box-sizing: border-box;
       min-width: unset;
       max-width: unset;
       text-align: center;
       transition: transform 0.5s;
       top: unset;
       transform: translateY(calc(100% - 62px));
       display: flex;
       flex-direction: column;
       align-items: center;
   }
   .sideBlock b {
       display: block;
       margin: 0;
   }
   .sideBlock ul {
       display: inline-block;
       text-align: start;
       margin-top: 0;
       margin-bottom: 30px;
   }
   .sideBlock li {
       font-weight: bold;
   }
   .sideBlock li a {
       color: #FAFAFC;
   }
   .sideBlock li div {
       color: #FAFAFC;
   }
   .sideBlock li.active div {
       background-color: #FAFAFC;
   }
   .sideBlock.notshow {
       transform: translateY(calc(100% - 0px));
   }
   .sideBlock.open {
       transform: translateY(0);
   }

}

.contentBlock {

   width: 64vw;
   max-width: 700px;
   float: right;
   display: flex;
   flex-direction: column;

}

@media (max-width: 1024px) {

   .contentBlock {
       margin-right: 5vw;
   }

}

@media (max-width: 800px) {

   .contentBlock {
       margin-right: unset;
       width: 90%;
       box-sizing: border-box;
       max-width: 650px;
   }

}

.content {

   padding: 64px;
   border-radius: 5px;
   box-shadow: 0 0 10px lightgray;
   color: #121212;
   margin-top: 40px;
   overflow: hidden;
   display: flex;
   flex-direction: column;
   font-family: "lato-light";

}

@media (max-width: 800px) {

   .content {
       margin: 0 auto;
       box-shadow: unset;
       padding: 35px;
       width: 100%;
       box-sizing: border-box;
   }

}

@media (max-width: 400px) {

   .content {
       padding: 20px;
   }

}

.content p:first-child {

   margin-top: 0;

}

.content ul, .content ol {

   font-family: "lato-light", sans-serif;

}

.content ul {

   padding-inline-start: 20px;
   list-style-image: none;
   list-style-type: none;

}

.content ul li {

   display: flex;

}

.content ul li::before {

   content: "•";
   color: #6281ef;

}

.content li {

   margin: 10px;

}

.content li::marker {

   color: #6281ef;
   font-family: "lato-heavy";
   font-size: 1.3em;

}

.content h4, .content h5 {

   font-family: "montserrat-bold", sans-serif;
   font-size: 1.2em;
   text-transform: uppercase;
   margin-block-end: 0.2em;
   margin-block-start: 60px;

}

.content h5 {

   font-size: 1em;

}

.content a {

   color: #2e64ec;
   text-decoration: none;
   text-align: center;
   cursor: pointer;

}

.content a.citation {

   font-size: 0.6em;
   vertical-align: super;

}

.content a button {

   display: flex;
   align-items: center;
   justify-content: center;
   font-family: "lato-semibold", sans-serif;
   color: #FAFAFC;
   padding: 32px 56px;
   font-size: 1.2rem;
   max-width: 7;
   text-align: center;
   border-radius: 1000px;
   margin: 40px auto;
   transition: 0.3s ease-out;
   background-color: #6281ef;
   box-shadow: 0 16px 32px -12px #3658cf;
   border: none;
   position: relative;
   top: 0;
   font-variant-position: normal;
   cursor: pointer;
   text-transform: uppercase;

}

.content a button:hover {

   top: -5px;
   box-shadow: 0 16px 32px -16px #3658cf;

}

.content p b {

   font-family: "lato-regular", sans-serif;
   color: #000;

}

.content p a:not(.citation) {

   text-decoration: none;
   font-variant-position: normal;
   color: #121212;
   box-shadow: inset 0 -0.5em 0 -1px #fcbd1b;
   transition: 0.3s ease-out;

}

.content p a:not(.citation):hover {

   box-shadow: inset 0 -1.2em 0 -1px #fcbd1b;

}

_::-webkit-full-page-media, _:future,

root {
   transition-duration: unset;

}

.photos-wrapper.full-width {

   width: 100%;

}

.photos-wrapper.full-width::after {

   transform: rotate(180deg) translate(-520px, 50px);

}

.photos-wrapper .photos {

   padding: 20px;
   height: fit-content;
   width: 100%;
   box-sizing: border-box;
   overflow: hidden;

}

.photos-wrapper .photos.phone {

   display: flex;
   justify-content: space-around;

}

.photos-wrapper .photos.phone img {

   height: 400px;
   border-radius: 0;
   box-shadow: none;
   max-width: none;
   max-height: none;
   width: auto;

}

.photos-wrapper .photos.photo-grid {

   display: grid;
   align-items: center;
   justify-items: center;

}

.photos-wrapper .photos.photo-grid.three-part {

   grid-template-columns: 1fr 1fr 1fr;

}

.photos-wrapper .photos.photo-grid.two-part {

   grid-template-columns: 1fr 1fr;

}

.photos-wrapper .photos.photo-grid.one-part {

   grid-template-columns: 1fr;

}

.photos-wrapper .photos.photo-grid.round-corners img {

   border-radius: 200px;

}

.photos-wrapper .photos.photo-grid img {

   box-shadow: 5px 5px 7px #00000029;
   width: 90%;

}

.photos-wrapper.half-width {

   width: 50%;
   align-self: center;

}

.photos-wrapper.half-width .photos {

   height: fit-content;

}

.photos-wrapper.half-width .photos img {

   width: 100%;

}

.photos-wrapper.half-width::after {

   transform: rotate(180deg) translate(-235px, 50px);

}

video {

   width: 100%;

}

.content p.photo-desc {

   text-align: left !important;
   font-size: 0.8em !important;

}

@media (max-width: 800px) {

   .content p.photo-desc {
       font-size: 0.6em;
   }

}

.references {

   font-size: 1.9rem;

}

.references svg {

   max-width: 100px;

}

.references h3 {

   margin-block-start: 0em;
   font-size: 0.8em;
   font-family: "montserrat-bold", sans-serif;

}

.references ol {

   margin: initial;
   padding-inline-start: 10px;

}

.references ol li {

   font-size: 0.4em;
   font-family: "lato-light", sans-serif;

}

.references ol li::marker {

   color: initial;
   font-family: "lato-light", sans-serif;
   font-size: 1em;

}