Newer
Older
@font-face {
font-family: 'pangolin';
src: url('https://static.igem.wiki/teams/5378/font/pangolin-regular.woff2') format('woff2'),
url('https://static.igem.wiki/teams/5378/font/pangolin-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'LexieReadable';
src: url('https://static.igem.wiki/teams/5378/font/lexiereadable-regular.woff') format('woff2'),
url('https://static.igem.wiki/teams/5378/font/lexiereadable-bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
cursor: url("https://static.igem.wiki/teams/5378/image/dg-cursor2.png") 2 2, auto;
font-family: 'LexieReadable', cursive !important;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
body a,
body button,
body input[type="button"],
body input[type="submit"],
body [role="button"],
body [onclick] {
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
font-weight: bold;
line-height: 1.5;
}
h2 {
font-weight: bold;
line-height: 1.5;
}
h3 {
font-weight: bold;
line-height: 1.5;
}
h4 {
font-weight: bold;
line-height: 1.5;
}
.pangolin {
font-family: 'pangolin', cursive !important;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.LexieReadable {
font-family: 'LexieReadable', cursive !important;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.bg-gray {
background-color: #A9A9A9;
}
.bg-dark {
background-color: #343a40 !important;
}
.bg-hero {
background-color: #45b06cff;
}
/* CALLOUT */
.bd-callout {
padding: 1.25rem;
margin-top: 1.25rem;
margin-bottom: 1.25rem;
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
border-radius: 0.25rem;
}
.bd-callout h4 {
margin-bottom: 0.25rem;
}
.bd-callout p:last-child {
margin-bottom: 0;
}
.bd-callout code {
border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
margin-top: -0.25rem;
}
.bd-callout-info {
border-left-color: #5bc0de;
}
.bd-callout-warning {
border-left-color: #f0ad4e;
}
.bd-callout-danger {
border-left-color: #d9534f;
}
/* footer */
footer a {
color: white;
font-weight: bold;
text-decoration: none;
}
footer a:hover {
color: white;
text-decoration: underline;
}
/* navbar */
.custom-dropdown-menu {
/* navbar folder的设置 */
/* background-color: #1b1a1a; //自定义背景色 */
color: #030303; /* 自定义文字颜色 */
/* margin-left: 4vw;
margin-right: 0vw; */
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
}
.custom-dropdown-menu.dropdown-item {
/* navbar folder 展开时字体颜色与背景 */
/* background-color: #4d4949; */
color: #000000; /* 自定义每个菜单项的文字颜色 */
border-radius: 50px;
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
}
.custom-dropdown-menu.dropdown-item:hover {
background-color: #e4dfb4; /* 鼠标悬停时的背景色 */
color: #39d197; /* 鼠标悬停时的文字颜色 */
}
margin-left: 200px;
margin-right: 200px;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
.custom-header-team {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-attributions {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-contribution {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-description {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-education {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-engineering {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-experiments {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-human-practices {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-inclusivity {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-model {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-notebook {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-results {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-safety {
width: 100vw;
height: 100vh;
background-image: url('https://static.igem.wiki/teams/5378/safety/0111111111.webp'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-collaboration {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.custom-header-parts {
width: 100vw;
height: 100vh;
background-image: url('https://placehold.co/1200x600'); /* 背景图片路径 */
background-size: cover; /* 使背景图片覆盖整个容器 */
background-position: center; /* 居中对齐背景图片 */
background-repeat: no-repeat; /* 防止背景图片重复 */
background-attachment: fixed; /* 固定背景图片,使其在滚动时不移动 */
}
.header-bar {
position:absolute;
width: 100vw;
height: 100vh;
margin-bottom: 0px;
width: 100%;
border: none;
border-radius: 30px; /* 圆角效果 */
}
.responsive-img {
width: 100%; /* 图片宽度自适应容器 */
height: auto; /* 保持图片纵横比 */
display: block; /* 去掉图片下方的空隙 */
}
.full-height-element {
height: 100vh; /* 设置元素的高度为视口高度的 100% */
}
/* 以下几个是team member响应式卡片 */
.card-container {
max-width: 300px;
margin: auto;
height: auto;
margin-bottom: 150px;
border: 15px solid rgba(114, 47, 55, 1) !important;
background-color: rgba(114, 47, 55, 1) !important;
/* height: 400px; */
}
.card-body {
display: flex;
}
.card-title {
display: flex;
align-items: center;
font-size: large;
border-radius: 20px;
background-color: #e4dfb4b0;
padding: 15px;
width: 100%;
height: auto;
}
.card-container:hover .card {
transform: scale(1.05);
}
.sticky-container {
position: sticky;
display: flex;
flex-direction: column;
top: 70px; /* 设置元素在滚动时保持与页面顶部的距离 */
margin: 10px;
margin-bottom: 150px;
padding: 30px;
border-radius: 10px;
background-color: #f77001a6;
height: auto;
align-items: center;
justify-content: center;
.sticky-font {
font-size: 1.3vh !important;
}
.sticky-title {
font-size: 3vh !important;
}
/* display: flex;
align-items: center;
justify-items: center; */
/* max-height: 60vh; */
}
.sticky-description {
background-color: #e4dfb4b0;
border-radius: 20px;
padding: 5px;
margin-top: 5px;
.row-custom-height-card {
height: 300px; /* 你可以根据需要调整高度 */
}
.row-custom-height-card-space {
height: 100px; /* 你可以根据需要调整高度 */
}
/* wet-lab,dry-lab用的内容框框 */
.rounded-border {
border-radius: 10px; /* 设置圆角半径 */
margin-bottom: 100px;
/* 设置边框的宽度和颜色 */
border-radius: 10px; /* 设置圆角半径 */
margin-bottom: 100px;
/* max-width: 0.9vw; */
transform: scale(1.01);
.rounded-border.rounded-border{
margin: 50px;
padding: 50px;
/* 设置边框的宽度和颜色 */
border-radius: 10px; /* 设置圆角半径 */
margin-bottom: 100px;
/* max-width: 0.9vw; */
}
.rounded-border.rounded-border:hover{
margin: 50px;
padding: 50px;
/* 设置边框的宽度和颜色 */
border-radius: 10px; /* 设置圆角半径 */
margin-bottom: 100px;
/* max-width: 0.9vw; */
box-shadow: 10px 10px 5px rgba(0,0,0,0.1);
transform: scale(1.01);
}
/* 页面title的水平与垂直居中 */
.centered-title {
height: 100%; /* Full height of the container */
display: flex;
align-items: center; /* Vertical center */
justify-content: center; /* Horizontal center */
}
/* 文本居中 */
.center-text {
text-align: center; /* 将文本水平居中 */
}
/* 文本开头有缩进,起到空格作用 */
.indent {
text-indent: 20px; /* 设置首行缩进 20px */
}
margin-top: 100px;
/* padding-top: 140px; */
}
.side-navbar .nav-link {
margin-bottom: 10px;
font-weight: bold;
}
.side-navbar .nav-link.active {
background-color: rgb(172, 172, 108);
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
}
.side-navbar .nav-link.notActive {
background-color: rgb(245, 245, 220);
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
.side-navbar .nav-link.notActive:hover {
background-color: rgb(204, 204, 168);
}
.bold-font{
font-weight: bold;
}
.red-font{
color: #d9534f;
}
.blue-font{
color: #5bc0de;
}
.green-font{
color: #39d197;
}
/* footer的切换动画 */
.slideshow-container {
position: relative;
max-width: 100%;
/* overflow: hidden; */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
.slide-small {
position: absolute;
/* width: 100%; */
/* height: 100%; */
left: 25%;
opacity: 0;
transition: opacity 1s ease-in-out;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
opacity: 0;
transition: opacity 1s ease-in-out;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
.fade-img {
}
@keyframes fade1 {
0% { opacity: 0; }
5% { opacity: 1; }
30% { opacity: 1; }
35% { opacity: 0; }
100% { opacity: 0; }
}
.fade2 {
}
@keyframes fade2 {
0% { opacity: 0; }
30% { opacity: 0; }
35% { opacity: 1; }
65% { opacity: 1; }
70% { opacity: 0; }
100% { opacity: 0; }
}
.fade3 {
}
@keyframes fade3 {
0% { opacity: 0; }
65% { opacity: 0; }
70% { opacity: 1; }
95% { opacity: 1; }
100% { opacity: 0; }
}
.wave-container {
position: relative;
width: 100%;
height: 50px; /* Full viewport height */
overflow: hidden;
}
left: 0;
width: 200%; /* Ensure the wave extends beyond the viewport */
background: linear-gradient(90deg, rgba(114, 47, 55, 1) 0%, rgba(114, 47, 55, 0.4) 100%);
border-radius: 100%;
transform: rotate(180deg);
0% {
transform: translateX(-100%) rotate(180deg);
}
100% {
transform: translateX(100%) rotate(180deg);
}
left: 0;
width: 200%; /* Ensure the wave extends beyond the viewport */
background: linear-gradient(90deg, rgba(114, 47, 55, 1) 0%, rgba(114, 47, 55, 0.4) 100%);
border-radius: 100%;
transform: rotate(180deg);
animation: wave2Animation 30s linear infinite;
}
@keyframes wave2Animation {
0% {
transform: translateX(-100%) rotate(180deg);
}
100% {
transform: translateX(100%) rotate(180deg);
}
}
.wave3 {
position: absolute;
left: 0;
width: 200%; /* Ensure the wave extends beyond the viewport */
background: linear-gradient(90deg, rgba(114, 47, 55, 0.8) 0%, rgba(114, 47, 55, 0.4) 100%);
border-radius: 100%;
transform: rotate(180deg);
animation: wave3Animation 15s linear infinite;
}
@keyframes wave3Animation {
0% {
transform: translateX(50%) rotate(180deg);
}
100% {
transform: translateX(-150%) rotate(180deg);
}
}
.wave4 {
position: absolute;
left: 0;
width: 200%; /* Ensure the wave extends beyond the viewport */
background: linear-gradient(90deg, rgba(114, 47, 55, 0.5) 0%, rgba(114, 47, 55, 0.5) 100%);
border-radius: 100%;
transform: rotate(180deg);
animation: wave4Animation 50s linear infinite;
}
@keyframes wave4Animation {
0% {
transform: translateX(0%) rotate(180deg);
}
100% {
transform: translateX(-100%) rotate(180deg);
}
}
height: 100vh;
/* display: flex;
justify-content: center;
align-items: center;
font-size: 3rem; */
scroll-snap-align: start; /* 滚动到页面开始 */
transition: transform 0.5s ease-in-out; /* 添加滚动动画 */
}
.vh20 {
height: 20vh;
}
.mt--8 {
margin-top: -8vh;
}
.center-div {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
div.formula_content .formula_line {
flex: 0 0 80%; /* 分配80%宽度,不允许伸缩 */
text-align: left; /* 公式左对齐 */
max-width: 80%; /* 最大宽度为80% */
overflow-x: auto; /* 超出部分显示滚动条 */
white-space: nowrap; /* 防止公式换行 */
background-color: #f5deb3; /* 滚动条滑块的淡黄色 */
border-radius: 10px; /* 使滚动条更圆滑 */
}
}
.model-font p {
padding-right: 20% !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer-container-text {
display: flex;
align-items: center;
justify-content: center;
}
.caption {
display: flex;
font-size: 14px;
color: #555;
margin-top: 8px;
font-style: italic;
align-items: center;
justify-content: center;
}
.image-wide {
width: 70%;
height: auto;
}
.image-height {
width: auto;
}
.image-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
}
.table-head-line {
border-bottom:2px solid #000000;
border-top: 2px solid #000000;
background-color: #e08a3ae5;
width: 50vw;
}
.table-bottom-line {
border-bottom:2px solid #000000;
}
.table-element-yellow {
background-color: #faf2af;
}
.table-element-yellow:hover {
background-color: #faf2af;
transform: scale(1.02);
}
.table-element-orange {
background-color: rgb(233, 188, 146);
}
.table-element-orange:hover {
background-color: rgb(233, 188, 146);
transform: scale(1.02);
}
.three-line-table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
.th,td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
margin: 20px auto;
/* border: 1px solid #ccc; */
border-radius: 8px;
overflow: hidden;
}
.accordion-header {
background-color: #e4dfb4;
padding: 15px;
width: 100%;
cursor: pointer;
user-select: none;
transition: background-color 0.3s ease;
}
.accordion-header:hover {
background-color: #e0e0e0;
cursor: url('https://static.igem.wiki/teams/5378/image/dg-pointer2.png') 18 18, pointer;
}
.accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease;
padding: 0 15px;
}
.accordion-content.open {
max-height: 100vh;
padding: 15px;
margin-left: 5px;
border-left:3px solid #5bc0de ;
background-color: rgb(245, 245, 220);
}
.accordion-content p {
margin: 0;