(96 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
+ | /* --------------- */ | ||
+ | /* common settings */ | ||
+ | /* --------------- */ | ||
@font-face { | @font-face { | ||
font-family: "montserrat"; | font-family: "montserrat"; | ||
Line 10: | Line 13: | ||
font-family: "roboto"; | font-family: "roboto"; | ||
src: url('https://static.igem.org/mediawiki/2021/c/cb/T--XJTU-China--roboto.ttf') format('truetype'); | src: url('https://static.igem.org/mediawiki/2021/c/cb/T--XJTU-China--roboto.ttf') format('truetype'); | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "angella"; | ||
+ | src: url('https://static.igem.org/mediawiki/2021/a/a7/T--XJTU-China--angella_white_otf.otf') format('opentype'), | ||
+ | url('https://static.igem.org/mediawiki/2021/e/e8/T--XJTU-China--angella_white.ttf') format('truetype'); | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "eras"; | ||
+ | src: url('https://static.igem.org/mediawiki/2021/7/70/T--XJTU-China--eras_md.ttf') format('truetype'); | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "britanic"; | ||
+ | src: url('https://static.igem.org/mediawiki/2021/8/81/T--XJTU-China--britanic.ttf') format('truetype'); | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
Line 33: | Line 55: | ||
:root{ | :root{ | ||
--iGEMgreen: #2a9661; | --iGEMgreen: #2a9661; | ||
− | --fdtbrown:# | + | --fdtbrown:#f58f5f; |
− | -- | + | --d: 700ms; |
− | -- | + | --e: cubic-bezier(0.19, 1, 0.22, 1); |
} | } | ||
Line 51: | Line 73: | ||
outline: none; | outline: none; | ||
text-decoration: none; | text-decoration: none; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 63: | Line 80: | ||
} | } | ||
− | . | + | a.anchor{ |
+ | display: block; | ||
+ | position: relative; | ||
+ | top: -150px; | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | |||
+ | .logoHolder{ | ||
+ | position: fixed; | ||
+ | left: 10px; | ||
+ | top: 26px; | ||
+ | width: 170px; | ||
+ | height: 170px; | ||
+ | padding: 10px; | ||
+ | background-color: rgba(255, 255, 255, 0); | ||
+ | border-radius: 50%; | ||
cursor: pointer; | cursor: pointer; | ||
− | |||
transition: .2s; | transition: .2s; | ||
+ | z-index: 500; | ||
} | } | ||
− | . | + | .logoHolder.sticky{ |
− | width: | + | width: 130px; |
+ | height: 130px; | ||
+ | background-color: #4b5165; | ||
+ | /* opacity: 0.9; */ | ||
+ | box-shadow: 0px 4px 5px 0px #454959!important; | ||
} | } | ||
.header_area { | .header_area { | ||
− | padding: | + | padding: 2.5em 1.2em; |
position: fixed; | position: fixed; | ||
top: 16px; | top: 16px; | ||
Line 84: | Line 120: | ||
transition: background 0.3s, all 0.2s linear; | transition: background 0.3s, all 0.2s linear; | ||
z-index: 300; | z-index: 300; | ||
+ | } | ||
+ | |||
+ | .header_area .spacer{ | ||
+ | width: 150px; | ||
} | } | ||
Line 91: | Line 131: | ||
justify-content: right; | justify-content: right; | ||
align-items:center; | align-items:center; | ||
+ | color: #222!important; | ||
} | } | ||
+ | |||
+ | .navbar-toggler.sticky { | ||
+ | color: snow; | ||
+ | } | ||
+ | |||
.header_area.sticky { | .header_area.sticky { | ||
− | padding: 0 1em; | + | padding: 0.8em 1em; |
− | background-color: | + | background-color: #4b5165; |
− | + | box-shadow: 0px 2px 5px #454959!important; | |
− | box-shadow: | + | |
} | } | ||
Line 111: | Line 156: | ||
.header_area .navbar .nav .nav-item .nav-link { | .header_area .navbar .nav .nav-item .nav-link { | ||
+ | font-family: 'britanic'!important; | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 21px; | font-size: 21px; | ||
Line 124: | Line 170: | ||
font-size: 16px; | font-size: 16px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
− | color: | + | color: snow; |
padding: 0px; | padding: 0px; | ||
display: inline-block; | display: inline-block; | ||
Line 281: | Line 327: | ||
.fixedBackground:before { | .fixedBackground:before { | ||
− | background: rgba(0, 0, 0, 0. | + | background: rgba(0, 0, 0, 0.15); |
position: absolute; | position: absolute; | ||
width: 100%; | width: 100%; | ||
Line 292: | Line 338: | ||
.fixedBackground { | .fixedBackground { | ||
height: 70vh; | height: 70vh; | ||
+ | background-color: white; | ||
} | } | ||
Line 301: | Line 348: | ||
left: 0; | left: 0; | ||
background-size: cover; | background-size: cover; | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
} | } | ||
+ | .pageHeadline { | ||
+ | position: relative; | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | width: 100vw; | ||
+ | height: 70vh; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | .pageHeadline span{ | ||
+ | position: relative; | ||
+ | top: 6%; | ||
+ | height: 72px; | ||
+ | width: 62%; | ||
+ | text-align: center; | ||
+ | font-family: 'britanic'; | ||
+ | font-size: 72px; | ||
+ | letter-spacing: 10px; | ||
+ | text-transform: uppercase; | ||
+ | color: snow; | ||
+ | border-bottom: 5px solid snow; | ||
+ | } | ||
.container.mainBox { | .container.mainBox { | ||
Line 309: | Line 382: | ||
margin: 0; | margin: 0; | ||
text-align: justify; | text-align: justify; | ||
+ | background-color: #21242d; | ||
} | } | ||
+ | .container.mainBox.bg-white { | ||
+ | background-color: white !important; | ||
+ | } | ||
− | . | + | .wallpaper-bg{ |
− | + | background-image: url(https://static.igem.org/mediawiki/2021/1/17/T--XJTU-China--wallpaper.jpg); | |
− | + | background-size: 90%; | |
− | background- | + | |
− | + | ||
− | + | ||
} | } | ||
.page{ | .page{ | ||
− | border-radius: | + | border-radius: 20px; |
− | + | padding: 1em 0; | |
− | background-color: | + | background-color: #2e323e !important; |
− | padding: | + | z-index: 202; |
+ | } | ||
+ | .page-light{ | ||
+ | border-radius: 20px; | ||
+ | padding: 1em 0; | ||
+ | background-color: rgba(250,250,250,0.9) !important; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
+ | hr.glyph { | ||
+ | overflow: visible; /* For IE */ | ||
+ | margin-top: 5rem; | ||
+ | margin-bottom: 2rem; | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | border-top: medium double white; | ||
+ | color: white; | ||
+ | text-align: center; | ||
+ | } | ||
+ | hr.glyph:after { | ||
+ | font-family: 'britanic'; | ||
+ | content: "§"; | ||
+ | display: inline-block; | ||
+ | position: relative; | ||
+ | top: -0.7em; | ||
+ | font-size: 1.5em; | ||
+ | padding: 0 0.25em; | ||
+ | background: #2e323e; | ||
+ | color: white; | ||
+ | } | ||
+ | .centerize { | ||
+ | display: flex !important; | ||
+ | justify-content: center !important; | ||
+ | align-items: center !important; | ||
+ | text-align: center !important; | ||
+ | } | ||
− | .xjtuText h1,.xjtuText h2,.xjtuText h3{ | + | .xjtuText h1,.xjtuText h2,.xjtuText h3, .xjtuText h4{ |
− | font-family: ' | + | font-family: 'britanic',sans-serif !important; |
} | } | ||
.xjtuText h1{ | .xjtuText h1{ | ||
− | color: | + | color: #7298ff; |
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: 3px; | letter-spacing: 3px; | ||
+ | text-align: center; | ||
} | } | ||
Line 347: | Line 454: | ||
} | } | ||
.xjtuText h3{ | .xjtuText h3{ | ||
− | + | color: #acde92; | |
font-weight: 400; | font-weight: 400; | ||
+ | } | ||
+ | .xjtuText h4, | ||
+ | .xjtuText h5{ | ||
+ | color: white; | ||
} | } | ||
.xjtuText p{ | .xjtuText p{ | ||
− | font-family: ' | + | font-family: 'eras',sans-serif !important; |
− | padding | + | padding: 0 5%; |
− | + | ||
font-size: 18px !important; | font-size: 18px !important; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
− | color: | + | color: snow; |
} | } | ||
− | .xjtuText p | + | .xjtuText p b{ |
− | color: | + | color: #7298ff !important; |
} | } | ||
− | .xjtuText p | + | |
− | color: | + | .xjtuText p a { |
+ | color: #7298ff; | ||
+ | text-decoration-line: underline; | ||
+ | text-transform: capitalize; | ||
} | } | ||
− | + | .xjtuText p.nav{ | |
− | + | font-size: 1.2em!important; | |
− | + | font-weight: bold; | |
− | + | ||
} | } | ||
+ | .xjtuText h3 a { | ||
+ | color: inherit; | ||
+ | text-decoration: inherit; | ||
+ | } | ||
− | . | + | .xjtuText a.nav{ |
− | + | text-decoration: none; | |
− | + | font-size: 1.2em; | |
− | + | ||
− | + | ||
} | } | ||
+ | .xjtuText .imgWrapper { | ||
+ | display: flex; | ||
+ | flex-direction: column; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | font-size: inherit; | ||
+ | } | ||
+ | .xjtuText .imgWrapper img{ | ||
+ | display: block; | ||
+ | } | ||
− | . | + | .xjtuText .imgWrapper .description{ |
− | + | margin-top: 1%; | |
− | + | color: grey; | |
+ | font-family: 'eras'; | ||
+ | font-size: 80%; | ||
+ | font-weight: 400; | ||
+ | text-align: center; | ||
} | } | ||
− | . | + | .xjtuText .imgWrapper .description .tag{ |
− | + | color: black; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .xjtuText .hoverHighlight::before { |
− | + | transform: scaleX(0); | |
+ | transform-origin: bottom right; | ||
} | } | ||
− | .align-padding- | + | .xjtuText .hoverHighlight:hover::before{ |
− | padding: | + | transform: scaleX(1); |
+ | transform-origin: bottom left; | ||
+ | } | ||
+ | |||
+ | .xjtuText .hoverHighlight::before { | ||
+ | content: " "; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | top: 0; right: 0; bottom: 0; left: 0; | ||
+ | inset: 0 0 0 0; | ||
+ | background: hsl(200 100% 80%); | ||
+ | z-index: -1; | ||
+ | transition: transform .3s ease; | ||
+ | } | ||
+ | |||
+ | .xjtuText .underline { | ||
+ | text-decoration: underline !important; | ||
+ | } | ||
+ | |||
+ | .xjtuText .sup { | ||
+ | vertical-align: super; | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | |||
+ | .xjtuText .sub { | ||
+ | vertical-align: sub; | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | |||
+ | .xjtuText ul { | ||
+ | font-family: 'eras', sans-serif !important; | ||
+ | color: white; | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | |||
+ | img.hoverLarger { | ||
+ | cursor: zoom-in; | ||
+ | transition: 1s; | ||
+ | } | ||
+ | |||
+ | img.hoverLarger:hover{ | ||
+ | transition: 1s; | ||
+ | transform: scale(1.3); | ||
+ | } | ||
+ | |||
+ | .highlightBox { | ||
+ | width: 95%; | ||
+ | background-color: #3a3f4f; | ||
+ | padding: 1em; | ||
+ | border-radius: 15px; | ||
+ | } | ||
+ | |||
+ | .highlightBox-light { | ||
+ | width: 95%; | ||
+ | background-color: rgba(250,250,250,0.8); | ||
+ | padding: 1em; | ||
+ | border-radius: 15px; | ||
+ | } | ||
+ | |||
+ | .card.card-dark { | ||
+ | background-color: #3a3f4f; | ||
+ | } | ||
+ | |||
+ | @media (max-width:768px) { | ||
+ | .page,.page-light{ | ||
+ | padding: 20px 30px; | ||
+ | } | ||
} | } | ||
Line 412: | Line 602: | ||
padding: 1em 1em; | padding: 1em 1em; | ||
transition: 0.2s; | transition: 0.2s; | ||
− | + | cursor: pointer; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
.linkBox-items { | .linkBox-items { | ||
− | box-shadow: 2px 2px 5px | + | box-shadow: 2px 2px 5px #454959; |
+ | background-color: #3a3f4f; | ||
text-align: center; | text-align: center; | ||
border-radius: 5px; | border-radius: 5px; | ||
Line 425: | Line 613: | ||
.linkBox-items:hover { | .linkBox-items:hover { | ||
− | border-color: # | + | border-color: #7298ff; |
} | } | ||
.linkBox span { | .linkBox span { | ||
font-size: 4em; | font-size: 4em; | ||
− | color: # | + | color: #5472c3; |
} | } | ||
− | |||
− | |||
− | |||
.linkBox h4 { | .linkBox h4 { | ||
padding-top: 10px; | padding-top: 10px; | ||
+ | font-family: 'eras', sans-serif !important; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
− | color: | + | color: #5472c3; |
− | font-weight: | + | font-weight: 600!important; |
line-height: 1.5em; | line-height: 1.5em; | ||
text-transform: capitalize; | text-transform: capitalize; | ||
+ | } | ||
+ | |||
+ | .linkBox-items:hover span, | ||
+ | .linkBox-items:hover h4 { | ||
+ | color: #7298ff; | ||
} | } | ||
footer { | footer { | ||
+ | padding-top: 50px; | ||
+ | padding-bottom: 20px; | ||
background-color: #222; | background-color: #222; | ||
position: relative; | position: relative; | ||
Line 452: | Line 645: | ||
} | } | ||
− | footer | + | footer h1, footer h2, |
− | + | footer h3, footer h4 { | |
+ | color: snow !important; | ||
+ | } | ||
+ | |||
+ | footer .follow, | ||
+ | footer .sponsor, | ||
+ | footer .contact{ | ||
text-align: center; | text-align: center; | ||
align-items: center; | align-items: center; | ||
+ | color: snow; | ||
} | } | ||
footer .sponsor{ | footer .sponsor{ | ||
− | height: | + | height: 250px; |
− | + | } | |
− | + | ||
+ | footer .sponsor a>img{ | ||
+ | opacity: 0.75; | ||
+ | } | ||
+ | |||
+ | footer .sponsor a>img:hover{ | ||
+ | opacity: 1; | ||
} | } | ||
Line 468: | Line 674: | ||
font-size: 16px; | font-size: 16px; | ||
color: snow; | color: snow; | ||
+ | height: 30px; | ||
} | } | ||
Line 482: | Line 689: | ||
} | } | ||
− | footer . | + | footer .follow h4, |
− | footer .sponsor h4{ | + | footer .sponsor h4, |
+ | footer .contact h4{ | ||
text-transform: uppercase; | text-transform: uppercase; | ||
− | font-family: " | + | font-family: "britanic", sans-serif; |
− | + | padding-bottom: 1em!important; | |
+ | } | ||
+ | |||
+ | footer .contact address{ | ||
+ | font-family: 'eras', sans-serif; | ||
+ | font-size: 18px; | ||
+ | line-height: 28px; | ||
+ | } | ||
+ | footer .contact a{ | ||
+ | color: inherit; | ||
} | } | ||
Line 493: | Line 710: | ||
} | } | ||
− | footer a { | + | footer .app-icon a { |
+ | color: snow; | ||
font-size: 2em; | font-size: 2em; | ||
− | |||
} | } | ||
− | .app-icon { | + | footer .love a#marqueeBox{ |
+ | font-family: 'montserrat', sans-serif; | ||
+ | font-size: 20px; | ||
+ | color: snow; | ||
+ | } | ||
+ | |||
+ | .app-icon a{ | ||
padding: 0 10px; | padding: 0 10px; | ||
transition: ease-in-out 0.2s; | transition: ease-in-out 0.2s; | ||
− | |||
} | } | ||
− | .app-icon .fa-twitter-square:hover { | + | .app-icon a .fa-twitter-square:hover { |
color: #45cbf4 | color: #45cbf4 | ||
} | } | ||
− | .app-icon | + | .app-icon a .fa-instagram:hover { |
− | + | ||
− | + | ||
− | + | ||
color: #c13584; | color: #c13584; | ||
} | } | ||
− | .app-icon .fa-weixin:hover { | + | .app-icon a .fa-weixin:hover { |
color: #04BE02; | color: #04BE02; | ||
} | } | ||
− | + | ||
− | + | /* ------- */ | |
− | + | ||
/* codrops */ | /* codrops */ | ||
+ | /* ------- */ | ||
+ | /* --------------------- */ | ||
+ | /* -----TiptoolAnimation------ */ | ||
+ | |||
+ | .tooltip__neo { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .tooltip__trigger { | ||
+ | cursor: pointer; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .tooltip__trigger-text { | ||
+ | display: block; | ||
+ | padding: 0.85em; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | |||
+ | .tooltip__base { | ||
+ | position: absolute; | ||
+ | bottom: 1em; | ||
+ | left: 15%; | ||
+ | margin-left: -150px; | ||
+ | width: 480px; | ||
+ | height: 360px; | ||
+ | display: flex; | ||
+ | align-items: center; | ||
+ | justify-content: center; | ||
+ | opacity: 0; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | |||
+ | .tooltip__content { | ||
+ | color: #4a4a4a!important; | ||
+ | display: flex; | ||
+ | position: relative; | ||
+ | align-items: center; | ||
+ | justify-content: center; | ||
+ | width: 80%; | ||
+ | padding: 0 1em; | ||
+ | opacity: 0; | ||
+ | font-size: 0.6em; | ||
+ | line-height: 1.2em; | ||
+ | } | ||
+ | |||
+ | .tooltip__shape, | ||
+ | .tooltip__deco { | ||
+ | position: absolute; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | .tooltip__shape { | ||
+ | fill: #eee; | ||
+ | } | ||
+ | |||
+ | /* --------------------- */ | ||
+ | /* -----Tilteffect------ */ | ||
+ | |||
+ | |||
+ | .tilter { | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | width: 240px; | ||
+ | height: 320px; | ||
+ | color: #fff !important; | ||
+ | flex: none; | ||
+ | perspective: 1000px; | ||
+ | } | ||
+ | |||
+ | .tilter * { | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | |||
+ | .tilter:hover, | ||
+ | .tilter:focus { | ||
+ | outline: none; | ||
+ | } | ||
+ | |||
+ | .tilter__figure, | ||
+ | .tilter__image { | ||
+ | margin: 0; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .tilter__figure > * { | ||
+ | transform: translateZ(0px); /* Force correct stacking order */ | ||
+ | } | ||
+ | |||
+ | .smooth .tilter__figure, | ||
+ | .smooth .tilter__deco--overlay, | ||
+ | .smooth .tilter__deco--lines, | ||
+ | .smooth .tilter__deco--shine div, | ||
+ | .smooth .tilter__caption { | ||
+ | transition: transform 0.2s ease-out; | ||
+ | } | ||
+ | |||
+ | .tilter__figure { | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | .tilter__figure::before { | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | width: 90%; | ||
+ | height: 90%; | ||
+ | top: 5%; | ||
+ | left: 5%; | ||
+ | box-shadow: 0 30px 20px rgba(35,32,39,0.5); | ||
+ | } | ||
+ | |||
+ | .tilter__deco { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .tilter__deco--overlay { | ||
+ | background-image: linear-gradient(45deg, rgba(226, 60, 99, 0.4), rgba(145, 58, 252, 0.4), rgba(16, 11, 192, 0.4)); | ||
+ | } | ||
+ | |||
+ | .tilter__deco--shine div { | ||
+ | position: absolute; | ||
+ | width: 200%; | ||
+ | height: 200%; | ||
+ | top: -50%; | ||
+ | left: -50%; | ||
+ | background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%); | ||
+ | } | ||
+ | |||
+ | .tilter__deco--lines { | ||
+ | fill: none; | ||
+ | stroke: #fff; | ||
+ | stroke-width: 1.5px; | ||
+ | } | ||
+ | |||
+ | .tilter__caption { | ||
+ | position: absolute; | ||
+ | bottom: 0; | ||
+ | width: 100%; | ||
+ | padding: 4em 2em; | ||
+ | } | ||
+ | |||
+ | .tilter__title { | ||
+ | margin: 0; | ||
+ | font-weight: normal; | ||
+ | font-size: 1.8em; | ||
+ | font-family: 'Abril Fatface', serif !important; | ||
+ | line-height: 1; | ||
+ | } | ||
+ | |||
+ | .tilter__description { | ||
+ | margin: 1em 0 0 0; | ||
+ | font-family: 'roboto', sans-serif !important; | ||
+ | font-size: 0.85em!important; | ||
+ | letter-spacing: 0.15em; | ||
+ | } | ||
+ | .tilter .tilter__figure::before { | ||
+ | box-shadow: 0 30px 20px rgba(0,0,0,0.5); | ||
+ | } | ||
+ | |||
+ | /* --------------------- */ | ||
+ | /* -----hovereffect----- */ | ||
@font-face { | @font-face { | ||
font-weight: normal; | font-weight: normal; | ||
Line 536: | Line 926: | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 1em 0 4em; | padding: 1em 0 4em; | ||
− | max-width: | + | max-width: 100%; |
list-style: none; | list-style: none; | ||
text-align: center; | text-align: center; | ||
Line 550: | Line 940: | ||
background: #3085a3; | background: #3085a3; | ||
text-align: center; | text-align: center; | ||
− | cursor: | + | cursor: default; |
} | } | ||
Line 600: | Line 990: | ||
.grid figure h2 span { | .grid figure h2 span { | ||
− | font-weight: | + | font-weight: 700; |
} | } | ||
Line 613: | Line 1,003: | ||
} | } | ||
− | + | /* zoe */ | |
− | /* | + | |
− | + | ||
− | + | ||
− | + | ||
figure.effect-zoe { | figure.effect-zoe { | ||
Line 628: | Line 1,014: | ||
@media (max-width:1200px) { | @media (max-width:1200px) { | ||
figure.effect-zoe{ | figure.effect-zoe{ | ||
− | float: | + | float: inherit; |
} | } | ||
Line 637: | Line 1,023: | ||
bottom: 0; | bottom: 0; | ||
height: 3.75em; | height: 3.75em; | ||
− | background: | + | background: snow; |
color: #3c4a50; | color: #3c4a50; | ||
-webkit-transition: -webkit-transform 0.25s; | -webkit-transition: -webkit-transform 0.25s; | ||
Line 655: | Line 1,041: | ||
figure.effect-zoe p.description { | figure.effect-zoe p.description { | ||
position: absolute; | position: absolute; | ||
− | bottom: | + | bottom: 7em; |
− | padding: | + | padding: 1em; |
− | color: | + | color: snow; |
text-transform: none; | text-transform: none; | ||
− | font-size: | + | font-family: 'eras',sans-serif!important; |
+ | font-size: 16px!important; | ||
opacity: 0; | opacity: 0; | ||
-webkit-backface-visibility: hidden; | -webkit-backface-visibility: hidden; | ||
Line 694: | Line 1,081: | ||
-webkit-transition-delay: 0.05s; | -webkit-transition-delay: 0.05s; | ||
transition-delay: 0.05s; | transition-delay: 0.05s; | ||
+ | color: inherit; | ||
} | } | ||
Line 725: | Line 1,113: | ||
} | } | ||
− | + | .headline-left, | |
− | + | .headline-right { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
position: absolute; | position: absolute; | ||
− | + | font-family: 'angella',sans-serif; | |
− | + | ||
− | font- | + | |
− | + | ||
pointer-events: none; | pointer-events: none; | ||
line-height: 1; | line-height: 1; | ||
Line 752: | Line 1,130: | ||
margin: 0; | margin: 0; | ||
color: snow; | color: snow; | ||
+ | text-shadow: 2px 2px 10px #222; | ||
+ | } | ||
+ | .headline-left{ | ||
+ | top: -10vh; | ||
+ | left: -11vw; | ||
+ | font-size: 13vw; | ||
} | } | ||
− | . | + | .headline-right { |
− | + | top: 15vh; | |
− | + | right: -6vw; | |
− | + | font-size: 19vw; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #canvas { | |
− | + | ||
− | + | ||
− | + | ||
position: relative; | position: relative; | ||
+ | top: 7px; | ||
overflow: hidden; | overflow: hidden; | ||
− | + | width: 100vw; | |
− | + | height: 100vh; | |
+ | background-color: #333; | ||
} | } | ||
+ | /* --------- */ | ||
+ | /* Decorative Letter Animations */ | ||
+ | |||
+ | .shapes { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 40em) { | ||
+ | .slideshow .word { | ||
+ | font-size: 2em; | ||
+ | } | ||
+ | } | ||
+ | /* -------------------- */ | ||
+ | /* dailogs */ | ||
+ | .dialog, | ||
+ | .dialog__overlay { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | .dialog { | ||
+ | position: fixed; | ||
+ | display: -webkit-flex; | ||
+ | display: flex; | ||
+ | -webkit-align-items: center; | ||
+ | align-items: center; | ||
+ | -webkit-justify-content: center; | ||
+ | justify-content: center; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | |||
+ | .dialog--open | ||
+ | { | ||
+ | z-index: 999; | ||
+ | } | ||
+ | |||
+ | .dialog__overlay { | ||
+ | position: absolute; | ||
+ | z-index: 1; | ||
+ | background: rgba(55, 58, 71, 0.9); | ||
+ | opacity: 0; | ||
+ | -webkit-transition: opacity 0.3s; | ||
+ | transition: opacity 0.3s; | ||
+ | -webkit-backface-visibility: hidden; | ||
+ | } | ||
+ | |||
+ | .dialog--open .dialog__overlay { | ||
+ | opacity: 1; | ||
+ | pointer-events: auto; | ||
+ | } | ||
+ | |||
+ | .dialog__content { | ||
+ | width: 50%; | ||
+ | height: 70%; | ||
+ | background: snow; | ||
+ | padding: 4em; | ||
+ | text-align: center; | ||
+ | position: relative; | ||
+ | z-index: 5; | ||
+ | opacity: 0; | ||
+ | overflow-y: scroll; | ||
+ | } | ||
+ | |||
+ | .dialog--open .dialog__content { | ||
+ | pointer-events: auto; | ||
+ | } | ||
+ | |||
+ | .dialogButton{ | ||
+ | width: 200px; | ||
+ | border: solid 2px #2347a3; | ||
+ | background-color: #2347a3; | ||
+ | color: snow; | ||
+ | border-radius: 5px; | ||
+ | padding: .5em; | ||
+ | font-family: 'montserrat'; | ||
+ | font-size: 20px; | ||
+ | text-transform: uppercase; | ||
+ | cursor: pointer; | ||
+ | transition: border 1s; | ||
+ | } | ||
+ | |||
+ | .dialogButton:hover{ | ||
+ | border-image: linear-gradient(40deg, #2812da 0%, #e82aa3 100%) 2 2; | ||
+ | } | ||
+ | |||
+ | /* Content */ | ||
+ | .dialog h2 { | ||
+ | color: black; | ||
+ | margin: 0; | ||
+ | font-weight: 400; | ||
+ | font-size: 2em; | ||
+ | padding: 0 0 2em; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | /* Sandra */ | ||
+ | .dialog.dialog--open .dialog__content, | ||
+ | .dialog.dialog--close .dialog__content { | ||
+ | -webkit-animation-duration: 0.3s; | ||
+ | animation-duration: 0.3s; | ||
+ | -webkit-animation-fill-mode: forwards; | ||
+ | animation-fill-mode: forwards; | ||
+ | } | ||
+ | |||
+ | .dialog.dialog--open .dialog__content { | ||
+ | -webkit-animation-name: anim-open; | ||
+ | animation-name: anim-open; | ||
+ | } | ||
+ | |||
+ | .dialog.dialog--close .dialog__content { | ||
+ | -webkit-animation-name: anim-close; | ||
+ | animation-name: anim-close; | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes anim-open { | ||
+ | 0% { opacity: 0; -webkit-transform: scale3d(1.1, 1.1, 1); } | ||
+ | 100% { opacity: 1; -webkit-transform: scale3d(1, 1, 1); } | ||
+ | } | ||
+ | |||
+ | @keyframes anim-open { | ||
+ | 0% { opacity: 0; -webkit-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } | ||
+ | 100% { opacity: 1; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes anim-close { | ||
+ | 0% { opacity: 1; } | ||
+ | 100% { opacity: 0; -webkit-transform: scale3d(0.9, 0.9, 1); } | ||
+ | } | ||
+ | |||
+ | @keyframes anim-close { | ||
+ | 0% { opacity: 1; } | ||
+ | 100% { opacity: 0; -webkit-transform: scale3d(0.9, 0.9, 1); transform: scale3d(0.9, 0.9, 1); } | ||
+ | } | ||
+ | |||
+ | |||
+ | /* ---------- */ | ||
+ | /* components */ | ||
+ | /* ---------- */ | ||
/* -----to-top btn----- */ | /* -----to-top btn----- */ | ||
Line 787: | Line 1,306: | ||
} | } | ||
#to-top a{ | #to-top a{ | ||
− | color: | + | color: #2347a3; |
} | } | ||
#to-top a:active, | #to-top a:active, | ||
#to-top a:hover{ | #to-top a:hover{ | ||
− | color: | + | color: #3151a3; |
+ | ; | ||
} | } | ||
Line 809: | Line 1,329: | ||
margin-bottom: -10px; | margin-bottom: -10px; | ||
} | } | ||
− | |||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 08:59, 21 October 2021