(80 intermediate revisions by 3 users not shown) | |||
Line 106: | Line 106: | ||
padding-right: 5%; | padding-right: 5%; | ||
font-family: var(--headfont); | font-family: var(--headfont); | ||
− | font-size: | + | font-size: 46px; |
line-height: 170%; | line-height: 170%; | ||
color: var(--bright-bg-color); | color: var(--bright-bg-color); | ||
+ | text-shadow: 0 0 3px var(--logo-dark-blue); | ||
+ | } | ||
+ | |||
+ | #projecttitle { | ||
+ | padding-right: 5%; | ||
+ | font-family: var(--headfont); | ||
+ | font-size: 36px; | ||
+ | line-height: 170%; | ||
+ | color: var(--bright-bg-color); | ||
+ | text-shadow: 0 0 3px var(--logo-dark-blue); | ||
} | } | ||
Line 116: | Line 126: | ||
#bannerquote:after { | #bannerquote:after { | ||
content: '\00a0<<'; | content: '\00a0<<'; | ||
+ | } | ||
+ | |||
+ | .at-a-glance { | ||
+ | margin-left: 10px; | ||
+ | margin-right: 10px; | ||
+ | font-family: var(--bodyfont); | ||
+ | line-height: 150%; | ||
+ | } | ||
+ | |||
+ | .at-a-glance h1{ | ||
+ | float: right; | ||
} | } | ||
Line 138: | Line 159: | ||
.bronze{ | .bronze{ | ||
− | background:# | + | background:#834433; |
} | } | ||
Line 183: | Line 204: | ||
background:#8A2BE2; | background:#8A2BE2; | ||
} | } | ||
− | .contentbox p, .contentbox .pdf-resources, .contentbox ul, .contentbox ol { | + | |
+ | .table-scrollable { | ||
+ | width: 100%; | ||
+ | overflow-y: auto; | ||
+ | margin: 0 0 1em; | ||
+ | } | ||
+ | |||
+ | .table-scrollable::-webkit-scrollbar { | ||
+ | -webkit-appearance: none; | ||
+ | width: 14px; | ||
+ | height: 14px; | ||
+ | } | ||
+ | |||
+ | .table-scrollable::-webkit-scrollbar-thumb { | ||
+ | border-radius: 8px; | ||
+ | border: 3px solid #fff; | ||
+ | background-color: rgba(0, 0, 0, .3); | ||
+ | } | ||
+ | |||
+ | .contentbox p, .contentbox .pdf-resources, .contentbox .excel-resources, .contentbox ul, .contentbox ol, .contentbox .read-more { | ||
display: block; | display: block; | ||
padding: 20px; | padding: 20px; | ||
Line 207: | Line 247: | ||
.contentbox figure figure, .contentbox figure p, .contentbox figure table { | .contentbox figure figure, .contentbox figure p, .contentbox figure table { | ||
padding: 0px; | padding: 0px; | ||
+ | } | ||
+ | |||
+ | .contentbox figure h1, .contentbox figure h2, .contentbox figure h3, .contentbox figure h4, .contentbox figure h5 { | ||
+ | padding-left: 0px; | ||
} | } | ||
Line 230: | Line 274: | ||
} | } | ||
− | .pdf-resources { | + | .excel-resources:before { |
+ | text-decoration: none; | ||
+ | color: grey; | ||
+ | font-weight: bold; | ||
+ | font-size: larger; | ||
+ | content: "EXCEL\00a0\00a0\00a0\00a0"; | ||
+ | } | ||
+ | |||
+ | .read-more:before { | ||
+ | text-decoration: none; | ||
+ | color: grey; | ||
+ | font-weight: bold; | ||
+ | font-size: larger; | ||
+ | content: ">> READ MORE"; | ||
+ | } | ||
+ | |||
+ | .pdf-resources, .excel-resources { | ||
margin-top: 2px; | margin-top: 2px; | ||
margin-bottom: 2px; | margin-bottom: 2px; | ||
Line 240: | Line 300: | ||
} | } | ||
− | .pdf-resources:hover { | + | .read-more { |
+ | margin-top: 4px; | ||
+ | margin-bottom: 4px; | ||
+ | text-decoration: none; | ||
+ | width: 100%; | ||
+ | border: 2px solid var(--logo-pink); | ||
+ | border-radius: 5px; | ||
+ | transition: .5s; | ||
+ | width: 200px; | ||
+ | margin-left: calc(100% - 220px); | ||
+ | } | ||
+ | |||
+ | .read-more:hover { | ||
+ | border: 3px solid var(--logo-pink); | ||
+ | text-decoration: none; | ||
+ | margin-top: 3px; | ||
+ | margin-bottom: 3px; | ||
+ | } | ||
+ | |||
+ | .pdf-resources:hover, .excel-resources:hover { | ||
border-color: grey; | border-color: grey; | ||
text-decoration: none; | text-decoration: none; | ||
Line 285: | Line 364: | ||
.contentbox .letters li { | .contentbox .letters li { | ||
list-style-type: lower-alpha; | list-style-type: lower-alpha; | ||
+ | } | ||
+ | |||
+ | ul.leaf li { | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | ul.leaf li:before { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2017/6/6c/T--TU_Dresden--tick-leaf.png); | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: contain; | ||
+ | padding: 10px; | ||
+ | content: "\00a0"; | ||
+ | bottom: -10px; | ||
+ | position: relative; | ||
+ | margin-right: 10px; | ||
} | } | ||
Line 297: | Line 391: | ||
padding-top: 5px; | padding-top: 5px; | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | .iGEMer { | ||
+ | display: flex; | ||
+ | flex-wrap: wrap; | ||
+ | align-items: center; | ||
} | } | ||
Line 302: | Line 402: | ||
float: right; | float: right; | ||
padding-left: 20px; | padding-left: 20px; | ||
− | padding-bottom: | + | padding-bottom: 5px; |
padding-top: 10px; | padding-top: 10px; | ||
} | } | ||
Line 309: | Line 409: | ||
float: left; | float: left; | ||
padding-right: 20px; | padding-right: 20px; | ||
− | padding-bottom: | + | padding-bottom: 5px; |
padding-top: 10px; | padding-top: 10px; | ||
} | } | ||
Line 374: | Line 474: | ||
h3 { | h3 { | ||
− | font-size: | + | font-size: 140%; |
font-family: var(--bodyfont); | font-family: var(--bodyfont); | ||
padding: 20px; | padding: 20px; | ||
Line 383: | Line 483: | ||
h4 { | h4 { | ||
+ | font-size: 120%; | ||
+ | font-family: var(--bodyfont); | ||
+ | padding: 20px; | ||
+ | padding-top: 5px; | ||
+ | padding-bottom: 5px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | h5 { | ||
font-size: 100%; | font-size: 100%; | ||
font-family: var(--bodyfont); | font-family: var(--bodyfont); | ||
Line 422: | Line 531: | ||
} | } | ||
− | nav ul a:hover, nav ul li:hover .dropbtn{ | + | nav ul a:hover, nav ul li:hover .dropbtn, .show .dropbtn{ |
background-color: var(--logo-pink); | background-color: var(--logo-pink); | ||
box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | ||
Line 434: | Line 543: | ||
} | } | ||
− | nav ul li:hover .nav-dropdown { | + | nav ul li:hover .nav-dropdown, .show .nav-dropdown { |
display: block; | display: block; | ||
box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | ||
Line 485: | Line 594: | ||
box-shadow: 0 3px 6px rgba(0,0,0,0.25),0 6px 16px rgba(0,0,0,0.05); | box-shadow: 0 3px 6px rgba(0,0,0,0.25),0 6px 16px rgba(0,0,0,0.05); | ||
height: 45px; | height: 45px; | ||
+ | } | ||
+ | |||
+ | @media (pointer: coarse) { | ||
+ | .dropbtn span { | ||
+ | padding-top: 26px; | ||
+ | padding-bottom: 26px; | ||
+ | margin-top: -26px; | ||
+ | margin-bottom: -26px; | ||
+ | padding-left: 10px; | ||
+ | padding-right: 10px; | ||
+ | } | ||
+ | .dropbtn span:after { | ||
+ | transform: rotate(-90deg); | ||
+ | display: inline-block; | ||
+ | font-weight: bold; | ||
+ | font-family: var(--headfont); | ||
+ | content: '\2039'; | ||
+ | } | ||
} | } | ||
Line 548: | Line 675: | ||
height: 210px; | height: 210px; | ||
border-radius: 105px; | border-radius: 105px; | ||
− | background: | + | background: rgb(28, 20, 68); |
box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | box-shadow: 0 6px 12px rgba(0,0,0,0.5),0 12px 32px rgba(0,0,0,0.1); | ||
z-index: 3; | z-index: 3; | ||
Line 561: | Line 688: | ||
font: var(--bodyfont); | font: var(--bodyfont); | ||
margin-top: 150px; | margin-top: 150px; | ||
− | padding: | + | padding: 20px; |
width: 100%; | width: 100%; | ||
min-height: 150px; | min-height: 150px; | ||
Line 583: | Line 710: | ||
.footerbar > * { | .footerbar > * { | ||
− | + | margin: 10px 15px 10px 15px; | |
+ | |||
} | } | ||
Line 608: | Line 736: | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%; | ||
− | bottom: | + | position: absolute; |
+ | } | ||
+ | |||
+ | .ufo-links a { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | .back-to-top { | ||
+ | font-size: .85em; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
+ | bottom: 10px; | ||
position: absolute; | position: absolute; | ||
} | } | ||
Line 631: | Line 770: | ||
#modal img { | #modal img { | ||
− | background: | + | background: var(--bright-bg-color); |
} | } | ||
Line 751: | Line 890: | ||
margin-right: 5%; | margin-right: 5%; | ||
margin-left: 20%; | margin-left: 20%; | ||
+ | } | ||
+ | .at-a-glance { | ||
+ | margin-right:5%; | ||
+ | margin-left:45%; | ||
} | } | ||
.sidebar, #ufo { | .sidebar, #ufo { | ||
width: 20%; | width: 20%; | ||
} | } | ||
− | #bannerquote { | + | #bannerquote, #projecttitle { |
margin-left: 20%; | margin-left: 20%; | ||
} | } | ||
Line 767: | Line 910: | ||
margin-right: 30px; | margin-right: 30px; | ||
margin-left: 250px; | margin-left: 250px; | ||
+ | } | ||
+ | .at-a-glance { | ||
+ | margin-right: 30px; | ||
+ | margin-left: 350px; | ||
} | } | ||
.sidebar, #ufo { | .sidebar, #ufo { | ||
Line 772: | Line 919: | ||
} | } | ||
− | #bannerquote { | + | #bannerquote, #projecttitle { |
margin-left: 250px; | margin-left: 250px; | ||
font-size: 40px; | font-size: 40px; | ||
Line 806: | Line 953: | ||
} | } | ||
− | #bannerquote { | + | #bannerquote, #projecttitle { |
font-size: 30px; | font-size: 30px; | ||
padding-left: 5%; | padding-left: 5%; | ||
Line 871: | Line 1,018: | ||
width: 100%; | width: 100%; | ||
box-shadow: none; | box-shadow: none; | ||
− | |||
} | } | ||
Line 887: | Line 1,033: | ||
.navbar { | .navbar { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | nav ul a:hover, nav ul li:hover .dropbtn, .show .dropbtn{ | ||
+ | height: 70px; | ||
+ | } | ||
+ | |||
+ | a.active, nav ul li.active .dropbtn{ | ||
+ | height: 70px; | ||
} | } | ||
Line 904: | Line 1,058: | ||
} | } | ||
} | } | ||
+ | .view { | ||
+ | width: 400px; | ||
+ | height: 450px; | ||
+ | float: left; | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | text-align: center; | ||
+ | cursor: default; | ||
+ | |||
+ | } | ||
+ | .view .mask, .view .content { | ||
+ | width: 400px; | ||
+ | height: 400px; | ||
+ | position: absolute; | ||
+ | overflow: hidden; | ||
+ | top: 0; | ||
+ | left: 0 | ||
+ | } | ||
+ | .view img { | ||
+ | display: block; | ||
+ | position: relative | ||
+ | } | ||
+ | .view h2 { | ||
+ | color: #fff; | ||
+ | text-align: center; | ||
+ | position: relative; | ||
+ | font-size: 17px; | ||
+ | padding: 10px; | ||
+ | background: rgba(0, 0, 0, 0.8); | ||
+ | margin: 20px 0 0 0 | ||
+ | } | ||
+ | .view p { | ||
+ | font-family: Arial, serif; | ||
+ | font-size: 15px; | ||
+ | position: relative; | ||
+ | color: #fff; | ||
+ | padding: 10px 20px 20px; | ||
+ | text-align: center | ||
+ | } | ||
+ | |||
+ | .view a.info { | ||
+ | display: inline-block; | ||
+ | text-decoration: none; | ||
+ | padding: 7px 14px; | ||
+ | background: #000; | ||
+ | color: #fff; | ||
+ | } | ||
+ | .view a.info:hover { | ||
+ | box-shadow: 0 0 5px #000 | ||
+ | } | ||
+ | .view-eighth .mask { | ||
+ | background-color: rgba(0,0,0,0.6); | ||
+ | top: -200px; | ||
+ | opacity: 0; | ||
+ | transition: all 0.3s ease-out 0.5s; | ||
+ | } | ||
+ | .view-eighth h2{ | ||
+ | transform: translateY(-200px); | ||
+ | transition: all 0.2s ease-in-out 0.1s; | ||
+ | } | ||
+ | .view-eighth p { | ||
+ | transform: translateY(-200px); | ||
+ | transition: all 0.2s ease-in-out 0.2s; | ||
+ | } | ||
+ | .view-eighth a.info { | ||
+ | transform: translateY(-200px); | ||
+ | transition: all 0.2s ease-in-out 0.3s; | ||
+ | } | ||
+ | .view-eighth:hover .mask { | ||
+ | opacity: 1; | ||
+ | top: 0px; | ||
+ | transition-delay: 0s; | ||
+ | animation: bounceY 0.9s linear; | ||
+ | } | ||
+ | .view-eighth:hover h2 { | ||
+ | transform: translateY(0px); | ||
+ | transition-delay: 0.4s; | ||
+ | } | ||
+ | .view-eighth:hover p { | ||
+ | transform: translateY(0px); | ||
+ | transition-delay: 0.2s; | ||
+ | } | ||
+ | .view-eighth:hover a.info { | ||
+ | transform: translateY(0px); | ||
+ | transition-delay: 0s; | ||
+ | } | ||
+ | @keyframes bounceY { | ||
+ | 0% { transform: translateY(-205px);} | ||
+ | 40% { transform: translateY(-100px);} | ||
+ | 65% { transform: translateY(-52px);} | ||
+ | 82% { transform: translateY(-25px);} | ||
+ | 92% { transform: translateY(-12px);} | ||
+ | 55%, 75%, 87%, 97%, 100% { transform: translateY(0px);} | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 23:25, 15 December 2017